Message: Re: Problems with Subtraction Solids Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Problems with Subtraction Solids 

Forum: Geometry
Re: Question Problems with Subtraction Solids (Bruno)
Date: 15 Nov, 2017
From: Michael H. Kelsey <Michael H. Kelsey>

On Wed, 15 Nov 2017 21:52:58 GMT, Bruno wrote:
> Hi! I'm trying to subtract two solids and am getting a error message (the one I believe one would get from overlapping two surfaces, but I believe I am not doing so. I tried various debugging methods, and changed quantities here and there without results. The error is:
>   Polyhedron not available for pPTFE05StockUpperCutTubSub1
>   Touchable path: Laboratory 0 PTFE05 0 
>   This means it cannot be visualized on most systems (try RayTracer).
>   1) The solid may not have implemented the CreatePolyhedron method.
>   2) For Boolean solids, the BooleanProcessor, which attempts to create
>      the resultant polyhedron, may have failed.

It looks like you're doing this under Geant4 10.3. The default number of line segments used to approximate circles (cylinders, cones, etc.) was changed in 10.3 from 24 to 72, which can cause visualization problems like this. One thing to try is the macro command

  /vis/viewer/set/lineSegmentsPerCircle 24

If this fixes your visualization, then you can move on to validate the physics. If not, checking for overlaps, coincident surfaces, etc., is probably your next step. Be warned that the visualization system has problems with Boolean solids which are not well understood, and not easy to solve.

  -- Michael Kelsey

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Problems with Subtraction Solids   (John Allison - 16 Nov, 2017)
 Add Message Add Message
to: "Re: Problems with Subtraction Solids"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]