|Message: Boolean operation (bug?)||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I have some problems with cutting a tube from a Trapezoid.
Other cuts are working well (box - box, trapezoid - box)
It shows a box instead of a hole and in the HepRApp viewer there are a lot of lines going from the box to the corners.
I'm using geant4.9.3.p02-1.
Here is the code:
G4Trd* trap_box = new G4Trd("Trap", trap_dx1, trap_dx2, trap_dy1, trap_dy2, trap_dz);
G4LogicalVolume* trap_box_log = new G4LogicalVolume(trap_box, Pstyrene, "Trap", 0, 0, 0);
new G4PVPlacement(0,G4ThreeVector(2.*m, 2.*m, 0), trap_box_log, "Trap", waterTank_log, false,0);
G4VSolid* cuttube1 = new G4Tubs("CutTube1",0.0*mm,4.5*mm,2.*cm,0.*deg,360.*deg);
G4LogicalVolume* cuttube1_log = new G4LogicalVolume(cuttube1, Pstyrene, "CutTube1", 0, 0, 0);
new G4PVPlacement(rottubes,G4ThreeVector(2.0*m, 2.0*m, 35.0*mm), cuttube1_log, "CutTube1", waterTank_log, false,0);
G4VSolid* trap = new G4SubtractionSolid("trap_box-cuttube1", trap_box, cuttube1, 0, G4ThreeVector(0.,0.,0.));
G4LogicalVolume* trap_log = new G4LogicalVolume(trap, Air, "Trap", 0, 0, 0);
new G4PVPlacement(0,G4ThreeVector(2.0*m, 2.0*m, -0.1*m), trap_log, "Trap", waterTank_log, false,0);
And here is the result:
Am I doing anything wrong?
|Inline Depth:||Outline Depth:||Add message:|