Definition at line 16 of file writer.py.
def writer.writer.__init__ |
( |
|
self, |
|
|
|
fname |
|
) |
| |
def writer.writer.addArb8 |
( |
|
self, |
|
|
|
name, |
|
|
|
v1x, |
|
|
|
v1y, |
|
|
|
v2x, |
|
|
|
v2y, |
|
|
|
v3x, |
|
|
|
v3y, |
|
|
|
v4x, |
|
|
|
v4y, |
|
|
|
v5x, |
|
|
|
v5y, |
|
|
|
v6x, |
|
|
|
v6y, |
|
|
|
v7x, |
|
|
|
v7y, |
|
|
|
v8x, |
|
|
|
v8y, |
|
|
|
dz |
|
) |
| |
def writer.writer.addAssembly |
( |
|
self, |
|
|
|
volume, |
|
|
|
daughters |
|
) |
| |
def writer.writer.addBox |
( |
|
self, |
|
|
|
name, |
|
|
|
dx, |
|
|
|
dy, |
|
|
|
dz |
|
) |
| |
def writer.writer.addCone |
( |
|
self, |
|
|
|
name, |
|
|
|
z, |
|
|
|
rmin1, |
|
|
|
rmin2, |
|
|
|
rmax1, |
|
|
|
rmax2, |
|
|
|
sphi, |
|
|
|
dphi |
|
) |
| |
def writer.writer.addCutTube |
( |
|
self, |
|
|
|
name, |
|
|
|
rmin, |
|
|
|
rmax, |
|
|
|
z, |
|
|
|
startphi, |
|
|
|
deltaphi, |
|
|
|
lowX, |
|
|
|
lowY, |
|
|
|
lowZ, |
|
|
|
highX, |
|
|
|
highY, |
|
|
|
highZ |
|
) |
| |
def writer.writer.addElement |
( |
|
self, |
|
|
|
symb, |
|
|
|
name, |
|
|
|
z, |
|
|
|
a |
|
) |
| |
def writer.writer.addEltube |
( |
|
self, |
|
|
|
name, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
def writer.writer.addHype |
( |
|
self, |
|
|
|
name, |
|
|
|
rmin, |
|
|
|
rmax, |
|
|
|
inst, |
|
|
|
outst, |
|
|
|
z |
|
) |
| |
def writer.writer.addIntersection |
( |
|
self, |
|
|
|
name, |
|
|
|
lname, |
|
|
|
ltr, |
|
|
|
lrot, |
|
|
|
rname, |
|
|
|
rtr, |
|
|
|
rrot |
|
) |
| |
def writer.writer.addMaterial |
( |
|
self, |
|
|
|
name, |
|
|
|
a, |
|
|
|
z, |
|
|
|
rho |
|
) |
| |
def writer.writer.addMixture |
( |
|
self, |
|
|
|
name, |
|
|
|
rho, |
|
|
|
elems |
|
) |
| |
def writer.writer.addPara |
( |
|
self, |
|
|
|
name, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z, |
|
|
|
alpha, |
|
|
|
theta, |
|
|
|
phi |
|
) |
| |
def writer.writer.addParaboloid |
( |
|
self, |
|
|
|
name, |
|
|
|
rlo, |
|
|
|
rhi, |
|
|
|
dz |
|
) |
| |
def writer.writer.addPolycone |
( |
|
self, |
|
|
|
name, |
|
|
|
startphi, |
|
|
|
deltaphi, |
|
|
|
zplanes |
|
) |
| |
def writer.writer.addPolyhedra |
( |
|
self, |
|
|
|
name, |
|
|
|
startphi, |
|
|
|
deltaphi, |
|
|
|
numsides, |
|
|
|
zplanes |
|
) |
| |
def writer.writer.addPos |
( |
|
self, |
|
|
|
subels, |
|
|
|
type, |
|
|
|
name, |
|
|
|
v |
|
) |
| |
def writer.writer.addPosition |
( |
|
self, |
|
|
|
name, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
def writer.writer.addReflSolid |
( |
|
self, |
|
|
|
name, |
|
|
|
solid, |
|
|
|
dx, |
|
|
|
dy, |
|
|
|
dz, |
|
|
|
sx, |
|
|
|
sy, |
|
|
|
sz, |
|
|
|
rx, |
|
|
|
ry, |
|
|
|
rz |
|
) |
| |
def writer.writer.addRot |
( |
|
self, |
|
|
|
subels, |
|
|
|
type, |
|
|
|
name, |
|
|
|
v |
|
) |
| |
def writer.writer.addRotation |
( |
|
self, |
|
|
|
name, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
def writer.writer.addSetup |
( |
|
self, |
|
|
|
name, |
|
|
|
version, |
|
|
|
world |
|
) |
| |
def writer.writer.addSphere |
( |
|
self, |
|
|
|
name, |
|
|
|
rmin, |
|
|
|
rmax, |
|
|
|
startphi, |
|
|
|
deltaphi, |
|
|
|
starttheta, |
|
|
|
deltatheta |
|
) |
| |
def writer.writer.addSubtraction |
( |
|
self, |
|
|
|
name, |
|
|
|
lname, |
|
|
|
ltr, |
|
|
|
lrot, |
|
|
|
rname, |
|
|
|
rtr, |
|
|
|
rrot |
|
) |
| |
def writer.writer.addTorus |
( |
|
self, |
|
|
|
name, |
|
|
|
r, |
|
|
|
rmin, |
|
|
|
rmax, |
|
|
|
startphi, |
|
|
|
deltaphi |
|
) |
| |
def writer.writer.addTrap |
( |
|
self, |
|
|
|
name, |
|
|
|
z, |
|
|
|
theta, |
|
|
|
phi, |
|
|
|
y1, |
|
|
|
x1, |
|
|
|
x2, |
|
|
|
alpha1, |
|
|
|
y2, |
|
|
|
x3, |
|
|
|
x4, |
|
|
|
alpha2 |
|
) |
| |
def writer.writer.addTrd |
( |
|
self, |
|
|
|
name, |
|
|
|
x1, |
|
|
|
x2, |
|
|
|
y1, |
|
|
|
y2, |
|
|
|
z |
|
) |
| |
def writer.writer.addTube |
( |
|
self, |
|
|
|
name, |
|
|
|
rmin, |
|
|
|
rmax, |
|
|
|
z, |
|
|
|
startphi, |
|
|
|
deltaphi |
|
) |
| |
def writer.writer.addTwistedTrap |
( |
|
self, |
|
|
|
name, |
|
|
|
z, |
|
|
|
theta, |
|
|
|
phi, |
|
|
|
y1, |
|
|
|
x1, |
|
|
|
x2, |
|
|
|
alpha1, |
|
|
|
y2, |
|
|
|
x3, |
|
|
|
x4, |
|
|
|
alpha2, |
|
|
|
twist |
|
) |
| |
def writer.writer.addUnion |
( |
|
self, |
|
|
|
name, |
|
|
|
lname, |
|
|
|
ltr, |
|
|
|
lrot, |
|
|
|
rname, |
|
|
|
rtr, |
|
|
|
rrot |
|
) |
| |
def writer.writer.addVolume |
( |
|
self, |
|
|
|
volume, |
|
|
|
solid, |
|
|
|
material, |
|
|
|
daughters |
|
) |
| |
def writer.writer.addXtrusion |
( |
|
self, |
|
|
|
name, |
|
|
|
vertices, |
|
|
|
sections |
|
) |
| |
def writer.writer.writeFile |
( |
|
self | ) |
|
Definition at line 23 of file writer.py.
Referenced by writer.writer.addArb8(), writer.writer.addBox(), writer.writer.addCone(), writer.writer.addCutTube(), writer.writer.addEltube(), writer.writer.addHype(), writer.writer.addIntersection(), writer.writer.addPara(), writer.writer.addParaboloid(), writer.writer.addPolycone(), writer.writer.addPolyhedra(), writer.writer.addReflSolid(), writer.writer.addSphere(), writer.writer.addSubtraction(), writer.writer.addTorus(), writer.writer.addTrap(), writer.writer.addTrd(), writer.writer.addTube(), writer.writer.addTwistedTrap(), writer.writer.addUnion(), and writer.writer.addXtrusion().
The documentation for this class was generated from the following file: