Message: GDML MultiFuse. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question GDML MultiFuse. 

Forum: Documentation and Examples
Date: Mar 01, 23:59
From: Keith Sloan <Keith Sloan>

I am trying to Implement GDML and Geant4 Workbenchs for FreeCAD (see https://www.freecadweb.org/) i.e. Ability to import and export GDML from FreeCAD.

The GDML workbench in its current state is available at https://github.com/KeithSloan/FreeCAD_Python_GDML

I am currently trying to add support for Booleans.

I have a test file that has a FreeCAD MultiFuse of two objects. I am trying to code this up as a GDML MultiUnion. I not clear on the GDML documentation.

The GDML User Guide has

Another way to describe Union Solid is by using the MultiUnion construct, which offers possibility to make union of many solids. The following example illustrates the construction of a MultiUnion structure:

Page 28 of 50

<box name=“box_first” x=“1”
<box name=“box_second” x=“4”
y=“5” z=“20” /> y=“4.5” z=“18” />
<multiUnion name= =“multiUnion” >
<multiUnionNode name-“node-1”>
<solid ref=“box_first” />
</multiUnionNode>
<multiUnionNode name=”node-2”>
<solid ref=“box_second” />
<positionref ref=“union_position” />
<rotationref ref=“union_rotation” />
</multiUnionNode>
</multiUnion> 

I am confused on the position and rotation references. Do these only appear in the last solid? and apply to the combined object? And what about the relevant Logical Volume for the MultiUnion?

Hope you can help - Thanks

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

1 More: Re: GDML MultiFuse.   (Gabriele Cosmo - Mar 03, 23:37)
(_ None: Re: GDML MultiFuse.   (Keith Sloan - Mar 04, 07:43)
 Add Message Add Message
to: "GDML MultiFuse."

 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 ]