pyg4ometry.geant4.solid.TwistedTubs¶
Classes¶
Creates a twisted tube segement. Note that only 1 constructor is supprted. |
Module Contents¶
- class pyg4ometry.geant4.solid.TwistedTubs.TwistedTubs(name, endinnerrad, endouterrad, zlen, phi, twistedangle, registry, lunit='mm', aunit='rad', nslice=None, nstack=None, addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseCreates a twisted tube segement. Note that only 1 constructor is supprted.
- Parameters:
name (str) – of solid
endinnerrad (float, Constant, Quantity, Variable, Expression) – inner radius at the end of the segment
endinnerrad – outer radius at the end of the segment
zlen (float, Constant, Quantity, Variable, Expression) – length of the tube segement
twistedangle (float, Constant, Quantity, Variable, Expression) – twist angle
registry (Registry) – for storing solid
lunit (str) – length unit (nm,um,mm,m,km) for solid
aunit (str) – angle unit (rad,deg) for solid
nslice – number of phi elements for meshing
nstack (int) – number of theta elements for meshing
- endinnerrad¶
- endouterrad¶
- zlen¶
- phi¶
- twistedangle¶
- lunit¶
- aunit¶
- nslice¶
- nstack¶
- dependents = []¶
- varNames = ['endinnerrad', 'endouterrad', 'zlen', 'phi', 'twistedangle']¶
- varUnits = ['lunit', 'lunit', 'lunit', 'aunit', 'aunit']¶
- __repr__()¶
- __str__()¶
- makeLayers(verts_bot, verts_top)¶
- mesh()¶