Dear Geant4 users! Please, help me find mesh2gdml. This code can convert CAD files to GMDL. I have heared a lot about it but I can’t find where to download it. I even do not know whether it is open-source and free to use. Thank you!
evc
January 16, 2023, 8:51pm
2
CAD meshes can be directly uploaded into Geant4, please see
G’day,
Almost 10 years ago I released CADMesh, a small library for loading triangular mesh CAD files as tessellated solids into Geant4. Today I released an update, version 2, which is header only and has built-in readers for STL, PLY, and OBJ files. Other file types are still supported using external dependencies as required.
So, if you want to load one of these types of files as geometry into your detector construction, all you have to do is this, after you have copied CADMesh.hh to your incl…
Thank you! It works and it helped me to insert CAD models into Geant4 in very easy way - just including one header!
system
Closed
January 26, 2023, 9:53pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.