Message: G4UnionSolid and G4SubtractionSolid causes Error Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4UnionSolid and G4SubtractionSolid causes Error  

Forum: Geometry
Date: 05 May, 2011
From: Matthias Ullrich <Matthias Ullrich>

Hello everybody, I have the following problem with G4SubtractionSolid:

I construct my solid as follows:

G4Trd* link_do = new G4Trd("link_do",10*mm ,5*mm ,5*mm,5*mm, 10*mm); G4Box* t_box = new G4Box("link_box",10*mm,5*mm,20*mm);

G4ThreeVector transl_link_do(0,0,10*mm); G4Transform3D transf_link_do(rot_dummy,transl_link_do);

G4SubtractionSolid* link_1 = new G4SubtractionSolid("link_1",t_box,link_do,transf_link_do);

Compilation works well. However, when I want to viszualize my example, the following Error message occurs:

" ERROR: G4VSceneHandler::RequestPrimitives
 Polyhedron not available for link_1.
 This means it cannot be visualized on most systems.
 Contact the Visualization Coordinator."

First I thought it is a viszualization problem. However, later usage of the Solid (G4Unions,...) causes an segementation fault.

I would be much obliged for every help.

Nice regards Matthias

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

1 None: Re: G4UnionSolid and G4SubtractionSolid causes Error   (John Allison - 05 May, 2011)
2 None: Re: G4UnionSolid and G4SubtractionSolid causes Error   (Dennis H. Wright - 05 May, 2011)
1 None: Re: G4UnionSolid and G4SubtractionSolid causes Error   (Matthias Ullrich - 06 May, 2011)
(_ More: Re: G4UnionSolid and G4SubtractionSolid causes Error   (Gabriele Cosmo - 06 May, 2011)
(_ Idea: Re: G4UnionSolid and G4SubtractionSolid causes Error   (Matthias Ullrich - 06 May, 2011)
(_ More: Re: G4UnionSolid and G4SubtractionSolid causes Error   (Gabriele Cosmo - 06 May, 2011)
 Add Message Add Message
to: "G4UnionSolid and G4SubtractionSolid causes Error "

 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 ]