Version: 9.12.0
GEOM::GEOM_I3DPrimOperations Interface Reference

Interface for 3D primitives creation. More...

import"GEOM_Gen.idl";

Inheritance diagram for GEOM::GEOM_I3DPrimOperations:
Inheritance graph

Public Member Functions

GEOM_Object MakeBoxDXDYDZ (in double theDX, in double theDY, in double theDZ)
 Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coordinate axes. More...
 
GEOM_Object MakeBoxTwoPnt (in GEOM_Object thePnt1, in GEOM_Object thePnt2)
 Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes. More...
 
GEOM_Object MakeFaceHW (in double theH, in double theW, in short theOrientation)
 Create a face specified dimensions along OX-OY coordinate axes, with edges parallel to the coordinate axes. More...
 
GEOM_Object MakeFaceObjHW (in GEOM_Object theObj, in double theH, in double theW)
 Create a face by normale vector or edge and two specified sizes, vertical (H) and horisontal (W). More...
 
GEOM_Object MakeDiskPntVecR (in GEOM_Object thePnt, in GEOM_Object theVec, in double theR)
 Create a Disk (circular face) with given center, normal vector and radius. More...
 
GEOM_Object MakeDiskThreePnt (in GEOM_Object thePnt1, in GEOM_Object thePnt2, in GEOM_Object thePnt3)
 Create a disk (circular face), passing through three given points. More...
 
GEOM_Object MakeDiskR (in double theR, in short theOrientation)
 Create a disk specified dimensions along OX-OY coordinate axes. More...
 
GEOM_Object MakeCylinderRH (in double theR, in double theH)
 Create a cylinder with given radius and height at the origin of coordinate system. More...
 
GEOM_Object MakeCylinderRHA (in double theR, in double theH, in double theA)
 Create a portion of cylinder with given radius, height and angle at the origin of coordinate system. More...
 
GEOM_Object MakeCylinderPntVecRH (in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR, in double theH)
 Create a cylinder with given base point, axis, radius and height. More...
 
GEOM_Object MakeCylinderPntVecRHA (in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR, in double theH, in double theA)
 Create a portion of cylinder with given base point, axis, radius, height and angle. More...
 
GEOM_Object MakeConeR1R2H (in double theR1, in double theR2, in double theH)
 Create a cone with given height and radiuses at the origin of coordinate system. More...
 
GEOM_Object MakeConePntVecR1R2H (in GEOM_Object thePnt, in GEOM_Object theAxis, in double theR1, in double theR2, in double theH)
 Create a cone with given base point, axis, height and radiuses. More...
 
GEOM_Object MakeTorusRR (in double theRMajor, in double theRMinor)
 Create a torus with given radiuses at the origin of coordinate system. More...
 
GEOM_Object MakeTorusPntVecRR (in GEOM_Object thePnt, in GEOM_Object theVec, in double theRMajor, in double theRMinor)
 Create a torus with given center, normal vector and radiuses. More...
 
GEOM_Object MakeSphereR (in double theR)
 Create a sphere with given radius at the origin of coordinate system. More...
 
GEOM_Object MakeSpherePntR (in GEOM_Object thePnt, in double theR)
 Create a sphere with given center and radius. More...
 
GEOM_Object MakePrismVecH (in GEOM_Object theBase, in GEOM_Object theVec, in double theH)
 Create a shape by extrusion of the base shape along the vector. More...
 
GEOM_Object MakePrismVecH2Ways (in GEOM_Object theBase, in GEOM_Object theVec, in double theH)
 
GEOM_Object MakePrismVecHWithScaling (in GEOM_Object theBase, in GEOM_Object theVec, in double theH, in double theScaleFactor)
 
GEOM_Object MakePrismTwoPnt (in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
 Create a shape by extrusion of the base shape along a vector, defined by two points. More...
 
GEOM_Object MakePrismTwoPnt2Ways (in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2)
 
GEOM_Object MakePrismTwoPntWithScaling (in GEOM_Object theBase, in GEOM_Object thePoint1, in GEOM_Object thePoint2, in double theScaleFactor)
 
GEOM_Object MakePrismDXDYDZ (in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ)
 Create a shape by extrusion of the base shape along a vector, defined by DX DY DZ. More...
 
GEOM_Object MakePrismDXDYDZ2Ways (in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ)
 
GEOM_Object MakePrismDXDYDZWithScaling (in GEOM_Object theBase, in double theDX, in double theDY, in double theDZ, in double theScaleFactor)
 
GEOM_Object MakeDraftPrism (in GEOM_Object theInitShape, in GEOM_Object theBase, in double theHeight, in double theAngle, in boolean theFuse, in boolean theInvert)
 Add / Remove material to / from a solid by extrusion of the base shape on the given distance. More...
 
ListOfGO MakePipe (in GEOM_Object theBase, in GEOM_Object thePath, in boolean IsGenerateGroups)
 Create a shape by extrusion of the base shape along the path shape. The path shape can be a wire or an edge. More...
 
GEOM_Object MakeRevolutionAxisAngle (in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle)
 Create a shape by revolution of the base shape around the axis on the given angle. More...
 
GEOM_Object MakeRevolutionAxisAngle2Ways (in GEOM_Object theBase, in GEOM_Object theAxis, in double theAngle)
 
GEOM_Object MakeFilling (in ListOfGO theContours, in long theMinDeg, in long theMaxDeg, in double theTol2D, in double theTol3D, in long theNbIter, in filling_oper_method theMethod, in boolean theApprox)
 Create a face from a given set of contours. More...
 
GEOM_Object MakeThruSections (in ListOfGO theSeqSections, in boolean theModeSolid, in double thePreci, in boolean theRuled)
 Create a shell or solid passing through set of sections.Sections should be wires,edges or vertices. More...
 
ListOfGO MakePipeWithDifferentSections (in ListOfGO theSeqBases, in ListOfGO theLocations, in GEOM_Object thePath, in boolean theWithContact, in boolean theWithCorrection, in boolean IsBySteps, in boolean IsGenerateGroups)
 Create a shape by extrusion of the profile shape along the path shape. More...
 
ListOfGO MakePipeWithShellSections (in ListOfGO theSeqBases, in ListOfGO theSeqSubBases, in ListOfGO theLocations, in GEOM_Object thePath, in boolean theWithContact, in boolean theWithCorrection, in boolean IsGenerateGroups)
 Create a shape by extrusion of the profile shape along the path shape. More...
 
ListOfGO MakePipeShellsWithoutPath (in ListOfGO theSeqBases, in ListOfGO theLocations, in boolean IsGenerateGroups)
 Create solids between given sections. More...
 
ListOfGO MakePipeBiNormalAlongVector (in GEOM_Object theBase, in GEOM_Object thePath, in GEOM_Object theVec, in boolean IsGenerateGroups)
 Create a shape by extrusion of the base shape along the path shape with constant bi-normal direction along the given vector. More...
 
GEOM_Object MakeThickening (in GEOM_Object theObject, in ListOfLong theFacesIDs, in double theThickness, in boolean isCopy, in boolean isInside)
 Make a thick solid from a shape. More...
 
GEOM_Object RestorePath (in GEOM_Object theShape, in GEOM_Object theBase1, in GEOM_Object theBase2)
 Build a middle path of a pipe-like shape. More...
 
GEOM_Object RestorePathEdges (in GEOM_Object theShape, in ListOfGO theBase1, in ListOfGO theBase2)
 Build a middle path of a pipe-like shape. 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...
 
void StartOperation ()
 Opens a new transaction. More...
 
void FinishOperation ()
 Closes the previously opened transaction. More...
 
void AbortOperation ()
 Aborts the previously opened transaction. More...
 

Detailed Description

Box, Cylinder, Cone, Sphere, Prism (extrusion), Pipe (extrusion along contour), Revolution, Solid (from shell).

Member Function Documentation

◆ MakeBoxDXDYDZ()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeBoxDXDYDZ ( in double  theDX,
in double  theDY,
in double  theDZ 
)

Center of the box will be at point (DX/2, DY/2, DZ/2).

Parameters
theDXLength of Box edges, parallel to OX axis.
theDYLength of Box edges, parallel to OY axis.
theDZLength of Box edges, parallel to OZ axis.
Returns
New GEOM_Object, containing the created box.

◆ MakeBoxTwoPnt()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeBoxTwoPnt ( in GEOM_Object  thePnt1,
in GEOM_Object  thePnt2 
)
Parameters
thePnt1First of two opposite vertices.
thePnt2Second of two opposite vertices.
Returns
New GEOM_Object, containing the created box.

◆ MakeConePntVecR1R2H()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeConePntVecR1R2H ( in GEOM_Object  thePnt,
in GEOM_Object  theAxis,
in double  theR1,
in double  theR2,
in double  theH 
)
Parameters
thePntCentral point of the first cone base.
theAxisCone axis.
theR1Radius of the first cone base.
theR2Radius of the second cone base.
Note
If both radiuses are non-zero, the cone will be truncated.
If the radiuses are equal, a cylinder will be created instead.
Parameters
theHCone height.
Returns
New GEOM_Object, containing the created cone.

◆ MakeConeR1R2H()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeConeR1R2H ( in double  theR1,
in double  theR2,
in double  theH 
)

Axis of the cone will be collinear to the OZ axis of the coordinate system.

Parameters
theR1Radius of the first cone base.
theR2Radius of the second cone base.
Note
If both radiuses are non-zero, the cone will be truncated.
If the radiuses are equal, a cylinder will be created instead.
Parameters
theHCone height.
Returns
New GEOM_Object, containing the created cone.

◆ MakeCylinderPntVecRH()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeCylinderPntVecRH ( in GEOM_Object  thePnt,
in GEOM_Object  theAxis,
in double  theR,
in double  theH 
)
Parameters
thePntCentral point of cylinder base.
theAxisCylinder axis.
theRCylinder radius.
theHCylinder height.
Returns
New GEOM_Object, containing the created cylinder.

◆ MakeCylinderPntVecRHA()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeCylinderPntVecRHA ( in GEOM_Object  thePnt,
in GEOM_Object  theAxis,
in double  theR,
in double  theH,
in double  theA 
)
Parameters
thePntCentral point of cylinder base.
theAxisCylinder axis.
theRCylinder radius.
theHCylinder height.
theACylinder angle.
Returns
New GEOM_Object, containing the created cylinder.

◆ MakeCylinderRH()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeCylinderRH ( in double  theR,
in double  theH 
)

Axis of the cylinder will be collinear to the OZ axis of the coordinate system.

Parameters
theRCylinder radius.
theHCylinder height.
Returns
New GEOM_Object, containing the created cylinder.

◆ MakeCylinderRHA()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeCylinderRHA ( in double  theR,
in double  theH,
in double  theA 
)

Axis of the cylinder will be collinear to the OZ axis of the coordinate system.

Parameters
theRCylinder radius.
theHCylinder height.
theACylinder angle.
Returns
New GEOM_Object, containing the created cylinder.

◆ MakeDiskPntVecR()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeDiskPntVecR ( in GEOM_Object  thePnt,
in GEOM_Object  theVec,
in double  theR 
)
Parameters
thePntdisk center.
theVecVector, normal to the plane of the disk.
theRDisk radius.
Returns
New GEOM_Object, containing the created disk.

◆ MakeDiskR()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeDiskR ( in double  theR,
in short  theOrientation 
)

Center of the disk at point (0, 0, 0).

Parameters
theRof the Disk.
theOrientationOrientation belong axis OXY OYZ OZX
Returns
New GEOM_Object, containing the created disk.

◆ MakeDiskThreePnt()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeDiskThreePnt ( in GEOM_Object  thePnt1,
in GEOM_Object  thePnt2,
in GEOM_Object  thePnt3 
)
Parameters
thePnt1,thePnt2,thePnt3Points, defining the disk.
Returns
New GEOM_Object, containing the created disk.

◆ MakeDraftPrism()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeDraftPrism ( in GEOM_Object  theInitShape,
in GEOM_Object  theBase,
in double  theHeight,
in double  theAngle,
in boolean  theFuse,
in boolean  theInvert 
)
Parameters
theInitShapeInitial shape on which to perform the feature.It has to be a solid or a compound made of a single solid
theBaseEdge or wire defining the base shape to be extruded.
theHeightPrism dimension along the normal of the face.
theAngleDraft angel in degrees
theFuseIf true material is added else material is removed
theInvertIf true material changes the direction
Returns
New GEOM_Object, containing the modified shape

◆ MakeFaceHW()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeFaceHW ( in double  theH,
in double  theW,
in short  theOrientation 
)

Center of the face will be at point (0, 0, 0).

Parameters
theHHeight of the Face.
theWWidth of the Face.
theOrientationOrientation belong axis OXY OYZ OZX
Returns
New GEOM_Object, containing the created face.

◆ MakeFaceObjHW()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeFaceObjHW ( in GEOM_Object  theObj,
in double  theH,
in double  theW 
)
Parameters
theObjdefines plane.
theHvertical size (height).
theWhorisontal size (width).
Returns
New GEOM_Object, containing the created face.

◆ MakeFilling()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeFilling ( in ListOfGO  theContours,
in long  theMinDeg,
in long  theMaxDeg,
in double  theTol2D,
in double  theTol3D,
in long  theNbIter,
in filling_oper_method  theMethod,
in boolean  theApprox 
)
Parameters
theContourseither a list or a compound of edges/wires.
theMinDega minimal degree of BSpline surface to create.
theMaxDega maximal degree of BSpline surface to create.
theTol2Da 2d tolerance to be reached.
theTol3Da 3d tolerance to be reached.
theNbItera number of iteration of approximation algorithm.
theMethodKind of method to perform filling operation.
theApproxBoolean indicating if result should be approximated.
Returns
New GEOM_Object (face), containing the created filling surface.

◆ MakePipe()

ListOfGO GEOM::GEOM_I3DPrimOperations::MakePipe ( in GEOM_Object  theBase,
in GEOM_Object  thePath,
in boolean  IsGenerateGroups 
)
Parameters
theBaseBase shape to be extruded.
thePathPath shape to extrude the base shape along it.
IsGenerateGroupsflag that tells if it is necessary to return groups (true) or not (false).
Returns
The list of objects. The first one is a result pipe, the other ones are the created groups. If IsGenerateGroups is not set the returned list contains a single object, which is the operation result.

◆ MakePipeBiNormalAlongVector()

ListOfGO GEOM::GEOM_I3DPrimOperations::MakePipeBiNormalAlongVector ( in GEOM_Object  theBase,
in GEOM_Object  thePath,
in GEOM_Object  theVec,
in boolean  IsGenerateGroups 
)

The path shape can be a wire or an edge.

Parameters
theBaseBase shape to be extruded.
thePathPath shape to extrude the base shape along it.
theVecVector defines a constant binormal direction to keep the same angle between the Direction and the sections along the sweep surface.
IsGenerateGroupsflag that tells if it is necessary to return groups (true) or not (false).
Returns
The list of objects. The first one is a result pipe, the other ones are the created groups. If IsGenerateGroups is not set the returned list contains a single object, which is the operation result.

◆ MakePipeShellsWithoutPath()

ListOfGO GEOM::GEOM_I3DPrimOperations::MakePipeShellsWithoutPath ( in ListOfGO  theSeqBases,
in ListOfGO  theLocations,
in boolean  IsGenerateGroups 
)
Parameters
theSeqBases- list of sections (shell or face).
theLocations- list of corresponding vertexes
IsGenerateGroupsflag that tells if it is necessary to return groups (true) or not (false).
Returns
The list of objects. The first one is a result pipe, the other ones are the created groups. If IsGenerateGroups is not set the returned list contains a single object, which is the operation result.

◆ MakePipeWithDifferentSections()

ListOfGO GEOM::GEOM_I3DPrimOperations::MakePipeWithDifferentSections ( in ListOfGO  theSeqBases,
in ListOfGO  theLocations,
in GEOM_Object  thePath,
in boolean  theWithContact,
in boolean  theWithCorrection,
in boolean  IsBySteps,
in boolean  IsGenerateGroups 
)

The path shape can be a wire or an edge. the several profiles can be specified in the several locations of path.

Parameters
theSeqBases- list of Bases shape to be extruded.
theLocations- list of locations on the path corresponding specified list of the Bases shapes. Number of locations should be equal to number of bases or list of locations can be empty.
thePath- Path shape to extrude the base shape along it.
theWithContact- the mode defining that the section is translated to be in contact with the spine. Ignored if IsBySteps is set.
theWithCorrection- defining that the section is rotated to be orthogonal to the spine tangent in the correspondent point. Ignored if IsBySteps is set.
IsBySteps- flag that tells if the result should be created step by step or as a whole. If IsBySteps is set no correction of bases is allowed.
IsGenerateGroupsflag that tells if it is necessary to return groups (true) or not (false).
Returns
The list of objects. The first one is a result pipe, the other ones are the created groups. If IsGenerateGroups is not set the returned list contains a single object, which is the operation result.

◆ MakePipeWithShellSections()

ListOfGO GEOM::GEOM_I3DPrimOperations::MakePipeWithShellSections ( in ListOfGO  theSeqBases,
in ListOfGO  theSeqSubBases,
in ListOfGO  theLocations,
in GEOM_Object  thePath,
in boolean  theWithContact,
in boolean  theWithCorrection,
in boolean  IsGenerateGroups 
)

The path shape can be a shell or a face. the several profiles can be specified in the several locations of path.

Parameters
theSeqBases- list of Bases shape to be extruded.
theSeqSubBases- list of corresponding sub-shapes of section shapes.
theLocations- list of locations on the path corresponding specified list of the Bases shapes. Number of locations should be equal to number of bases.
thePath- Path shape to extrude the base shape along it.
theWithContact- the mode defining that the section is translated to be in contact with the spine.
theWithCorrection- defining that the section is rotated to be orthogonal to the spine tangent in the correspondent point
IsGenerateGroupsflag that tells if it is necessary to return groups (true) or not (false).
Returns
The list of objects. The first one is a result pipe, the other ones are the created groups. If IsGenerateGroups is not set the returned list contains a single object, which is the operation result.

◆ MakePrismDXDYDZ()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakePrismDXDYDZ ( in GEOM_Object  theBase,
in double  theDX,
in double  theDY,
in double  theDZ 
)
Parameters
theBaseBase shape to be extruded.
theDX,theDY,theDZend of extrusion vector.
Returns
New GEOM_Object, containing the created prism.

◆ MakePrismDXDYDZ2Ways()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakePrismDXDYDZ2Ways ( in GEOM_Object  theBase,
in double  theDX,
in double  theDY,
in double  theDZ 
)

◆ MakePrismDXDYDZWithScaling()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakePrismDXDYDZWithScaling ( in GEOM_Object  theBase,
in double  theDX,
in double  theDY,
in double  theDZ,
in double  theScaleFactor 
)

◆ MakePrismTwoPnt()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakePrismTwoPnt ( in GEOM_Object  theBase,
in GEOM_Object  thePoint1,
in GEOM_Object  thePoint2 
)
Parameters
theBaseBase shape to be extruded.
thePoint1First end of extrusion vector.
thePoint2Second end of extrusion vector.
Returns
New GEOM_Object, containing the created prism.

◆ MakePrismTwoPnt2Ways()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakePrismTwoPnt2Ways ( in GEOM_Object  theBase,
in GEOM_Object  thePoint1,
in GEOM_Object  thePoint2 
)

◆ MakePrismTwoPntWithScaling()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakePrismTwoPntWithScaling ( in GEOM_Object  theBase,
in GEOM_Object  thePoint1,
in GEOM_Object  thePoint2,
in double  theScaleFactor 
)

◆ MakePrismVecH()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakePrismVecH ( in GEOM_Object  theBase,
in GEOM_Object  theVec,
in double  theH 
)

All the space, transfixed by the base shape during its translation along the vector on the given distance.

Parameters
theBaseBase shape to be extruded.
theVecDirection of extrusion.
theHPrism dimension along theVec.
Returns
New GEOM_Object, containing the created prism.

◆ MakePrismVecH2Ways()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakePrismVecH2Ways ( in GEOM_Object  theBase,
in GEOM_Object  theVec,
in double  theH 
)

◆ MakePrismVecHWithScaling()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakePrismVecHWithScaling ( in GEOM_Object  theBase,
in GEOM_Object  theVec,
in double  theH,
in double  theScaleFactor 
)

◆ MakeRevolutionAxisAngle()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeRevolutionAxisAngle ( in GEOM_Object  theBase,
in GEOM_Object  theAxis,
in double  theAngle 
)

All the space, transfixed by the base shape during its rotation around the axis on the given angle.

Parameters
theBaseBase shape to be rotated.
theAxisRotation axis.
theAngleRotation angle in radians.
Returns
New GEOM_Object, containing the created revolution.

◆ MakeRevolutionAxisAngle2Ways()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeRevolutionAxisAngle2Ways ( in GEOM_Object  theBase,
in GEOM_Object  theAxis,
in double  theAngle 
)

◆ MakeSpherePntR()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeSpherePntR ( in GEOM_Object  thePnt,
in double  theR 
)
Parameters
thePntSphere center.
theRSphere radius.
Returns
New GEOM_Object, containing the created .

◆ MakeSphereR()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeSphereR ( in double  theR)
Parameters
theRSphere radius.
Returns
New GEOM_Object, containing the created sphere.

◆ MakeThickening()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeThickening ( in GEOM_Object  theObject,
in ListOfLong  theFacesIDs,
in double  theThickness,
in boolean  isCopy,
in boolean  isInside 
)

If the input is a surface shape (face or shell) the result is a thick solid. If an input shape is a solid the result is a hollowed solid with removed faces.

Parameters
theObjectface or shell to get thick solid or solid to get hollowed solid.
theFacesIDsthe list of face IDs to be removed from the result. It can be empty.
theThicknessValue of the thickness
isCopyTo make a copy of theObject or to modify theObject
isInsideIf true the thickness is applied towards inside
Returns
New GEOM_Object, containing the created pipe if isCopy = true or the modified object if isCopy = false

◆ MakeThruSections()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeThruSections ( in ListOfGO  theSeqSections,
in boolean  theModeSolid,
in double  thePreci,
in boolean  theRuled 
)
Parameters
theSeqSections- set of specified sections.
theModeSolid- mode defining building solid or shell
thePreci- precision 3D used for smoothing by default 1.e-6
theRuled- mode defining type of the result surfaces (ruled or smoothed).
Returns
New GEOM_Object, containing the created shell or solid.

◆ MakeTorusPntVecRR()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeTorusPntVecRR ( in GEOM_Object  thePnt,
in GEOM_Object  theVec,
in double  theRMajor,
in double  theRMinor 
)
Parameters
thePntTorus central point.
theVecTorus axis of symmetry.
theRMajorTorus major radius.
theRMinorTorus minor radius.
Returns
New GEOM_Object, containing the created torus.

◆ MakeTorusRR()

GEOM_Object GEOM::GEOM_I3DPrimOperations::MakeTorusRR ( in double  theRMajor,
in double  theRMinor 
)
Parameters
theRMajorTorus major radius.
theRMinorTorus minor radius.
Returns
New GEOM_Object, containing the created torus.

◆ RestorePath()

GEOM_Object GEOM::GEOM_I3DPrimOperations::RestorePath ( in GEOM_Object  theShape,
in GEOM_Object  theBase1,
in GEOM_Object  theBase2 
)

The path shape can be a wire or an edge.

Parameters
theShapeIt can be closed or unclosed pipe-like shell or a pipe-like solid.
theBase1,theBase2Two bases of the supposed pipe. This should be wires or faces of theShape.
Note
It is not assumed that exact or approximate copy of theShape can be obtained by applying existing Pipe operation on the resulting "Path" wire taking theBase1 as the base - it is not always possible; though in some particular cases it might work it is not guaranteed. Thus, RestorePath function should not be considered as an exact reverse operation of the Pipe.
Returns
New GEOM_Object, containing an edge or wire that represent source pipe's "path".

◆ RestorePathEdges()

GEOM_Object GEOM::GEOM_I3DPrimOperations::RestorePathEdges ( in GEOM_Object  theShape,
in ListOfGO  theBase1,
in ListOfGO  theBase2 
)

The path shape can be a wire or an edge.

Parameters
theShapeIt can be closed or unclosed pipe-like shell or a pipe-like solid.
theBase1,theBase2Two bases of the supposed pipe. This should be lists of edges of theShape.
Note
It is not assumed that exact or approximate copy of theShape can be obtained by applying existing Pipe operation on the resulting "Path" wire taking theBase1 as the base - it is not always possible; though in some particular cases it might work it is not guaranteed. Thus, RestorePath function should not be considered as an exact reverse operation of the Pipe.
Returns
New GEOM_Object, containing an edge or wire that represent source pipe's "path".

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