Message: failed boolean operation Not Logged In (login)

None failed boolean operation 

Forum: Visualization
Date: 03 Mar, 2003
From: C P Achenbach <patrick@kph.uni-mainz.de>

Can anybody solve this problem from detector construction?

I am creating simple union solids with the command line

G4UnionSolid * Union1_solid = new G4UnionSolid( "Union1", cyl_solid, Trap_solid, &TrapezRot, TrapezTrafo);

and a simple subtraction solid with

G4SubtractionSolid * cut_solid = new G4SubtractionSolid( "Schnitt", Union1_solid, Cutcyl_solid, 0, CutZylTrafo);

When using OpenGL or DAWN to visualize the detector I get

BooleanProcessor::triangulateContour : could not generate a triangle (infinite loop)

and the boolean operation fails.

Suggestions? Thanks! Patrick Achenbach

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

None Re: failed boolean operation  by John Allison <John Allison>,   03 Mar, 2003
Re: None failed boolean operation (C P Achenbach)

See thread 5. We have made some bug fixes since then, but problems remain.

It is a very tricky computational issue. Rounding errors can play havoc with boolean operations. There are also logical problems if surfaces are shared, e.g., does the subtracted surface exist or not.

The workaround is to avoid shared surfaces. The volume that is subtracted, for example, could be larger than the volume from which it is being subtracted without loss of intent or performance. Look at your volumes to see if you can do this.

 Add Message Add Message
to: "failed boolean operation"

 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 ]