Interface for fillet and chamfer creation. More...
import "GEOM_Gen.idl";
Public Member Functions | |
GEOM_Object | MakeFilletAll (in GEOM_Object theShape, in double theR) |
Perform a fillet on all edges of the given shape. More... | |
GEOM_Object | MakeFilletEdges (in GEOM_Object theShape, in double theR, in ListOfLong theEdges) |
Perform a fillet on the specified edges of the given shape. More... | |
GEOM_Object | MakeFilletEdgesR1R2 (in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theEdges) |
GEOM_Object | MakeFilletFaces (in GEOM_Object theShape, in double theR, in ListOfLong theFaces) |
Perform a fillet on all edges of the specified faces of the given shape. More... | |
GEOM_Object | MakeFilletFacesR1R2 (in GEOM_Object theShape, in double theR1, in double theR2, in ListOfLong theFaces) |
GEOM_Object | MakeFillet2D (in GEOM_Object theShape, in double theR, in ListOfLong theVertexes) |
Perform a fillet on a face or a shell at the specified vertexes. More... | |
GEOM_Object | MakeFillet1D (in GEOM_Object theShape, in double theR, in ListOfLong theVertexes, in boolean doIgnoreSecantVertices) |
Perform a fillet on edges of the specified vertexes of the given wire. More... | |
GEOM_Object | MakeChamferAll (in GEOM_Object theShape, in double theD) |
Perform a symmetric chamfer on all edges of the given shape. More... | |
GEOM_Object | MakeChamferEdge (in GEOM_Object theShape, in double theD1, in double theD2, in long theFace1, in long theFace2) |
Perform a chamfer on edges, common to the specified faces. with distance D1 on the Face1. More... | |
GEOM_Object | MakeChamferEdgeAD (in GEOM_Object theShape, in double theD, in double theAngle, in long theFace1, in long theFace2) |
The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians) More... | |
GEOM_Object | MakeChamferFaces (in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theFaces) |
Perform a chamfer on all edges of the specified faces. with distance D1 on the first specified face (if several for one edge) More... | |
GEOM_Object | MakeChamferFacesAD (in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theFaces) |
GEOM_Object | MakeChamferEdges (in GEOM_Object theShape, in double theD1, in double theD2, in ListOfLong theEdges) |
Perform a chamfer on edges, with distance D1 on the first specified face (if several for one edge) More... | |
GEOM_Object | MakeChamferEdgesAD (in GEOM_Object theShape, in double theD, in double theAngle, in ListOfLong theEdges) |
GEOM_Object | MakeArchimede (in GEOM_Object theShape, in double theWeight, in double theWaterDensity, in double theMeshDeflection) |
Perform an Archimde operation on the given shape with given parameters. The object presenting the resulting face is returned. More... | |
long | GetSubShapeIndex (in GEOM_Object theShape, in GEOM_Object theSubShape) |
Duplicates GEOM_IShapesOperations.GetSubShapeIndex(). More... | |
boolean | IsDone () |
To know, if the operation was successfully performed. More... | |
void | SetErrorCode (in string theErrorID) |
Set the operation error code. More... | |
string | GetErrorCode () |
Get the operation error code. More... | |
long | GetStudyID () |
Get ID of study, where the operation is defined. More... | |
void | StartOperation () |
Opens a new transaction. More... | |
void | FinishOperation () |
Closes the previously opened trasaction. More... | |
void | AbortOperation () |
Aborts the previously opened transaction. More... | |
Interface for fillet and chamfer creation.
GEOM_Object MakeFilletAll | ( | in GEOM_Object | theShape, |
in double | theR | ||
) |
Perform a fillet on all edges of the given shape.
theShape | Shape, to perform fillet on. |
theR | Fillet radius. |
GEOM_Object MakeFilletEdges | ( | in GEOM_Object | theShape, |
in double | theR, | ||
in ListOfLong | theEdges | ||
) |
Perform a fillet on the specified edges of the given shape.
theShape | Shape, to perform fillet on. |
theR | Fillet radius. |
theEdges | Global indices of edges to perform fillet on. |
GEOM_Object MakeFilletEdgesR1R2 | ( | in GEOM_Object | theShape, |
in double | theR1, | ||
in double | theR2, | ||
in ListOfLong | theEdges | ||
) |
GEOM_Object MakeFilletFaces | ( | in GEOM_Object | theShape, |
in double | theR, | ||
in ListOfLong | theFaces | ||
) |
Perform a fillet on all edges of the specified faces of the given shape.
theShape | Shape, to perform fillet on. |
theR | Fillet radius. |
theFaces | Global indices of faces to perform fillet on. |
GEOM_Object MakeFilletFacesR1R2 | ( | in GEOM_Object | theShape, |
in double | theR1, | ||
in double | theR2, | ||
in ListOfLong | theFaces | ||
) |
GEOM_Object MakeFillet2D | ( | in GEOM_Object | theShape, |
in double | theR, | ||
in ListOfLong | theVertexes | ||
) |
Perform a fillet on a face or a shell at the specified vertexes.
theShape | Shape, to perform fillet on. |
theR | Fillet radius. |
theVertexes | Global indices of vertexes to perform fillet on. |
GEOM_Object MakeFillet1D | ( | in GEOM_Object | theShape, |
in double | theR, | ||
in ListOfLong | theVertexes, | ||
in boolean | doIgnoreSecantVertices | ||
) |
Perform a fillet on edges of the specified vertexes of the given wire.
theShape | Shape, to perform fillet on. |
theR | Fillet radius. |
theVertexes | 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). |
GEOM_Object MakeChamferAll | ( | in GEOM_Object | theShape, |
in double | theD | ||
) |
Perform a symmetric chamfer on all edges of the given shape.
theShape | Shape, to perform chamfer on. |
theD | Chamfer size along each face. |
GEOM_Object MakeChamferEdge | ( | in GEOM_Object | theShape, |
in double | theD1, | ||
in double | theD2, | ||
in long | theFace1, | ||
in long | theFace2 | ||
) |
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. |
GEOM_Object MakeChamferEdgeAD | ( | in GEOM_Object | theShape, |
in double | theD, | ||
in double | theAngle, | ||
in long | theFace1, | ||
in long | theFace2 | ||
) |
The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians)
GEOM_Object MakeChamferFaces | ( | in GEOM_Object | theShape, |
in double | theD1, | ||
in double | theD2, | ||
in ListOfLong | theFaces | ||
) |
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. |
GEOM_Object MakeChamferFacesAD | ( | in GEOM_Object | theShape, |
in double | theD, | ||
in double | theAngle, | ||
in ListOfLong | theFaces | ||
) |
The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians)
GEOM_Object MakeChamferEdges | ( | in GEOM_Object | theShape, |
in double | theD1, | ||
in double | theD2, | ||
in ListOfLong | theEdges | ||
) |
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. |
GEOM_Object MakeChamferEdgesAD | ( | in GEOM_Object | theShape, |
in double | theD, | ||
in double | theAngle, | ||
in ListOfLong | theEdges | ||
) |
The Same but with params theD = Chamfer Lenght and theAngle = Chamfer Angle (Angle in radians)
GEOM_Object MakeArchimede | ( | in GEOM_Object | theShape, |
in double | theWeight, | ||
in double | theWaterDensity, | ||
in double | theMeshDeflection | ||
) |
Perform an Archimde operation on the given shape with given parameters. The object presenting the resulting face is returned.
theShape | Shape to be put in water. |
theWeight | Weight og the shape. |
theWaterDensity | Density of the water. |
theMeshDeflection | Deflection od the mesh, using to compute the section. |
long GetSubShapeIndex | ( | in GEOM_Object | theShape, |
in GEOM_Object | theSubShape | ||
) |
Duplicates GEOM_IShapesOperations.GetSubShapeIndex().
Present here only for compatibility.
|
inherited |
To know, if the operation was successfully performed.
|
inherited |
Set the operation error code.
theErrorID | is a string describing the error occured |
|
inherited |
Get the operation error code.
|
inherited |
Get ID of study, where the operation is defined.
|
inherited |
Opens a new transaction.
|
inherited |
Closes the previously opened trasaction.
|
inherited |
Aborts the previously opened transaction.