|
g4system
|
Factory that converts CAD files (PLY / STL) into Geant4 tessellated solids via CADMesh. More...


Go to the source code of this file.
Data Structures | |
| class | G4CadSystemFactory |
| Builds a tessellated solid from CAD files using CADMesh. More... | |
This factory expects that the input volume description provides a CAD file path (typically via the GVolume "description" field). Supported formats are:
.ply.stlThe implementation uses CADMesh (single-header library) and enables an Assimp reader backend in the implementation translation unit.
Requirements:
CADMesh.hh must be available on the include pathDefinition in file cadSystemFactory.h.