KeithSloan / GDML

FreeCAD GDML Workbench - AddonManager Installable
Other
44 stars 15 forks source link

Adding sensitive detector to part causes duplicates in gdml output #129

Open eleonar opened 2 months ago

eleonar commented 2 months ago

Adding a sensitive detector to a part using the Set SensDet button successfully adds a sensitive detector to the part. Once the GDML is exported it creates 2 duplicate lines such as in the code snippet below

<volume name="Daughter_Item">
    <materialref ref="G4_Al"/>
    <solidref ref="inner"/>
    <auxiliary auxtype="SensDet" auxvalue="Daughter_Item"/>
    <auxiliary auxtype="SensDet" auxvalue="Daughter_Item"/>
</volume>