[Gate-users] problem with building trpd volume
Arda Konik
arda-konik at uiowa.edu
Tue Dec 22 17:34:22 CET 2009
Hello,
I am trying to build a trapezoidal shape for the collimator of a SPECT
system. Everything looks good when I do the visualization, but I get
the errors copied below ( last 2 lines repeats ~20 times). After
that , the simulation works fine and I get the output data...
Initially I thought the error was due to the absence of a " extruded
box ", but i get the same error even if I include (i introduced a
small box to satisfy the boolean operation) the relevant command lines
as you can see in the
geometry below..
I will appreciate any suggestion,
Thanks,
Arda
ERROR:
Visualization verbosity changed to errors (2)
[GateSystemListManager::CheckScannerAutoCreation:
Creating new system based on volume inserter 'SPECThead'
BooleanProcessor::execute : unknown faces !!!
BooleanProcessor: boolean operation failed
Geometry:
##### single PIN-HOLE COLLIMATOR ######
/gate/SPECThead/daughters/name collimator
/gate/SPECThead/daughters/insert trpd
/gate/collimator/geometry/setX1Length 7.2 cm
/gate/collimator/geometry/setY1Length 9.6 cm
/gate/collimator/geometry/setX2Length 4.4 cm
/gate/collimator/geometry/setY2Length 5.86 cm
/gate/collimator/geometry/setZLength 1. cm
### remove a small BOX from TRPD
/gate/collimator/geometry/setXBoxLength 1. mm
/gate/collimator/geometry/setYBoxLength 1. mm
/gate/collimator/geometry/setZBoxLength 1. mm
/gate/collimator/geometry/setXBoxPos 0. mm
/gate/collimator/geometry/setYBoxPos 0. mm
/gate/collimator/geometry/setZBoxPos 0. mm
/gate/collimator/placement/setRotationAxis 0 1 0
/gate/collimator/placement/setRotationAngle -90 deg
/gate/collimator/placement/setTranslation -4.5 0. 0. cm
/gate/collimator/setMaterial Lead
/gate/collimator/vis/setColor red
/gate/collimator/vis/forceWireframe
/gate/collimator/attachPhantomSD
# Insert the first hole of air in the collimator
#/gate/collimator/daughters/name hole1
#/gate/collimator/daughters/insert cone
#/gate/hole1/geometry/setRmax1 0.15 cm
#/gate/hole1/geometry/setRmax2 0.6 cm
#/gate/hole1/geometry/setHeight 0.665 cm
#/gate/hole1/placement/setRotationAxis 0 0 1
#/gate/hole1/placement/setRotationAngle -90 deg
#/gate/hole1/placement/setTranslation 0. 0. 0.1775 cm
#/gate/hole1/setMaterial Air
#/gate/hole1/vis/setColor white
# Insert the second hole of air in the collimator
#/gate/collimator/daughters/name hole2
#/gate/collimator/daughters/insert cone
#/gate/hole2/geometry/setRmax1 0.3 cm
#/gate/hole2/geometry/setRmax2 0.15 cm
#/gate/hole2/geometry/setHeight 0.335 cm
#/gate/hole2/placement/setRotationAxis 0 0 1
#/gate/hole2/placement/setRotationAngle 180 deg
#/gate/hole2/placement/setTranslation 0. 0. -0.3325 cm
#/gate/hole2/setMaterial Air
#/gate/hole2/vis/setColor white
More information about the Gate-users
mailing list