|Message: Re: holes in layers||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 would add a couple of caveats about using multiple Boolean operations to create one solids: In the current implementation of Boolean Solids: - it is inefficient to make a volume out of many boolean operations. The tracking time for a volume composed from N Boolean operations at best will be proportional to N, and potentially it will be slower; - using multiple subtractions ( A - B - C - D - E - F … ) creates volumes which are not very robust. ( We are investigating some cases, and aim to improve it.) If you decide to do something like this, it is much better to make a union first: U = B + C + D + E + F + … and then subtract that union from the original A volume. ( Please read + as the union operator above. ) Developments is underway to speed up multiple unions, and it is planned for inclusion in one of the releases of 2013. John On Dec 5, 2012, at 5:45 PM, Michael H. Kelsey wrote: > > *** Discussion title: Geometry > > On Wed, 05 Dec 2012 14:32:17 GMT, Balint Radics wrote: > >> I have some layers of G4Tubs tube thin objects. I would like to make small >> holes in it (e.g. 50 um size holes with 50 um distance from each other). Would >> you please give an example how to do that? > > You want to create G4SubtractionSolids. Look in Section 22.214.171.124 of the > Application Developer's Book on "Boolean solids" for some simple > examples. Note that Boolean solids are strictly binary (i.e., they take > two existing G4VSolids as input), and that one of the two inputs must be > a simple CSG solid. With this method, take care that the G4Tubs you use > to generate the holes extends beyond the surfaces of the solid in which > you are making the holes. > > If you have a very complex geometry, which is the same for all of your > tubes, it may be more performant (but more difficult!) for you to write > your own G4VSolid subclass which implements the geometry directly, in a > parameterized way. The Toolkit Developer's Book discusses this in > Section 3.1.2. > > -- Michael Kelsey > > ------------------------------------------------------------- > Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: > http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1246/1.html