-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Environment: (where does this bug occur, have you tried other environments)
- Which branch (often
mainfor latest released): - Which version (or
HEADfor the most recent on git): - Any specific OS or system where the issue occurs? eic-shell
- Any special versions of ROOT or Geant4?
Steps to reproduce: (give a step by step account of how to trigger the bug)
- In eic-shell, with
/opt/detector/setup.sh npdet_to_step part -l 4 HcalBarrel -o bhcal $DETECTOR_PATH/epic_bhcal.xml
Expected Result: (what do you expect when you execute the steps above)
Should export STEP file.
Actual Result: (what do you get when you execute the steps above)
nightly> wdconinc@menelaos:~/git/npsim$ npdet_to_step part -l 4 HcalBarrel -o bhcal $DETECTOR_PATH/epic_bhcal.xml
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Missing FileEntry for include/TGeoToStep.h
requested to autoload type TGeoToStep
terminate called after throwing an instance of 'std::domain_error'
what(): Unknown Shape
Aborted (core dumped)
Due to
npsim/src/geocad/src/TGeoToOCC.cxx
Line 223 in c3bde04
| throw std::domain_error("Unknown Shape"); |
Two step resolution:
- catch exception in and/or
npsim/src/geocad/src/TOCCToStep.cxx
Line 93 in c3bde04
fShape = fRootShape.OCC_SimpleShape(currentVolume->GetShape()); (depending on which one causes it), and just bypass trying to convert and include it,npsim/src/geocad/src/TOCCToStep.cxx
Line 119 in c3bde04
Mothershape = fRootShape.OCC_SimpleShape(motherVol->GetShape()); - add support for conversion in .
npsim/src/geocad/src/TGeoToOCC.cxx
Line 130 in c3bde04
TopoDS_Shape TGeoToOCC::OCC_SimpleShape(TGeoShape *TG_Shape)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels