Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
GEOM_ILocalOperations Interface Reference

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...
 

Detailed Description

Interface for fillet and chamfer creation.

Member Function Documentation

GEOM_Object MakeFilletAll ( in GEOM_Object  theShape,
in double  theR 
)

Perform a fillet on all edges of the given shape.

Parameters
theShapeShape, to perform fillet on.
theRFillet radius.
Returns
New GEOM_Object, containing the result shape.
GEOM_Object MakeFilletEdges ( in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theEdges 
)

Perform a fillet on the specified edges of the given shape.

Parameters
theShapeShape, to perform fillet on.
theRFillet radius.
theEdgesGlobal indices of edges to perform fillet on.
Note
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns
New GEOM_Object, containing the result shape.
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.

Parameters
theShapeShape, to perform fillet on.
theRFillet radius.
theFacesGlobal indices of faces to perform fillet on.
Note
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns
New GEOM_Object, containing the result shape.
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.

Parameters
theShapeShape, to perform fillet on.
theRFillet radius.
theVertexesGlobal indices of vertexes to perform fillet on.
Note
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns
New GEOM_Object, containing the result shape.
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.

Parameters
theShapeShape, to perform fillet on.
theRFillet radius.
theVertexesGlobal indices of vertexes to perform fillet on.
Note
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
The list of vertices coudl be empty, in this case fillet fill be done at all vertices in given wire
Parameters
doIgnoreSecantVerticesIf 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).
Returns
New GEOM_Object, containing the result shape.
GEOM_Object MakeChamferAll ( in GEOM_Object  theShape,
in double  theD 
)

Perform a symmetric chamfer on all edges of the given shape.

Parameters
theShapeShape, to perform chamfer on.
theDChamfer size along each face.
Returns
New GEOM_Object, containing the result shape.
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.

Parameters
theShapeShape, to perform chamfer on.
theD1Chamfer size along theFace1.
theD2Chamfer size along theFace2.
theFace1,theFace2Global indices of two faces of theShape.
Note
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns
New GEOM_Object, containing the result shape.
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)

Parameters
theShapeShape, to perform chamfer on.
theD1Chamfer 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.
theD2Chamfer size along another of two faces, connected to the edge.
theFacesSequence of global indices of faces of theShape.
Note
Global index of sub-shape can be obtained, using method GEOM_IShapesOperations.GetSubShapeIndex().
Returns
New GEOM_Object, containing the result shape.
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)

Parameters
theShapeShape, to perform chamfer on.
theD1,theD2Chamfer size
theEdgesSequence of edges of theShape.
Returns
New GEOM_Object, containing the result shape.
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.

Parameters
theShapeShape to be put in water.
theWeightWeight og the shape.
theWaterDensityDensity of the water.
theMeshDeflectionDeflection od the mesh, using to compute the section.
Returns
New GEOM_Object, containing a section of theShape by a plane, corresponding to water level.
long GetSubShapeIndex ( in GEOM_Object  theShape,
in GEOM_Object  theSubShape 
)

Duplicates GEOM_IShapesOperations.GetSubShapeIndex().

Present here only for compatibility.

boolean IsDone ( )
inherited

To know, if the operation was successfully performed.

void SetErrorCode ( in string  theErrorID)
inherited

Set the operation error code.

Parameters
theErrorIDis a string describing the error occured
Note
This method is supposed to be used only by interfaces inheriting from IOperations.
string GetErrorCode ( )
inherited

Get the operation error code.

long GetStudyID ( )
inherited

Get ID of study, where the operation is defined.

void StartOperation ( )
inherited

Opens a new transaction.

void FinishOperation ( )
inherited

Closes the previously opened trasaction.

void AbortOperation ( )
inherited

Aborts the previously opened transaction.