Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOM::GEOM_ILocalOperations Interface Reference

Interface for fillet and chamfer creation.

import "GEOM_Gen.idl";

Inheritance diagram for GEOM::GEOM_ILocalOperations:
Inheritance graph

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...
 
- Public Member Functions inherited from GEOM::GEOM_IOperations
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...
 

Member Function Documentation

long GEOM::GEOM_ILocalOperations::GetSubShapeIndex ( in GEOM_Object  theShape,
in GEOM_Object  theSubShape 
)

Present here only for compatibility.

GEOM_Object GEOM::GEOM_ILocalOperations::MakeArchimede ( in GEOM_Object  theShape,
in double  theWeight,
in double  theWaterDensity,
in double  theMeshDeflection 
)
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.
GEOM_Object GEOM::GEOM_ILocalOperations::MakeChamferAll ( in GEOM_Object  theShape,
in double  theD 
)
Parameters
theShapeShape, to perform chamfer on.
theDChamfer size along each face.
Returns
New GEOM_Object, containing the result shape.
GEOM_Object GEOM::GEOM_ILocalOperations::MakeChamferEdge ( in GEOM_Object  theShape,
in double  theD1,
in double  theD2,
in long  theFace1,
in long  theFace2 
)
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 GEOM::GEOM_ILocalOperations::MakeChamferEdgeAD ( in GEOM_Object  theShape,
in double  theD,
in double  theAngle,
in long  theFace1,
in long  theFace2 
)
GEOM_Object GEOM::GEOM_ILocalOperations::MakeChamferEdges ( in GEOM_Object  theShape,
in double  theD1,
in double  theD2,
in ListOfLong  theEdges 
)
Parameters
theShapeShape, to perform chamfer on.
theD1,theD2Chamfer size
theEdgesSequence of edges of theShape.
Returns
New GEOM_Object, containing the result shape.
GEOM_Object GEOM::GEOM_ILocalOperations::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 GEOM::GEOM_ILocalOperations::MakeChamferFaces ( in GEOM_Object  theShape,
in double  theD1,
in double  theD2,
in ListOfLong  theFaces 
)
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 GEOM::GEOM_ILocalOperations::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 GEOM::GEOM_ILocalOperations::MakeFillet1D ( in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theVertexes,
in boolean  doIgnoreSecantVertices 
)
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 GEOM::GEOM_ILocalOperations::MakeFillet2D ( in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theVertexes 
)
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 GEOM::GEOM_ILocalOperations::MakeFilletAll ( in GEOM_Object  theShape,
in double  theR 
)
Parameters
theShapeShape, to perform fillet on.
theRFillet radius.
Returns
New GEOM_Object, containing the result shape.
GEOM_Object GEOM::GEOM_ILocalOperations::MakeFilletEdges ( in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theEdges 
)
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 GEOM::GEOM_ILocalOperations::MakeFilletEdgesR1R2 ( in GEOM_Object  theShape,
in double  theR1,
in double  theR2,
in ListOfLong  theEdges 
)
GEOM_Object GEOM::GEOM_ILocalOperations::MakeFilletFaces ( in GEOM_Object  theShape,
in double  theR,
in ListOfLong  theFaces 
)
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 GEOM::GEOM_ILocalOperations::MakeFilletFacesR1R2 ( in GEOM_Object  theShape,
in double  theR1,
in double  theR2,
in ListOfLong  theFaces 
)

The documentation for this interface was generated from the following file: