Message: Polycone and Sphere Union problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Polycone and Sphere Union problem 

Forum: Geometry
Date: 15 Apr, 2009
From: M Tariq Siddique <M Tariq Siddique>

Hello, i union a polycone and a sphere shape but if the there centers overlap the polycone disappear with a massage

BooleanProcessor::caseEE : unimplemented case
BooleanProcessor::caseIE : unimplemented case
BooleanProcessor::caseEE : unimplemented case
BooleanProcessor::caseIE : unimplemented case
BooleanProcessor::caseEE : unimplemented case
BooleanProcessor::caseIE : unimplemented case
BooleanProcessor::caseEE : unimplemented case
BooleanProcessor::caseIE : unimplemented case
BooleanProcessor::caseIE : unimplemented case
BooleanProcessor::caseIE : unimplemented case
BooleanProcessor::caseIE : unimplemented case
BooleanProcessor::caseIE : unimplemented case
BooleanProcessor: boolean operation failed

and if i put a 0.002 mm space between the centers the two shapes appear in viusalisation and no above massage appear. the codeing i m using for union is given below can anyone explain why is it so.

 SolidPMMAWallCyl = new G4Polycone("PMMAWallCylinder",			//name
			0.*deg,						//start angle 
			360.*deg,					//angular spread
			4,						//number of planes
			zPlane,						//plane position array starting from 0*cm toward +z
			pmmaRInner,					//inner radius array
			pmmaROuter);					//outer radius array

//spherical shape of PMMA wall

  SolidPMMAWallSph = new  G4Sphere("PMMAWallSphere",				//name
			ChamberRadius-PMMAWallThickness-CWallThickness,		//size inner radius, 
			ChamberRadius-CWallThickness,				//outer radius
			0.,2.*pi,						//start phi angle, phi angular spread, 
			pi/2,pi); 						//start angle of thera, theta angular spread

//union of cylinderical and sherical part of PMMA wall

  G4ThreeVector pmmaztrans(0.,0.,0.002*mm);//+ChamberSupportLength/2);
  PMMAWall = new G4UnionSolid("PMMAWall",					//new name after union
			SolidPMMAWallSph,SolidPMMAWallCyl,			//shape names for union
			0,pmmaztrans);		//no rotaion but with displacement of 2nd shap center with respect to first shap center

  PrintParameters();

  LogicPMMAWall = new G4LogicalVolume(PMMAWall,PMMAWallMaterial,PMMAWallMaterial->GetName());

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

1 None: Re: Polycone and Sphere Union problem   (John Allison - 20 Apr, 2009)
(_ Feedback: Re: Polycone and Sphere Union problem   (M Tariq Siddique - 24 Apr, 2009)
 Add Message Add Message
to: "Polycone and Sphere Union problem"

 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 ]