Message: substraction of two tubes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None substraction of two tubes 

Keywords: volumes substraction
Forum: Geometry
Date: 02 Mar, 2007
From: habib <habibovich@hotmail.com>

hello, i am a new user of Geant4, and i would like to know how to substract 
2 tubs.

till now i ve been using G4SubtractionSolid and it is working but in this case i substract 2 
volumes that have the same center.

so how could i possibly substract 2 tubs that don t have the same center :

example : i have to substract a smaller tube(tube 2) 
from the front face of tube 1



|-----------|                       |-----------|    
|           |         |--|          |        |--|
|     .     |         |  |          |        |  |
|           |         |--|          |        |--|
|-----------|                       |-----------|
tube 1                tube 2         result = tube1 - tube 2

thank you for your help

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

 Add Message Add Message
to: "substraction of two tubes"

 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 ]