Back to home page

EIC code displayed by LXR

 
 

    


Warning, /snippets/Tracking/SVTOB_GDML/README.md is written in an unsupported language. File is not indexed.

0001 This directory contains scripts to create the .gdml files needed for the SVT OB simulation geometry from the CAD files. 
0002 
0003 The .STEP, .FCStd, and .gdml files are at https://github.com/eic/epic-data/tree/main/SVTOB_gdml
0004 
0005 The .FCStd files are made by loading the .STEP file into FreeCAD and then saving as .FCStd.
0006 
0007 The .gdml files can by made using the scripts processL3.sh and processL4.sh. To run these the file freecadcmd_dir must contain the address of the freecadcmd executable. These scripts do the following steps:
0008 <ul>
0009 <li>Convert the .FCStd file to a directory of .stl files.</li>
0010 <li>Delete the .stl files for components that are not needed.</li>
0011 <li>Remove the parts extruding the ends of the envelope volume.</li>
0012 <li>Merge overlapping carbon-fibre components</li>
0013 <li>Scale the K9 components by 0.97 to avoid overlaps with the carbon fibre</li>
0014 <li>Convert the .stl files to ASCII and then to .gdml</li>
0015 <li>Delete .stl files and leave a folder of .gdml files</li>
0016 </ul>