Should export STEP file.
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)
.
Environment: (where does this bug occur, have you tried other environments)
mainfor latest released):HEADfor the most recent on git):Steps to reproduce: (give a step by step account of how to trigger the bug)
/opt/detector/setup.shnpdet_to_step part -l 4 HcalBarrel -o bhcal $DETECTOR_PATH/epic_bhcal.xmlExpected 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)
Due to
npsim/src/geocad/src/TGeoToOCC.cxx
Line 223 in c3bde04
Two step resolution:
npsim/src/geocad/src/TOCCToStep.cxx
Line 93 in c3bde04
npsim/src/geocad/src/TOCCToStep.cxx
Line 119 in c3bde04
npsim/src/geocad/src/TGeoToOCC.cxx
Line 130 in c3bde04