OpenCascade.js
API ReferenceDataExchangeTKDEIGES

IGESSolid

OCCT package IGESSolid: IGESSolid, IGESSolid_Block, IGESSolid_BooleanTree, IGESSolid_ConeFrustum, and 50 more bound classes.

IGESSolid_Block

defines Block, Type <150> Form Number <0> in package IGESSolid The Block is a rectangular parallelopiped, defined with one vertex at (X1, Y1, Z1) and three edges lying along the local +X, +Y, +Z axes.

Constructors(1)

Static methods(2)

Instance methods(14)

  • Init(aSize: gp_XYZ, aCorner: gp_XYZ, aXAxis: gp_XYZ, aZAxis: gp_XYZ): void

    This method is used to set the fields of the class Block.

    • aSize : Length in each local directions
    • aCorner : Corner point coordinates. Default (0,0,0)
    • aXAxis : Unit vector defining local X-axis default (1,0,0)
    • aZAxis : Unit vector defining local Z-axis default (0,0,1)
    Parameters (4)
    • aSize
    • aCorner
    • aXAxis
    • aZAxis
  • returns the size of the block

  • XLength(): number

    returns the length of the Block along the local X-direction

  • YLength(): number

    returns the length of the Block along the local Y-direction

  • ZLength(): number

    returns the length of the Block along the local Z-direction

  • returns the corner point coordinates of the Block

  • returns the corner point coordinates of the Block after applying the TransformationMatrix

  • returns the direction defining the local X-axis

  • returns the direction defining the local X-axis after applying TransformationMatrix

  • returns the direction defining the local Y-axis it is the cross product of ZAxis and XAxis

  • returns the direction defining the local Y-axis after applying TransformationMatrix

  • returns the direction defining the local X-axis

  • returns the direction defining the local Z-axis after applying TransformationMatrix

IGESSolid_BooleanTree

defines BooleanTree, Type <180> Form Number <0> in package IGESSolid The Boolean tree describes a binary tree structure composed of regularized Boolean operations and operands, in post-order notation.

Constructors(1)

Static methods(2)

Instance methods(6)

  • This method is used to set the fields of the class BooleanTree.

    • operands : Array containing pointer to DE of operands
    • operations : Array containing integer type for operations
    Parameters (2)
    • operands
    • operations
  • Length(): number

    returns the length of the post-order list

  • IsOperand(Index: number): boolean

    returns True if Index'th value in the post-order list is an Operand; else returns False if it is an Integer Operations raises exception if Index < 1 or Index > Length()

    Parameters (1)
    • Index
  • returns the Index'th value in the post-order list only if it is an operand else returns NULL raises exception if Index < 1 or Index > Length()

    Parameters (1)
    • Index
  • Operation(Index: number): number

    returns the Index'th value in the post-order list only if it is an operation else returns 0 raises exception if Index < 1 or Index > Length()

    Parameters (1)
    • Index

IGESSolid_ConeFrustum

defines ConeFrustum, Type <156> Form Number <0> in package IGESSolid The Cone Frustum is defined by the center of the larger circular face of the frustum, its radius, a unit vector in the axis direction, a height in this direction and a second circular face with radius which is lesser than the first face.

Constructors(1)

Static methods(2)

Instance methods(9)

  • Init(Ht: number, R1: number, R2: number, Center: gp_XYZ, anAxis: gp_XYZ): void

    This method is used to set the fields of the class ConeFrustum.

    • Ht : the Height of cone
    • R1 : Radius of the larger face
    • R2 : Radius of the smaller face (default 0)
    • Center : Center of the larger face (default (0,0,0))
    • anAxis : Unit vector in axis direction (default (0,0,1))
    Parameters (5)
    • Ht
    • R1
    • R2
    • Center
    • anAxis
  • Height(): number

    returns the height of the cone frustum

  • LargerRadius(): number

    returns the radius of the larger face of the cone frustum

  • SmallerRadius(): number

    returns the radius of the second face of the cone frustum

  • returns the center of the larger face of the cone frustum

  • returns the center of the larger face of the cone frustum after applying TransformationMatrix

  • returns the direction of the axis of the cone frustum

  • returns the direction of the axis of the cone frustum after applying TransformationMatrix

IGESSolid_ConicalSurface

defines ConicalSurface, Type <194> Form Number <0,1> in package IGESSolid The right circular conical surface is defined by a point on the axis on the cone, the direction of the axis of the cone, the radius of the cone at the axis point and the cone semi-angle.

Constructors(1)

Static methods(2)

Instance methods(8)

IGESSolid_Cylinder

defines Cylinder, Type <154> Form Number <0> in package IGESSolid This defines a solid cylinder

Constructors(1)

Static methods(2)

Instance methods(8)

  • Init(aHeight: number, aRadius: number, aCenter: gp_XYZ, anAxis: gp_XYZ): void

    This method is used to set the fields of the class Cylinder.

    • aHeight : Cylinder height
    • aRadius : Cylinder radius
    • aCenter : First face center coordinates (default (0,0,0))
    • anAxis : Unit vector in axis direction (default (0,0,1))
    Parameters (4)
    • aHeight
    • aRadius
    • aCenter
    • anAxis
  • Height(): number

    returns the cylinder height

  • Radius(): number

    returns the cylinder radius

  • returns the first face center coordinates.

  • returns the first face center after applying TransformationMatrix

  • returns the vector in axis direction

  • returns the vector in axis direction after applying TransformationMatrix

IGESSolid_CylindricalSurface

defines CylindricalSurface, Type <192> Form Number <0,1> in package IGESSolid

Constructors(1)

Static methods(2)

Instance methods(7)

IGESSolid_EdgeList

defines EdgeList, Type <504> Form <1> in package IGESSolid EdgeList is defined as a segment joining two vertices It contains one or more edge tuples.

Constructors(1)

Static methods(2)

Instance methods(8)

  • This method is used to set the fields of the class EdgeList.

    • curves : the model space curves
    • startVertexList : the vertex list that contains the start vertices
    • startVertexIndex : the index of the vertex in the corresponding vertex list
    • endVertexList : the vertex list that contains the end vertices
    • endVertexIndex : the index of the vertex in the corresponding vertex list raises exception if size of curves,startVertexList,startVertexIndex, endVertexList and endVertexIndex do no match
    Parameters (5)
    • curves
    • startVertexList
    • startVertexIndex
    • endVertexList
    • endVertexIndex
  • NbEdges(): number

    returns the number of edges in the edge list

  • returns the num'th model space curve raises Exception if num <= 0 or num > NbEdges()

    Parameters (1)
    • num
  • returns the num'th start vertex list raises Exception if num <= 0 or num > NbEdges()

    Parameters (1)
    • num
  • StartVertexIndex(num: number): number

    returns the index of num'th start vertex in the corresponding start vertex list raises Exception if num <= 0 or num > NbEdges()

    Parameters (1)
    • num
  • returns the num'th end vertex list raises Exception if num <= 0 or num > NbEdges()

    Parameters (1)
    • num
  • EndVertexIndex(num: number): number

    returns the index of num'th end vertex in the corresponding end vertex list raises Exception if num <= 0 or num > NbEdges()

    Parameters (1)
    • num

IGESSolid_Ellipsoid

defines Ellipsoid, Type <168> Form Number <0> in package IGESSolid The ellipsoid is a solid bounded by the surface defined by: X^2 Y^2 Z^2 ---- + ---- + ---- = 1 LX^2 LY^2 LZ^2

Constructors(1)

Static methods(2)

Instance methods(14)

  • Init(aSize: gp_XYZ, aCenter: gp_XYZ, anXAxis: gp_XYZ, anZAxis: gp_XYZ): void

    This method is used to set the fields of the class Ellipsoid.

    • aSize : Lengths in the local X,Y,Z directions
    • aCenter : Center point of ellipsoid (default (0,0,0))
    • anXAxis : Unit vector defining local X-axis default (1,0,0)
    • anZAxis : Unit vector defining local Z-axis default (0,0,1)
    Parameters (4)
    • aSize
    • aCenter
    • anXAxis
    • anZAxis
  • returns the size

  • XLength(): number

    returns the length in the local X-direction

  • YLength(): number

    returns the length in the local Y-direction

  • ZLength(): number

    returns the length in the local Z-direction

  • returns the center of the ellipsoid

  • returns the center of the ellipsoid after applying TransformationMatrix

  • returns the vector corresponding to the local X-direction

  • returns the vector corresponding to the local X-direction after applying TransformationMatrix

  • returns the vector corresponding to the local Y-direction which is got by taking cross product of ZAxis and XAxis

  • returns the vector corresponding to the local Y-direction (which is got by taking cross product of ZAxis and XAxis) after applying TransformationMatrix

  • returns the vector corresponding to the local Z-direction

  • returns the vector corresponding to the local Z-direction after applying TransformationMatrix

IGESSolid_Face

defines Face, Type <510> Form Number <1> in package IGESSolid Face entity is a bound (partial) which has finite area

Constructors(1)

Static methods(2)

Instance methods(6)

IGESSolid_GeneralModule

Definition of General Services for IGESSolid (specific part) This Services comprise : Shared & Implied Lists, Copy, Check.

Constructors(1)

Static methods(2)

Instance methods(6)

IGESSolid_Loop

defines Loop, Type <508> Form Number <1> in package IGESSolid A Loop entity specifies a bound of a face. It represents a connected collection of face boundaries, seams, and poles of a single face.
From IGES-5.3, a Loop can be free with Form Number 0, else it is a bound of a face (it is the default)

Constructors(1)

Static methods(2)

Instance methods(12)

  • This method is used to set the fields of the class Loop.

    • types : 0 = Edge; 1 = Vertex
    • edges : Pointer to the EdgeList or VertexList
    • index : Index of the edge into the EdgeList VertexList entity
    • orient : Orientation flag of the edge
    • nbParameterCurves : the number of parameter space curves for each edge
    • isoparametricFlags : the isoparametric flag of the parameter space curve
    • curves : the parameter space curves raises exception if length of types, edges, index, orient and nbParameterCurves do not match or the length of isoparametricFlags and curves do not match
    Parameters (7)
    • types
    • edges
    • index
    • orient
    • nbParameterCurves
    • isoparametricFlags
    • curves
  • IsBound(): boolean

    Tells if a Loop is a Bound (FN 1) else it is free (FN 0).

  • SetBound(bound: boolean): void

    Sets or Unset the Bound Status (from Form Number) Default is True.

    Parameters (1)
    • bound
  • NbEdges(): number

    returns the number of edge tuples

  • EdgeType(Index: number): number

    returns the type of Index'th edge (0 = Edge, 1 = Vertex) raises exception if Index <= 0 or Index > NbEdges()

    Parameters (1)
    • Index
  • Edge(Index: number): IGESData_IGESEntity

    return the EdgeList or VertexList corresponding to the Index raises exception if Index <= 0 or Index > NbEdges()

    Parameters (1)
    • Index
  • Orientation(Index: number): boolean

    returns the orientation flag corresponding to Index'th edge raises exception if Index <= 0 or Index > NbEdges()

    Parameters (1)
    • Index
  • NbParameterCurves(Index: number): number

    return the number of parameter space curves associated with Index'th Edge raises exception if Index <= 0 or Index > NbEdges()

    Parameters (1)
    • Index
  • IsIsoparametric(EdgeIndex: number, CurveIndex: number): boolean
    Parameters (2)
    • EdgeIndex
    • CurveIndex
  • ParametricCurve(EdgeIndex: number, CurveIndex: number): IGESData_IGESEntity

    returns the CurveIndex'th parameter space curve associated with EdgeIndex'th edge raises exception if EdgeIndex <= 0 or EdgeIndex > NbEdges() or if CurveIndex <= 0 or CurveIndex > NbParameterCurves(EdgeIndex)

    Parameters (2)
    • EdgeIndex
    • CurveIndex
  • ListIndex(num: number): number

    raises exception If num <= 0 or num > NbEdges()

    Parameters (1)
    • num

IGESSolid_ManifoldSolid

defines ManifoldSolid, Type <186> Form Number <0> in package IGESSolid A manifold solid is a bounded, closed, and finite volume in three dimensional Euclidean space

Constructors(1)

Static methods(2)

Instance methods(7)

  • Init(aShell: IGESSolid_Shell, shellflag: boolean, voidShells: NCollection_HArray1_handle_IGESSolid_Shell, voidShellFlags: NCollection_HArray1_int): void

    This method is used to set the fields of the class ManifoldSolid.

    • aShell : pointer to the shell
    • shellflag : orientation flag of shell
    • voidShells : the void shells
    • voidShellFlags : orientation of the void shells raises exception if length of voidShells and voidShellFlags do not match
    Parameters (4)
    • aShell
    • shellflag
    • voidShells
    • voidShellFlags
  • returns the Shell entity which is being referred

  • OrientationFlag(): boolean

    returns the orientation flag of the shell

  • NbVoidShells(): number

    returns the number of void shells

  • VoidShell(Index: number): IGESSolid_Shell

    returns Index'th void shell. raises exception if Index <= 0 or Index > NbVoidShells()

    Parameters (1)
    • Index
  • VoidOrientationFlag(Index: number): boolean

    returns Index'th orientation flag. raises exception if Index <= 0 or Index > NbVoidShells()

    Parameters (1)
    • Index

IGESSolid_PlaneSurface

defines PlaneSurface, Type <190> Form Number <0,1> in package IGESSolid A plane surface entity is defined by a point on the surface and a normal to it.

Constructors(1)

Static methods(2)

Instance methods(6)

IGESSolid_Protocol

Description of Protocol for IGESSolid.

Constructors(1)

Static methods(2)

Instance methods(4)

  • NbResources(): number

    Gives the count of Resource Protocol. Here, one (Protocol from IGESGeom).

  • Returns a Resource, given a rank.

    Parameters (1)
    • num
  • TypeNumber(atype: Standard_Type): number

    Returns a Case Number, specific of each recognized Type This Case Number is then used in Libraries : the various Modules attached to this class of Protocol must use them in accordance (for a given value of TypeNumber, they must consider the same Type as the Protocol defines).

    Parameters (1)
    • atype

IGESSolid_ReadWriteModule

Defines Solid File Access Module for IGESSolid (specific parts) Specific actions concern : Read and Write Own Parameters of an IGESEntity.

Constructors(1)

Static methods(2)

Instance methods(2)

IGESSolid_RightAngularWedge

defines RightAngularWedge, Type <152> Form Number <0> in package IGESSolid A right angular wedge is a triangular/trapezoidal prism

Constructors(1)

Static methods(2)

Instance methods(15)

  • Init(aSize: gp_XYZ, lowX: number, aCorner: gp_XYZ, anXAxis: gp_XYZ, anZAxis: gp_XYZ): void

    This method is used to set the fields of the class RightAngularWedge.

    • aSize : the lengths along the local axes
    • lowX : the length at the smaller X-side
    • aCorner : the corner point coordinates default (0,0,0)
    • anXAxis : the unit vector defining local X-axis default (1,0,0)
    • anZAxis : the unit vector defining local Z-axis default (0,0,1)
    Parameters (5)
    • aSize
    • lowX
    • aCorner
    • anXAxis
    • anZAxis
  • returns the size

  • XBigLength(): number

    returns the length along the local X-axis

  • XSmallLength(): number

    returns the smaller length along the local X-direction at Y=LY

  • YLength(): number

    returns the length along the local Y-axis

  • ZLength(): number

    returns the length along the local Z-axis

  • returns the corner point coordinates

  • returns the corner point coordinates after applying TransformationMatrix

  • returns the direction defining the local X-axis

  • returns the direction defining the local X-axis after applying the TransformationMatrix

  • returns the direction defining the local Y-axis it is got by taking the cross product of ZAxis and XAxis

  • returns the direction defining the local Y-axis after applying the TransformationMatrix

  • returns the direction defining the local Z-axis

  • returns the direction defining the local Z-axis after applying the TransformationMatrix

IGESSolid_SelectedComponent

defines SelectedComponent, Type <182> Form Number <0> in package IGESSolid The Selected Component entity provides a means of selecting one component of a disjoint CSG solid

Constructors(1)

Static methods(2)

Instance methods(5)

IGESSolid_Shell

defines Shell, Type <514> Form Number <1> in package IGESSolid Shell entity is a connected entity of dimensionality 2 which divides R3 into two arcwise connected open subsets, one of which is finite. Inside of the shell is defined to be the finite region. From IGES-5.3, Form can be <1> for Closed or <2> for Open

Constructors(1)

Static methods(2)

Instance methods(7)

  • This method is used to set the fields of the class Shell.

    • allFaces : the faces comprising the shell
    • allOrient : the orientation flags of the shell raises exception if length of allFaces & allOrient do not match
    Parameters (2)
    • allFaces
    • allOrient
  • IsClosed(): boolean

    Tells if a Shell is Closed, i.e. if its FormNumber is 1 (this is the default).

  • SetClosed(closed: boolean): void

    Sets or Unsets the Closed status (FormNumber = 1 else 2).

    Parameters (1)
    • closed
  • NbFaces(): number

    returns the number of the face entities in the shell

  • Face(Index: number): IGESSolid_Face

    returns the Index'th face entity of the shell raises exception if Index <= 0 or Index > NbFaces()

    Parameters (1)
    • Index
  • Orientation(Index: number): boolean

    returns the orientation of Index'th face w.r.t the direction of the underlying surface raises exception if Index <= 0 or Index > NbFaces()

    Parameters (1)
    • Index

IGESSolid_SolidAssembly

defines SolidAssembly, Type <184> Form <0> in package IGESSolid Solid assembly is a collection of items which possess a shared fixed geometric relationship.
From IGES-5.3, From 1 says that at least one item is a Brep else all are Primitives, Boolean Trees, Solid Instances or other Assemblies

Constructors(1)

Static methods(2)

Instance methods(7)

IGESSolid_SolidInstance

defines SolidInstance, Type <430> Form Number <0> in package IGESSolid This provides a mechanism for replicating a solid representation.
From IGES-5.3, Form may be <1> for a BREP Else it is for a Boolean Tree, Primitive, other Solid Inst.

Constructors(1)

Static methods(2)

Instance methods(5)

  • Init(anEntity: IGESData_IGESEntity): void

    This method is used to set the fields of the class SolidInstance.

    • anEntity : the entity corresponding to the solid
    Parameters (1)
    • anEntity
  • IsBrep(): boolean

    Tells if a SolidInstance is for a BREP Default is False.

  • SetBrep(brep: boolean): void

    Sets or unsets the Brep status (FormNumber = 1 else 0).

    Parameters (1)
    • brep
  • returns the solid entity

IGESSolid_SolidOfLinearExtrusion

defines SolidOfLinearExtrusion, Type <164> Form Number <0> in package IGESSolid Solid of linear extrusion is defined by translating an area determined by a planar curve

Constructors(1)

Static methods(2)

Instance methods(6)

IGESSolid_SolidOfRevolution

defines SolidOfRevolution, Type <162> Form Number <0,1> in package IGESSolid This entity is defined by revolving the area determined by a planar curve about a specified axis through a given fraction of full rotation.

Constructors(1)

Static methods(2)

Instance methods(10)

  • Init(aCurve: IGESData_IGESEntity, aFract: number, aAxisPnt: gp_XYZ, aDirection: gp_XYZ): void

    This method is used to set the fields of the class SolidOfRevolution.

    • aCurve : the curve entity that is to be revolved
    • aFract : the fraction of full rotation (default 1.0)
    • aAxisPnt : the point on the axis
    • aDirection : the direction of the axis
    Parameters (4)
    • aCurve
    • aFract
    • aAxisPnt
    • aDirection
  • SetClosedToAxis(mode: boolean): void

    Sets the Curve to be by default, Closed to Axis (Form 0) if <mode> is True, Closed to Itself (Form 1) else.

    Parameters (1)
    • mode
  • IsClosedToAxis(): boolean

    Returns True if Form Number = 0 if Form no is 0, then the curve is closed to axis if 1, the curve is closed to itself.

  • returns the curve entity that is to be revolved

  • Fraction(): number

    returns the fraction of full rotation that the curve is to be rotated

  • returns the point on the axis

  • returns the point on the axis after applying Trans.Matrix

  • returns the direction of the axis

  • returns the direction of the axis after applying TransformationMatrix

IGESSolid_Sphere

defines Sphere, Type <158> Form Number <0> in package IGESSolid This defines a sphere with a center and radius

Constructors(1)

Static methods(2)

Instance methods(5)

  • Init(aRadius: number, aCenter: gp_XYZ): void

    This method is used to set the fields of the class Sphere.

    • aRadius : the radius of the sphere
    • aCenter : the center point coordinates (default (0,0,0))
    Parameters (2)
    • aRadius
    • aCenter
  • Radius(): number

    returns the radius of the sphere

  • returns the center of the sphere

  • returns the center of the sphere after applying TransformationMatrix

IGESSolid_SphericalSurface

defines SphericalSurface, Type <196> Form Number <0,1> in package IGESSolid Spherical surface is defined by a center and radius. In case of parametrised surface an axis and a reference direction is provided.

Constructors(1)

Static methods(2)

Instance methods(8)

  • Init(aCenter: IGESGeom_Point, aRadius: number, anAxis: IGESGeom_Direction, aRefdir: IGESGeom_Direction): void

    This method is used to set the fields of the class SphericalSurface.

    • aCenter : the coordinates of the center point
    • aRadius : value of radius
    • anAxis : the direction of the axis Null in case of Unparametrised surface
    • aRefdir : the reference direction Null in case of Unparametrised surface
    Parameters (4)
    • aCenter
    • aRadius
    • anAxis
    • aRefdir
  • returns the center of the spherical surface

  • returns the center of the spherical surface after applying TransformationMatrix

  • Radius(): number

    returns the radius of the spherical surface

  • returns the direction of the axis (Parametrised surface) Null is returned if the surface is not parametrised

  • returns the reference direction (Parametrised surface) Null is returned if the surface is not parametrised

  • IsParametrised(): boolean

    Returns True if the surface is parametrised, else False.

IGESSolid_ToolBlock

Tool to work on a Block. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolBooleanTree

Tool to work on a BooleanTree. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolConeFrustum

Tool to work on a ConeFrustum. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolConicalSurface

Tool to work on a ConicalSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolCylinder

Tool to work on a Cylinder. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolCylindricalSurface

Tool to work on a CylindricalSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolEdgeList

Tool to work on a EdgeList. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolEllipsoid

Tool to work on a Ellipsoid. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolFace

Tool to work on a Face. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolLoop

Tool to work on a Loop. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolManifoldSolid

Tool to work on a ManifoldSolid. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolPlaneSurface

Tool to work on a PlaneSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolRightAngularWedge

Tool to work on a RightAngularWedge. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolSelectedComponent

Tool to work on a SelectedComponent. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolShell

Tool to work on a Shell. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolSolidAssembly

Tool to work on a SolidAssembly. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolSolidInstance

Tool to work on a SolidInstance. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolSolidOfLinearExtrusion

Tool to work on a SolidOfLinearExtrusion. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolSolidOfRevolution

Tool to work on a SolidOfRevolution. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolSphere

Tool to work on a Sphere. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolSphericalSurface

Tool to work on a SphericalSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolToroidalSurface

Tool to work on a ToroidalSurface. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolTorus

Tool to work on a Torus. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_ToolVertexList

Tool to work on a VertexList. Called by various Modules (ReadWriteModule, GeneralModule, SpecificModule).

Constructors(1)

Instance methods(3)

IGESSolid_TopoBuilder

This class manages the creation of an IGES Topologic entity (BREP : ManifoldSolid, Shell, Face) This includes definiting of Vertex and Edge Lists, building of Edges and Loops.

Constructors(1)

  • Creates an empty TopoBuilder This creates also a unique VertexList and a unique EdgeList, empty, but which can be referenced from starting.

Instance methods(24)

  • Clear(): void

    Resets the TopoBuilder for an entirely new operation (with a new EdgeList, a new VertexList, new Shells, ...).

  • AddVertex(val: gp_XYZ): void

    Adds a Vertex to the VertexList.

    Parameters (1)
    • val
  • NbVertices(): number

    Returns the count of already recorded Vertices.

  • Vertex(num: number): gp_XYZ

    Returns a Vertex, given its rank.

    Parameters (1)
    • num
  • Returns the VertexList. It can be referenced, but it remains empty until call to EndShell or EndSolid.

  • AddEdge(curve: IGESData_IGESEntity, vstart: number, vend: number): void

    Adds an Edge (3D) to the EdgeList, defined by a Curve and two number of Vertex, for start and end.

    Parameters (3)
    • curve
    • vstart
    • vend
  • NbEdges(): number

    Returns the count of recorded Edges (3D).

  • Edge(num: number, vstart: number, vend: number): { curve: IGESData_IGESEntity; vstart: number; vend: number; [Symbol.dispose](): void }

    Returns the definition of an Edge (3D) given its rank.

    Parameters (3)
    • num
    • vstart
    • vend
    Returns

    A result object with fields:

    • curve: owned by the returned envelope.
    • vstart: updated value from the call.
    • vend: updated value from the call.
      Dispose the returned envelope to release owned Handle fields.
  • Returns the EdgeList. It can be referenced, but it remains empty until call to EndShell or EndSolid.

  • MakeLoop(): void

    Begins the definition of a new Loop : it is the Current Loop All Edges (UV) defined by MakeEdge/EndEdge will be added in it The Loop can then be referenced but is empty. It will be filled with its Edges(UV) by EndLoop (from SetOuter/AddInner).

  • MakeEdge(edgetype: number, edge3d: number, orientation: number): void

    Defines an Edge(UV), to be added in the current Loop by EndEdge <edgetype> gives the type of the edge <edge3d> identifies the Edge(3D) used as support The EdgeList is always the current one <orientation gives the orientation flag It is then necessary to :

    • give the parametric curves
    • close the definition of this edge(UV) by EndEdge, else the next call to MakeEdge will erase this one
    Parameters (3)
    • edgetype
    • edge3d
    • orientation
  • AddCurveUV(curve: IGESData_IGESEntity, iso: number): void

    Adds a Parametric Curve (UV) to the current Edge(UV).

    Parameters (2)
    • curve
    • iso
  • EndEdge(): void

    Closes the definition of an Edge(UV) and adds it to the current Loop.

  • Begins the definition of a new Face, on a surface All Loops defined by MakeLoop will be added in it, according the closing call : SetOuter for the Outer Loop (by default, if SetOuter is not called, no OuterLoop is defined); AddInner for the list of Inner Loops (there can be none).

    Parameters (1)
    • surface
  • SetOuter(): void

    Closes the current Loop and sets it Loop as Outer Loop. If no current Loop has yet been defined, does nothing.

  • AddInner(): void

    Closes the current Loop and adds it to the list of Inner Loops for the current Face.

  • EndFace(orientation: number): void

    Closes the definition of the current Face, fills it and adds it to the current Shell with an orientation flag (0/1).

    Parameters (1)
    • orientation
  • MakeShell(): void

    Begins the definition of a new Shell (either Simple or in a Solid).

  • Closes the whole definition as that of a simple Shell.

  • SetMainShell(orientation: number): void

    Closes the definition of the current Shell as for the Main Shell of a Solid, with an orientation flag (0/1).

    Parameters (1)
    • orientation
  • AddVoidShell(orientation: number): void

    Closes the definition of the current Shell and adds it to the list of Void Shells of a Solid, with an orientation flag (0/1).

    Parameters (1)
    • orientation
  • EndSolid(): void

    Closes the whole definition as that of a ManifoldSolid Its call is exclusive from that of EndSimpleShell.

  • Returns the current Shell. The current Shell is created empty by MakeShell and filled by EndShell.

  • Returns the current ManifoldSolid. It is created empty by Create and filled by EndSolid.

IGESSolid_ToroidalSurface

defines ToroidalSurface, Type <198> Form Number <0,1> in package IGESSolid This entity is defined by the center point, the axis direction and the major and minor radii. In case of parametrised surface a reference direction is provided.

Constructors(1)

Static methods(2)

Instance methods(9)

  • Init(aCenter: IGESGeom_Point, anAxis: IGESGeom_Direction, majRadius: number, minRadius: number, Refdir: IGESGeom_Direction): void

    This method is used to set the fields of the class ToroidalSurface.

    • aCenter : the center point coordinates
    • anAxis : the direction of the axis
    • majRadius : the major radius
    • minRadius : the minor radius
    • Refdir : the reference direction (parametrised) default Null for unparametrised surface
    Parameters (5)
    • aCenter
    • anAxis
    • majRadius
    • minRadius
    • Refdir
  • returns the center point coordinates of the surface

  • returns the center point coordinates of the surface after applying TransformationMatrix

  • returns the direction of the axis

  • MajorRadius(): number

    returns the major radius of the surface

  • MinorRadius(): number

    returns the minor radius of the surface

  • returns the reference direction (parametrised surface) Null is returned if the surface is not parametrised

  • IsParametrised(): boolean

    Returns True if the surface is parametrised, else False.

IGESSolid_Torus

defines Torus, Type <160> Form Number <0> in package IGESSolid A Torus is a solid formed by revolving a circular disc about a specified coplanar axis.

Constructors(1)

Static methods(2)

Instance methods(8)

  • Init(R1: number, R2: number, aPoint: gp_XYZ, anAxisdir: gp_XYZ): void

    This method is used to set the fields of the class Torus.

    • R1 : distance from center of torus to center of circular disc to be revolved
    • R2 : radius of circular disc
    • aPoint : center point coordinates (default (0,0,0))
    • anAxis : unit vector in axis direction (default (0,0,1))
    Parameters (4)
    • R1
    • R2
    • aPoint
    • anAxisdir
  • MajorRadius(): number

    returns the distance from the center of torus to the center of the disc to be revolved

  • DiscRadius(): number

    returns the radius of the disc to be revolved

  • returns the center of torus

  • returns the center of torus after applying TransformationMatrix

  • returns direction of the axis

  • returns direction of the axis after applying TransformationMatrix

IGESSolid_VertexList

defines VertexList, Type <502> Form Number <1> in package IGESSolid A vertex is a point in R3. A vertex is the bound of an edge and can participate in the bounds of a face. It contains one or more vertices.

Constructors(1)

Static methods(2)

Instance methods(4)

  • This method is used to set the fields of the class VertexList.

    • vertices : the vertices in the list
    Parameters (1)
    • vertices
  • NbVertices(): number

    return the number of vertices in the list

  • Vertex(num: number): gp_Pnt

    returns the num'th vertex in the list raises exception if num <= 0 or num > NbVertices()

    Parameters (1)
    • num