Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class OCCTOperations

Hierarchy

  • OCCTOperations

Index

Constructors

constructor

  • new OCCTOperations(occWorkerManager: OCCTWorkerManager): OCCTOperations
  • Parameters

    • occWorkerManager: OCCTWorkerManager

    Returns OCCTOperations

Methods

closestPointsBetweenTwoShapes

closestPointsOnShapeFromPoints

  • Computes closest points between a list of points and a given shape

    group

    closest pts

    shortname

    on shape

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    Resulting points

closestPointsOnShapesFromPoints

  • Computes closest points between a list of points and shapes

    group

    closest pts

    shortname

    on shapes

    drawable

    true

    Parameters

    Returns Promise<Point3[]>

    Resulting points

distancesToShapeFromPoints

  • Computes distances between a list of points and a corresponding closest points on shapes.

    group

    measure

    shortname

    distances points to shape

    drawable

    false

    Parameters

    Returns Promise<number[]>

    Resulting distances

extrude

  • Extrudes the face along direction

    group

    extrusions

    shortname

    extrude

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    Resulting extruded shape

extrudeShapes

  • Extrudes the shapes along direction

    group

    extrusions

    shortname

    extrude shapes

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer[]>

    Resulting extruded shapes

loft

  • Lofts wires into a shell

    group

    lofts

    shortname

    loft

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    Resulting loft shape

loftAdvanced

  • Lofts wires into a shell by using many advanced options

    group

    lofts

    shortname

    loft adv.

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    Resulting loft shell

makeThickSolidByJoin

  • Thickens the shape into a solid by joining

    group

    offsets

    shortname

    joined thicken

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    OpenCascade solid shape

makeThickSolidSimple

offset

  • Offset for various shapes

    group

    offsets

    shortname

    offset

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    Resulting offset shape

offset3DWire

  • Offset the 3D wire. When using this method consider using it on filleted wires that do not contain sharp corners. You can use fillet 3D on it.

    group

    offsets

    shortname

    offset 3d wire

    drawable

    true

    Parameters

    Returns Promise<TopoDSWirePointer>

    OpenCascade compound

offsetAdv

  • Offset advanced that give more options for offset, such as joinType for edges and corners

    group

    offsets

    shortname

    offset adv.

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    Resulting offset shape

pipe

pipePolylineWireNGon

pipeWireCylindrical

pipeWiresCylindrical

revolve

  • Revolves the shape around the given direction

    group

    revolutions

    shortname

    revolve

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    Resulting revolved shape

rotatedExtrude

  • Rotated extrude that is perofrmed on the shape

    group

    extrusions

    shortname

    rotated extrude

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    OpenCascade shape

slice

  • Slices the shape

    group

    divisions

    shortname

    slice

    drawable

    true

    Parameters

    Returns Promise<TopoDSCompoundPointer>

    OpenCascade shape

sliceInStepPattern

splitShapeWithShapes

  • Splits the face with edges

    group

    divisions

    shortname

    split

    drawable

    true

    Parameters

    Returns Promise<TopoDSShapePointer>

    Resulting split shape

Generated using TypeDoc