Functions | |
def | MakeFilletAll |
Perform a fillet on all edges of the given shape. More... | |
def | MakeFillet |
Perform a fillet on the specified edges/faces of the given shape. More... | |
def | MakeFilletR1R2 |
The same that MakeFillet() but with two Fillet Radius R1 and R2. More... | |
def | MakeFillet1D |
Perform a fillet on the specified edges of the given shape. More... | |
def | MakeFillet2D |
Perform a fillet at the specified vertices of the given face/shell. More... | |
def | MakeChamferAll |
Perform a symmetric chamfer on all edges of the given shape. More... | |
def | MakeChamferEdge |
Perform a chamfer on edges, common to the specified faces, with distance D1 on the Face1. More... | |
def | MakeChamferEdgeAD |
Perform a chamfer on edges. More... | |
def | MakeChamferFaces |
Perform a chamfer on all edges of the specified faces, with distance D1 on the first specified face (if several for one edge) More... | |
def | MakeChamferFacesAD |
The Same that MakeChamferFaces() but with params theD is chamfer lenght and theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees) More... | |
def | MakeChamferEdges |
Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge) More... | |
def | MakeChamferEdgesAD |
The Same that MakeChamferEdges() but with params theD is chamfer lenght and theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees) More... | |
def | MakeChamfer |
def | MakeExtrudedCut |
Remove material from a solid by extrusion of the base shape on the given distance. More... | |
def | MakeExtrudedBoss |
Add material to a solid by extrusion of the base shape on the given distance. More... | |
def MakeFilletAll | ( | self, | |
theShape, | |||
theR, | |||
theName = None |
|||
) |
Perform a fillet on all edges of the given shape.
theShape | Shape, to perform fillet on. |
theR | Fillet 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.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeFillet | ( | self, | |
theShape, | |||
theR, | |||
theShapeType, | |||
theListShapes, | |||
theName = None |
|||
) |
Perform a fillet on the specified edges/faces of the given shape.
theShape | Shape, to perform fillet on. |
theR | Fillet radius. |
theShapeType | Type of shapes in theListShapes (see ShapeType()) |
theListShapes | Global indices of edges/faces to perform fillet on. |
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.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.RaiseIfFailed(), and geomBuilder.ShapeType.
def MakeFilletR1R2 | ( | self, | |
theShape, | |||
theR1, | |||
theR2, | |||
theShapeType, | |||
theListShapes, | |||
theName = None |
|||
) |
The same that MakeFillet() but with two Fillet Radius R1 and R2.
References geomBuilder._autoPublish(), geomBuilder.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), geomBuilder.RaiseIfFailed(), and geomBuilder.ShapeType.
def MakeFillet1D | ( | self, | |
theShape, | |||
theR, | |||
theListOfVertexes, | |||
doIgnoreSecantVertices = True , |
|||
theName = None |
|||
) |
Perform a fillet on the specified edges of the given shape.
theShape | Wire Shape to perform fillet on. |
theR | Fillet radius. |
theListOfVertexes | Global indices of vertexes to perform fillet on. |
doIgnoreSecantVertices | If FALSE, fillet radius is always limited by the length of the edges, nearest to the fillet vertex. But sometimes the next edge is C1 continuous with the one, nearest to the fillet point, and such two (or more) edges can be united to allow bigger radius. Set this flag to TRUE to allow collinear edges union, thus ignoring the secant vertex (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.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeFillet2D | ( | self, | |
theShape, | |||
theR, | |||
theListOfVertexes, | |||
theName = None |
|||
) |
Perform a fillet at the specified vertices of the given face/shell.
theShape | Face or Shell shape to perform fillet on. |
theR | Fillet radius. |
theListOfVertexes | Global indices of vertexes to perform fillet on. |
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.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeChamferAll | ( | self, | |
theShape, | |||
theD, | |||
theName = None |
|||
) |
Perform a symmetric chamfer on all edges of the given shape.
theShape | Shape, to perform chamfer on. |
theD | Chamfer size along each face. |
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.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeChamferEdge | ( | self, | |
theShape, | |||
theD1, | |||
theD2, | |||
theFace1, | |||
theFace2, | |||
theName = None |
|||
) |
Perform a chamfer on edges, common to the specified faces, with distance D1 on the Face1.
theShape | Shape, to perform chamfer on. |
theD1 | Chamfer size along theFace1. |
theD2 | Chamfer size along theFace2. |
theFace1,theFace2 | Global indices of two faces of theShape. |
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.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeChamferEdgeAD | ( | self, | |
theShape, | |||
theD, | |||
theAngle, | |||
theFace1, | |||
theFace2, | |||
theName = None |
|||
) |
Perform a chamfer on edges.
theShape | Shape, to perform chamfer on. |
theD | Chamfer length |
theAngle | Angle of chamfer (angle in radians or a name of variable which defines angle in degrees) |
theFace1,theFace2 | Global indices of two faces of theShape. |
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.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeChamferFaces | ( | self, | |
theShape, | |||
theD1, | |||
theD2, | |||
theFaces, | |||
theName = None |
|||
) |
Perform a chamfer on all edges of the specified faces, with distance D1 on the first specified face (if several for one edge)
theShape | Shape, to perform chamfer on. |
theD1 | Chamfer size along face from theFaces. If both faces, connected to the edge, are in theFaces, theD1 will be get along face, which is nearer to theFaces beginning. |
theD2 | Chamfer size along another of two faces, connected to the edge. |
theFaces | Sequence of global indices of faces of theShape. |
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.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeChamferFacesAD | ( | self, | |
theShape, | |||
theD, | |||
theAngle, | |||
theFaces, | |||
theName = None |
|||
) |
The Same that MakeChamferFaces() but with params theD is chamfer lenght and theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees)
References geomBuilder._autoPublish(), geomBuilder.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeChamferEdges | ( | self, | |
theShape, | |||
theD1, | |||
theD2, | |||
theEdges, | |||
theName = None |
|||
) |
Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge)
theShape | Shape, to perform chamfer on. |
theD1,theD2 | Chamfer size |
theEdges | Sequence of edges of theShape. |
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.LocalOp, geomBuilder.ManageTransactions(), geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeChamferEdgesAD | ( | self, | |
theShape, | |||
theD, | |||
theAngle, | |||
theEdges, | |||
theName = None |
|||
) |
The Same that MakeChamferEdges() but with params theD is chamfer lenght and theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees)
References geomBuilder._autoPublish(), geomBuilder.LocalOp, geomBuilder.ParseParameters(), and geomBuilder.RaiseIfFailed().
def MakeChamfer | ( | self, | |
aShape, | |||
d1, | |||
d2, | |||
aShapeType, | |||
ListShape, | |||
theName = None |
|||
) |
def MakeExtrudedCut | ( | self, | |
theInit, | |||
theBase, | |||
theH, | |||
theAngle, | |||
theInvert = False , |
|||
theName = None |
|||
) |
Remove material from a solid by extrusion of the base shape on the given distance.
theInit | Shape to remove material from. It must be a solid or a compound made of a single solid. |
theBase | Closed edge or wire defining the base shape to be extruded. |
theH | Prism dimension along the normal to theBase |
theAngle | Draft angle in degrees. |
theInvert | If true material changes the direction |
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 MakeExtrudedBoss | ( | self, | |
theInit, | |||
theBase, | |||
theH, | |||
theAngle, | |||
theInvert = False , |
|||
theName = None |
|||
) |
Add material to a solid by extrusion of the base shape on the given distance.
theInit | Shape to add material to. It must be a solid or a compound made of a single solid. |
theBase | Closed edge or wire defining the base shape to be extruded. |
theH | Prism dimension along the normal to theBase |
theAngle | Draft angle in degrees. |
theInvert | If true material changes the direction |
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().