FreeCAD Material & GDML Material.

A forum to discuss the implementation of a good Materials system in FreeCAD
keithsloan52
Posts: 1448
Joined: Mon Feb 27, 2012 5:31 pm

FreeCAD Material & GDML Material.

Postby keithsloan52 » Sat May 23, 2020 9:50 am

At the moment the GDML workbench handles GDML materials and does not try to resolve with FreeCAD materials.

I would like to see if there is a better way than just keep them seperate?

A good source of reference for GDML materials is https://www.ge.infn.it/geant4/training/ ... pliDev.pdf

Geant4 & ROOT users can make use of NIST database for Materials see https://www.nist.gov/programs-projects/ ... repository

For details on FreeCAD materials I am aware of https://wiki.freecadweb.org/Material

I have had a look at Materials.py in the Materials Mod but not sure how I could add a material definition under program control when importing a GDML file, or dynamically updating the Materials Dictionary.