You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on converting CAD .stl files to FLUKA .inp format using the pyg4ometry library. However, I'm encountering an issue in the geant4PhysicalVolume2Fluka function.
firstly, I transform stl to gdml, then I try to tranform gdml to inp.
here are my codes:
I got the wrong message: lib/python3.12/site-packages/pyg4ometry/convert/geant42Fluka.py", line 275, in geant4PhysicalVolume2Fluka materialNameShort = flukaRegistry.materialShortName[materialName] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ KeyError: 'G4_Au'
Could someone please guide me on how to resolve this issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I'm currently working on converting CAD .stl files to FLUKA .inp format using the pyg4ometry library. However, I'm encountering an issue in the
geant4PhysicalVolume2Fluka
function.firstly, I transform stl to gdml, then I try to tranform gdml to inp.
here are my codes:
I got the wrong message:
lib/python3.12/site-packages/pyg4ometry/convert/geant42Fluka.py", line 275, in geant4PhysicalVolume2Fluka materialNameShort = flukaRegistry.materialShortName[materialName] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ KeyError: 'G4_Au'
Could someone please guide me on how to resolve this issue?
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions