KeithSloan / GDML

FreeCAD GDML Workbench - AddonManager Installable
Other
49 stars 16 forks source link

Importing File g4e_output.geo.gdml #33

Open KeithSloan opened 3 years ago

KeithSloan commented 3 years ago

This issue is to document finding on trying to import the file g4e_output.geo.gdml as supplied by DraTeots Okay the file has over 17,000 volumes Okay rather than load perform a 'Scan Vol' Then expand single level World_logic Proceed to Expand Max volumes in sequence All okay until cb_solenoid_GVol_Logic Was about to abort and then expand came back so Okay but slow Tried next Volume ce_ENDCAP_GVol_Logic and seemed to loop So aborted and then tried against expanding single Level The tried single level sub volume ce_MRICH_mod_Logic, this expands to a further sub volume with 218 links i.e. duplicate volume, different position, so OKay Tried next sub_volume ce_EMCAL_GVol_Logic single level - This Appears to Loop? :-( Checked a second time still Loops so this volume needs further investigation

KeithSloan commented 3 years ago

The Volume ce_EMCAL_GVol_Logic contains 6531 'sub-volumes' ce_EMCAL_detPWO_Logic followed by a further 1675 'sub-volumes' ce_EMCAL_detGlass_Logic, where a 'sub-volume' is a physical volume with the same name, just different position. These are implemented as App::Links pointing to a single volume definition. Not sure if hitting a performance limit in the number of App::Links or a limit in number of objects that can exist in an App::Part in FreeCAD