brepjs API Reference
    Preparing search index...

    Module index

    Drawing

    Drawing
    DrawingPen
    drawRectangle
    draw
    drawCircle
    drawEllipse
    drawFaceOutline
    drawParametricFunction
    drawPointsInterpolation
    drawPolysides
    drawProjection
    drawRoundedRectangle
    drawSingleCircle
    drawSingleEllipse
    drawText

    Other

    Blueprint
    Blueprints
    BoundingBox2d
    BrepBugError
    BrepWrapperError
    CompoundBlueprint
    Curve2D
    DisposalScope
    ApproximateCurveOptions
    AssemblyNode
    AssemblyNodeOptions
    AutoHealOptions
    BooleanOptions
    BossOptions
    Bounds3D
    BoxOptions
    BrepError
    BufferGeometryData
    BufferGeometryGroup
    Camera
    CircleOptions
    CleanLoftOptions
    ConeOptions
    CornerFilter
    CornerFinderFn
    CurvatureResult
    CurveLike
    CylinderOptions
    Deletable
    DisposeRequest
    DrawingInterface
    DrawingLike
    DrillOptions
    DXFExportOptions
    EdgeFinderFn
    EdgeMesh
    EllipseArcOptions
    EllipseOptions
    EllipsoidOptions
    Err
    ErrorResponse
    ExtrusionProfile
    FaceFinderFn
    GenericSweepOptions
    GltfExportOptions
    GltfMaterial
    GroupedBufferGeometryData
    HealingReport
    HealingStepDiagnostic
    HelixOptions
    HistoryOperationRegistry
    InitRequest
    InterferencePair
    InterferenceResult
    InterpolateCurveOptions
    LinearProps
    LineGeometryData
    MeshCacheContext
    MeshOptions
    MirrorJoinOptions
    MirrorOptions
    ModelHistory
    OcHandle
    Ok
    OperationRegistry
    OperationRequest
    OperationStep
    PendingTask
    PhysicalProps
    Plane
    PocketOptions
    PointProjectionResult
    RectangularPatternOptions
    ResultPipeline
    RevolveOptions
    RotateOptions
    ScaleOptions
    ShapeDescription
    ShapeFinder
    ShapeHandle
    ShapeMesh
    ShapeOptions
    SketchData
    SketchInterface
    SphereOptions
    SuccessResponse
    SurfaceProps
    SVGImportOptions
    SweepOptions
    TaskQueue
    ThreeMFExportOptions
    TorusOptions
    UVBounds
    VertexFinderFn
    VolumeProps
    WireFinderFn
    WorkerClient
    WorkerClientOptions
    WorkerRequest
    WorkerResponse
    WorkerResult
    Wrapped
    Wrapped3D
    WrappedCurve
    WrappedFace
    WrappedMarker
    AnyShape
    AssemblyExporter
    BrepErrorCode
    BrepErrorKind
    ChamferDistance
    ChamferRadius
    CleanLoftConfig
    Compound
    CompSolid
    CubeFace
    CurveType
    DirectionInput
    DXFEntity
    Edge
    Face
    FilletRadius
    FinderFn
    GenericSweepConfig
    GenericTopo
    OperationFn
    OperationHandler
    PlaneInput
    PlaneName
    Point
    Point2D
    PointInput
    ProjectionPlane
    RadiusConfig
    RadiusOptions
    Result
    ScaleMode
    Shape1D
    Shape2D
    Shape3D
    Shapeable
    ShapeConfig
    ShapeKind
    Shell
    SingleFace
    Solid
    SplineConfig
    SplineOptions
    SupportedUnit
    SweepConfig
    TopoEntity
    Unit
    Vec2
    Vec3
    Vertex
    Wire
    BrepErrorCode
    DEG2RAD
    flatMap
    HASH_CODE_MAX
    OK
    RAD2DEG
    addChild
    addHoles
    addStep
    adjacentFaces
    andThen
    applyGlue
    approximateCurve
    asTopo
    autoHeal
    axis2d
    basicFaceExtrusion
    bezier
    blueprintBoundingBox
    blueprintIsInside
    blueprintOrientation
    blueprintToDXF
    blueprintToSVGPathD
    boss
    box
    bsplineApprox
    bug
    cameraFromPlane
    cameraLookAt
    cast
    castShape
    chamfer
    chamferDistAngleShape
    checkAllInterferences
    checkInterference
    circle
    circularPattern
    classifyPointOnFace
    clearMeshCache
    clone
    collect
    collectShapes
    complexExtrude
    compound
    compoundSketchExtrude
    compoundSketchFace
    compoundSketchLoft
    compoundSketchRevolve
    computationError
    cone
    cornerFinder
    countNodes
    createAssembly
    createAssemblyNode
    createBlueprint
    createCamera
    createCompound
    createDistanceQuery
    createEdge
    createFace
    createHandle
    createHistory
    createMeshCache
    createNamedPlane
    createOcHandle
    createOperationRegistry
    createPlane
    createRegistry
    createShell
    createSolid
    createTaskQueue
    createVertex
    createWire
    createWorkerClient
    createWorkerHandler
    curve2dBoundingBox
    curve2dDistanceFrom
    curve2dFirstPoint
    curve2dIsOnCurve
    curve2dLastPoint
    curve2dParameter
    curve2dSplitAt
    curve2dTangentAt
    curveEndPoint
    curveIsClosed
    curveIsPeriodic
    curveLength
    curvePeriod
    curvePointAt
    curveStartPoint
    curveTangentAt
    cut
    cut2D
    cutAll
    cutBlueprint2D
    cutBlueprints
    cylinder
    dequeueTask
    describe
    deserializeDrawing
    deserializeShape
    downcast
    drawingChamfer
    drawingCut
    drawingFillet
    drawingFuse
    drawingIntersect
    drawingToSketchOnPlane
    drill
    edgeFinder
    edgesOfFace
    ellipse
    ellipseArc
    ellipsoid
    enqueueTask
    err
    exportAssemblySTEP
    exportDXF
    exportGlb
    exportGltf
    exportIGES
    exportOBJ
    exportSTEP
    exportSTL
    exportThreeMF
    extrude
    face
    faceCenter
    faceFinder
    faceGeomType
    faceOrientation
    facesOfEdge
    filledFace
    fillet
    findCurveType
    findNode
    findStep
    flipFaceOrientation
    flipOrientation
    fromBREP
    fromOcDir
    fromOcPnt
    fromOcVec
    fuse
    fuse2D
    fuseAll
    fuseBlueprint2D
    fuseBlueprints
    gcWithObject
    gcWithScope
    genericSweep
    getBounds
    getBounds2D
    getCurveType
    getEdges
    getFaces
    getFont
    getHashCode
    getHistoryShape
    getKernel
    getOrientation
    getOrientation2D
    getShapeKind
    getSingleFace
    getSurfaceType
    getVertices
    getWires
    heal
    healFace
    healSolid
    healWire
    helix
    importIGES
    importSTEP
    importSTL
    importSVG
    importSVGPathD
    initFromOC
    innerWires
    interpolateCurve
    intersect
    intersect2D
    intersectBlueprint2D
    intersectBlueprints
    ioError
    isChamferRadius
    isCompound
    isCompSolid
    isDisposeRequest
    isEdge
    isEmpty
    isEqualShape
    isErr
    isErrorResponse
    isFace
    isFilletRadius
    isInitRequest
    isInside2D
    isNumber
    isOk
    isOperationRequest
    isPoint
    isProjectionPlane
    isQueueEmpty
    isSameShape
    isShape1D
    isShape3D
    isShell
    isSolid
    isSuccessResponse
    isValid
    isVertex
    isWire
    iterEdges
    iterFaces
    iterTopo
    iterVertices
    iterWires
    kernelCall
    kernelCallRaw
    line
    linearPattern
    loadFont
    localGC
    loft
    makeBaseBox
    makePlane
    makeProjectedEdges
    map
    mapErr
    match
    measureArea
    measureCurvatureAt
    measureCurvatureAtMid
    measureDistance
    measureLength
    measureLinearProps
    measureSurfaceProps
    measureVolume
    measureVolumeProps
    mesh
    meshEdges
    mirror
    mirror2D
    mirrorBlueprint
    mirrorDrawing
    mirrorJoin
    modifyStep
    moduleInitError
    normalAt
    occtError
    offset
    offsetFace
    offsetWire2D
    ok
    organiseBlueprints
    outerWire
    pendingCount
    pipeline
    pivotPlane
    pocket
    pointOnSurface
    polygon
    polysideInnerRadius
    polysidesBlueprint
    projectEdges
    projectPointOnFace
    queryError
    rectangularPattern
    registerHandler
    registerOperation
    registerShape
    rejectAll
    removeChild
    replayFrom
    replayHistory
    resolve
    resolve3D
    resolveDirection
    resolvePlane
    reverseCurve
    revolution
    revolve
    rotate
    rotate2D
    rotateBlueprint
    rotateDrawing
    roundedRectangleBlueprint
    scale
    scale2D
    scaleBlueprint
    scaleDrawing
    section
    sewShells
    shape
    shapeType
    sharedEdges
    shell
    simplify
    sketch2DOnFace
    sketch2DOnPlane
    sketchBlueprintOnFace
    sketchBlueprintOnPlane
    sketcherStateError
    sketchExtrude
    sketchFace
    sketchLoft
    sketchRevolve
    sketchSweep
    sketchText
    sketchWires
    slice
    solid
    sphere
    split
    stepCount
    stepsFrom
    stretch2D
    stretchBlueprint
    subFace
    supportExtrude
    sweep
    tangentArc
    textBlueprints
    thicken
    threePointArc
    toBREP
    toBufferGeometryData
    toGroupedBufferGeometryData
    toLineGeometryData
    toOcVec
    torus
    toSVGPathD
    toVec2
    toVec3
    translate
    translate2D
    translateBlueprint
    translateDrawing
    translatePlane
    tryCatch
    tryCatchAsync
    twistExtrude
    typeCastError
    undoLast
    unwrap
    unwrapErr
    unwrapOr
    unwrapOrElse
    updateNode
    uvBounds
    uvCoordinates
    validationError
    vecAdd
    vecAngle
    vecCross
    vecDistance
    vecDot
    vecEquals
    vecIsZero
    vecLength
    vecLengthSq
    vecNegate
    vecNormalize
    vecProjectToPlane
    vecRepr
    vecRotate
    vecScale
    vecSub
    vertex
    vertexFinder
    vertexPosition
    verticesOfEdge
    walkAssembly
    wire
    wireFinder
    wiresOfFace
    withOcDir
    withOcPnt
    withOcVec
    withScope
    CleanSweepConfig → SweepConfig
    CleanSweepOptions → SweepOptions

    Sketching

    BaseSketcher2d
    BlueprintSketcher
    CompoundSketch
    FaceSketcher
    Sketch
    Sketcher
    Sketches
    GenericSketcher
    sketchCircle
    sketchEllipse
    sketchFaceOffset
    sketchHelix
    sketchParametricFunction
    sketchPolysides
    sketchRectangle
    sketchRoundedRectangle