Message: Re: Rounded Edge Cylinder Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Rounded Edge Cylinder 

Forum: Geometry
Re: Question Rounded Edge Cylinder (Eric)
Date: 29 Nov, 2010
From: Michael H. Kelsey <Michael H. Kelsey>

Is this meant to be a solid volume where the cylinder end has been rounded off?

If so, then you can do a "sequential" additive solid -- start with a regular cylinder (G4Tubs) with the top surface short of your true length by the corner radius. Now make a G4UnionSolid by attaching a Torus to the top end, with the midplane at the top surface of the cylinder. Finally, make a new G4UnionSolid by attaching another G4Tubs, this time with a radius reduced by the corner radius, and positioned half that radius above the end surface of the original cylinder.

Repeat the process at the other end if necessary. There's no way to do this all in one step -- the Boolean solids only work pairwise.

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

1 Ok: Re: Rounded Edge Cylinder   (Eric - 30 Nov, 2010)
 Add Message Add Message
to: "Re: Rounded Edge Cylinder"

 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 ]