////////////////////////////////////////////////////////////////////////////////
// TGeoToStep Class //
// -------------------- //
// //
// This class is an interface to convert ROOT's geometry file //
// to STEP file. The TGeoToStep Class takes a gGeoManager pointer and gives //
// back a STEP file. gGeoManager is the instance of TGeoManager class //
// containing tree of geometries creating resulting geometry. //
// Standard for the Exchange of Product model data (STEP) is an international //
// standard for the exchange of industrial product data. It is typically used //
// to exchange data between various CAD, CAM and CAE applications. //
// TGeoToStep Class is using RootOCC class to translate the root geometry //
// in the corresponding OpenCascade geometry and and TOCCToStep to write the //
// OpenCascade geometry to the step File. //
// OpenCascade Technology (OCC) is a software development platform freely //
// available in open source. It includes C++ components for 3D surface and //
// solid modeling,visualization, data exchange and rapid application //
// development. For more information about OCC see http://www.opencascade.org //
// Each object in ROOT is represented by an OCC TopoDS_Shape //
// //
// This class is needed to be instanciated and can be used calling the //
// CreateGeometry method: //
// TGeoToStep * mygeom= new TGeoToStep(gGeoManager); //
// mygeom->CreateGeometry(); //
// //
// The resuling STEP file will be saved in the current directory and called //
// geometry.stp //
// To compile the TGeoCad module on ROOT, OpenCascade must be installed! //
////////////////////////////////////////////////////////////////////////////////
@lghizoni, did your efforts for STEP -> GDML conversion finally converge? I’m currently reviewing different CAD ROOT conversion approaches. But all in all I think I’ll stick with scripting my geometries in a ROOT macro.
I understand this is from years ago, but apparently the TGeoCad interface, which contains the mentioned class TGeoToStep, is no longer supported by the current version of ROOT. I need to convert some ALICE ROOT geometries to STEP or STL for a project, and I was wondering what would be a way to do it. Or maybe how I could get the TGeoCad module working.
I’m using AliRoot’s version 5. Could someone help me?