Functions | |
def | MakeBox |
Create a box by coordinates of two opposite vertices. More... | |
def | MakeBoxDXDYDZ |
Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coordinate axes. More... | |
def | MakeBoxTwoPnt |
Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes. More... | |
def | MakeFaceHW |
Create a face with specified dimensions with edges parallel to coordinate axes. More... | |
def | MakeFaceObjHW |
Create a face from another plane and two sizes, vertical size and horisontal size. More... | |
def | MakeDiskPntVecR |
Create a disk with given center, normal vector and radius. More... | |
def | MakeDiskThreePnt |
Create a disk, passing through three given points. More... | |
def | MakeDiskR |
Create a disk with specified dimensions along OX-OY coordinate axes. More... | |
def | MakeCylinder |
Create a cylinder with given base point, axis, radius and height. More... | |
def | MakeCylinderA |
Create a portion of cylinder with given base point, axis, radius, height and angle. More... | |
def | MakeCylinderRH |
Create a cylinder with given radius and height at the origin of coordinate system. More... | |
def | MakeCylinderRHA |
Create a portion of cylinder with given radius, height and angle at the origin of coordinate system. More... | |
def | MakeSpherePntR |
Create a sphere with given center and radius. More... | |
def | MakeSphere |
Create a sphere with given center and radius. More... | |
def | MakeSphereR |
Create a sphere with given radius at the origin of coordinate system. More... | |
def | MakeCone |
Create a cone with given base point, axis, height and radiuses. More... | |
def | MakeConeR1R2H |
Create a cone with given height and radiuses at the origin of coordinate system. More... | |
def | MakeTorus |
Create a torus with given center, normal vector and radiuses. More... | |
def | MakeTorusRR |
Create a torus with given radiuses at the origin of coordinate system. More... | |
def MakeBox | ( | self, | |
x1, | |||
y1, | |||
z1, | |||
x2, | |||
y2, | |||
z2, | |||
theName = None |
|||
) |
Create a box by coordinates of two opposite vertices.
x1,y1,z1 | double values, defining first point it. |
x2,y2,z2 | double values, defining first point it. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder.MakeBoxTwoPnt(), geomBuilder.MakeVertex(), and geomBuilder.ManageTransactions().
def MakeBoxDXDYDZ | ( | self, | |
theDX, | |||
theDY, | |||
theDZ, | |||
theName = None |
|||
) |
Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coordinate axes.
Center of the box will be at point (DX/2, DY/2, DZ/2).
theDX | Length of Box edges, parallel to OX axis. |
theDY | Length of Box edges, parallel to OY axis. |
theDZ | Length of Box edges, parallel to OZ axis. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeBoxTwoPnt | ( | self, | |
thePnt1, | |||
thePnt2, | |||
theName = None |
|||
) |
Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes.
thePnt1 | First of two opposite vertices. |
thePnt2 | Second of two opposite vertices. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeFaceHW | ( | self, | |
theH, | |||
theW, | |||
theOrientation, | |||
theName = None |
|||
) |
Create a face with specified dimensions with edges parallel to coordinate axes.
theH | height of Face. |
theW | width of Face. |
theOrientation | face orientation: 1-OXY, 2-OYZ, 3-OZX |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeFaceObjHW | ( | self, | |
theObj, | |||
theH, | |||
theW, | |||
theName = None |
|||
) |
Create a face from another plane and two sizes, vertical size and horisontal size.
theObj | Normale vector to the creating face or the face object. |
theH | Height (vertical size). |
theW | Width (horisontal size). |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeDiskPntVecR | ( | self, | |
thePnt, | |||
theVec, | |||
theR, | |||
theName = None |
|||
) |
Create a disk with given center, normal vector and radius.
thePnt | Disk center. |
theVec | Vector, normal to the plane of the disk. |
theR | Disk radius. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeDiskThreePnt | ( | self, | |
thePnt1, | |||
thePnt2, | |||
thePnt3, | |||
theName = None |
|||
) |
Create a disk, passing through three given points.
thePnt1,thePnt2,thePnt3 | Points, defining the disk. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeDiskR | ( | self, | |
theR, | |||
theOrientation, | |||
theName = None |
|||
) |
Create a disk with specified dimensions along OX-OY coordinate axes.
theR | Radius of Face. |
theOrientation | set the orientation belong axis OXY or OYZ or OZX |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeCylinder | ( | self, | |
thePnt, | |||
theAxis, | |||
theR, | |||
theH, | |||
theName = None |
|||
) |
Create a cylinder with given base point, axis, radius and height.
thePnt | Central point of cylinder base. |
theAxis | Cylinder axis. |
theR | Cylinder radius. |
theH | Cylinder height. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeCylinderA | ( | self, | |
thePnt, | |||
theAxis, | |||
theR, | |||
theH, | |||
theA, | |||
theName = None |
|||
) |
Create a portion of cylinder with given base point, axis, radius, height and angle.
thePnt | Central point of cylinder base. |
theAxis | Cylinder axis. |
theR | Cylinder radius. |
theH | Cylinder height. |
theA | Cylinder angle in radians. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeCylinderRH | ( | self, | |
theR, | |||
theH, | |||
theName = None |
|||
) |
Create a cylinder with given radius and height at the origin of coordinate system.
Axis of the cylinder will be collinear to the OZ axis of the coordinate system.
theR | Cylinder radius. |
theH | Cylinder height. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeCylinderRHA | ( | self, | |
theR, | |||
theH, | |||
theA, | |||
theName = None |
|||
) |
Create a portion of cylinder with given radius, height and angle at the origin of coordinate system.
Axis of the cylinder will be collinear to the OZ axis of the coordinate system.
theR | Cylinder radius. |
theH | Cylinder height. |
theA | Cylinder angle in radians. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeSpherePntR | ( | self, | |
thePnt, | |||
theR, | |||
theName = None |
|||
) |
Create a sphere with given center and radius.
thePnt | Sphere center. |
theR | Sphere radius. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeSphere | ( | self, | |
x, | |||
y, | |||
z, | |||
theR, | |||
theName = None |
|||
) |
Create a sphere with given center and radius.
x,y,z | Coordinates of sphere center. |
theR | Sphere radius. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder.MakeSpherePntR(), geomBuilder.MakeVertex(), and geomBuilder.ManageTransactions().
def MakeSphereR | ( | self, | |
theR, | |||
theName = None |
|||
) |
Create a sphere with given radius at the origin of coordinate system.
theR | Sphere radius. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeCone | ( | self, | |
thePnt, | |||
theAxis, | |||
theR1, | |||
theR2, | |||
theH, | |||
theName = None |
|||
) |
Create a cone with given base point, axis, height and radiuses.
thePnt | Central point of the first cone base. |
theAxis | Cone axis. |
theR1 | Radius of the first cone base. |
theR2 | Radius of the second cone base. |
theH | Cone height. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeConeR1R2H | ( | self, | |
theR1, | |||
theR2, | |||
theH, | |||
theName = None |
|||
) |
Create a cone with given height and radiuses at the origin of coordinate system.
Axis of the cone will be collinear to the OZ axis of the coordinate system.
theR1 | Radius of the first cone base. |
theR2 | Radius of the second cone base. |
theH | Cone height. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeTorus | ( | self, | |
thePnt, | |||
theVec, | |||
theRMajor, | |||
theRMinor, | |||
theName = None |
|||
) |
Create a torus with given center, normal vector and radiuses.
thePnt | Torus central point. |
theVec | Torus axis of symmetry. |
theRMajor | Torus major radius. |
theRMinor | Torus minor radius. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().
def MakeTorusRR | ( | self, | |
theRMajor, | |||
theRMinor, | |||
theName = None |
|||
) |
Create a torus with given radiuses at the origin of coordinate system.
theRMajor | Torus major radius. |
theRMinor | Torus minor radius. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.PrimOp, and geomBuilder.RaiseIfFailed().