@bitbybit-dev/cad-cloud-sdk 1.4.0 → 1.5.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /** All valid pipeline operation paths. */
2
- export type OperationPath = "color.getBlueParam" | "color.getGreenParam" | "color.getRedParam" | "color.hexColor" | "color.hexToRgb" | "color.hexToRgbMapped" | "color.invert" | "color.rgb1Color" | "color.rgb255Color" | "color.rgba1Color" | "color.rgba255Color" | "color.rgbAtomic1Color" | "color.rgbAtomic255Color" | "color.rgbObjToHex" | "color.rgbToBlue" | "color.rgbToGreen" | "color.rgbToHex" | "color.rgbToRed" | "csv.arrayToCsv" | "csv.getColumnCount" | "csv.getHeaders" | "csv.getRowCount" | "csv.jsonToCsv" | "csv.jsonToCsvAuto" | "csv.parseToArray" | "csv.parseToJson" | "csv.parseToJsonWithHeaders" | "csv.queryColumn" | "csv.queryRowsByValue" | "jscad.booleans.intersect" | "jscad.booleans.intersectTwo" | "jscad.booleans.minkowskiSum" | "jscad.booleans.subtract" | "jscad.booleans.subtractFrom" | "jscad.booleans.subtractTwo" | "jscad.booleans.union" | "jscad.booleans.unionTwo" | "jscad.colors.colorize" | "jscad.downloadGeometry3MF" | "jscad.downloadGeometryDxf" | "jscad.downloadSolidsSTL" | "jscad.downloadSolidSTL" | "jscad.expansions.expand" | "jscad.expansions.offset" | "jscad.extrusions.extrudeLinear" | "jscad.extrusions.extrudeRectangular" | "jscad.extrusions.extrudeRectangularPoints" | "jscad.extrusions.extrudeRotate" | "jscad.hulls.hull" | "jscad.hulls.hullChain" | "jscad.hulls.isConvex" | "jscad.path.appendArc" | "jscad.path.appendPoints" | "jscad.path.appendPolyline" | "jscad.path.close" | "jscad.path.createEmpty" | "jscad.path.createFromPoints" | "jscad.path.createFromPolyline" | "jscad.path.createPathsFromPoints" | "jscad.polygon.circle" | "jscad.polygon.createFromCurve" | "jscad.polygon.createFromPath" | "jscad.polygon.createFromPoints" | "jscad.polygon.createFromPolyline" | "jscad.polygon.ellipse" | "jscad.polygon.rectangle" | "jscad.polygon.roundedRectangle" | "jscad.polygon.square" | "jscad.polygon.star" | "jscad.shapes.cube" | "jscad.shapes.cubesOnCenterPoints" | "jscad.shapes.cuboid" | "jscad.shapes.cuboidsOnCenterPoints" | "jscad.shapes.cylinder" | "jscad.shapes.cylinderElliptic" | "jscad.shapes.cylinderEllipticOnCenterPoints" | "jscad.shapes.cylindersOnCenterPoints" | "jscad.shapes.ellipsoid" | "jscad.shapes.ellipsoidsOnCenterPoints" | "jscad.shapes.fromPolygonPoints" | "jscad.shapes.geodesicSphere" | "jscad.shapes.geodesicSpheresOnCenterPoints" | "jscad.shapes.roundedCuboid" | "jscad.shapes.roundedCuboidsOnCenterPoints" | "jscad.shapes.roundedCylinder" | "jscad.shapes.roundedCylindersOnCenterPoints" | "jscad.shapes.sphere" | "jscad.shapes.spheresOnCenterPoints" | "jscad.shapes.torus" | "jscad.text.createVectorText" | "jscad.text.cylindricalText" | "jscad.text.sphericalText" | "jscad.toPolygonPoints" | "jscad.transformSolid" | "jscad.transformSolids" | "json.createEmpty" | "json.getJsonFromArrayByFirstPropMatch" | "json.getValueOnProp" | "json.parse" | "json.paths" | "json.previewAndSaveJson" | "json.previewJson" | "json.query" | "json.setValue" | "json.setValueOnProp" | "json.setValuesOnPaths" | "json.stringify" | "line.create" | "line.createSegment" | "line.getEndPoint" | "line.getPointOnLine" | "line.getStartPoint" | "line.length" | "line.lineLineIntersection" | "line.linesBetweenPoints" | "line.linesBetweenStartAndEndPoints" | "line.linesToSegments" | "line.lineToSegment" | "line.reverse" | "line.segmentsToLines" | "line.segmentToLine" | "line.transformLine" | "line.transformsForLines" | "lists.addItem" | "lists.addItemAtIndex" | "lists.addItemAtIndexes" | "lists.addItemFirstLast" | "lists.addItemsAtIndexes" | "lists.concatenate" | "lists.createEmptyList" | "lists.findIndex" | "lists.flipLists" | "lists.getByPattern" | "lists.getFirstItem" | "lists.getItem" | "lists.getLastItem" | "lists.getListDepth" | "lists.getLongestListLength" | "lists.getNthItem" | "lists.getSubList" | "lists.groupNth" | "lists.includes" | "lists.interleave" | "lists.listLength" | "lists.mergeElementsOfLists" | "lists.prependItem" | "lists.randomGetThreshold" | "lists.randomRemoveThreshold" | "lists.removeAllItems" | "lists.removeDuplicateNumbers" | "lists.removeDuplicateNumbersTolerance" | "lists.removeDuplicates" | "lists.removeFirstItem" | "lists.removeItemAtIndex" | "lists.removeItemAtIndexFromEnd" | "lists.removeItemsAtIndexes" | "lists.removeLastItem" | "lists.removeNthItem" | "lists.repeat" | "lists.repeatInPattern" | "lists.reverse" | "lists.shuffle" | "lists.sortByPropValue" | "lists.sortNumber" | "lists.sortTexts" | "logic.boolean" | "logic.compare" | "logic.firstDefinedValueGate" | "logic.not" | "logic.notList" | "logic.randomBooleans" | "logic.thresholdBooleanList" | "logic.thresholdGapsBooleanList" | "logic.twoThresholdRandomGradient" | "logic.valueGate" | "manifold.crossSection.booleans.add" | "manifold.crossSection.booleans.difference" | "manifold.crossSection.booleans.differenceTwo" | "manifold.crossSection.booleans.intersect" | "manifold.crossSection.booleans.intersection" | "manifold.crossSection.booleans.intersectionTwo" | "manifold.crossSection.booleans.subtract" | "manifold.crossSection.booleans.union" | "manifold.crossSection.booleans.unionTwo" | "manifold.crossSection.crossSectionFromPoints" | "manifold.crossSection.crossSectionFromPolygons" | "manifold.crossSection.crossSectionsToPoints" | "manifold.crossSection.crossSectionsToPolygons" | "manifold.crossSection.crossSectionToPoints" | "manifold.crossSection.crossSectionToPolygons" | "manifold.crossSection.evaluate.area" | "manifold.crossSection.evaluate.bounds" | "manifold.crossSection.evaluate.isEmpty" | "manifold.crossSection.evaluate.numContour" | "manifold.crossSection.evaluate.numVert" | "manifold.crossSection.operations.compose" | "manifold.crossSection.operations.decompose" | "manifold.crossSection.operations.extrude" | "manifold.crossSection.operations.hull" | "manifold.crossSection.operations.offset" | "manifold.crossSection.operations.revolve" | "manifold.crossSection.operations.simplify" | "manifold.crossSection.shapes.circle" | "manifold.crossSection.shapes.create" | "manifold.crossSection.shapes.rectangle" | "manifold.crossSection.shapes.square" | "manifold.crossSection.transforms.mirror" | "manifold.crossSection.transforms.rotate" | "manifold.crossSection.transforms.scale" | "manifold.crossSection.transforms.scale2D" | "manifold.crossSection.transforms.transform" | "manifold.crossSection.transforms.translate" | "manifold.crossSection.transforms.translateXY" | "manifold.decomposeManifoldOrCrossSection" | "manifold.decomposeManifoldsOrCrossSections" | "manifold.deleteManifoldOrCrossSection" | "manifold.deleteManifoldsOrCrossSections" | "manifold.manifold.booleans.add" | "manifold.manifold.booleans.difference" | "manifold.manifold.booleans.differenceTwo" | "manifold.manifold.booleans.intersect" | "manifold.manifold.booleans.intersection" | "manifold.manifold.booleans.intersectionTwo" | "manifold.manifold.booleans.minkowskiDifference" | "manifold.manifold.booleans.minkowskiSum" | "manifold.manifold.booleans.split" | "manifold.manifold.booleans.splitByPlane" | "manifold.manifold.booleans.splitByPlaneOnOffsets" | "manifold.manifold.booleans.subtract" | "manifold.manifold.booleans.trimByPlane" | "manifold.manifold.booleans.union" | "manifold.manifold.booleans.unionTwo" | "manifold.manifold.evaluate.boundingBox" | "manifold.manifold.evaluate.genus" | "manifold.manifold.evaluate.isEmpty" | "manifold.manifold.evaluate.minGap" | "manifold.manifold.evaluate.numEdge" | "manifold.manifold.evaluate.numProp" | "manifold.manifold.evaluate.numPropVert" | "manifold.manifold.evaluate.numTri" | "manifold.manifold.evaluate.numVert" | "manifold.manifold.evaluate.originalID" | "manifold.manifold.evaluate.rayCast" | "manifold.manifold.evaluate.status" | "manifold.manifold.evaluate.surfaceArea" | "manifold.manifold.evaluate.tolerance" | "manifold.manifold.evaluate.volume" | "manifold.manifold.manifoldsToMeshes" | "manifold.manifold.manifoldToMesh" | "manifold.manifold.operations.asOriginal" | "manifold.manifold.operations.calculateCurvature" | "manifold.manifold.operations.calculateNormals" | "manifold.manifold.operations.compose" | "manifold.manifold.operations.decompose" | "manifold.manifold.operations.hull" | "manifold.manifold.operations.hullPoints" | "manifold.manifold.operations.project" | "manifold.manifold.operations.refine" | "manifold.manifold.operations.refineToLength" | "manifold.manifold.operations.refineToTolerance" | "manifold.manifold.operations.reserveIds" | "manifold.manifold.operations.setTolerance" | "manifold.manifold.operations.simplify" | "manifold.manifold.operations.slice" | "manifold.manifold.operations.smoothByNormals" | "manifold.manifold.operations.smoothOut" | "manifold.manifold.shapes.cube" | "manifold.manifold.shapes.cylinder" | "manifold.manifold.shapes.fromPolygonPoints" | "manifold.manifold.shapes.manifoldFromMesh" | "manifold.manifold.shapes.sphere" | "manifold.manifold.shapes.tetrahedron" | "manifold.manifold.transforms.mirror" | "manifold.manifold.transforms.rotate" | "manifold.manifold.transforms.rotateXYZ" | "manifold.manifold.transforms.scale" | "manifold.manifold.transforms.scale3D" | "manifold.manifold.transforms.transform" | "manifold.manifold.transforms.transforms" | "manifold.manifold.transforms.translate" | "manifold.manifold.transforms.translateByVectors" | "manifold.manifold.transforms.translateXYZ" | "manifold.manifoldToMeshPointer" | "manifold.mesh.evaluate.backside" | "manifold.mesh.evaluate.extras" | "manifold.mesh.evaluate.hasNormals" | "manifold.mesh.evaluate.numProp" | "manifold.mesh.evaluate.numRun" | "manifold.mesh.evaluate.numTri" | "manifold.mesh.evaluate.numVert" | "manifold.mesh.evaluate.position" | "manifold.mesh.evaluate.tangent" | "manifold.mesh.evaluate.transform" | "manifold.mesh.evaluate.verts" | "manifold.mesh.operations.merge" | "manifold.toPolygonPoints" | "math.abs" | "math.acos" | "math.add" | "math.asin" | "math.atan" | "math.ceil" | "math.clamp" | "math.cos" | "math.degToRad" | "math.divide" | "math.ease" | "math.evalArithmetic" | "math.exp" | "math.floor" | "math.fract" | "math.inverseLerp" | "math.lerp" | "math.ln" | "math.log10" | "math.modulus" | "math.moveTowards" | "math.multiply" | "math.negate" | "math.number" | "math.oneNrOperation" | "math.pi" | "math.pingPong" | "math.power" | "math.radToDeg" | "math.random" | "math.randomNumber" | "math.randomNumbers" | "math.remap" | "math.round" | "math.roundAndRemoveTrailingZeros" | "math.roundToDecimals" | "math.sign" | "math.sin" | "math.smoothstep" | "math.sqrt" | "math.subtract" | "math.tan" | "math.tenPow" | "math.toFixed" | "math.twoNrOperation" | "math.wrap" | "occt.analysis.clashes.betweenShapes" | "occt.analysis.clashes.facesWithin" | "occt.analysis.clashes.selfIntersections" | "occt.analysis.curves.closestPoints" | "occt.analysis.curves.curvatureComb" | "occt.analysis.curves.curvaturesAtLengths" | "occt.analysis.curves.curvaturesAtParams" | "occt.analysis.curves.curveType" | "occt.analysis.curves.extremesAlong" | "occt.analysis.curves.intersectCurves" | "occt.analysis.curves.intersectCurveWithFace" | "occt.analysis.curves.kinks" | "occt.analysis.measure.angleBetween" | "occt.analysis.measure.boundingBoxInFrame" | "occt.analysis.measure.dihedralAngle" | "occt.analysis.measure.extrema" | "occt.analysis.measure.minCurvatureRadius" | "occt.analysis.measure.orientedBoundingBox" | "occt.analysis.measure.principalFrame" | "occt.analysis.measure.tightBoundingBox" | "occt.analysis.surfaces.closestPoints" | "occt.analysis.surfaces.curvaturesOnUVs" | "occt.analysis.surfaces.surfaceType" | "occt.assembly.manager.buildAssemblyDocument" | "occt.assembly.manager.combineStructure" | "occt.assembly.manager.createAssemblyNode" | "occt.assembly.manager.createImportedPart" | "occt.assembly.manager.createInstanceNode" | "occt.assembly.manager.createPart" | "occt.assembly.manager.createPartUpdate" | "occt.assembly.manager.deleteDocument" | "occt.assembly.manager.exportDocumentToGltf" | "occt.assembly.manager.exportDocumentToGltfWithDraco" | "occt.assembly.manager.exportDocumentToObj" | "occt.assembly.manager.exportDocumentToPly" | "occt.assembly.manager.exportDocumentToStep" | "occt.assembly.manager.loadGltfToDoc" | "occt.assembly.manager.loadObjToDoc" | "occt.assembly.manager.loadStepToDoc" | "occt.assembly.manager.setDocLabelColor" | "occt.assembly.manager.setDocLabelName" | "occt.assembly.query.getAssemblyHierarchy" | "occt.assembly.query.getDocumentParts" | "occt.assembly.query.getDocumentPmi" | "occt.assembly.query.getLabelColor" | "occt.assembly.query.getLabelInfo" | "occt.assembly.query.getLabelTransform" | "occt.assembly.query.getShapeFromLabel" | "occt.booleans.difference" | "occt.booleans.differenceWithHistory" | "occt.booleans.intersection" | "occt.booleans.meshMeshIntersectionOfShapesPoints" | "occt.booleans.meshMeshIntersectionOfShapesWires" | "occt.booleans.meshMeshIntersectionPoints" | "occt.booleans.meshMeshIntersectionWires" | "occt.booleans.union" | "occt.booleans.unionWithHistory" | "occt.brepGraph.analyze" | "occt.brepGraph.assembly" | "occt.brepGraph.containment" | "occt.brepGraph.dump" | "occt.brepGraph.edgeFaceMap" | "occt.brepGraph.edgeInfo" | "occt.brepGraph.faceAdjacency" | "occt.brepGraph.faceInfo" | "occt.brepGraph.nodeOfShape" | "occt.brepGraph.reconstruct" | "occt.brepGraph.validate" | "occt.brepGraph.vertexEdgeMap" | "occt.brepGraph.wireInfo" | "occt.cleanAllCache" | "occt.corners.chamferCornerByPoint" | "occt.corners.classifyCornerByPoint" | "occt.corners.cornerByPointReport" | "occt.corners.filletCornerByPoint" | "occt.deleteShape" | "occt.deleteShapes" | "occt.dimensions.pinWithLabel" | "occt.dimensions.simpleAngularDimension" | "occt.dimensions.simpleLinearLengthDimension" | "occt.docToMesh" | "occt.docToMeshes" | "occt.draft.draftAngle" | "occt.draft.makeDraft" | "occt.draft.makeDraftToShape" | "occt.features.boss" | "occt.features.counterboredHoles" | "occt.features.countersunkHoles" | "occt.features.groove" | "occt.features.holes" | "occt.features.pocket" | "occt.features.pushPullFaces" | "occt.features.removeFaces" | "occt.features.revolvedBoss" | "occt.features.revolvedPocket" | "occt.features.rib" | "occt.features.taperedBoss" | "occt.features.taperedPocket" | "occt.fillets.chamfer2dVertices" | "occt.fillets.chamferEdgeDistAngle" | "occt.fillets.chamferEdges" | "occt.fillets.chamferEdgesDistAngle" | "occt.fillets.chamferEdgesDistsAngles" | "occt.fillets.chamferEdgesList" | "occt.fillets.chamferEdgesTwoDistances" | "occt.fillets.chamferEdgesTwoDistancesLists" | "occt.fillets.chamferEdgesWithHistory" | "occt.fillets.chamferEdgeTwoDistances" | "occt.fillets.fillet2d" | "occt.fillets.fillet2dShapes" | "occt.fillets.fillet3DWire" | "occt.fillets.fillet3DWires" | "occt.fillets.filletEdges" | "occt.fillets.filletEdgesList" | "occt.fillets.filletEdgesListOneRadius" | "occt.fillets.filletEdgesSameVariableRadius" | "occt.fillets.filletEdgesVariableRadius" | "occt.fillets.filletEdgesWithHistory" | "occt.fillets.filletEdgeVariableRadius" | "occt.fillets.filletTwoEdgesInPlaneIntoAWire" | "occt.geom.curves.geom2dEllipse" | "occt.geom.curves.geom2dSegment" | "occt.geom.curves.geom2dTrimmedCurve" | "occt.geom.curves.geomCircleCurve" | "occt.geom.curves.geomEllipseCurve" | "occt.geom.curves.get2dPointFrom2dCurveOnParam" | "occt.geom.surfaces.cylindricalSurface" | "occt.geom.surfaces.surfaceFromFace" | "occt.io.convertStepToGltf" | "occt.io.convertStepToGltfAdvanced" | "occt.io.convertStepToGltfAdvancedWithDraco" | "occt.io.convertStepToGltfWithDraco" | "occt.io.dxfCreate" | "occt.io.dxfPathsWithLayer" | "occt.io.loadBrep" | "occt.io.loadSTEPorIGES" | "occt.io.loadStl" | "occt.io.parseStepToJson" | "occt.io.saveShapeBrep" | "occt.io.saveShapeBrepAndReturn" | "occt.io.saveShapeObj" | "occt.io.saveShapeObjAndReturn" | "occt.io.saveShapePly" | "occt.io.saveShapePlyAndReturn" | "occt.io.saveShapeSTEP" | "occt.io.saveShapeSTEPAndReturn" | "occt.io.saveShapeStl" | "occt.io.saveShapeStlAndReturn" | "occt.io.saveShapeSvg" | "occt.io.saveShapeSvgAndReturn" | "occt.io.shapeToDxfPaths" | "occt.operations.boundingBoxCenterOfShape" | "occt.operations.boundingBoxMaxOfShape" | "occt.operations.boundingBoxMinOfShape" | "occt.operations.boundingBoxOfShape" | "occt.operations.boundingBoxShapeOfShape" | "occt.operations.boundingBoxSizeOfShape" | "occt.operations.boundingSphereCenterOfShape" | "occt.operations.boundingSphereOfShape" | "occt.operations.boundingSphereRadiusOfShape" | "occt.operations.boundingSphereShapeOfShape" | "occt.operations.closestPointsBetweenTwoShapes" | "occt.operations.closestPointsOnShapeFromPoints" | "occt.operations.closestPointsOnShapesFromPoints" | "occt.operations.distancesToShapeFromPoints" | "occt.operations.extrude" | "occt.operations.extrudeShapes" | "occt.operations.extrudeWithHistory" | "occt.operations.hiddenLines" | "occt.operations.loft" | "occt.operations.loftAdvanced" | "occt.operations.makeThickSolidByJoin" | "occt.operations.makeThickSolidSimple" | "occt.operations.offset" | "occt.operations.offset3DWire" | "occt.operations.offsetAdv" | "occt.operations.pipe" | "occt.operations.pipePolylineWireNGon" | "occt.operations.pipeWireCylindrical" | "occt.operations.pipeWiresCylindrical" | "occt.operations.pipeWithScaling" | "occt.operations.revolve" | "occt.operations.revolveWithHistory" | "occt.operations.rotatedExtrude" | "occt.operations.sectionWires" | "occt.operations.slice" | "occt.operations.sliceByFrames" | "occt.operations.sliceInStepPattern" | "occt.operations.splitByFrame" | "occt.operations.splitFaceByWires" | "occt.operations.splitShapeWithShapes" | "occt.operations.sweepEvolved" | "occt.path.shapeFromPath" | "occt.select.edges.along" | "occt.select.edges.between" | "occt.select.edges.byLength" | "occt.select.edges.byRadius" | "occt.select.edges.concave" | "occt.select.edges.convex" | "occt.select.edges.extreme" | "occt.select.edges.groupAlong" | "occt.select.edges.inBox" | "occt.select.edges.inSphere" | "occt.select.edges.nearest" | "occt.select.edges.ofFaces" | "occt.select.edges.ofType" | "occt.select.edges.onPlane" | "occt.select.edges.sortAlong" | "occt.select.edges.tangentChain" | "occt.select.faces.adjacentTo" | "occt.select.faces.byRadius" | "occt.select.faces.bySize" | "occt.select.faces.extreme" | "occt.select.faces.facing" | "occt.select.faces.groupAlong" | "occt.select.faces.inBox" | "occt.select.faces.inSphere" | "occt.select.faces.nearest" | "occt.select.faces.ofEdges" | "occt.select.faces.ofType" | "occt.select.faces.onPlane" | "occt.select.faces.sortAlong" | "occt.shapeFacesToPolygonPoints" | "occt.shapeFix.basicShapeRepair" | "occt.shapeFix.fixEdgeOrientationsAlongWire" | "occt.shapeFix.fixShell" | "occt.shapeFix.fixSmallEdgeOnWire" | "occt.shapeFix.fixSolid" | "occt.shapeFix.freeBoundaries" | "occt.shapeFix.isValid" | "occt.shapeFix.orientClosedSolid" | "occt.shapeFix.sewWithReport" | "occt.shapeFix.validityReport" | "occt.shapes.compound.getShapesOfCompound" | "occt.shapes.compound.makeCompound" | "occt.shapes.edge.arcFromCircleAndTwoAngles" | "occt.shapes.edge.arcFromCircleAndTwoPoints" | "occt.shapes.edge.arcFromCirclePointAndAngle" | "occt.shapes.edge.arcThroughThreePoints" | "occt.shapes.edge.arcThroughTwoPointsAndTangent" | "occt.shapes.edge.blendBetweenEdges" | "occt.shapes.edge.circlesTangentToThree" | "occt.shapes.edge.circlesTangentToTwoCenteredOn" | "occt.shapes.edge.circlesTangentToTwoWithRadius" | "occt.shapes.edge.constraintTanCirclesOnCircleAndPnt" | "occt.shapes.edge.constraintTanCirclesOnTwoCircles" | "occt.shapes.edge.constraintTanLinesFromPtToCircle" | "occt.shapes.edge.constraintTanLinesFromTwoPtsToCircle" | "occt.shapes.edge.constraintTanLinesOnTwoCircles" | "occt.shapes.edge.createCircleEdge" | "occt.shapes.edge.createEllipseEdge" | "occt.shapes.edge.debugInfo" | "occt.shapes.edge.divideEdgeByEqualDistanceToPoints" | "occt.shapes.edge.divideEdgeByParamsToPoints" | "occt.shapes.edge.divideEdgesByEqualDistanceToPoints" | "occt.shapes.edge.divideEdgesByParamsToPoints" | "occt.shapes.edge.edgesToPoints" | "occt.shapes.edge.endPointOnEdge" | "occt.shapes.edge.endPointsOnEdges" | "occt.shapes.edge.extendEdge" | "occt.shapes.edge.frameOnEdgeAtLength" | "occt.shapes.edge.frameOnEdgeAtParam" | "occt.shapes.edge.framesOnEdgeAtLengths" | "occt.shapes.edge.framesOnEdgeAtParams" | "occt.shapes.edge.fromBaseLine" | "occt.shapes.edge.fromBaseLines" | "occt.shapes.edge.fromBaseMesh" | "occt.shapes.edge.fromBasePolyline" | "occt.shapes.edge.fromBaseSegment" | "occt.shapes.edge.fromBaseSegments" | "occt.shapes.edge.fromBaseTriangle" | "occt.shapes.edge.fromPoints" | "occt.shapes.edge.getCircularEdgeCenterPoint" | "occt.shapes.edge.getCircularEdgePlaneDirection" | "occt.shapes.edge.getCircularEdgeRadius" | "occt.shapes.edge.getCircularEdgesAlongWire" | "occt.shapes.edge.getCornerPointsOfEdgesForShape" | "occt.shapes.edge.getEdge" | "occt.shapes.edge.getEdgeCenterOfMass" | "occt.shapes.edge.getEdgeLength" | "occt.shapes.edge.getEdgeLengthsOfShape" | "occt.shapes.edge.getEdges" | "occt.shapes.edge.getEdgesAlongWire" | "occt.shapes.edge.getEdgesCentersOfMass" | "occt.shapes.edge.getEdgesLengths" | "occt.shapes.edge.getLinearEdgesAlongWire" | "occt.shapes.edge.isEdgeCircular" | "occt.shapes.edge.isEdgeLinear" | "occt.shapes.edge.line" | "occt.shapes.edge.linesTangentAtAngle" | "occt.shapes.edge.linesTangentToTwo" | "occt.shapes.edge.makeEdgeFromGeom2dCurveAndSurface" | "occt.shapes.edge.moveEdgeSeamByLength" | "occt.shapes.edge.moveEdgeSeamByParameter" | "occt.shapes.edge.pointOnEdgeAtLength" | "occt.shapes.edge.pointOnEdgeAtParam" | "occt.shapes.edge.pointsOnEdgesAtLength" | "occt.shapes.edge.pointsOnEdgesAtParam" | "occt.shapes.edge.rebuildEdgeDegree" | "occt.shapes.edge.removeInternalEdges" | "occt.shapes.edge.reversedEdge" | "occt.shapes.edge.splitEdgeAtLengths" | "occt.shapes.edge.splitEdgeAtParams" | "occt.shapes.edge.startPointOnEdge" | "occt.shapes.edge.startPointsOnEdges" | "occt.shapes.edge.tangentOnEdgeAtLength" | "occt.shapes.edge.tangentOnEdgeAtParam" | "occt.shapes.edge.tangentsOnEdgesAtLength" | "occt.shapes.edge.tangentsOnEdgesAtParam" | "occt.shapes.face.boundaryPatch" | "occt.shapes.face.createChristmasTreeFace" | "occt.shapes.face.createCircleFace" | "occt.shapes.face.createEllipseFace" | "occt.shapes.face.createFaceFromMultipleCircleTanWireCollections" | "occt.shapes.face.createFaceFromMultipleCircleTanWires" | "occt.shapes.face.createFaceFromWire" | "occt.shapes.face.createFaceFromWireOnFace" | "occt.shapes.face.createFaceFromWires" | "occt.shapes.face.createFaceFromWiresOnFace" | "occt.shapes.face.createFacesFromWires" | "occt.shapes.face.createFacesFromWiresOnFace" | "occt.shapes.face.createHBeamProfileFace" | "occt.shapes.face.createHeartFace" | "occt.shapes.face.createIBeamProfileFace" | "occt.shapes.face.createLPolygonFace" | "occt.shapes.face.createNGonFace" | "occt.shapes.face.createParallelogramFace" | "occt.shapes.face.createPolygonFace" | "occt.shapes.face.createRectangleFace" | "occt.shapes.face.createSquareFace" | "occt.shapes.face.createStarFace" | "occt.shapes.face.createTBeamProfileFace" | "occt.shapes.face.createUBeamProfileFace" | "occt.shapes.face.debugInfo" | "occt.shapes.face.faceFromSurface" | "occt.shapes.face.faceFromSurfaceAndWire" | "occt.shapes.face.fillPatch" | "occt.shapes.face.filterFacePoints" | "occt.shapes.face.filterFacesPoints" | "occt.shapes.face.flipFaceUV" | "occt.shapes.face.frameNearestPoint" | "occt.shapes.face.frameOnUV" | "occt.shapes.face.framesNearestPoints" | "occt.shapes.face.framesOnUVs" | "occt.shapes.face.fromBaseMesh" | "occt.shapes.face.fromBaseTriangle" | "occt.shapes.face.fromPointGrid" | "occt.shapes.face.getFace" | "occt.shapes.face.getFaceArea" | "occt.shapes.face.getFaceCenterOfMass" | "occt.shapes.face.getFaces" | "occt.shapes.face.getFacesAreas" | "occt.shapes.face.getFacesCentersOfMass" | "occt.shapes.face.getUMaxBound" | "occt.shapes.face.getUMinBound" | "occt.shapes.face.getVMaxBound" | "occt.shapes.face.getVMinBound" | "occt.shapes.face.hexagonsInGrid" | "occt.shapes.face.isoCurves" | "occt.shapes.face.normalizeFaceParametrization" | "occt.shapes.face.normalOnUV" | "occt.shapes.face.normalsOnUVs" | "occt.shapes.face.pointOnUV" | "occt.shapes.face.pointsOnUVs" | "occt.shapes.face.rebuildFaceDegree" | "occt.shapes.face.reversedFace" | "occt.shapes.face.ruledBetween" | "occt.shapes.face.subdivideToFrames" | "occt.shapes.face.subdivideToHexagonHoles" | "occt.shapes.face.subdivideToHexagonWires" | "occt.shapes.face.subdivideToNormals" | "occt.shapes.face.subdivideToPoints" | "occt.shapes.face.subdivideToPointsControlled" | "occt.shapes.face.subdivideToPointsOnParam" | "occt.shapes.face.subdivideToRectangleHoles" | "occt.shapes.face.subdivideToRectangleWires" | "occt.shapes.face.subdivideToUV" | "occt.shapes.face.subdivideToWires" | "occt.shapes.face.unroll" | "occt.shapes.face.wireAlongParam" | "occt.shapes.face.wiresAlongParams" | "occt.shapes.shape.getOrientation" | "occt.shapes.shape.getShapeType" | "occt.shapes.shape.isChecked" | "occt.shapes.shape.isClosed" | "occt.shapes.shape.isConvex" | "occt.shapes.shape.isEqual" | "occt.shapes.shape.isFree" | "occt.shapes.shape.isInfinite" | "occt.shapes.shape.isLocked" | "occt.shapes.shape.isModified" | "occt.shapes.shape.isNotEqual" | "occt.shapes.shape.isNull" | "occt.shapes.shape.isPartner" | "occt.shapes.shape.isSame" | "occt.shapes.shape.purgeInternalEdges" | "occt.shapes.shape.unifySameDomain" | "occt.shapes.shell.debugInfo" | "occt.shapes.shell.getShellSurfaceArea" | "occt.shapes.shell.sewFaces" | "occt.shapes.solid.createBox" | "occt.shapes.solid.createBoxFromCorner" | "occt.shapes.solid.createChristmasTreeSolid" | "occt.shapes.solid.createCone" | "occt.shapes.solid.createCube" | "occt.shapes.solid.createCylinder" | "occt.shapes.solid.createCylindersOnLines" | "occt.shapes.solid.createHBeamProfileSolid" | "occt.shapes.solid.createHeartSolid" | "occt.shapes.solid.createIBeamProfileSolid" | "occt.shapes.solid.createLPolygonSolid" | "occt.shapes.solid.createNGonSolid" | "occt.shapes.solid.createParallelogramSolid" | "occt.shapes.solid.createSphere" | "occt.shapes.solid.createStarSolid" | "occt.shapes.solid.createTBeamProfileSolid" | "occt.shapes.solid.createTorus" | "occt.shapes.solid.createUBeamProfileSolid" | "occt.shapes.solid.debugInfo" | "occt.shapes.solid.filterSolidPoints" | "occt.shapes.solid.fromClosedShell" | "occt.shapes.solid.getSolidCenterOfMass" | "occt.shapes.solid.getSolids" | "occt.shapes.solid.getSolidsCentersOfMass" | "occt.shapes.solid.getSolidSurfaceArea" | "occt.shapes.solid.getSolidsVolumes" | "occt.shapes.solid.getSolidVolume" | "occt.shapes.vertex.getVertices" | "occt.shapes.vertex.getVerticesAsPoints" | "occt.shapes.vertex.projectPoints" | "occt.shapes.vertex.vertexFromPoint" | "occt.shapes.vertex.vertexFromXYZ" | "occt.shapes.vertex.vertexToPoint" | "occt.shapes.vertex.verticesCompoundFromPoints" | "occt.shapes.vertex.verticesFromPoints" | "occt.shapes.vertex.verticesToPoints" | "occt.shapes.wire.addEdgesAndWiresToWire" | "occt.shapes.wire.closeOpenWire" | "occt.shapes.wire.combineEdgesAndWiresIntoAWire" | "occt.shapes.wire.createBezier" | "occt.shapes.wire.createBezierWeights" | "occt.shapes.wire.createBezierWires" | "occt.shapes.wire.createBSpline" | "occt.shapes.wire.createBSplines" | "occt.shapes.wire.createChristmasTreeWire" | "occt.shapes.wire.createCircleWire" | "occt.shapes.wire.createEllipseWire" | "occt.shapes.wire.createFlatSpiralWire" | "occt.shapes.wire.createHBeamProfileWire" | "occt.shapes.wire.createHeartWire" | "occt.shapes.wire.createHelixWire" | "occt.shapes.wire.createHelixWireByTurns" | "occt.shapes.wire.createIBeamProfileWire" | "occt.shapes.wire.createLines" | "occt.shapes.wire.createLineWire" | "occt.shapes.wire.createLineWireWithExtensions" | "occt.shapes.wire.createLPolygonWire" | "occt.shapes.wire.createNGonWire" | "occt.shapes.wire.createParallelogramWire" | "occt.shapes.wire.createPolygons" | "occt.shapes.wire.createPolygonWire" | "occt.shapes.wire.createPolylines" | "occt.shapes.wire.createPolylineWire" | "occt.shapes.wire.createRectangleWire" | "occt.shapes.wire.createSquareWire" | "occt.shapes.wire.createStarWire" | "occt.shapes.wire.createTaperedHelixWire" | "occt.shapes.wire.createTBeamProfileWire" | "occt.shapes.wire.createUBeamProfileWire" | "occt.shapes.wire.createWireFromEdge" | "occt.shapes.wire.createWireFromTwoCirclesTan" | "occt.shapes.wire.createWiresBetweenStartEndPointsOfWiresAndEdges" | "occt.shapes.wire.createWiresBetweenSubdividedPointsOfWiresAndEdges" | "occt.shapes.wire.createZigZagBetweenTwoWires" | "occt.shapes.wire.debugInfo" | "occt.shapes.wire.derivativesOnWireAtLength" | "occt.shapes.wire.derivativesOnWireAtParam" | "occt.shapes.wire.divideWireByEqualDistanceToPoints" | "occt.shapes.wire.divideWireByParamsToPoints" | "occt.shapes.wire.divideWiresByEqualDistanceToPoints" | "occt.shapes.wire.divideWiresByParamsToPoints" | "occt.shapes.wire.endPointOnWire" | "occt.shapes.wire.frameOnWireAtLength" | "occt.shapes.wire.frameOnWireAtParam" | "occt.shapes.wire.framesAlongWire" | "occt.shapes.wire.framesOnWireAtLengths" | "occt.shapes.wire.framesOnWireAtParams" | "occt.shapes.wire.fromBaseLine" | "occt.shapes.wire.fromBaseLines" | "occt.shapes.wire.fromBaseMesh" | "occt.shapes.wire.fromBasePolyline" | "occt.shapes.wire.fromBaseSegment" | "occt.shapes.wire.fromBaseSegments" | "occt.shapes.wire.fromBaseTriangle" | "occt.shapes.wire.fromPoints" | "occt.shapes.wire.getWire" | "occt.shapes.wire.getWireCenterOfMass" | "occt.shapes.wire.getWireLength" | "occt.shapes.wire.getWires" | "occt.shapes.wire.getWiresCentersOfMass" | "occt.shapes.wire.getWiresLengths" | "occt.shapes.wire.hexagonsInGrid" | "occt.shapes.wire.interpolatePoints" | "occt.shapes.wire.interpolatePointsSymmetric" | "occt.shapes.wire.interpolateWires" | "occt.shapes.wire.isWireClosed" | "occt.shapes.wire.midPointOnWire" | "occt.shapes.wire.moveWireSeamByLength" | "occt.shapes.wire.moveWireSeamByParameter" | "occt.shapes.wire.offsetOpen" | "occt.shapes.wire.placeWireOnFace" | "occt.shapes.wire.placeWiresOnFace" | "occt.shapes.wire.pointOnWireAtLength" | "occt.shapes.wire.pointOnWireAtParam" | "occt.shapes.wire.pointsOnWireAtEqualLength" | "occt.shapes.wire.pointsOnWireAtLengths" | "occt.shapes.wire.pointsOnWireAtPatternOfLengths" | "occt.shapes.wire.project" | "occt.shapes.wire.projectConical" | "occt.shapes.wire.projectNormal" | "occt.shapes.wire.projectWires" | "occt.shapes.wire.rebuildWireDegree" | "occt.shapes.wire.reversedWire" | "occt.shapes.wire.reversedWireFromReversedEdges" | "occt.shapes.wire.splitOnPoints" | "occt.shapes.wire.splitWireAtLengths" | "occt.shapes.wire.splitWireAtParams" | "occt.shapes.wire.startPointOnWire" | "occt.shapes.wire.tangentOnWireAtLength" | "occt.shapes.wire.tangentOnWireAtParam" | "occt.shapes.wire.textWires" | "occt.shapes.wire.textWiresWithData" | "occt.shapes.wire.wiresToPoints" | "occt.shapes.wire.wrapWiresOnFace" | "occt.shapesToMeshes" | "occt.shapeToManifoldMesh" | "occt.shapeToMesh" | "occt.svg.loadSVG" | "occt.svg.loadSVGStructured" | "occt.transforms.align" | "occt.transforms.alignAndTranslate" | "occt.transforms.alignAndTranslateShapes" | "occt.transforms.alignNormAndAxis" | "occt.transforms.alignShapes" | "occt.transforms.composeTransform" | "occt.transforms.getShapeTransform" | "occt.transforms.identityTransform" | "occt.transforms.invertTransform" | "occt.transforms.mirror" | "occt.transforms.mirrorAboutPoint" | "occt.transforms.mirrorAlongNormal" | "occt.transforms.mirrorAlongNormalShapes" | "occt.transforms.mirrorAxisToMatrix" | "occt.transforms.mirrorPlaneToMatrix" | "occt.transforms.mirrorPointToMatrix" | "occt.transforms.mirrorShapes" | "occt.transforms.multiplyTransforms" | "occt.transforms.orient" | "occt.transforms.placeByMatrices" | "occt.transforms.placeOnFrames" | "occt.transforms.quaternionToMatrix" | "occt.transforms.rotate" | "occt.transforms.rotateAroundCenter" | "occt.transforms.rotateAroundCenterShapes" | "occt.transforms.rotateByQuaternion" | "occt.transforms.rotateShapes" | "occt.transforms.rotationAxisAngleToMatrix" | "occt.transforms.scale" | "occt.transforms.scale3d" | "occt.transforms.scale3dShapes" | "occt.transforms.scaleFromCenter" | "occt.transforms.scaleShapes" | "occt.transforms.scaleUniformToMatrix" | "occt.transforms.transform" | "occt.transforms.transformByMatrix" | "occt.transforms.transformShapes" | "occt.transforms.transformShapesByMatrix" | "occt.transforms.translate" | "occt.transforms.translateShapes" | "occt.transforms.translationToMatrix" | "occtPro.sheetMetal.unfoldFaceReport" | "occtPro.sheetMetal.unfoldFaceToFlat" | "occtPro.sheetMetal.unfoldSolidReport" | "occtPro.sheetMetal.unfoldSolidToFlat" | "point.averagePoint" | "point.boundingBoxOfPoints" | "point.closestPointFromPoints" | "point.closestPointFromPointsDistance" | "point.closestPointFromPointsIndex" | "point.distance" | "point.distancesToPoints" | "point.getX" | "point.getY" | "point.getZ" | "point.hexGrid" | "point.hexGridScaledToFit" | "point.maxFilletRadius" | "point.maxFilletRadiusHalfLine" | "point.maxFilletsHalfLine" | "point.multiplyPoint" | "point.normalFromThreePoints" | "point.pointXY" | "point.pointXYZ" | "point.removeConsecutiveDuplicates" | "point.rotatePointsCenterAxis" | "point.safestPointsMaxFilletHalfLine" | "point.scalePointsCenterXYZ" | "point.sortPoints" | "point.spiral" | "point.stretchPointsDirFromCenter" | "point.transformPoint" | "point.transformPoints" | "point.transformsForPoints" | "point.translatePoints" | "point.translatePointsWithVectors" | "point.translateXYZPoints" | "point.twoPointsAlmostEqual" | "polyline.countPoints" | "polyline.create" | "polyline.getPoints" | "polyline.length" | "polyline.maxFilletsHalfLine" | "polyline.polylineSelfIntersection" | "polyline.polylineToLines" | "polyline.polylineToSegments" | "polyline.reverse" | "polyline.safestFilletRadius" | "polyline.sortSegmentsIntoPolylines" | "polyline.transformPolyline" | "polyline.twoPolylineIntersection" | "text.charAt" | "text.concat" | "text.create" | "text.endsWith" | "text.format" | "text.includes" | "text.indexOf" | "text.isEmpty" | "text.join" | "text.lastIndexOf" | "text.length" | "text.padEnd" | "text.padStart" | "text.regexMatch" | "text.regexReplace" | "text.regexSearch" | "text.regexSplit" | "text.regexTest" | "text.repeat" | "text.replaceAll" | "text.reverse" | "text.slice" | "text.split" | "text.startsWith" | "text.substring" | "text.toLowerCase" | "text.toLowerCaseFirst" | "text.toString" | "text.toStringEach" | "text.toUpperCase" | "text.toUpperCaseFirst" | "text.trim" | "text.trimEnd" | "text.trimStart" | "text.vectorChar" | "text.vectorText" | "vector.add" | "vector.addAll" | "vector.all" | "vector.angleBetween" | "vector.angleBetweenNormalized2d" | "vector.cross" | "vector.dist" | "vector.distSquared" | "vector.div" | "vector.domain" | "vector.dot" | "vector.finite" | "vector.isZero" | "vector.length" | "vector.lengthSq" | "vector.lerp" | "vector.max" | "vector.min" | "vector.mul" | "vector.neg" | "vector.norm" | "vector.normalized" | "vector.normSquared" | "vector.onRay" | "vector.parseNumbers" | "vector.positiveAngleBetween" | "vector.range" | "vector.removeAllDuplicateVectors" | "vector.removeConsecutiveDuplicateVectors" | "vector.signedAngleBetween" | "vector.span" | "vector.spanEaseItems" | "vector.spanLinearItems" | "vector.sub" | "vector.sum" | "vector.vectorsTheSame" | "vector.vectorXY" | "vector.vectorXYZ";
2
+ export type OperationPath = "color.getBlueParam" | "color.getGreenParam" | "color.getRedParam" | "color.hexColor" | "color.hexToRgb" | "color.hexToRgbMapped" | "color.invert" | "color.rgb1Color" | "color.rgb255Color" | "color.rgba1Color" | "color.rgba255Color" | "color.rgbAtomic1Color" | "color.rgbAtomic255Color" | "color.rgbObjToHex" | "color.rgbToBlue" | "color.rgbToGreen" | "color.rgbToHex" | "color.rgbToRed" | "csv.arrayToCsv" | "csv.getColumnCount" | "csv.getHeaders" | "csv.getRowCount" | "csv.jsonToCsv" | "csv.jsonToCsvAuto" | "csv.parseToArray" | "csv.parseToJson" | "csv.parseToJsonWithHeaders" | "csv.queryColumn" | "csv.queryRowsByValue" | "jscad.booleans.intersect" | "jscad.booleans.intersectTwo" | "jscad.booleans.minkowskiSum" | "jscad.booleans.subtract" | "jscad.booleans.subtractFrom" | "jscad.booleans.subtractTwo" | "jscad.booleans.union" | "jscad.booleans.unionTwo" | "jscad.colors.colorize" | "jscad.downloadGeometry3MF" | "jscad.downloadGeometryDxf" | "jscad.downloadSolidsSTL" | "jscad.downloadSolidSTL" | "jscad.expansions.expand" | "jscad.expansions.offset" | "jscad.extrusions.extrudeLinear" | "jscad.extrusions.extrudeRectangular" | "jscad.extrusions.extrudeRectangularPoints" | "jscad.extrusions.extrudeRotate" | "jscad.hulls.hull" | "jscad.hulls.hullChain" | "jscad.hulls.isConvex" | "jscad.path.appendArc" | "jscad.path.appendPoints" | "jscad.path.appendPolyline" | "jscad.path.close" | "jscad.path.createEmpty" | "jscad.path.createFromPoints" | "jscad.path.createFromPolyline" | "jscad.path.createPathsFromPoints" | "jscad.polygon.circle" | "jscad.polygon.createFromCurve" | "jscad.polygon.createFromPath" | "jscad.polygon.createFromPoints" | "jscad.polygon.createFromPolyline" | "jscad.polygon.ellipse" | "jscad.polygon.rectangle" | "jscad.polygon.roundedRectangle" | "jscad.polygon.square" | "jscad.polygon.star" | "jscad.shapes.cube" | "jscad.shapes.cubesOnCenterPoints" | "jscad.shapes.cuboid" | "jscad.shapes.cuboidsOnCenterPoints" | "jscad.shapes.cylinder" | "jscad.shapes.cylinderElliptic" | "jscad.shapes.cylinderEllipticOnCenterPoints" | "jscad.shapes.cylindersOnCenterPoints" | "jscad.shapes.ellipsoid" | "jscad.shapes.ellipsoidsOnCenterPoints" | "jscad.shapes.fromPolygonPoints" | "jscad.shapes.geodesicSphere" | "jscad.shapes.geodesicSpheresOnCenterPoints" | "jscad.shapes.roundedCuboid" | "jscad.shapes.roundedCuboidsOnCenterPoints" | "jscad.shapes.roundedCylinder" | "jscad.shapes.roundedCylindersOnCenterPoints" | "jscad.shapes.sphere" | "jscad.shapes.spheresOnCenterPoints" | "jscad.shapes.torus" | "jscad.text.createVectorText" | "jscad.text.cylindricalText" | "jscad.text.sphericalText" | "jscad.toPolygonPoints" | "jscad.transformSolid" | "jscad.transformSolids" | "json.createEmpty" | "json.getJsonFromArrayByFirstPropMatch" | "json.getValueOnProp" | "json.parse" | "json.paths" | "json.previewAndSaveJson" | "json.previewJson" | "json.query" | "json.setValue" | "json.setValueOnProp" | "json.setValuesOnPaths" | "json.stringify" | "line.create" | "line.createSegment" | "line.getEndPoint" | "line.getPointOnLine" | "line.getStartPoint" | "line.length" | "line.lineLineIntersection" | "line.linesBetweenPoints" | "line.linesBetweenStartAndEndPoints" | "line.linesToSegments" | "line.lineToSegment" | "line.reverse" | "line.segmentsToLines" | "line.segmentToLine" | "line.transformLine" | "line.transformsForLines" | "lists.addItem" | "lists.addItemAtIndex" | "lists.addItemAtIndexes" | "lists.addItemFirstLast" | "lists.addItemsAtIndexes" | "lists.concatenate" | "lists.createEmptyList" | "lists.findIndex" | "lists.flipLists" | "lists.getByPattern" | "lists.getFirstItem" | "lists.getItem" | "lists.getLastItem" | "lists.getListDepth" | "lists.getLongestListLength" | "lists.getNthItem" | "lists.getSubList" | "lists.groupNth" | "lists.includes" | "lists.interleave" | "lists.listLength" | "lists.mergeElementsOfLists" | "lists.prependItem" | "lists.randomGetThreshold" | "lists.randomRemoveThreshold" | "lists.removeAllItems" | "lists.removeDuplicateNumbers" | "lists.removeDuplicateNumbersTolerance" | "lists.removeDuplicates" | "lists.removeFirstItem" | "lists.removeItemAtIndex" | "lists.removeItemAtIndexFromEnd" | "lists.removeItemsAtIndexes" | "lists.removeLastItem" | "lists.removeNthItem" | "lists.repeat" | "lists.repeatInPattern" | "lists.reverse" | "lists.shuffle" | "lists.sortByPropValue" | "lists.sortNumber" | "lists.sortTexts" | "logic.boolean" | "logic.compare" | "logic.firstDefinedValueGate" | "logic.not" | "logic.notList" | "logic.randomBooleans" | "logic.thresholdBooleanList" | "logic.thresholdGapsBooleanList" | "logic.twoThresholdRandomGradient" | "logic.valueGate" | "manifold.crossSection.booleans.add" | "manifold.crossSection.booleans.difference" | "manifold.crossSection.booleans.differenceTwo" | "manifold.crossSection.booleans.intersect" | "manifold.crossSection.booleans.intersection" | "manifold.crossSection.booleans.intersectionTwo" | "manifold.crossSection.booleans.subtract" | "manifold.crossSection.booleans.union" | "manifold.crossSection.booleans.unionTwo" | "manifold.crossSection.crossSectionFromPoints" | "manifold.crossSection.crossSectionFromPolygons" | "manifold.crossSection.crossSectionsToPoints" | "manifold.crossSection.crossSectionsToPolygons" | "manifold.crossSection.crossSectionToPoints" | "manifold.crossSection.crossSectionToPolygons" | "manifold.crossSection.evaluate.area" | "manifold.crossSection.evaluate.bounds" | "manifold.crossSection.evaluate.isEmpty" | "manifold.crossSection.evaluate.numContour" | "manifold.crossSection.evaluate.numVert" | "manifold.crossSection.operations.compose" | "manifold.crossSection.operations.decompose" | "manifold.crossSection.operations.extrude" | "manifold.crossSection.operations.hull" | "manifold.crossSection.operations.loft" | "manifold.crossSection.operations.offset" | "manifold.crossSection.operations.revolve" | "manifold.crossSection.operations.simplify" | "manifold.crossSection.operations.sweep" | "manifold.crossSection.shapes.circle" | "manifold.crossSection.shapes.create" | "manifold.crossSection.shapes.rectangle" | "manifold.crossSection.shapes.square" | "manifold.crossSection.transforms.mirror" | "manifold.crossSection.transforms.rotate" | "manifold.crossSection.transforms.scale" | "manifold.crossSection.transforms.scale2D" | "manifold.crossSection.transforms.transform" | "manifold.crossSection.transforms.translate" | "manifold.crossSection.transforms.translateXY" | "manifold.decomposeManifoldOrCrossSection" | "manifold.decomposeManifoldsOrCrossSections" | "manifold.deleteManifoldOrCrossSection" | "manifold.deleteManifoldsOrCrossSections" | "manifold.manifold.booleans.add" | "manifold.manifold.booleans.difference" | "manifold.manifold.booleans.differenceTwo" | "manifold.manifold.booleans.intersect" | "manifold.manifold.booleans.intersection" | "manifold.manifold.booleans.intersectionTwo" | "manifold.manifold.booleans.minkowskiDifference" | "manifold.manifold.booleans.minkowskiSum" | "manifold.manifold.booleans.split" | "manifold.manifold.booleans.splitByPlane" | "manifold.manifold.booleans.splitByPlaneOnOffsets" | "manifold.manifold.booleans.subtract" | "manifold.manifold.booleans.trimByPlane" | "manifold.manifold.booleans.union" | "manifold.manifold.booleans.unionTwo" | "manifold.manifold.evaluate.boundingBox" | "manifold.manifold.evaluate.genus" | "manifold.manifold.evaluate.isEmpty" | "manifold.manifold.evaluate.minGap" | "manifold.manifold.evaluate.numEdge" | "manifold.manifold.evaluate.numProp" | "manifold.manifold.evaluate.numPropVert" | "manifold.manifold.evaluate.numTri" | "manifold.manifold.evaluate.numVert" | "manifold.manifold.evaluate.originalID" | "manifold.manifold.evaluate.rayCast" | "manifold.manifold.evaluate.status" | "manifold.manifold.evaluate.surfaceArea" | "manifold.manifold.evaluate.tolerance" | "manifold.manifold.evaluate.volume" | "manifold.manifold.manifoldsToMeshes" | "manifold.manifold.manifoldToMesh" | "manifold.manifold.operations.asOriginal" | "manifold.manifold.operations.calculateCurvature" | "manifold.manifold.operations.calculateNormals" | "manifold.manifold.operations.compose" | "manifold.manifold.operations.decompose" | "manifold.manifold.operations.hull" | "manifold.manifold.operations.hullPoints" | "manifold.manifold.operations.project" | "manifold.manifold.operations.refine" | "manifold.manifold.operations.refineToLength" | "manifold.manifold.operations.refineToTolerance" | "manifold.manifold.operations.reserveIds" | "manifold.manifold.operations.setTolerance" | "manifold.manifold.operations.simplify" | "manifold.manifold.operations.slice" | "manifold.manifold.operations.smoothByNormals" | "manifold.manifold.operations.smoothOut" | "manifold.manifold.shapes.cube" | "manifold.manifold.shapes.cylinder" | "manifold.manifold.shapes.fromPolygonPoints" | "manifold.manifold.shapes.manifoldFromMesh" | "manifold.manifold.shapes.sphere" | "manifold.manifold.shapes.tetrahedron" | "manifold.manifold.transforms.mirror" | "manifold.manifold.transforms.rotate" | "manifold.manifold.transforms.rotateXYZ" | "manifold.manifold.transforms.scale" | "manifold.manifold.transforms.scale3D" | "manifold.manifold.transforms.transform" | "manifold.manifold.transforms.transforms" | "manifold.manifold.transforms.translate" | "manifold.manifold.transforms.translateByVectors" | "manifold.manifold.transforms.translateXYZ" | "manifold.manifoldToMeshPointer" | "manifold.mesh.evaluate.backside" | "manifold.mesh.evaluate.extras" | "manifold.mesh.evaluate.hasNormals" | "manifold.mesh.evaluate.numProp" | "manifold.mesh.evaluate.numRun" | "manifold.mesh.evaluate.numTri" | "manifold.mesh.evaluate.numVert" | "manifold.mesh.evaluate.position" | "manifold.mesh.evaluate.tangent" | "manifold.mesh.evaluate.transform" | "manifold.mesh.evaluate.verts" | "manifold.mesh.operations.merge" | "manifold.recipes.build" | "manifold.recipes.meshes" | "manifold.recipes.surfaceMeshes" | "manifold.toPolygonPoints" | "math.abs" | "math.acos" | "math.add" | "math.asin" | "math.atan" | "math.ceil" | "math.clamp" | "math.cos" | "math.degToRad" | "math.divide" | "math.ease" | "math.evalArithmetic" | "math.exp" | "math.floor" | "math.fract" | "math.inverseLerp" | "math.lerp" | "math.ln" | "math.log10" | "math.modulus" | "math.moveTowards" | "math.multiply" | "math.negate" | "math.number" | "math.oneNrOperation" | "math.pi" | "math.pingPong" | "math.power" | "math.radToDeg" | "math.random" | "math.randomNumber" | "math.randomNumbers" | "math.remap" | "math.round" | "math.roundAndRemoveTrailingZeros" | "math.roundToDecimals" | "math.sign" | "math.sin" | "math.smoothstep" | "math.sqrt" | "math.subtract" | "math.tan" | "math.tenPow" | "math.toFixed" | "math.twoNrOperation" | "math.wrap" | "occt.analysis.clashes.betweenShapes" | "occt.analysis.clashes.facesWithin" | "occt.analysis.clashes.selfIntersections" | "occt.analysis.curves.closestPoints" | "occt.analysis.curves.curvatureComb" | "occt.analysis.curves.curvaturesAtLengths" | "occt.analysis.curves.curvaturesAtParams" | "occt.analysis.curves.curveType" | "occt.analysis.curves.extremesAlong" | "occt.analysis.curves.intersectCurves" | "occt.analysis.curves.intersectCurveWithFace" | "occt.analysis.curves.kinks" | "occt.analysis.measure.angleBetween" | "occt.analysis.measure.boundingBoxInFrame" | "occt.analysis.measure.dihedralAngle" | "occt.analysis.measure.extrema" | "occt.analysis.measure.minCurvatureRadius" | "occt.analysis.measure.orientedBoundingBox" | "occt.analysis.measure.principalFrame" | "occt.analysis.measure.tightBoundingBox" | "occt.analysis.signatures" | "occt.analysis.surfaces.closestPoints" | "occt.analysis.surfaces.curvaturesOnUVs" | "occt.analysis.surfaces.surfaceType" | "occt.assembly.manager.buildAssemblyDocument" | "occt.assembly.manager.combineStructure" | "occt.assembly.manager.createAssemblyNode" | "occt.assembly.manager.createImportedPart" | "occt.assembly.manager.createInstanceNode" | "occt.assembly.manager.createPart" | "occt.assembly.manager.createPartUpdate" | "occt.assembly.manager.deleteDocument" | "occt.assembly.manager.exportDocumentToGltf" | "occt.assembly.manager.exportDocumentToGltfWithDraco" | "occt.assembly.manager.exportDocumentToObj" | "occt.assembly.manager.exportDocumentToPly" | "occt.assembly.manager.exportDocumentToStep" | "occt.assembly.manager.loadGltfToDoc" | "occt.assembly.manager.loadObjToDoc" | "occt.assembly.manager.loadStepToDoc" | "occt.assembly.manager.setDocLabelColor" | "occt.assembly.manager.setDocLabelName" | "occt.assembly.query.getAssemblyHierarchy" | "occt.assembly.query.getDocumentParts" | "occt.assembly.query.getDocumentPmi" | "occt.assembly.query.getLabelColor" | "occt.assembly.query.getLabelInfo" | "occt.assembly.query.getLabelTransform" | "occt.assembly.query.getShapeFromLabel" | "occt.booleans.difference" | "occt.booleans.differenceWithHistory" | "occt.booleans.intersection" | "occt.booleans.intersectionWithHistory" | "occt.booleans.meshMeshIntersectionOfShapesPoints" | "occt.booleans.meshMeshIntersectionOfShapesWires" | "occt.booleans.meshMeshIntersectionPoints" | "occt.booleans.meshMeshIntersectionWires" | "occt.booleans.union" | "occt.booleans.unionWithHistory" | "occt.brepGraph.analyze" | "occt.brepGraph.assembly" | "occt.brepGraph.containment" | "occt.brepGraph.dump" | "occt.brepGraph.edgeFaceMap" | "occt.brepGraph.edgeInfo" | "occt.brepGraph.faceAdjacency" | "occt.brepGraph.faceInfo" | "occt.brepGraph.nodeOfShape" | "occt.brepGraph.reconstruct" | "occt.brepGraph.validate" | "occt.brepGraph.vertexEdgeMap" | "occt.brepGraph.wireInfo" | "occt.cleanAllCache" | "occt.corners.chamferCornerByPoint" | "occt.corners.classifyCornerByPoint" | "occt.corners.cornerByPointReport" | "occt.corners.filletCornerByPoint" | "occt.deleteShape" | "occt.deleteShapes" | "occt.design.build" | "occt.design.clashes" | "occt.design.validate" | "occt.design.versionOf" | "occt.dimensions.pinWithLabel" | "occt.dimensions.simpleAngularDimension" | "occt.dimensions.simpleLinearLengthDimension" | "occt.docToMesh" | "occt.docToMeshes" | "occt.draft.draftAngle" | "occt.draft.makeDraft" | "occt.draft.makeDraftToShape" | "occt.features.boss" | "occt.features.bossWithHistory" | "occt.features.counterboredHoles" | "occt.features.counterboredHolesWithHistory" | "occt.features.countersunkHoles" | "occt.features.countersunkHolesWithHistory" | "occt.features.groove" | "occt.features.holes" | "occt.features.holesWithHistory" | "occt.features.pocket" | "occt.features.pocketWithHistory" | "occt.features.pushPullFaces" | "occt.features.pushPullFacesWithHistory" | "occt.features.removeFaces" | "occt.features.removeFacesWithHistory" | "occt.features.revolvedBoss" | "occt.features.revolvedPocket" | "occt.features.rib" | "occt.features.taperedBoss" | "occt.features.taperedPocket" | "occt.fillets.chamfer2dVertices" | "occt.fillets.chamferEdgeDistAngle" | "occt.fillets.chamferEdges" | "occt.fillets.chamferEdgesDistAngle" | "occt.fillets.chamferEdgesDistsAngles" | "occt.fillets.chamferEdgesList" | "occt.fillets.chamferEdgesTwoDistances" | "occt.fillets.chamferEdgesTwoDistancesLists" | "occt.fillets.chamferEdgesWithHistory" | "occt.fillets.chamferEdgeTwoDistances" | "occt.fillets.fillet2d" | "occt.fillets.fillet2dShapes" | "occt.fillets.fillet3DWire" | "occt.fillets.fillet3DWires" | "occt.fillets.filletEdges" | "occt.fillets.filletEdgesList" | "occt.fillets.filletEdgesListOneRadius" | "occt.fillets.filletEdgesSameVariableRadius" | "occt.fillets.filletEdgesVariableRadius" | "occt.fillets.filletEdgesWithHistory" | "occt.fillets.filletEdgeVariableRadius" | "occt.fillets.filletTwoEdgesInPlaneIntoAWire" | "occt.geom.curves.geom2dEllipse" | "occt.geom.curves.geom2dSegment" | "occt.geom.curves.geom2dTrimmedCurve" | "occt.geom.curves.geomCircleCurve" | "occt.geom.curves.geomEllipseCurve" | "occt.geom.curves.get2dPointFrom2dCurveOnParam" | "occt.geom.surfaces.cylindricalSurface" | "occt.geom.surfaces.surfaceFromFace" | "occt.io.convertStepToGltf" | "occt.io.convertStepToGltfAdvanced" | "occt.io.convertStepToGltfAdvancedWithDraco" | "occt.io.convertStepToGltfWithDraco" | "occt.io.dxfCreate" | "occt.io.dxfPathsWithLayer" | "occt.io.loadBrep" | "occt.io.loadBrepBinary" | "occt.io.loadSTEPorIGES" | "occt.io.loadStl" | "occt.io.parseStepToJson" | "occt.io.saveShapeBrep" | "occt.io.saveShapeBrepAndReturn" | "occt.io.saveShapeBrepBinary" | "occt.io.saveShapeBrepBinaryAndReturn" | "occt.io.saveShapeObj" | "occt.io.saveShapeObjAndReturn" | "occt.io.saveShapePly" | "occt.io.saveShapePlyAndReturn" | "occt.io.saveShapeSTEP" | "occt.io.saveShapeSTEPAndReturn" | "occt.io.saveShapeStl" | "occt.io.saveShapeStlAndReturn" | "occt.io.saveShapeSvg" | "occt.io.saveShapeSvgAndReturn" | "occt.io.shapeToDxfPaths" | "occt.operations.boundingBoxCenterOfShape" | "occt.operations.boundingBoxMaxOfShape" | "occt.operations.boundingBoxMinOfShape" | "occt.operations.boundingBoxOfShape" | "occt.operations.boundingBoxShapeOfShape" | "occt.operations.boundingBoxSizeOfShape" | "occt.operations.boundingSphereCenterOfShape" | "occt.operations.boundingSphereOfShape" | "occt.operations.boundingSphereRadiusOfShape" | "occt.operations.boundingSphereShapeOfShape" | "occt.operations.closestPointsBetweenTwoShapes" | "occt.operations.closestPointsOnShapeFromPoints" | "occt.operations.closestPointsOnShapesFromPoints" | "occt.operations.distancesToShapeFromPoints" | "occt.operations.extrude" | "occt.operations.extrudeShapes" | "occt.operations.extrudeWithHistory" | "occt.operations.hiddenLines" | "occt.operations.loft" | "occt.operations.loftAdvanced" | "occt.operations.loftAdvancedWithHistory" | "occt.operations.loftWithHistory" | "occt.operations.makeThickSolidByJoin" | "occt.operations.makeThickSolidByJoinWithHistory" | "occt.operations.makeThickSolidSimple" | "occt.operations.makeThickSolidSimpleWithHistory" | "occt.operations.offset" | "occt.operations.offset3DWire" | "occt.operations.offsetAdv" | "occt.operations.pipe" | "occt.operations.pipePolylineWireNGon" | "occt.operations.pipeWireCylindrical" | "occt.operations.pipeWiresCylindrical" | "occt.operations.pipeWithHistory" | "occt.operations.pipeWithScaling" | "occt.operations.revolve" | "occt.operations.revolveWithHistory" | "occt.operations.rotatedExtrude" | "occt.operations.sectionWires" | "occt.operations.slice" | "occt.operations.sliceByFrames" | "occt.operations.sliceInStepPattern" | "occt.operations.splitByFrame" | "occt.operations.splitFaceByWires" | "occt.operations.splitShapeWithShapes" | "occt.operations.sweepEvolved" | "occt.path.shapeFromPath" | "occt.recipes.build" | "occt.recipes.buildDocument" | "occt.select.edges.along" | "occt.select.edges.between" | "occt.select.edges.byLength" | "occt.select.edges.byRadius" | "occt.select.edges.concave" | "occt.select.edges.convex" | "occt.select.edges.extreme" | "occt.select.edges.groupAlong" | "occt.select.edges.inBox" | "occt.select.edges.inSphere" | "occt.select.edges.nearest" | "occt.select.edges.ofFaces" | "occt.select.edges.ofType" | "occt.select.edges.onPlane" | "occt.select.edges.sortAlong" | "occt.select.edges.tangentChain" | "occt.select.faces.adjacentTo" | "occt.select.faces.byRadius" | "occt.select.faces.bySize" | "occt.select.faces.extreme" | "occt.select.faces.facing" | "occt.select.faces.groupAlong" | "occt.select.faces.inBox" | "occt.select.faces.inSphere" | "occt.select.faces.nearest" | "occt.select.faces.ofEdges" | "occt.select.faces.ofType" | "occt.select.faces.onPlane" | "occt.select.faces.sortAlong" | "occt.shapeFacesToPolygonPoints" | "occt.shapeFix.basicShapeRepair" | "occt.shapeFix.fixEdgeOrientationsAlongWire" | "occt.shapeFix.fixShell" | "occt.shapeFix.fixSmallEdgeOnWire" | "occt.shapeFix.fixSolid" | "occt.shapeFix.freeBoundaries" | "occt.shapeFix.isValid" | "occt.shapeFix.orientClosedSolid" | "occt.shapeFix.sewWithReport" | "occt.shapeFix.validityReport" | "occt.shapes.compound.getShapesOfCompound" | "occt.shapes.compound.makeCompound" | "occt.shapes.edge.arcFromCircleAndTwoAngles" | "occt.shapes.edge.arcFromCircleAndTwoPoints" | "occt.shapes.edge.arcFromCirclePointAndAngle" | "occt.shapes.edge.arcThroughThreePoints" | "occt.shapes.edge.arcThroughTwoPointsAndTangent" | "occt.shapes.edge.blendBetweenEdges" | "occt.shapes.edge.circlesTangentToThree" | "occt.shapes.edge.circlesTangentToTwoCenteredOn" | "occt.shapes.edge.circlesTangentToTwoWithRadius" | "occt.shapes.edge.constraintTanCirclesOnCircleAndPnt" | "occt.shapes.edge.constraintTanCirclesOnTwoCircles" | "occt.shapes.edge.constraintTanLinesFromPtToCircle" | "occt.shapes.edge.constraintTanLinesFromTwoPtsToCircle" | "occt.shapes.edge.constraintTanLinesOnTwoCircles" | "occt.shapes.edge.createCircleEdge" | "occt.shapes.edge.createEllipseEdge" | "occt.shapes.edge.debugInfo" | "occt.shapes.edge.divideEdgeByEqualDistanceToPoints" | "occt.shapes.edge.divideEdgeByParamsToPoints" | "occt.shapes.edge.divideEdgesByEqualDistanceToPoints" | "occt.shapes.edge.divideEdgesByParamsToPoints" | "occt.shapes.edge.edgesToPoints" | "occt.shapes.edge.endPointOnEdge" | "occt.shapes.edge.endPointsOnEdges" | "occt.shapes.edge.extendEdge" | "occt.shapes.edge.frameOnEdgeAtLength" | "occt.shapes.edge.frameOnEdgeAtParam" | "occt.shapes.edge.framesOnEdgeAtLengths" | "occt.shapes.edge.framesOnEdgeAtParams" | "occt.shapes.edge.fromBaseLine" | "occt.shapes.edge.fromBaseLines" | "occt.shapes.edge.fromBaseMesh" | "occt.shapes.edge.fromBasePolyline" | "occt.shapes.edge.fromBaseSegment" | "occt.shapes.edge.fromBaseSegments" | "occt.shapes.edge.fromBaseTriangle" | "occt.shapes.edge.fromPoints" | "occt.shapes.edge.getCircularEdgeCenterPoint" | "occt.shapes.edge.getCircularEdgePlaneDirection" | "occt.shapes.edge.getCircularEdgeRadius" | "occt.shapes.edge.getCircularEdgesAlongWire" | "occt.shapes.edge.getCornerPointsOfEdgesForShape" | "occt.shapes.edge.getEdge" | "occt.shapes.edge.getEdgeCenterOfMass" | "occt.shapes.edge.getEdgeLength" | "occt.shapes.edge.getEdgeLengthsOfShape" | "occt.shapes.edge.getEdges" | "occt.shapes.edge.getEdgesAlongWire" | "occt.shapes.edge.getEdgesCentersOfMass" | "occt.shapes.edge.getEdgesLengths" | "occt.shapes.edge.getLinearEdgesAlongWire" | "occt.shapes.edge.isEdgeCircular" | "occt.shapes.edge.isEdgeLinear" | "occt.shapes.edge.line" | "occt.shapes.edge.linesTangentAtAngle" | "occt.shapes.edge.linesTangentToTwo" | "occt.shapes.edge.makeEdgeFromGeom2dCurveAndSurface" | "occt.shapes.edge.moveEdgeSeamByLength" | "occt.shapes.edge.moveEdgeSeamByParameter" | "occt.shapes.edge.pointOnEdgeAtLength" | "occt.shapes.edge.pointOnEdgeAtParam" | "occt.shapes.edge.pointsOnEdgesAtLength" | "occt.shapes.edge.pointsOnEdgesAtParam" | "occt.shapes.edge.rebuildEdgeDegree" | "occt.shapes.edge.removeInternalEdges" | "occt.shapes.edge.reversedEdge" | "occt.shapes.edge.splitEdgeAtLengths" | "occt.shapes.edge.splitEdgeAtParams" | "occt.shapes.edge.startPointOnEdge" | "occt.shapes.edge.startPointsOnEdges" | "occt.shapes.edge.tangentOnEdgeAtLength" | "occt.shapes.edge.tangentOnEdgeAtParam" | "occt.shapes.edge.tangentsOnEdgesAtLength" | "occt.shapes.edge.tangentsOnEdgesAtParam" | "occt.shapes.face.boundaryPatch" | "occt.shapes.face.createChristmasTreeFace" | "occt.shapes.face.createCircleFace" | "occt.shapes.face.createEllipseFace" | "occt.shapes.face.createFaceFromMultipleCircleTanWireCollections" | "occt.shapes.face.createFaceFromMultipleCircleTanWires" | "occt.shapes.face.createFaceFromWire" | "occt.shapes.face.createFaceFromWireOnFace" | "occt.shapes.face.createFaceFromWires" | "occt.shapes.face.createFaceFromWiresOnFace" | "occt.shapes.face.createFacesFromWires" | "occt.shapes.face.createFacesFromWiresOnFace" | "occt.shapes.face.createHBeamProfileFace" | "occt.shapes.face.createHeartFace" | "occt.shapes.face.createIBeamProfileFace" | "occt.shapes.face.createLPolygonFace" | "occt.shapes.face.createNGonFace" | "occt.shapes.face.createParallelogramFace" | "occt.shapes.face.createPolygonFace" | "occt.shapes.face.createRectangleFace" | "occt.shapes.face.createSquareFace" | "occt.shapes.face.createStarFace" | "occt.shapes.face.createTBeamProfileFace" | "occt.shapes.face.createUBeamProfileFace" | "occt.shapes.face.debugInfo" | "occt.shapes.face.faceFromSurface" | "occt.shapes.face.faceFromSurfaceAndWire" | "occt.shapes.face.fillPatch" | "occt.shapes.face.filterFacePoints" | "occt.shapes.face.filterFacesPoints" | "occt.shapes.face.flipFaceUV" | "occt.shapes.face.frameNearestPoint" | "occt.shapes.face.frameOnUV" | "occt.shapes.face.framesNearestPoints" | "occt.shapes.face.framesOnUVs" | "occt.shapes.face.fromBaseMesh" | "occt.shapes.face.fromBaseTriangle" | "occt.shapes.face.fromPointGrid" | "occt.shapes.face.getFace" | "occt.shapes.face.getFaceArea" | "occt.shapes.face.getFaceCenterOfMass" | "occt.shapes.face.getFaces" | "occt.shapes.face.getFacesAreas" | "occt.shapes.face.getFacesCentersOfMass" | "occt.shapes.face.getUMaxBound" | "occt.shapes.face.getUMinBound" | "occt.shapes.face.getVMaxBound" | "occt.shapes.face.getVMinBound" | "occt.shapes.face.hexagonsInGrid" | "occt.shapes.face.isoCurves" | "occt.shapes.face.normalizeFaceParametrization" | "occt.shapes.face.normalOnUV" | "occt.shapes.face.normalsOnUVs" | "occt.shapes.face.pointOnUV" | "occt.shapes.face.pointsOnUVs" | "occt.shapes.face.rebuildFaceDegree" | "occt.shapes.face.reversedFace" | "occt.shapes.face.ruledBetween" | "occt.shapes.face.subdivideToFrames" | "occt.shapes.face.subdivideToHexagonHoles" | "occt.shapes.face.subdivideToHexagonWires" | "occt.shapes.face.subdivideToNormals" | "occt.shapes.face.subdivideToPoints" | "occt.shapes.face.subdivideToPointsControlled" | "occt.shapes.face.subdivideToPointsOnParam" | "occt.shapes.face.subdivideToRectangleHoles" | "occt.shapes.face.subdivideToRectangleWires" | "occt.shapes.face.subdivideToUV" | "occt.shapes.face.subdivideToWires" | "occt.shapes.face.unroll" | "occt.shapes.face.wireAlongParam" | "occt.shapes.face.wiresAlongParams" | "occt.shapes.shape.getOrientation" | "occt.shapes.shape.getShapeType" | "occt.shapes.shape.isChecked" | "occt.shapes.shape.isClosed" | "occt.shapes.shape.isConvex" | "occt.shapes.shape.isEqual" | "occt.shapes.shape.isFree" | "occt.shapes.shape.isInfinite" | "occt.shapes.shape.isLocked" | "occt.shapes.shape.isModified" | "occt.shapes.shape.isNotEqual" | "occt.shapes.shape.isNull" | "occt.shapes.shape.isPartner" | "occt.shapes.shape.isSame" | "occt.shapes.shape.purgeInternalEdges" | "occt.shapes.shape.unifySameDomain" | "occt.shapes.shell.debugInfo" | "occt.shapes.shell.getShellSurfaceArea" | "occt.shapes.shell.sewFaces" | "occt.shapes.solid.createBox" | "occt.shapes.solid.createBoxFromCorner" | "occt.shapes.solid.createChristmasTreeSolid" | "occt.shapes.solid.createCone" | "occt.shapes.solid.createCube" | "occt.shapes.solid.createCylinder" | "occt.shapes.solid.createCylindersOnLines" | "occt.shapes.solid.createHBeamProfileSolid" | "occt.shapes.solid.createHeartSolid" | "occt.shapes.solid.createIBeamProfileSolid" | "occt.shapes.solid.createLPolygonSolid" | "occt.shapes.solid.createNGonSolid" | "occt.shapes.solid.createParallelogramSolid" | "occt.shapes.solid.createSphere" | "occt.shapes.solid.createStarSolid" | "occt.shapes.solid.createTBeamProfileSolid" | "occt.shapes.solid.createTorus" | "occt.shapes.solid.createUBeamProfileSolid" | "occt.shapes.solid.debugInfo" | "occt.shapes.solid.filterSolidPoints" | "occt.shapes.solid.fromClosedShell" | "occt.shapes.solid.getSolidCenterOfMass" | "occt.shapes.solid.getSolids" | "occt.shapes.solid.getSolidsCentersOfMass" | "occt.shapes.solid.getSolidSurfaceArea" | "occt.shapes.solid.getSolidsVolumes" | "occt.shapes.solid.getSolidVolume" | "occt.shapes.vertex.getVertices" | "occt.shapes.vertex.getVerticesAsPoints" | "occt.shapes.vertex.projectPoints" | "occt.shapes.vertex.vertexFromPoint" | "occt.shapes.vertex.vertexFromXYZ" | "occt.shapes.vertex.vertexToPoint" | "occt.shapes.vertex.verticesCompoundFromPoints" | "occt.shapes.vertex.verticesFromPoints" | "occt.shapes.vertex.verticesToPoints" | "occt.shapes.wire.addEdgesAndWiresToWire" | "occt.shapes.wire.closeOpenWire" | "occt.shapes.wire.combineEdgesAndWiresIntoAWire" | "occt.shapes.wire.createBezier" | "occt.shapes.wire.createBezierWeights" | "occt.shapes.wire.createBezierWires" | "occt.shapes.wire.createBSpline" | "occt.shapes.wire.createBSplines" | "occt.shapes.wire.createChristmasTreeWire" | "occt.shapes.wire.createCircleWire" | "occt.shapes.wire.createEllipseWire" | "occt.shapes.wire.createFlatSpiralWire" | "occt.shapes.wire.createHBeamProfileWire" | "occt.shapes.wire.createHeartWire" | "occt.shapes.wire.createHelixWire" | "occt.shapes.wire.createHelixWireByTurns" | "occt.shapes.wire.createIBeamProfileWire" | "occt.shapes.wire.createLines" | "occt.shapes.wire.createLineWire" | "occt.shapes.wire.createLineWireWithExtensions" | "occt.shapes.wire.createLPolygonWire" | "occt.shapes.wire.createNGonWire" | "occt.shapes.wire.createParallelogramWire" | "occt.shapes.wire.createPolygons" | "occt.shapes.wire.createPolygonWire" | "occt.shapes.wire.createPolylines" | "occt.shapes.wire.createPolylineWire" | "occt.shapes.wire.createRectangleWire" | "occt.shapes.wire.createSquareWire" | "occt.shapes.wire.createStarWire" | "occt.shapes.wire.createTaperedHelixWire" | "occt.shapes.wire.createTBeamProfileWire" | "occt.shapes.wire.createUBeamProfileWire" | "occt.shapes.wire.createWireFromEdge" | "occt.shapes.wire.createWireFromTwoCirclesTan" | "occt.shapes.wire.createWiresBetweenStartEndPointsOfWiresAndEdges" | "occt.shapes.wire.createWiresBetweenSubdividedPointsOfWiresAndEdges" | "occt.shapes.wire.createZigZagBetweenTwoWires" | "occt.shapes.wire.debugInfo" | "occt.shapes.wire.derivativesOnWireAtLength" | "occt.shapes.wire.derivativesOnWireAtParam" | "occt.shapes.wire.divideWireByEqualDistanceToPoints" | "occt.shapes.wire.divideWireByParamsToPoints" | "occt.shapes.wire.divideWiresByEqualDistanceToPoints" | "occt.shapes.wire.divideWiresByParamsToPoints" | "occt.shapes.wire.endPointOnWire" | "occt.shapes.wire.frameOnWireAtLength" | "occt.shapes.wire.frameOnWireAtParam" | "occt.shapes.wire.framesAlongWire" | "occt.shapes.wire.framesOnWireAtLengths" | "occt.shapes.wire.framesOnWireAtParams" | "occt.shapes.wire.fromBaseLine" | "occt.shapes.wire.fromBaseLines" | "occt.shapes.wire.fromBaseMesh" | "occt.shapes.wire.fromBasePolyline" | "occt.shapes.wire.fromBaseSegment" | "occt.shapes.wire.fromBaseSegments" | "occt.shapes.wire.fromBaseTriangle" | "occt.shapes.wire.fromPoints" | "occt.shapes.wire.getWire" | "occt.shapes.wire.getWireCenterOfMass" | "occt.shapes.wire.getWireLength" | "occt.shapes.wire.getWires" | "occt.shapes.wire.getWiresCentersOfMass" | "occt.shapes.wire.getWiresLengths" | "occt.shapes.wire.hexagonsInGrid" | "occt.shapes.wire.interpolatePoints" | "occt.shapes.wire.interpolatePointsSymmetric" | "occt.shapes.wire.interpolateWires" | "occt.shapes.wire.isWireClosed" | "occt.shapes.wire.midPointOnWire" | "occt.shapes.wire.moveWireSeamByLength" | "occt.shapes.wire.moveWireSeamByParameter" | "occt.shapes.wire.offsetOpen" | "occt.shapes.wire.placeWireOnFace" | "occt.shapes.wire.placeWiresOnFace" | "occt.shapes.wire.pointOnWireAtLength" | "occt.shapes.wire.pointOnWireAtParam" | "occt.shapes.wire.pointsOnWireAtEqualLength" | "occt.shapes.wire.pointsOnWireAtLengths" | "occt.shapes.wire.pointsOnWireAtPatternOfLengths" | "occt.shapes.wire.project" | "occt.shapes.wire.projectConical" | "occt.shapes.wire.projectNormal" | "occt.shapes.wire.projectWires" | "occt.shapes.wire.rebuildWireDegree" | "occt.shapes.wire.reversedWire" | "occt.shapes.wire.reversedWireFromReversedEdges" | "occt.shapes.wire.splitOnPoints" | "occt.shapes.wire.splitWireAtLengths" | "occt.shapes.wire.splitWireAtParams" | "occt.shapes.wire.startPointOnWire" | "occt.shapes.wire.tangentOnWireAtLength" | "occt.shapes.wire.tangentOnWireAtParam" | "occt.shapes.wire.textWires" | "occt.shapes.wire.textWiresWithData" | "occt.shapes.wire.wiresToPoints" | "occt.shapes.wire.wrapWiresOnFace" | "occt.shapesToMeshes" | "occt.shapeToManifoldMesh" | "occt.shapeToMesh" | "occt.sketch.commands.bulgeArc" | "occt.sketch.commands.chamferCorner" | "occt.sketch.commands.close" | "occt.sketch.commands.cubic" | "occt.sketch.commands.filletCorner" | "occt.sketch.commands.hLine" | "occt.sketch.commands.line" | "occt.sketch.commands.polarLine" | "occt.sketch.commands.quadratic" | "occt.sketch.commands.sagittaArc" | "occt.sketch.commands.tangentArc" | "occt.sketch.commands.tangentLine" | "occt.sketch.commands.threePointArc" | "occt.sketch.commands.vLine" | "occt.sketch.hull" | "occt.sketch.pen" | "occt.sketch.penWithSegments" | "occt.sketch.stroke" | "occt.svg.loadSVG" | "occt.svg.loadSVGStructured" | "occt.transforms.align" | "occt.transforms.alignAndTranslate" | "occt.transforms.alignAndTranslateShapes" | "occt.transforms.alignNormAndAxis" | "occt.transforms.alignShapes" | "occt.transforms.composeTransform" | "occt.transforms.getShapeTransform" | "occt.transforms.identityTransform" | "occt.transforms.invertTransform" | "occt.transforms.mirror" | "occt.transforms.mirrorAboutPoint" | "occt.transforms.mirrorAlongNormal" | "occt.transforms.mirrorAlongNormalShapes" | "occt.transforms.mirrorAxisToMatrix" | "occt.transforms.mirrorPlaneToMatrix" | "occt.transforms.mirrorPointToMatrix" | "occt.transforms.mirrorShapes" | "occt.transforms.multiplyTransforms" | "occt.transforms.orient" | "occt.transforms.placeByMatrices" | "occt.transforms.placeOnFrames" | "occt.transforms.quaternionToMatrix" | "occt.transforms.rotate" | "occt.transforms.rotateAroundCenter" | "occt.transforms.rotateAroundCenterShapes" | "occt.transforms.rotateByQuaternion" | "occt.transforms.rotateShapes" | "occt.transforms.rotationAxisAngleToMatrix" | "occt.transforms.scale" | "occt.transforms.scale3d" | "occt.transforms.scale3dShapes" | "occt.transforms.scaleFromCenter" | "occt.transforms.scaleShapes" | "occt.transforms.scaleUniformToMatrix" | "occt.transforms.transform" | "occt.transforms.transformByMatrix" | "occt.transforms.transformShapes" | "occt.transforms.transformShapesByMatrix" | "occt.transforms.translate" | "occt.transforms.translateShapes" | "occt.transforms.translationToMatrix" | "occtPro.sheetMetal.unfoldFaceReport" | "occtPro.sheetMetal.unfoldFaceToFlat" | "occtPro.sheetMetal.unfoldSolidReport" | "occtPro.sheetMetal.unfoldSolidToFlat" | "point.arcThroughThreePoints" | "point.averagePoint" | "point.boundingBoxOfPoints" | "point.closestPointFromPoints" | "point.closestPointFromPointsDistance" | "point.closestPointFromPointsIndex" | "point.distance" | "point.distancesToPoints" | "point.getX" | "point.getY" | "point.getZ" | "point.hexGrid" | "point.hexGridScaledToFit" | "point.maxFilletRadius" | "point.maxFilletRadiusHalfLine" | "point.maxFilletsHalfLine" | "point.multiplyPoint" | "point.normalFromThreePoints" | "point.pointXY" | "point.pointXYZ" | "point.removeConsecutiveDuplicates" | "point.rotatePointsCenterAxis" | "point.safestPointsMaxFilletHalfLine" | "point.scalePointsCenterXYZ" | "point.sortPoints" | "point.spiral" | "point.stretchPointsDirFromCenter" | "point.transformPoint" | "point.transformPoints" | "point.transformsForPoints" | "point.translatePoints" | "point.translatePointsWithVectors" | "point.translateXYZPoints" | "point.twoPointsAlmostEqual" | "polyline.countPoints" | "polyline.create" | "polyline.getPoints" | "polyline.length" | "polyline.maxFilletsHalfLine" | "polyline.polygonArea" | "polyline.polygonNormal" | "polyline.polylineSelfIntersection" | "polyline.polylineToLines" | "polyline.polylineToSegments" | "polyline.reverse" | "polyline.safestFilletRadius" | "polyline.sortSegmentsIntoPolylines" | "polyline.transformPolyline" | "polyline.twoPolylineIntersection" | "text.charAt" | "text.concat" | "text.create" | "text.endsWith" | "text.format" | "text.includes" | "text.indexOf" | "text.isEmpty" | "text.join" | "text.lastIndexOf" | "text.length" | "text.padEnd" | "text.padStart" | "text.regexMatch" | "text.regexReplace" | "text.regexSearch" | "text.regexSplit" | "text.regexTest" | "text.repeat" | "text.replaceAll" | "text.reverse" | "text.slice" | "text.split" | "text.startsWith" | "text.substring" | "text.toLowerCase" | "text.toLowerCaseFirst" | "text.toString" | "text.toStringEach" | "text.toUpperCase" | "text.toUpperCaseFirst" | "text.trim" | "text.trimEnd" | "text.trimStart" | "text.vectorChar" | "text.vectorText" | "vector.add" | "vector.addAll" | "vector.all" | "vector.angleBetween" | "vector.angleBetweenNormalized2d" | "vector.cross" | "vector.dist" | "vector.distSquared" | "vector.div" | "vector.domain" | "vector.dot" | "vector.finite" | "vector.isZero" | "vector.length" | "vector.lengthSq" | "vector.lerp" | "vector.max" | "vector.min" | "vector.mul" | "vector.neg" | "vector.norm" | "vector.normalized" | "vector.normSquared" | "vector.onRay" | "vector.parseNumbers" | "vector.positiveAngleBetween" | "vector.range" | "vector.removeAllDuplicateVectors" | "vector.removeConsecutiveDuplicateVectors" | "vector.signedAngleBetween" | "vector.span" | "vector.spanEaseItems" | "vector.spanLinearItems" | "vector.sub" | "vector.sum" | "vector.vectorsTheSame" | "vector.vectorXY" | "vector.vectorXYZ";
3
3
  /** Pipeline reference string (e.g. "$ref:0", "$file:0", "$item", "$index", "$prev", "$local:0", "$mapResult"). */
4
4
  export type PipelineRef = `$ref:${number}` | `$file:${number}` | `$file:${number}:${string}` | "$item" | "$index" | "$prev" | `$local:${number}` | "$mapResult";
5
5
  /** Maps each operation path to its typed parameters. */
@@ -2931,6 +2931,26 @@ export interface OperationParams {
2931
2931
  /** The cross-section to work on; it is not changed. */
2932
2932
  crossSection: unknown | PipelineRef;
2933
2933
  };
2934
+ /**
2935
+ * Joins cross-sections placed by frames into a solid, each section to the next by straight
2936
+ * sides, closed at both ends: a taper from one outline to another, or one outline through many
2937
+ * frames.
2938
+ *
2939
+ * Corner `i` of a section joins corner `i` of the next, so differing sections need matching loops;
2940
+ * frames move the sections apart, mirroring all or none.
2941
+ */
2942
+ "manifold.crossSection.operations.loft": {
2943
+ /**
2944
+ * One cross-section, placed by every frame, or one for each frame. Cross-sections that differ
2945
+ * need as many loops with as many corners each, as a moved or scaled copy has.
2946
+ */
2947
+ crossSections: unknown[] | PipelineRef;
2948
+ /**
2949
+ * Where each section stands, at least two: sixteen numbers in column-major order that place the
2950
+ * cross-section's XY plane, with 0, 0, 0, 1 as the bottom row.
2951
+ */
2952
+ frames: unknown[] | PipelineRef;
2953
+ };
2934
2954
  /**
2935
2955
  * Moves the outline of a cross-section outward by `delta`, or inward for a negative delta, so
2936
2956
  * an outer contour grows and a hole shrinks.
@@ -2991,6 +3011,31 @@ export interface OperationParams {
2991
3011
  /** Points closer than this, in model units, to the line between their neighbors are dropped. */
2992
3012
  epsilon?: number | PipelineRef;
2993
3013
  };
3014
+ /**
3015
+ * Carries a cross-section along a path of points into a solid, square to the path at every
3016
+ * point and turning with it without twisting, like a pipe, a rail or a cable.
3017
+ *
3018
+ * Sharp corners are mitred so the solid keeps its width; `cornerRadius` rounds them instead.
3019
+ * `xDirection` sets where the profile's X axis points at the start.
3020
+ */
3021
+ "manifold.crossSection.operations.sweep": {
3022
+ /** The profile to carry, drawn around the origin of its XY plane, which follows the path. */
3023
+ crossSection: unknown | PipelineRef;
3024
+ /** The points the path runs through, at least two. */
3025
+ path: [number, number, number][] | PipelineRef;
3026
+ /**
3027
+ * How much the path's corners are rounded; 0 keeps them sharp, mitred so the solid keeps its
3028
+ * width.
3029
+ */
3030
+ cornerRadius?: number | PipelineRef;
3031
+ /** How many segments a whole turn of a rounded corner is divided into; more is rounder. */
3032
+ circularSegments?: number | PipelineRef;
3033
+ /**
3034
+ * Where the profile's X axis points at the start of the path, turned square to it; left out,
3035
+ * one is chosen. The profile then follows the path's turns without twisting.
3036
+ */
3037
+ xDirection?: [number, number, number] | PipelineRef;
3038
+ };
2994
3039
  /**
2995
3040
  * Creates a circular cross-section of the given radius, centered on the origin and drawn with
2996
3041
  * `circularSegments` straight sides.
@@ -3103,14 +3148,19 @@ export interface OperationParams {
3103
3148
  * Turns a solid into plain mesh data, or a cross-section into its polygons, ready for drawing
3104
3149
  * or export.
3105
3150
  *
3106
- * `normalIdx` names the vertex property channel that holds normals, when the solid carries
3107
- * them.
3151
+ * `normalIdx` names the channel holding normals the solid carries. With `minSharpAngle`, normals
3152
+ * follow each position, smooth across flatter edges and split across sharper ones.
3108
3153
  */
3109
3154
  "manifold.decomposeManifoldOrCrossSection": {
3110
3155
  /** The solid or cross-section to turn into plain data. */
3111
3156
  manifoldOrCrossSection: unknown | PipelineRef;
3112
3157
  /** The property channel holding the normals of a solid, when it carries them. */
3113
3158
  normalIdx?: number | PipelineRef;
3159
+ /**
3160
+ * When given, a solid's mesh carries normals after its positions, and edges sharper than this,
3161
+ * in degrees, keep a normal on each side; 0 shades every face flat.
3162
+ */
3163
+ minSharpAngle?: number | PipelineRef;
3114
3164
  };
3115
3165
  /**
3116
3166
  * Turns several solids into mesh data, or cross-sections into polygons, as
@@ -3123,6 +3173,11 @@ export interface OperationParams {
3123
3173
  manifoldsOrCrossSections: unknown[] | PipelineRef;
3124
3174
  /** One normal channel per shape, for the solids that carry normals. */
3125
3175
  normalIdx?: number[] | PipelineRef;
3176
+ /**
3177
+ * When given, each solid's mesh carries normals after its positions, and edges sharper than
3178
+ * this, in degrees, keep a normal on each side; 0 shades every face flat.
3179
+ */
3180
+ minSharpAngle?: number | PipelineRef;
3126
3181
  };
3127
3182
  /**
3128
3183
  * Frees the memory a solid or a cross-section holds inside the kernel; the object cannot be
@@ -3951,6 +4006,87 @@ export interface OperationParams {
3951
4006
  /** The mesh data, as `manifoldToMesh` hands it out. */
3952
4007
  mesh: unknown | PipelineRef;
3953
4008
  };
4009
+ /**
4010
+ * Builds each root of a recipe as a solid placed by its matrix, in root order.
4011
+ *
4012
+ * Shared nodes are built once. An invalid recipe throws before anything is built; a root the
4013
+ * kernel cannot build, such as an open mesh, throws naming its node unless `emptyWhenFailed` is
4014
+ * set. Circles get `circularSegments` sides; `tolerance` and `millimetresPerUnit` are not applied.
4015
+ */
4016
+ "manifold.recipes.build": {
4017
+ /**
4018
+ * The recipe: steps such as polygons, extrusions and cuts, and the roots to build from them, as
4019
+ * a package that describes geometry as data writes it.
4020
+ */
4021
+ recipe: unknown | PipelineRef;
4022
+ /**
4023
+ * How many flat sides each circle of the recipe is divided into; more is rounder. The recipe
4024
+ * leaves this to the kernel, so it is chosen here.
4025
+ */
4026
+ circularSegments?: number | PipelineRef;
4027
+ /**
4028
+ * When true, each solid turns a quarter turn about X so the recipe's Z points along Y, which is
4029
+ * up when drawn: `(x, y, z)` becomes `(x, z, -y)`.
4030
+ */
4031
+ adjustZtoY?: boolean | PipelineRef;
4032
+ /**
4033
+ * When true, a root that cannot be built, such as an open mesh, comes back empty, and an
4034
+ * opening that cannot is left uncut; when false, both stop the build.
4035
+ */
4036
+ emptyWhenFailed?: boolean | PipelineRef;
4037
+ };
4038
+ /**
4039
+ * Builds a recipe into the meshes its roots draw, each step several roots place meshed once in
4040
+ * its own coordinates, and gives every root a placement: its mesh, its matrix and its tag.
4041
+ *
4042
+ * Turns and moves fold into the placements, so a door type placed a hundred times is one mesh;
4043
+ * normals split at edges sharper than `minSharpAngle`.
4044
+ */
4045
+ "manifold.recipes.meshes": {
4046
+ /**
4047
+ * The recipe: steps such as polygons, extrusions and cuts, and the roots to draw from them, as
4048
+ * a package that describes geometry as data writes it.
4049
+ */
4050
+ recipe: unknown | PipelineRef;
4051
+ /** How many flat sides each circle of the recipe is divided into; more is rounder. */
4052
+ circularSegments?: number | PipelineRef;
4053
+ /**
4054
+ * When true, every placement turns a quarter turn about X so the recipe's Z points along Y,
4055
+ * which is up when drawn: `(x, y, z)` becomes `(x, z, -y)`.
4056
+ */
4057
+ adjustZtoY?: boolean | PipelineRef;
4058
+ /**
4059
+ * When true, a root that cannot be built draws as its surface if it is triangles alone, else
4060
+ * draws nothing; when false, it stops the build.
4061
+ */
4062
+ emptyWhenFailed?: boolean | PipelineRef;
4063
+ /** Edges sharper than this, in degrees, keep a normal on each side; 0 shades every face flat. */
4064
+ minSharpAngle?: number | PipelineRef;
4065
+ };
4066
+ /**
4067
+ * Gives the roots of a recipe made of triangle meshes alone as meshes, placed as `build` places
4068
+ * its solids, without building anything.
4069
+ *
4070
+ * `build` gives an open mesh back empty, since it cannot be a solid; this gives it as the surface
4071
+ * it is, its openings left uncut. A root holding any other step comes back as an empty mesh.
4072
+ */
4073
+ "manifold.recipes.surfaceMeshes": {
4074
+ /**
4075
+ * The recipe: steps such as polygons, extrusions and triangle meshes, and the roots to build
4076
+ * from them, as a package that describes geometry as data writes it.
4077
+ */
4078
+ recipe: unknown | PipelineRef;
4079
+ /**
4080
+ * The positions of the roots to read, such as the ones `recipes.build` gave back empty; every
4081
+ * root when left out.
4082
+ */
4083
+ roots?: number[] | PipelineRef;
4084
+ /**
4085
+ * When true, each mesh turns a quarter turn about X so the recipe's Z points along Y, as
4086
+ * `recipes.build` turns its solids: `(x, y, z)` becomes `(x, z, -y)`.
4087
+ */
4088
+ adjustZtoY?: boolean | PipelineRef;
4089
+ };
3954
4090
  /**
3955
4091
  * Turns a solid into a list of triangles, each three points, the same form
3956
4092
  * `shapes.fromPolygonPoints` reads back.
@@ -4779,6 +4915,17 @@ export interface OperationParams {
4779
4915
  /** The shape to work on; it is not changed. */
4780
4916
  shape: unknown | PipelineRef;
4781
4917
  };
4918
+ /**
4919
+ * Describes every face and edge of a shape in one pass: each face's surface kind, area, centre,
4920
+ * outward normal and box, and each edge's curve kind, length, midpoint and direction there.
4921
+ *
4922
+ * The numbering and the measures are the selectors' own, so a kept description finds the same
4923
+ * face again after a rebuild.
4924
+ */
4925
+ "occt.analysis.signatures": {
4926
+ /** The shape to work on; it is not changed. */
4927
+ shape: unknown | PipelineRef;
4928
+ };
4782
4929
  /**
4783
4930
  * Finds the point of a face nearest each given point, with its (u, v) and the face's normal there.
4784
4931
  *
@@ -4823,10 +4970,10 @@ export interface OperationParams {
4823
4970
  * Builds an assembly document from a structure, or applies the structure to an existing
4824
4971
  * document.
4825
4972
  *
4826
- * With `existingDocument` the labels in `removals` are dropped first, the `partUpdates`
4827
- * applied, then the new parts and nodes added; a structure with neither clears the document
4828
- * unless `clearDocument` is false. `sourceDocuments` supplies the documents imported parts copy
4829
- * from. The document stays in memory until deleted.
4973
+ * With `existingDocument`, `removals` go first, then `partUpdates`, then new parts and nodes;
4974
+ * with neither, the document is cleared unless `clearDocument` is false. `sourceDocuments` feeds
4975
+ * imported parts; a placed root assembly goes under a top "Assembly". The document stays in
4976
+ * memory until deleted.
4830
4977
  */
4831
4978
  "occt.assembly.manager.buildAssemblyDocument": {
4832
4979
  /** The parts, nodes and updates to build, from `combineStructure`. */
@@ -5044,6 +5191,11 @@ export interface OperationParams {
5044
5191
  mergeFaces?: boolean | PipelineRef;
5045
5192
  /** When true, texture coordinates are written even for meshes without textures. */
5046
5193
  forceUVExport?: boolean | PipelineRef;
5194
+ /**
5195
+ * Which axis points up in the document. A z-up document is turned so that z becomes glTF's y;
5196
+ * a y-up one is written as it is.
5197
+ */
5198
+ up?: "y" | "z" | PipelineRef;
5047
5199
  /** The name the downloaded file gets; it should end in `.glb`. */
5048
5200
  fileName?: string | PipelineRef;
5049
5201
  /**
@@ -5087,6 +5239,11 @@ export interface OperationParams {
5087
5239
  mergeFaces?: boolean | PipelineRef;
5088
5240
  /** When true, texture coordinates are written even for meshes without textures. */
5089
5241
  forceUVExport?: boolean | PipelineRef;
5242
+ /**
5243
+ * Which axis points up in the document. A z-up document is turned so that z becomes glTF's y;
5244
+ * a y-up one is written as it is.
5245
+ */
5246
+ up?: "y" | "z" | PipelineRef;
5090
5247
  /** The name the downloaded file gets; it should end in `.glb`. */
5091
5248
  fileName?: string | PipelineRef;
5092
5249
  /**
@@ -5401,6 +5558,21 @@ export interface OperationParams {
5401
5558
  */
5402
5559
  keepEdges?: boolean | PipelineRef;
5403
5560
  };
5561
+ /**
5562
+ * Intersects shapes as `intersection` does, and reports what became of every shape's faces,
5563
+ * edges and vertices, in the order given, as indexes into the compound it returns.
5564
+ *
5565
+ * A shape that does not touch the first adds no piece and maps to nothing.
5566
+ */
5567
+ "occt.booleans.intersectionWithHistory": {
5568
+ /** The shapes; the first is intersected with every other one in turn. */
5569
+ shapes: unknown[] | PipelineRef;
5570
+ /**
5571
+ * When false, faces on one surface are merged and their seams removed; when true every edge
5572
+ * stays.
5573
+ */
5574
+ keepEdges?: boolean | PipelineRef;
5575
+ };
5404
5576
  /**
5405
5577
  * Finds where the surface of one shape crosses the surfaces of several others by triangulating
5406
5578
  * them all and intersecting the triangles, and returns the crossing lines as lists of points.
@@ -5801,6 +5973,131 @@ export interface OperationParams {
5801
5973
  /** The shapes to work on, in the order the results should come back. */
5802
5974
  shapes: unknown[] | PipelineRef;
5803
5975
  };
5976
+ /**
5977
+ * Builds the parts of a design document, with a configuration's values and then `parameters`
5978
+ * replacing the document's own.
5979
+ *
5980
+ * A document `validate` faults is refused. A failed feature is reported and what uses it
5981
+ * skipped; unchanged features are reused. `structure` exports the parts to STEP and glTF through
5982
+ * `assembly.manager.buildAssemblyDocument`; an assembly adds components and a bill of materials.
5983
+ */
5984
+ "occt.design.build": {
5985
+ /**
5986
+ * The document: a part document with its `parameters`, `features` and `parts`, or an assembly
5987
+ * document with its `components`.
5988
+ */
5989
+ document: unknown | PipelineRef;
5990
+ /**
5991
+ * The id of one of the document's `configurations`, whose values replace the parameters' own;
5992
+ * left out or empty, none is used.
5993
+ */
5994
+ configuration?: string | PipelineRef;
5995
+ /**
5996
+ * Values that replace the parameters of the same names after the configuration's, each read as
5997
+ * the parameter's own value is, such as `{ width: 40 }`.
5998
+ */
5999
+ parameters?: unknown | PipelineRef;
6000
+ /**
6001
+ * The contents of the document's `assets` by asset id, as text or bytes, for the features that
6002
+ * import them; each is checked against the SHA-256 the document records.
6003
+ */
6004
+ assets?: unknown | PipelineRef;
6005
+ /** The documents an assembly's components place, each with the `id` they name it by. */
6006
+ documents?: unknown[] | PipelineRef;
6007
+ /**
6008
+ * When a hinted reference loses its faces: `never` fails and offers the faces most like its hint
6009
+ * as repairs; `report` takes them, if they stand clear, and reports `rebound`.
6010
+ */
6011
+ rebind?: "never" | "report" | PipelineRef;
6012
+ /**
6013
+ * Outcomes the caller made for features the build lists as `pending`, such as scripts, or kept from an
6014
+ * earlier build, each under the hash of the feature it is for; the build takes them instead of
6015
+ * making those features.
6016
+ */
6017
+ outcomes?: unknown[] | PipelineRef;
6018
+ /**
6019
+ * Whether a part document's build also lists its `sketches`: each one's outline, the frame it was
6020
+ * drawn in and the command that drew each edge, for editors that draw and edit sketches.
6021
+ */
6022
+ sketches?: boolean | PipelineRef;
6023
+ };
6024
+ /**
6025
+ * Finds the placed parts of a design build that overlap, touch or come within `clearance` of each
6026
+ * other, such as a sleeve that runs into the arm it slides on.
6027
+ *
6028
+ * The document is built as `build` builds it and every part placement is checked against every
6029
+ * other in place. Two components a joint holds together are expected to touch, so a touch between
6030
+ * them is left out and an overlap is listed with `joined` true. A part document's parts are checked
6031
+ * where they were built.
6032
+ */
6033
+ "occt.design.clashes": {
6034
+ /**
6035
+ * The document: an assembly document with its `components`, or a part document whose parts are
6036
+ * checked where they were built.
6037
+ */
6038
+ document: unknown | PipelineRef;
6039
+ /** The documents an assembly's components place, each with the `id` they name it by. */
6040
+ documents?: unknown[] | PipelineRef;
6041
+ /**
6042
+ * The id of one of the document's `configurations`, whose values replace the parameters' own;
6043
+ * left out or empty, none is used.
6044
+ */
6045
+ configuration?: string | PipelineRef;
6046
+ /**
6047
+ * Values that replace the parameters of the same names after the configuration's, each read as
6048
+ * the parameter's own value is, such as `{ width: 40 }`.
6049
+ */
6050
+ parameters?: unknown | PipelineRef;
6051
+ /**
6052
+ * The contents of the document's `assets` by asset id, as text or bytes, for the features that
6053
+ * import them.
6054
+ */
6055
+ assets?: unknown | PipelineRef;
6056
+ /**
6057
+ * How close two placed parts may come before they clash; 0 reports only parts that touch or
6058
+ * overlap.
6059
+ */
6060
+ clearance?: number | PipelineRef;
6061
+ };
6062
+ /**
6063
+ * Checks a design document without building it and lists every problem found.
6064
+ *
6065
+ * Each problem carries the JSON pointer of the value it is about, such as `/features/2/radius`,
6066
+ * and a message. An assembly is checked with the `documents` it places, whose problems come
6067
+ * under their position, such as `/documents/2`. Undefined properties and bad expressions count.
6068
+ */
6069
+ "occt.design.validate": {
6070
+ /**
6071
+ * The document: a part document with its `parameters`, `features` and `parts`, or an assembly
6072
+ * document with its `components`.
6073
+ */
6074
+ document: unknown | PipelineRef;
6075
+ /**
6076
+ * The documents an assembly's components place, each with the `id` they name it by; their
6077
+ * problems are listed under their position, such as `/documents/2`.
6078
+ */
6079
+ documents?: unknown[] | PipelineRef;
6080
+ };
6081
+ /**
6082
+ * Works out the version of a design document, the value a component's `version` pins its source
6083
+ * with.
6084
+ *
6085
+ * The version is the SHA-256 of the document's canonical JSON (RFC 8785) without what only
6086
+ * editors and tools read, such as `meta` but its name, `extras`, labels, descriptions and
6087
+ * reference hints, so editing those keeps it.
6088
+ */
6089
+ "occt.design.versionOf": {
6090
+ /**
6091
+ * The document: a part document with its `parameters`, `features` and `parts`, or an assembly
6092
+ * document with its `components`.
6093
+ */
6094
+ document: unknown | PipelineRef;
6095
+ /**
6096
+ * The documents an assembly's components place, each with the `id` they name it by; their
6097
+ * problems are listed under their position, such as `/documents/2`.
6098
+ */
6099
+ documents?: unknown[] | PipelineRef;
6100
+ };
5804
6101
  /**
5805
6102
  * Draws a pin, a line from a start point to an end point with a text label at the end, for
5806
6103
  * pointing at a spot on a model and naming it.
@@ -5961,6 +6258,16 @@ export interface OperationParams {
5961
6258
  * with more triangles.
5962
6259
  */
5963
6260
  precision?: number | PipelineRef;
6261
+ /**
6262
+ * The largest angle, in radians, a curved face may turn between neighbouring triangles; smaller
6263
+ * follows curvature more closely with more triangles.
6264
+ */
6265
+ angularDeflection?: number | PipelineRef;
6266
+ /**
6267
+ * When true, `precision` is a fraction of each edge's and face's size instead of model units, so
6268
+ * small and large parts get triangles in proportion to their size.
6269
+ */
6270
+ relativeDeflection?: boolean | PipelineRef;
5964
6271
  /**
5965
6272
  * When true, the mesh is turned so this library's Y-up becomes Z-up, for tools that treat Z as
5966
6273
  * up.
@@ -5972,18 +6279,18 @@ export interface OperationParams {
5972
6279
  */
5973
6280
  computeMetadata?: boolean | PipelineRef;
5974
6281
  /**
5975
- * When true, the triangulation stays cached on the shapes; when false it is cleared afterwards
5976
- * so memory does not grow across calls.
6282
+ * When true, the triangulations stay on the shapes for the next mesh with the same settings to
6283
+ * reuse; when false they are cleared. A mesh retention budget keeps every mesh.
5977
6284
  */
5978
6285
  keepMeshData?: boolean | PipelineRef;
5979
6286
  /**
5980
- * When true, a shape already meshed more finely may be remeshed at the coarser precision asked
5981
- * for.
6287
+ * When true, a face whose triangulation is not within 10% of the precision it needs is meshed
6288
+ * again; when false, a finer one is kept.
5982
6289
  */
5983
6290
  allowQualityDecrease?: boolean | PipelineRef;
5984
6291
  /**
5985
- * When true, every face is remeshed at the requested precision even when a triangulation is
5986
- * cached.
6292
+ * When true, every face is meshed at exactly the requested precision; when false, a face's
6293
+ * precision is raised to the average of its edges' and to twice its tolerance.
5987
6294
  */
5988
6295
  forceFaceDeflection?: boolean | PipelineRef;
5989
6296
  };
@@ -6002,6 +6309,16 @@ export interface OperationParams {
6002
6309
  * with more triangles.
6003
6310
  */
6004
6311
  precision?: number | PipelineRef;
6312
+ /**
6313
+ * The largest angle, in radians, a curved face may turn between neighbouring triangles; smaller
6314
+ * follows curvature more closely with more triangles.
6315
+ */
6316
+ angularDeflection?: number | PipelineRef;
6317
+ /**
6318
+ * When true, `precision` is a fraction of each edge's and face's size instead of model units, so
6319
+ * small and large parts get triangles in proportion to their size.
6320
+ */
6321
+ relativeDeflection?: boolean | PipelineRef;
6005
6322
  /**
6006
6323
  * When true, the meshes are turned so this library's Y-up becomes Z-up, for tools that treat Z
6007
6324
  * as up.
@@ -6013,18 +6330,18 @@ export interface OperationParams {
6013
6330
  */
6014
6331
  computeMetadata?: boolean | PipelineRef;
6015
6332
  /**
6016
- * When true, the triangulation stays cached on the shapes; when false it is cleared afterwards
6017
- * so memory does not grow across calls.
6333
+ * When true, the triangulations stay on the shapes for the next mesh with the same settings to
6334
+ * reuse; when false they are cleared. A mesh retention budget keeps every mesh.
6018
6335
  */
6019
6336
  keepMeshData?: boolean | PipelineRef;
6020
6337
  /**
6021
- * When true, a shape already meshed more finely may be remeshed at the coarser precision asked
6022
- * for.
6338
+ * When true, a face whose triangulation is not within 10% of the precision it needs is meshed
6339
+ * again; when false, a finer one is kept.
6023
6340
  */
6024
6341
  allowQualityDecrease?: boolean | PipelineRef;
6025
6342
  /**
6026
- * When true, every face is remeshed at the requested precision even when a triangulation is
6027
- * cached.
6343
+ * When true, every face is meshed at exactly the requested precision; when false, a face's
6344
+ * precision is raised to the average of its edges' and to twice its tolerance.
6028
6345
  */
6029
6346
  forceFaceDeflection?: boolean | PipelineRef;
6030
6347
  };
@@ -6128,6 +6445,35 @@ export interface OperationParams {
6128
6445
  */
6129
6446
  untilFaceIndex?: number | PipelineRef;
6130
6447
  };
6448
+ /**
6449
+ * Grows a boss as `boss` does, and reports two histories: the base's, then the profile's, whose
6450
+ * `facesFromEdges` holds the side each profile edge swept and `lastFaces` the far end.
6451
+ *
6452
+ * A face the kernel leaves unreported is found from where it lies, and left out when it could
6453
+ * belong to more than one input.
6454
+ */
6455
+ "occt.features.bossWithHistory": {
6456
+ /** The base shape the feature is built on. */
6457
+ shape: unknown | PipelineRef;
6458
+ /** The face to sweep; it must lie on the face of the base that `sketchFaceIndex` names. */
6459
+ profile: unknown | PipelineRef;
6460
+ /** The face of the base the profile lies on, counted from 0 as `shapes.face.getFaces` lists them. */
6461
+ sketchFaceIndex?: number | PipelineRef;
6462
+ /** The direction the profile travels in: away from the base for a boss, into it for a pocket. */
6463
+ direction?: [number, number, number] | PipelineRef;
6464
+ /**
6465
+ * Where the feature stops: after `length`, at the face `untilFaceIndex` names, or once it has
6466
+ * passed through the whole base.
6467
+ */
6468
+ extent?: "length" | "untilFace" | "throughAll" | PipelineRef;
6469
+ /** How far the profile travels when `extent` is `length`, in model units. */
6470
+ length?: number | PipelineRef;
6471
+ /**
6472
+ * The face the feature stops at when `extent` is `untilFace`: one the profile meets on its way,
6473
+ * such as the underside of an overhang or a void's ceiling.
6474
+ */
6475
+ untilFaceIndex?: number | PipelineRef;
6476
+ };
6131
6477
  /**
6132
6478
  * Drills holes as `holes` does, each with a wider, flat-bottomed counterbore at its mouth that
6133
6479
  * sinks a screw head below the surface.
@@ -6163,6 +6509,40 @@ export interface OperationParams {
6163
6509
  */
6164
6510
  counterboreDepth?: number | PipelineRef;
6165
6511
  };
6512
+ /**
6513
+ * Drills holes as `counterboredHoles` does, and reports a history for the shape, then one per hole in the
6514
+ * order of `frames`.
6515
+ *
6516
+ * `histories[i + 1].faces.flat()` lists every face hole `i` left in the shape.
6517
+ */
6518
+ "occt.features.counterboredHolesWithHistory": {
6519
+ /** The shape to drill into. */
6520
+ shape: unknown | PipelineRef;
6521
+ /**
6522
+ * One hole per frame: the origin is where the hole enters and the normal points out of the
6523
+ * material, so the hole runs against it.
6524
+ */
6525
+ frames: unknown[] | PipelineRef;
6526
+ /** The diameter of each hole, in model units. */
6527
+ diameter?: number | PipelineRef;
6528
+ /**
6529
+ * How deep each hole goes from its entry, in model units, not counting a drill point; 0 drills
6530
+ * through the whole shape.
6531
+ */
6532
+ depth?: number | PipelineRef;
6533
+ /**
6534
+ * The full angle of the drill point at the bottom of a hole, in degrees: 0 leaves a flat
6535
+ * bottom, and 118 is the point of a twist drill.
6536
+ */
6537
+ tipAngle?: number | PipelineRef;
6538
+ /** The diameter of the counterbore, in model units; it must be wider than `diameter`. */
6539
+ counterboreDiameter?: number | PipelineRef;
6540
+ /**
6541
+ * How deep the counterbore goes from the hole's entry, in model units; it must stay shallower
6542
+ * than a hole of a given `depth`.
6543
+ */
6544
+ counterboreDepth?: number | PipelineRef;
6545
+ };
6166
6546
  /**
6167
6547
  * Drills holes as `holes` does, each with a cone-shaped countersink at its mouth that sinks a
6168
6548
  * flat screw head flush with the surface.
@@ -6201,6 +6581,43 @@ export interface OperationParams {
6201
6581
  */
6202
6582
  countersinkAngle?: number | PipelineRef;
6203
6583
  };
6584
+ /**
6585
+ * Drills holes as `countersunkHoles` does, and reports a history for the shape, then one per hole in the
6586
+ * order of `frames`.
6587
+ *
6588
+ * `histories[i + 1].faces.flat()` lists every face hole `i` left in the shape.
6589
+ */
6590
+ "occt.features.countersunkHolesWithHistory": {
6591
+ /** The shape to drill into. */
6592
+ shape: unknown | PipelineRef;
6593
+ /**
6594
+ * One hole per frame: the origin is where the hole enters and the normal points out of the
6595
+ * material, so the hole runs against it.
6596
+ */
6597
+ frames: unknown[] | PipelineRef;
6598
+ /** The diameter of each hole, in model units. */
6599
+ diameter?: number | PipelineRef;
6600
+ /**
6601
+ * How deep each hole goes from its entry, in model units, not counting a drill point; 0 drills
6602
+ * through the whole shape.
6603
+ */
6604
+ depth?: number | PipelineRef;
6605
+ /**
6606
+ * The full angle of the drill point at the bottom of a hole, in degrees: 0 leaves a flat
6607
+ * bottom, and 118 is the point of a twist drill.
6608
+ */
6609
+ tipAngle?: number | PipelineRef;
6610
+ /**
6611
+ * The diameter of the countersink where it meets the surface, in model units; it must be wider
6612
+ * than `diameter`.
6613
+ */
6614
+ countersinkDiameter?: number | PipelineRef;
6615
+ /**
6616
+ * The full angle of the countersink cone, in degrees, such as 90 or 82 for common flat head
6617
+ * screws.
6618
+ */
6619
+ countersinkAngle?: number | PipelineRef;
6620
+ };
6204
6621
  /**
6205
6622
  * Cuts a groove into a base: the part of the base's section on the left of a wire as it runs,
6206
6623
  * seen from the side the frame's normal points to, removed across the plane.
@@ -6260,6 +6677,33 @@ export interface OperationParams {
6260
6677
  */
6261
6678
  tipAngle?: number | PipelineRef;
6262
6679
  };
6680
+ /**
6681
+ * Drills holes as `holes` does, and reports a history for the shape, then one per hole in the
6682
+ * order of `frames`.
6683
+ *
6684
+ * `histories[i + 1].faces.flat()` lists every face hole `i` left in the shape.
6685
+ */
6686
+ "occt.features.holesWithHistory": {
6687
+ /** The shape to drill into. */
6688
+ shape: unknown | PipelineRef;
6689
+ /**
6690
+ * One hole per frame: the origin is where the hole enters and the normal points out of the
6691
+ * material, so the hole runs against it.
6692
+ */
6693
+ frames: unknown[] | PipelineRef;
6694
+ /** The diameter of each hole, in model units. */
6695
+ diameter?: number | PipelineRef;
6696
+ /**
6697
+ * How deep each hole goes from its entry, in model units, not counting a drill point; 0 drills
6698
+ * through the whole shape.
6699
+ */
6700
+ depth?: number | PipelineRef;
6701
+ /**
6702
+ * The full angle of the drill point at the bottom of a hole, in degrees: 0 leaves a flat
6703
+ * bottom, and 118 is the point of a twist drill.
6704
+ */
6705
+ tipAngle?: number | PipelineRef;
6706
+ };
6263
6707
  /**
6264
6708
  * Cuts a pocket into a base by sweeping a profile face that lies on one of its faces along
6265
6709
  * `direction`, which points into the base.
@@ -6289,6 +6733,35 @@ export interface OperationParams {
6289
6733
  */
6290
6734
  untilFaceIndex?: number | PipelineRef;
6291
6735
  };
6736
+ /**
6737
+ * Cuts a pocket as `pocket` does, and reports two histories: the base's, then the profile's,
6738
+ * whose `facesFromEdges` holds the wall each profile edge swept and `lastFaces` the floor.
6739
+ *
6740
+ * A face the kernel leaves unreported is found from where it lies, and left out when it could
6741
+ * belong to more than one input.
6742
+ */
6743
+ "occt.features.pocketWithHistory": {
6744
+ /** The base shape the feature is built on. */
6745
+ shape: unknown | PipelineRef;
6746
+ /** The face to sweep; it must lie on the face of the base that `sketchFaceIndex` names. */
6747
+ profile: unknown | PipelineRef;
6748
+ /** The face of the base the profile lies on, counted from 0 as `shapes.face.getFaces` lists them. */
6749
+ sketchFaceIndex?: number | PipelineRef;
6750
+ /** The direction the profile travels in: away from the base for a boss, into it for a pocket. */
6751
+ direction?: [number, number, number] | PipelineRef;
6752
+ /**
6753
+ * Where the feature stops: after `length`, at the face `untilFaceIndex` names, or once it has
6754
+ * passed through the whole base.
6755
+ */
6756
+ extent?: "length" | "untilFace" | "throughAll" | PipelineRef;
6757
+ /** How far the profile travels when `extent` is `length`, in model units. */
6758
+ length?: number | PipelineRef;
6759
+ /**
6760
+ * The face the feature stops at when `extent` is `untilFace`: one the profile meets on its way,
6761
+ * such as the underside of an overhang or a void's ceiling.
6762
+ */
6763
+ untilFaceIndex?: number | PipelineRef;
6764
+ };
6292
6765
  /**
6293
6766
  * Moves faces of a shape along their outward normals and stretches the faces around them to
6294
6767
  * follow, such as raising the top of a block.
@@ -6312,6 +6785,26 @@ export interface OperationParams {
6312
6785
  */
6313
6786
  distances?: number[] | PipelineRef;
6314
6787
  };
6788
+ /**
6789
+ * Moves faces as `pushPullFaces` does, and reports one history, the shape's: each face, edge and
6790
+ * vertex lists what it became, so a moved face is followed to where it went, curved ones too.
6791
+ */
6792
+ "occt.features.pushPullFacesWithHistory": {
6793
+ /** The shape whose faces move. */
6794
+ shape: unknown | PipelineRef;
6795
+ /** The faces to move, counted from 0 as `shapes.face.getFaces` lists them, each at most once. */
6796
+ indexes: number[] | PipelineRef;
6797
+ /**
6798
+ * How far every chosen face moves along its outward normal, in model units; a negative
6799
+ * distance moves it inward.
6800
+ */
6801
+ distance?: number | PipelineRef;
6802
+ /**
6803
+ * One distance per entry of `indexes`, in the same order, used instead of `distance`; left out,
6804
+ * every chosen face moves by `distance`.
6805
+ */
6806
+ distances?: number[] | PipelineRef;
6807
+ };
6315
6808
  /**
6316
6809
  * Removes faces from a solid and closes the gap by extending the faces around them, as when a
6317
6810
  * hole or a rounded edge is deleted from a part.
@@ -6325,6 +6818,16 @@ export interface OperationParams {
6325
6818
  /** The faces to remove, counted from 0 as `shapes.face.getFaces` lists them. */
6326
6819
  indexes: number[] | PipelineRef;
6327
6820
  };
6821
+ /**
6822
+ * Removes faces as `removeFaces` does, and reports one history, the shape's: a removed face's
6823
+ * `faces` entry is empty, and each face that stays lists the face it became, grown over the gap.
6824
+ */
6825
+ "occt.features.removeFacesWithHistory": {
6826
+ /** The shape to remove faces from; it must hold solids only. */
6827
+ shape: unknown | PipelineRef;
6828
+ /** The faces to remove, counted from 0 as `shapes.face.getFaces` lists them. */
6829
+ indexes: number[] | PipelineRef;
6830
+ };
6328
6831
  /**
6329
6832
  * Adds a ring to a base by turning a profile face about an axis, such as a collar round a shaft:
6330
6833
  * the profile lies on a face of the base, in a plane through the axis.
@@ -6675,9 +7178,9 @@ export interface OperationParams {
6675
7178
  /**
6676
7179
  * Rounds the corners of a flat wire or face with arcs of a given radius.
6677
7180
  *
6678
- * Without `indexes` every corner is rounded with `radius`. With `indexes`, counted from 1 along
6679
- * the outline, only those corners are rounded, each with `radius` or the matching entry of
6680
- * `radiusList`, as long as `indexes`. Wires with free-form edges use `fillet3DWire`.
7181
+ * Without `indexes` every corner is rounded with `radius`. With `indexes`, counted from 1, only
7182
+ * those corners are rounded, each with `radius` or the matching entry of `radiusList`, as long
7183
+ * as `indexes`. Straight corners stay; free-form wires use `fillet3DWire`.
6681
7184
  */
6682
7185
  "occt.fillets.fillet2d": {
6683
7186
  /** The shape whose edges, or whose corners for a flat wire or face, are rounded. */
@@ -7373,6 +7876,16 @@ export interface OperationParams {
7373
7876
  /** The BREP file's text, or a File or Blob that holds it. */
7374
7877
  brepData: unknown | PipelineRef;
7375
7878
  };
7879
+ /**
7880
+ * Reads a binary BREP file, the bytes `io.saveShapeBrepBinary` writes, back into the shape it
7881
+ * holds, with its faces and edges in the same order.
7882
+ *
7883
+ * The bytes are checked first: damaged ones, or ones not in version 4, are refused, saying where.
7884
+ */
7885
+ "occt.io.loadBrepBinary": {
7886
+ /** The binary BREP file's bytes, or a File or Blob that holds them. */
7887
+ brepData: unknown | PipelineRef;
7888
+ };
7376
7889
  /** Loads a STEP or IGES file into an OCCT shape. Pass file content as text (for .step/.stp/.iges/.igs) or ArrayBuffer (for .stpz/.igz). */
7377
7890
  "occt.io.loadSTEPorIGES": {
7378
7891
  /** File content: string for plain text files (.step, .stp, .iges, .igs), or base64-encoded ArrayBuffer for compressed files (.stpz, .igz). */
@@ -7436,6 +7949,11 @@ export interface OperationParams {
7436
7949
  * itself only returns the text.
7437
7950
  */
7438
7951
  tryDownload?: boolean | PipelineRef;
7952
+ /**
7953
+ * When true, the mesh a shape carries is written with it, so a shape read back draws without
7954
+ * meshing again; false writes only the exact geometry.
7955
+ */
7956
+ withTriangulation?: boolean | PipelineRef;
7439
7957
  };
7440
7958
  /**
7441
7959
  * Writes a shape as BREP, the text format that keeps its exact geometry and topology, and
@@ -7454,14 +7972,65 @@ export interface OperationParams {
7454
7972
  * itself only returns the text.
7455
7973
  */
7456
7974
  tryDownload?: boolean | PipelineRef;
7975
+ /**
7976
+ * When true, the mesh a shape carries is written with it, so a shape read back draws without
7977
+ * meshing again; false writes only the exact geometry.
7978
+ */
7979
+ withTriangulation?: boolean | PipelineRef;
7980
+ };
7981
+ /**
7982
+ * Writes a shape as binary BREP, the exact geometry and topology `saveShapeBrep` writes as text,
7983
+ * in bytes, and starts a browser download of the file.
7984
+ *
7985
+ * `io.loadBrepBinary` reads the file back into the same shape. `fileName` names the download and
7986
+ * `tryDownload` false skips it; `saveShapeBrepBinaryAndReturn` gives the bytes instead.
7987
+ */
7988
+ "occt.io.saveShapeBrepBinary": {
7989
+ /** The shape written to the file. */
7990
+ shape: unknown | PipelineRef;
7991
+ /** The name the downloaded file gets. */
7992
+ fileName?: string | PipelineRef;
7993
+ /**
7994
+ * When true, a browser download of the file is started where that is possible; the kernel
7995
+ * itself only returns the bytes.
7996
+ */
7997
+ tryDownload?: boolean | PipelineRef;
7998
+ /**
7999
+ * When true, the mesh a shape carries is written with it, so a shape read back draws without
8000
+ * meshing again; false writes only the exact geometry.
8001
+ */
8002
+ withTriangulation?: boolean | PipelineRef;
8003
+ };
8004
+ /**
8005
+ * Writes a shape as binary BREP, the exact geometry and topology `saveShapeBrep` writes as text,
8006
+ * in bytes, and returns them.
8007
+ *
8008
+ * `io.loadBrepBinary` reads them back with every face and edge at the same index.
8009
+ * `withTriangulation` false leaves out the mesh.
8010
+ */
8011
+ "occt.io.saveShapeBrepBinaryAndReturn": {
8012
+ /** The shape written to the file. */
8013
+ shape: unknown | PipelineRef;
8014
+ /** The name the downloaded file gets. */
8015
+ fileName?: string | PipelineRef;
8016
+ /**
8017
+ * When true, a browser download of the file is started where that is possible; the kernel
8018
+ * itself only returns the bytes.
8019
+ */
8020
+ tryDownload?: boolean | PipelineRef;
8021
+ /**
8022
+ * When true, the mesh a shape carries is written with it, so a shape read back draws without
8023
+ * meshing again; false writes only the exact geometry.
8024
+ */
8025
+ withTriangulation?: boolean | PipelineRef;
7457
8026
  };
7458
8027
  /**
7459
8028
  * Triangulates a shape, writes it as OBJ, the mesh format most 3D programs read, and starts a
7460
8029
  * browser download of the file.
7461
8030
  *
7462
- * `precision` is the meshing tolerance in model units and `adjustYtoZ` turns Y-up into Z-up. The
7463
- * file name may hold no spaces or slashes; `tryDownload` false skips the download, and
7464
- * `saveShapeObjAndReturn` gives the text instead.
8031
+ * `precision` is the meshing tolerance in model units and `adjustYtoZ` swaps Y and Z, which
8032
+ * mirrors the shape. The file name may hold no spaces or slashes; `tryDownload` false skips the
8033
+ * download, and `saveShapeObjAndReturn` gives the text instead.
7465
8034
  */
7466
8035
  "occt.io.saveShapeObj": {
7467
8036
  /** The shape written to the file. */
@@ -7476,7 +8045,10 @@ export interface OperationParams {
7476
8045
  * and makes a bigger file.
7477
8046
  */
7478
8047
  precision?: number | PipelineRef;
7479
- /** When true, the shape is turned so this library's Y-up becomes Z-up. */
8048
+ /**
8049
+ * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8050
+ * turn it 90 degrees about X with `transforms.rotate` instead.
8051
+ */
7480
8052
  adjustYtoZ?: boolean | PipelineRef;
7481
8053
  /**
7482
8054
  * When true, a browser download of the OBJ file and of any material library is started where
@@ -7488,9 +8060,9 @@ export interface OperationParams {
7488
8060
  * Triangulates a shape and writes it as OBJ, the mesh format most 3D programs read, returning
7489
8061
  * the file's text.
7490
8062
  *
7491
- * `precision` is the meshing tolerance in model units, `adjustYtoZ` turns Y-up into Z-up, and
7492
- * coordinates keep six decimals. `mtl` stays empty, since a shape carries no colors;
7493
- * `assembly.manager.exportDocumentToObj` writes colored parts.
8063
+ * `precision` is the meshing tolerance in model units, `adjustYtoZ` swaps Y and Z, which
8064
+ * mirrors the shape, and coordinates keep six decimals. `mtl` stays empty, since a shape
8065
+ * carries no colors; `assembly.manager.exportDocumentToObj` writes colored parts.
7494
8066
  */
7495
8067
  "occt.io.saveShapeObjAndReturn": {
7496
8068
  /** The shape written to the file. */
@@ -7505,7 +8077,10 @@ export interface OperationParams {
7505
8077
  * and makes a bigger file.
7506
8078
  */
7507
8079
  precision?: number | PipelineRef;
7508
- /** When true, the shape is turned so this library's Y-up becomes Z-up. */
8080
+ /**
8081
+ * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8082
+ * turn it 90 degrees about X with `transforms.rotate` instead.
8083
+ */
7509
8084
  adjustYtoZ?: boolean | PipelineRef;
7510
8085
  /**
7511
8086
  * When true, a browser download of the OBJ file and of any material library is started where
@@ -7517,9 +8092,9 @@ export interface OperationParams {
7517
8092
  * Triangulates a shape, writes it as ASCII PLY with a normal per vertex, and starts a browser
7518
8093
  * download of the file.
7519
8094
  *
7520
- * `precision` is the meshing tolerance in model units and `adjustYtoZ` turns Y-up into Z-up.
7521
- * `fileName` names the download and `tryDownload` false skips it; `saveShapePlyAndReturn` gives
7522
- * the text instead.
8095
+ * `precision` is the meshing tolerance in model units and `adjustYtoZ` swaps Y and Z, which
8096
+ * mirrors the shape. `fileName` names the download and `tryDownload` false skips it;
8097
+ * `saveShapePlyAndReturn` gives the text instead.
7523
8098
  */
7524
8099
  "occt.io.saveShapePly": {
7525
8100
  /** The shape written to the file. */
@@ -7531,7 +8106,10 @@ export interface OperationParams {
7531
8106
  * and makes a bigger file.
7532
8107
  */
7533
8108
  precision?: number | PipelineRef;
7534
- /** When true, the shape is turned so this library's Y-up becomes Z-up. */
8109
+ /**
8110
+ * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8111
+ * turn it 90 degrees about X with `transforms.rotate` instead.
8112
+ */
7535
8113
  adjustYtoZ?: boolean | PipelineRef;
7536
8114
  /**
7537
8115
  * When true, a browser download of the file is started where that is possible; the kernel
@@ -7544,7 +8122,8 @@ export interface OperationParams {
7544
8122
  * scanning tools read, returning the file's text.
7545
8123
  *
7546
8124
  * Coordinates keep six significant digits, so past 1000 units they keep two decimals.
7547
- * `precision` is the meshing tolerance in model units and `adjustYtoZ` turns Y-up into Z-up.
8125
+ * `precision` is the meshing tolerance in model units and `adjustYtoZ` swaps Y and Z, which
8126
+ * mirrors the shape.
7548
8127
  */
7549
8128
  "occt.io.saveShapePlyAndReturn": {
7550
8129
  /** The shape written to the file. */
@@ -7556,7 +8135,10 @@ export interface OperationParams {
7556
8135
  * and makes a bigger file.
7557
8136
  */
7558
8137
  precision?: number | PipelineRef;
7559
- /** When true, the shape is turned so this library's Y-up becomes Z-up. */
8138
+ /**
8139
+ * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8140
+ * turn it 90 degrees about X with `transforms.rotate` instead.
8141
+ */
7560
8142
  adjustYtoZ?: boolean | PipelineRef;
7561
8143
  /**
7562
8144
  * When true, a browser download of the file is started where that is possible; the kernel
@@ -7568,20 +8150,23 @@ export interface OperationParams {
7568
8150
  * Writes a shape as STEP, the standard exchange format for exact CAD geometry, and starts a
7569
8151
  * browser download of the file.
7570
8152
  *
7571
- * With `adjustYtoZ` true the shape is turned so this library's Y-up becomes STEP's Z-up;
7572
- * `fromRightHanded` skips the mirror that swap otherwise includes. `fileName` names the download
7573
- * and `tryDownload` false skips it. `saveShapeSTEPAndReturn` gives the file's text instead.
8153
+ * With `adjustYtoZ` true, Y and Z swap, which mirrors the shape; to keep it as built, turn it 90
8154
+ * degrees about X with `transforms.rotate` first. `fileName` names the download, `tryDownload`
8155
+ * false skips it, and `saveShapeSTEPAndReturn` gives the text instead.
7574
8156
  */
7575
8157
  "occt.io.saveShapeSTEP": {
7576
8158
  /** The shape written to the file. */
7577
8159
  shape: unknown | PipelineRef;
7578
8160
  /** The name the downloaded file gets; `.step` is appended when missing. */
7579
8161
  fileName?: string | PipelineRef;
7580
- /** When true, the shape is turned so this library's Y-up becomes STEP's Z-up. */
8162
+ /**
8163
+ * When true, Y and Z swap so Y-up becomes STEP's Z-up, which mirrors the shape. To keep it as
8164
+ * built, turn it 90 degrees about X with `transforms.rotate` instead.
8165
+ */
7581
8166
  adjustYtoZ?: boolean | PipelineRef;
7582
8167
  /**
7583
- * When true, the axis swap skips its mirror step, for shapes that were built in a right-handed
7584
- * system.
8168
+ * When true, the swap of `adjustYtoZ` becomes a turn of -90 degrees about X: the shape is not
8169
+ * mirrored but stands upside down in a Z-up tool.
7585
8170
  */
7586
8171
  fromRightHanded?: boolean | PipelineRef;
7587
8172
  /**
@@ -7594,20 +8179,23 @@ export interface OperationParams {
7594
8179
  * Writes a shape as STEP, the standard exchange format for exact CAD geometry, and returns the
7595
8180
  * file's text.
7596
8181
  *
7597
- * With `adjustYtoZ` true the shape is turned so this library's Y-up becomes STEP's Z-up;
7598
- * `fromRightHanded` skips the mirror that swap otherwise includes. `fileName` and `tryDownload`
7599
- * matter only where a browser download can be started.
8182
+ * With `adjustYtoZ` true, Y and Z swap so Y-up becomes STEP's Z-up, which mirrors the shape;
8183
+ * turn it 90 degrees about X with `transforms.rotate` first to keep it as built. `fileName` and
8184
+ * `tryDownload` matter only where a browser download can be started.
7600
8185
  */
7601
8186
  "occt.io.saveShapeSTEPAndReturn": {
7602
8187
  /** The shape written to the file. */
7603
8188
  shape: unknown | PipelineRef;
7604
8189
  /** The name the downloaded file gets; `.step` is appended when missing. */
7605
8190
  fileName?: string | PipelineRef;
7606
- /** When true, the shape is turned so this library's Y-up becomes STEP's Z-up. */
8191
+ /**
8192
+ * When true, Y and Z swap so Y-up becomes STEP's Z-up, which mirrors the shape. To keep it as
8193
+ * built, turn it 90 degrees about X with `transforms.rotate` instead.
8194
+ */
7607
8195
  adjustYtoZ?: boolean | PipelineRef;
7608
8196
  /**
7609
- * When true, the axis swap skips its mirror step, for shapes that were built in a right-handed
7610
- * system.
8197
+ * When true, the swap of `adjustYtoZ` becomes a turn of -90 degrees about X: the shape is not
8198
+ * mirrored but stands upside down in a Z-up tool.
7611
8199
  */
7612
8200
  fromRightHanded?: boolean | PipelineRef;
7613
8201
  /**
@@ -7620,9 +8208,9 @@ export interface OperationParams {
7620
8208
  * Triangulates a shape, writes it as STL, the mesh format 3D printers read, and starts a browser
7621
8209
  * download of the file.
7622
8210
  *
7623
- * `precision` is the meshing tolerance in model units, `adjustYtoZ` turns Y-up into Z-up and
7624
- * `binary` writes the smaller binary form. `fileName` names the download, `tryDownload` false
7625
- * skips it. `saveShapeStlAndReturn` gives the file instead.
8211
+ * `precision` is the meshing tolerance in model units, `adjustYtoZ` swaps Y and Z, which
8212
+ * mirrors the shape, and `binary` writes the smaller binary form. `fileName` names the
8213
+ * download, `tryDownload` false skips it. `saveShapeStlAndReturn` gives the file instead.
7626
8214
  */
7627
8215
  "occt.io.saveShapeStl": {
7628
8216
  /** The shape written to the file. */
@@ -7634,7 +8222,10 @@ export interface OperationParams {
7634
8222
  * and makes a bigger file.
7635
8223
  */
7636
8224
  precision?: number | PipelineRef;
7637
- /** When true, the shape is turned so this library's Y-up becomes Z-up. */
8225
+ /**
8226
+ * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8227
+ * turn it 90 degrees about X with `transforms.rotate` instead.
8228
+ */
7638
8229
  adjustYtoZ?: boolean | PipelineRef;
7639
8230
  /**
7640
8231
  * When true, a browser download of the file is started where that is possible; the kernel
@@ -7652,8 +8243,8 @@ export interface OperationParams {
7652
8243
  * returning the file's text, or its bytes when `binary` is true.
7653
8244
  *
7654
8245
  * `precision` is the meshing tolerance in model units; smaller values follow curved surfaces
7655
- * more closely. `adjustYtoZ` turns Y-up into Z-up. `fileName` and `tryDownload` only matter
7656
- * where a download can start.
8246
+ * more closely. `adjustYtoZ` swaps Y and Z, which mirrors the shape. `fileName` and
8247
+ * `tryDownload` matter only for a download.
7657
8248
  */
7658
8249
  "occt.io.saveShapeStlAndReturn": {
7659
8250
  /** The shape written to the file. */
@@ -7665,7 +8256,10 @@ export interface OperationParams {
7665
8256
  * and makes a bigger file.
7666
8257
  */
7667
8258
  precision?: number | PipelineRef;
7668
- /** When true, the shape is turned so this library's Y-up becomes Z-up. */
8259
+ /**
8260
+ * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8261
+ * turn it 90 degrees about X with `transforms.rotate` instead.
8262
+ */
7669
8263
  adjustYtoZ?: boolean | PipelineRef;
7670
8264
  /**
7671
8265
  * When true, a browser download of the file is started where that is possible; the kernel
@@ -7983,44 +8577,93 @@ export interface OperationParams {
7983
8577
  */
7984
8578
  smoothEdges?: boolean | PipelineRef;
7985
8579
  /**
7986
- * When true, the edges that faces cover are collected in `hidden`; when false, `hidden` stays
7987
- * empty.
8580
+ * When true, the edges that faces cover are collected in `hidden`; when false, `hidden` stays
8581
+ * empty.
8582
+ */
8583
+ hiddenEdges?: boolean | PipelineRef;
8584
+ /**
8585
+ * How far the eye sits from the frame's origin along its normal for a perspective, in model
8586
+ * units; 0 draws a parallel view. A perspective needs `exact`.
8587
+ */
8588
+ focus?: number | PipelineRef;
8589
+ /**
8590
+ * The meshing tolerance in model units when `exact` is false; a smaller value follows curved
8591
+ * faces more closely.
8592
+ */
8593
+ precision?: number | PipelineRef;
8594
+ };
8595
+ /**
8596
+ * Builds a surface through a series of wires, like skin stretched over ribs: each wire is one
8597
+ * section and the surface passes through them in list order.
8598
+ *
8599
+ * Edges are accepted as single-edge wires. With `makeSolid` true and closed sections the result
8600
+ * is capped into a solid; otherwise it is a shell. Sections match up best with equal edge
8601
+ * counts.
8602
+ */
8603
+ "occt.operations.loft": {
8604
+ /** The section wires, or edges, in the order the surface passes through them. */
8605
+ shapes: unknown[] | PipelineRef;
8606
+ /** When true, the loft is capped into a solid; the sections must be closed for that. */
8607
+ makeSolid?: boolean | PipelineRef;
8608
+ };
8609
+ /**
8610
+ * Builds a surface through a series of wires like `loft`, with control over how the skin is
8611
+ * fitted.
8612
+ *
8613
+ * `straight` makes ruled patches between sections instead of a smooth blend; `closed` loops the
8614
+ * surface from the last section back to the first, and `periodic` makes that loop smooth by
8615
+ * resampling the sections. `startVertex` and `endVertex` close the ends to points.
8616
+ */
8617
+ "occt.operations.loftAdvanced": {
8618
+ /** The section wires, or edges, in the order the surface passes through them. */
8619
+ shapes: unknown[] | PipelineRef;
8620
+ /** When true, the loft is capped into a solid; the sections must be closed for that. */
8621
+ makeSolid?: boolean | PipelineRef;
8622
+ /** When true, the surface loops from the last section back to the first. */
8623
+ closed?: boolean | PipelineRef;
8624
+ /**
8625
+ * When true, the closed loop is made smooth across the seam by resampling the sections; needs
8626
+ * `closed`.
8627
+ */
8628
+ periodic?: boolean | PipelineRef;
8629
+ /**
8630
+ * When true, the patches between sections are ruled surfaces with straight lines instead of a
8631
+ * smooth blend.
8632
+ */
8633
+ straight?: boolean | PipelineRef;
8634
+ /** How many points each section is resampled into for a periodic loft. */
8635
+ nrPeriodicSections?: number | PipelineRef;
8636
+ /** When true, the kernel smooths the fitted surface. */
8637
+ useSmoothing?: boolean | PipelineRef;
8638
+ /** The highest polynomial degree the surface may use across the sections. */
8639
+ maxUDegree?: number | PipelineRef;
8640
+ /** How far the fitted surface may stray from the sections, in model units. */
8641
+ tolerance?: number | PipelineRef;
8642
+ /**
8643
+ * How the sections are parametrized before fitting: by chord length, centripetal, or
8644
+ * isoparametric; centripetal handles uneven sections best.
7988
8645
  */
7989
- hiddenEdges?: boolean | PipelineRef;
8646
+ parType?: "approxChordLength" | "approxCentripetal" | "approxIsoParametric" | PipelineRef;
7990
8647
  /**
7991
- * How far the eye sits from the frame's origin along its normal for a perspective, in model
7992
- * units; 0 draws a parallel view. A perspective needs `exact`.
8648
+ * A point the loft closes to before the first section, making a pointed end; leave it out for
8649
+ * an open end.
7993
8650
  */
7994
- focus?: number | PipelineRef;
8651
+ startVertex?: [number, number, number] | PipelineRef;
7995
8652
  /**
7996
- * The meshing tolerance in model units when `exact` is false; a smaller value follows curved
7997
- * faces more closely.
8653
+ * A point the loft closes to after the last section, making a pointed end; leave it out for an
8654
+ * open end.
7998
8655
  */
7999
- precision?: number | PipelineRef;
8000
- };
8001
- /**
8002
- * Builds a surface through a series of wires, like skin stretched over ribs: each wire is one
8003
- * section and the surface passes through them in list order.
8004
- *
8005
- * Edges are accepted as single-edge wires. With `makeSolid` true and closed sections the result
8006
- * is capped into a solid; otherwise it is a shell. Sections match up best with equal edge
8007
- * counts.
8008
- */
8009
- "occt.operations.loft": {
8010
- /** The section wires, or edges, in the order the surface passes through them. */
8011
- shapes: unknown[] | PipelineRef;
8012
- /** When true, the loft is capped into a solid; the sections must be closed for that. */
8013
- makeSolid?: boolean | PipelineRef;
8656
+ endVertex?: [number, number, number] | PipelineRef;
8014
8657
  };
8015
8658
  /**
8016
- * Builds a surface through a series of wires like `loft`, with control over how the skin is
8017
- * fitted.
8659
+ * Lofts as `loftAdvanced` does, and reports what each section in `shapes` became, as
8660
+ * `loftWithHistory` does: the sides along each section edge, and the caps at the start and end
8661
+ * of a solid.
8018
8662
  *
8019
- * `straight` makes ruled patches between sections instead of a smooth blend; `closed` loops the
8020
- * surface from the last section back to the first, and `periodic` makes that loop smooth by
8021
- * resampling the sections. `startVertex` and `endVertex` close the ends to points.
8663
+ * A `periodic` loft runs through curves resampled from the sections rather than the sections
8664
+ * themselves, so it has no history to report and is refused.
8022
8665
  */
8023
- "occt.operations.loftAdvanced": {
8666
+ "occt.operations.loftAdvancedWithHistory": {
8024
8667
  /** The section wires, or edges, in the order the surface passes through them. */
8025
8668
  shapes: unknown[] | PipelineRef;
8026
8669
  /** When true, the loft is capped into a solid; the sections must be closed for that. */
@@ -8061,6 +8704,17 @@ export interface OperationParams {
8061
8704
  */
8062
8705
  endVertex?: [number, number, number] | PipelineRef;
8063
8706
  };
8707
+ /**
8708
+ * Lofts as `loft` does, and reports one history per section: `facesFromEdges` holds the skin
8709
+ * along each section edge, the first section's `firstFaces` and the last's `lastFaces` the caps
8710
+ * of a solid.
8711
+ */
8712
+ "occt.operations.loftWithHistory": {
8713
+ /** The section wires, or edges, in the order the surface passes through them. */
8714
+ shapes: unknown[] | PipelineRef;
8715
+ /** When true, the loft is capped into a solid; the sections must be closed for that. */
8716
+ makeSolid?: boolean | PipelineRef;
8717
+ };
8064
8718
  /**
8065
8719
  * Hollows a solid into a shell of the given wall thickness by removing the listed faces and
8066
8720
  * offsetting the rest.
@@ -8099,6 +8753,41 @@ export interface OperationParams {
8099
8753
  /** When true, the internal edges the offset can leave on the walls are removed from the result. */
8100
8754
  removeIntEdges?: boolean | PipelineRef;
8101
8755
  };
8756
+ /**
8757
+ * Hollows a solid as `makeThickSolidByJoin` does, and reports what became of its faces: each
8758
+ * kept face stays (`faces`) and gains the inner wall offset from it (`facesFromFaces`), and each
8759
+ * removed face becomes the rim left where it was.
8760
+ */
8761
+ "occt.operations.makeThickSolidByJoinWithHistory": {
8762
+ /** The solid to hollow out. */
8763
+ shape: unknown | PipelineRef;
8764
+ /** The faces of the solid to remove, leaving the openings of the shell. */
8765
+ shapes: unknown[] | PipelineRef;
8766
+ /** The wall thickness in model units; negative grows the wall inward. */
8767
+ offset?: number | PipelineRef;
8768
+ /**
8769
+ * How close two points must be to count as the same when the offset walls are joined, in model
8770
+ * units.
8771
+ */
8772
+ tolerance?: number | PipelineRef;
8773
+ /**
8774
+ * When true, the offset faces are intersected with each other rather than joined by their
8775
+ * parallels; the kernel's default is false.
8776
+ */
8777
+ intersection?: boolean | PipelineRef;
8778
+ /**
8779
+ * Whether the kernel should look for self-intersections in the result; not implemented by the
8780
+ * kernel, so leave it false.
8781
+ */
8782
+ selfIntersection?: boolean | PipelineRef;
8783
+ /**
8784
+ * How the offset walls meet at corners: `arc` rounds them, `intersection` extends them to a
8785
+ * sharp corner, `tangent` keeps them tangent.
8786
+ */
8787
+ joinType?: "arc" | "intersection" | "tangent" | PipelineRef;
8788
+ /** When true, the internal edges the offset can leave on the walls are removed from the result. */
8789
+ removeIntEdges?: boolean | PipelineRef;
8790
+ };
8102
8791
  /**
8103
8792
  * Gives a face or shell a thickness, turning it into a solid slab or wall of the given
8104
8793
  * `offset`.
@@ -8116,6 +8805,20 @@ export interface OperationParams {
8116
8805
  */
8117
8806
  offset?: number | PipelineRef;
8118
8807
  };
8808
+ /**
8809
+ * Thickens a shape as `makeThickSolidSimple` does, and reports what became of its faces and
8810
+ * edges: each face stays where it was (`faces`) and gains its offset copy (`facesFromFaces`),
8811
+ * and each free edge raises the wall between the two (`facesFromEdges`).
8812
+ */
8813
+ "occt.operations.makeThickSolidSimpleWithHistory": {
8814
+ /** The face or shell to give a thickness to. */
8815
+ shape: unknown | PipelineRef;
8816
+ /**
8817
+ * The thickness in model units, along the surface normal for a positive value and the other way
8818
+ * for a negative one.
8819
+ */
8820
+ offset?: number | PipelineRef;
8821
+ };
8119
8822
  /**
8120
8823
  * Moves the boundary of a shape outward, or inward for a negative distance, by a fixed
8121
8824
  * distance: a wire grows into a parallel outline, a face or solid into a bigger one.
@@ -8202,12 +8905,11 @@ export interface OperationParams {
8202
8905
  shapes: unknown[] | PipelineRef;
8203
8906
  };
8204
8907
  /**
8205
- * Sweeps a regular polygon along a wire, giving a tube with `nrCorners` flat sides, for
8206
- * instance a hexagonal bar along a path.
8908
+ * Sweeps a regular polygon along a wire, giving a bar with `nrCorners` flat sides.
8207
8909
  *
8208
- * The polygon of `radius` is placed at the start of the wire, perpendicular to it. `makeSolid`
8209
- * gives a solid instead of a shell, `trihedronEnum` chooses how the profile turns along the
8210
- * path, and `forceApproxC1` smooths the result.
8910
+ * The polygon of `radius` starts perpendicular to the wire. `makeSolid` gives a solid instead of
8911
+ * a shell, `trihedronEnum` sets how the profile turns, and `forceApproxC1` smooths the result.
8912
+ * An invalid bar is refused; on a nearly straight path, use the discrete trihedron.
8211
8913
  */
8212
8914
  "occt.operations.pipePolylineWireNGon": {
8213
8915
  /** The path wire the tube follows. */
@@ -8229,9 +8931,9 @@ export interface OperationParams {
8229
8931
  /**
8230
8932
  * Sweeps a circle along a wire, giving a round tube of the given radius that follows the path.
8231
8933
  *
8232
- * The circle is placed at the start of the wire, perpendicular to it. `makeSolid` gives a solid
8233
- * instead of a shell, `trihedronEnum` chooses how the profile turns as it follows the path, and
8234
- * `forceApproxC1` smooths the result.
8934
+ * The circle starts perpendicular to the wire. `makeSolid` gives a solid instead of a shell,
8935
+ * `trihedronEnum` sets how the profile turns, and `forceApproxC1` smooths the result. An invalid
8936
+ * tube is refused; on a nearly straight path, use the discrete trihedron.
8235
8937
  */
8236
8938
  "occt.operations.pipeWireCylindrical": {
8237
8939
  /** The path wire the tube follows. */
@@ -8267,6 +8969,17 @@ export interface OperationParams {
8267
8969
  /** When true, a swept surface that came out with kinks is refitted to be smooth. */
8268
8970
  forceApproxC1?: boolean | PipelineRef;
8269
8971
  };
8972
+ /**
8973
+ * Sweeps profiles along a path as `pipe` does, and reports what each profile became, one
8974
+ * history per profile in the order given: `facesFromEdges` holds the side each profile edge
8975
+ * swept, `firstFaces` and `lastFaces` the caps at the two ends of the path.
8976
+ */
8977
+ "occt.operations.pipeWithHistory": {
8978
+ /** The main shape: the path wire for a pipe, the wire to extend when adding edges. */
8979
+ shape: unknown | PipelineRef;
8980
+ /** The other shapes: the profiles placed on the path, or the edges and wires to add. */
8981
+ shapes: unknown[] | PipelineRef;
8982
+ };
8270
8983
  /**
8271
8984
  * Sweeps a profile along a spine while scaling it, such as a tube that widens toward one end.
8272
8985
  *
@@ -8523,6 +9236,76 @@ export interface OperationParams {
8523
9236
  /** The point the scaled and flipped drawing is moved to. */
8524
9237
  origin?: [number, number, number] | PipelineRef;
8525
9238
  };
9239
+ /**
9240
+ * Builds each root of a recipe as a shape placed by its matrix, in root order.
9241
+ *
9242
+ * Shared steps are built once. A mesh keeps its triangles unless `facetedMeshes` is set or a
9243
+ * boolean needs it. A root that failed, or whose opening failed, throws naming the step; with
9244
+ * `emptyWhenFailed` it comes back empty, or cut by the openings built.
9245
+ */
9246
+ "occt.recipes.build": {
9247
+ /**
9248
+ * The recipe: steps such as polygons, extrusions and cuts, and the roots to build from them, as
9249
+ * a package that describes geometry as data writes it.
9250
+ */
9251
+ recipe: unknown | PipelineRef;
9252
+ /**
9253
+ * When true, each shape turns a quarter turn about X so the recipe's Z points along Y, which is
9254
+ * up when drawn: `(x, y, z)` becomes `(x, z, -y)`.
9255
+ */
9256
+ adjustZtoY?: boolean | PipelineRef;
9257
+ /**
9258
+ * When true, a root that cannot be built comes back as an empty compound and an opening that
9259
+ * cannot is left uncut; when false, either stops the build.
9260
+ */
9261
+ emptyWhenFailed?: boolean | PipelineRef;
9262
+ /**
9263
+ * When true, triangle meshes become faceted solids, flat faces that cut and fillet like any
9264
+ * shape; when false they keep their triangles, which draw, measure and export to STEP faster.
9265
+ */
9266
+ facetedMeshes?: boolean | PipelineRef;
9267
+ /**
9268
+ * The most triangles a mesh built as a faceted solid may hold; a larger one is not built and
9269
+ * counts as a step that failed.
9270
+ */
9271
+ maxTriangles?: number | PipelineRef;
9272
+ };
9273
+ /**
9274
+ * Builds the roots of a recipe into an assembly document, ready to export to STEP.
9275
+ *
9276
+ * Roots sharing the `groupBy` tag form one product named by its `name` tag, with its tags as
9277
+ * properties and its parts coloured by `rgba`. A step only moved and turned is one part placed
9278
+ * by each root. Failures are handled as in `build`.
9279
+ */
9280
+ "occt.recipes.buildDocument": {
9281
+ /**
9282
+ * The recipe: steps such as polygons, extrusions and cuts, and the roots to build from them, as
9283
+ * a package that describes geometry as data writes it.
9284
+ */
9285
+ recipe: unknown | PipelineRef;
9286
+ /** The name of the assembly at the top of the document, which holds every product. */
9287
+ name?: string | PipelineRef;
9288
+ /**
9289
+ * The tag whose value gathers roots into one product, such as the pieces of one element in
9290
+ * different colours. Roots without it are each a product of their own.
9291
+ */
9292
+ groupBy?: string | PipelineRef;
9293
+ /**
9294
+ * When true, a root that cannot be built is left out of the document and an opening that cannot
9295
+ * is left uncut; when false, either stops the build.
9296
+ */
9297
+ emptyWhenFailed?: boolean | PipelineRef;
9298
+ /**
9299
+ * When true, triangle meshes become faceted solids, flat faces that cut and fillet like any
9300
+ * shape; when false they keep their triangles, which draw, measure and export to STEP faster.
9301
+ */
9302
+ facetedMeshes?: boolean | PipelineRef;
9303
+ /**
9304
+ * The most triangles a mesh built as a faceted solid may hold; a larger one is not built and
9305
+ * counts as a step that failed.
9306
+ */
9307
+ maxTriangles?: number | PipelineRef;
9308
+ };
8526
9309
  /**
8527
9310
  * Chooses the straight edges that run within `angle` degrees of `direction`, either way along
8528
9311
  * it: an angle of 0 finds the edges parallel to it.
@@ -11717,8 +12500,11 @@ export interface OperationParams {
11717
12500
  otherShape: unknown | PipelineRef;
11718
12501
  };
11719
12502
  /**
11720
- * Returns the shape as it is; the internal-edge purge is not applied in this version, so the
11721
- * result is the input.
12503
+ * Removes the edges that lie inside a face without bounding it, such as the segment a split
12504
+ * leaves on a face, and rebuilds the faces around them.
12505
+ *
12506
+ * An edge that bounds any face of the shape stays, and a shape with nothing to remove comes
12507
+ * back as it was.
11722
12508
  */
11723
12509
  "occt.shapes.shape.purgeInternalEdges": {
11724
12510
  /** The shape to work on; it is not changed. */
@@ -12210,11 +12996,11 @@ export interface OperationParams {
12210
12996
  extrusionLengthBack?: number | PipelineRef;
12211
12997
  };
12212
12998
  /**
12213
- * Collects diagnostic facts about a solid: whether it is valid, how many faces and edges it
12214
- * has, its surface area and volume, and for every face the surface type, degrees, control point
12215
- * counts, bounds and area.
12999
+ * Collects diagnostic facts about a solid: how many faces and edges it has, its surface area and
13000
+ * volume, and for every face the surface type, degrees, control point counts, bounds and area.
12216
13001
  *
12217
- * An empty or null shape gives a report marked invalid with zero counts.
13002
+ * `valid` is false only for an empty or null shape, which gives zero counts; it does not check
13003
+ * the geometry, which `shapeFix.isValid` does.
12218
13004
  */
12219
13005
  "occt.shapes.solid.debugInfo": {
12220
13006
  /** The shape to work on; it is not changed. */
@@ -13504,13 +14290,19 @@ export interface OperationParams {
13504
14290
  * cusps and overshoot with uneven points, or `uniform`.
13505
14291
  */
13506
14292
  parametrization?: "uniform" | "chordLength" | "centripetal" | PipelineRef;
13507
- /** A direction the curve must leave the first point in; only for open curves. */
14293
+ /**
14294
+ * A direction the curve must leave the first point in, for open curves and with `endTangent` only.
14295
+ * Shorter than `tolerance`, such as `[0, 0, 0]`, it counts as not given.
14296
+ */
13508
14297
  startTangent?: [number, number, number] | PipelineRef;
13509
- /** A direction the curve must arrive at the last point in; only for open curves. */
14298
+ /**
14299
+ * A direction the curve must arrive at the last point in; only for open curves, and only together
14300
+ * with `startTangent`. A tangent shorter than `tolerance` counts as not given.
14301
+ */
13510
14302
  endTangent?: [number, number, number] | PipelineRef;
13511
14303
  /**
13512
- * One direction per point that the curve must follow there, with undefined entries left free;
13513
- * when given, the start and end tangents are ignored.
14304
+ * One direction per point that the curve must follow there, with undefined entries, and entries
14305
+ * shorter than `tolerance`, left free; when given, the start and end tangents are ignored.
13514
14306
  */
13515
14307
  tangents?: [number, number, number][] | PipelineRef;
13516
14308
  };
@@ -14005,6 +14797,16 @@ export interface OperationParams {
14005
14797
  * with more triangles.
14006
14798
  */
14007
14799
  precision?: number | PipelineRef;
14800
+ /**
14801
+ * The largest angle, in radians, a curved face may turn between neighbouring triangles; smaller
14802
+ * follows curvature more closely with more triangles.
14803
+ */
14804
+ angularDeflection?: number | PipelineRef;
14805
+ /**
14806
+ * When true, `precision` is a fraction of each edge's and face's size instead of model units, so
14807
+ * small and large parts get triangles in proportion to their size.
14808
+ */
14809
+ relativeDeflection?: boolean | PipelineRef;
14008
14810
  /**
14009
14811
  * When true, the meshes are turned so this library's Y-up becomes Z-up, for tools that treat Z
14010
14812
  * as up.
@@ -14016,18 +14818,18 @@ export interface OperationParams {
14016
14818
  */
14017
14819
  computeMetadata?: boolean | PipelineRef;
14018
14820
  /**
14019
- * When true, the triangulation stays cached on each shape; when false it is cleared afterwards
14020
- * so memory does not grow across calls.
14821
+ * When true, the triangulations stay on the shapes for the next mesh with the same settings to
14822
+ * reuse; when false they are cleared. A mesh retention budget keeps every mesh.
14021
14823
  */
14022
14824
  keepMeshData?: boolean | PipelineRef;
14023
14825
  /**
14024
- * When true, a shape already meshed more finely may be remeshed at the coarser precision asked
14025
- * for.
14826
+ * When true, a face whose triangulation is not within 10% of the precision it needs is meshed
14827
+ * again; when false, a finer one is kept.
14026
14828
  */
14027
14829
  allowQualityDecrease?: boolean | PipelineRef;
14028
14830
  /**
14029
- * When true, every face is remeshed at the requested precision even when a triangulation is
14030
- * cached.
14831
+ * When true, every face is meshed at exactly the requested precision; when false, a face's
14832
+ * precision is raised to the average of its edges' and to twice its tolerance.
14031
14833
  */
14032
14834
  forceFaceDeflection?: boolean | PipelineRef;
14033
14835
  /**
@@ -14081,6 +14883,16 @@ export interface OperationParams {
14081
14883
  * with more triangles.
14082
14884
  */
14083
14885
  precision?: number | PipelineRef;
14886
+ /**
14887
+ * The largest angle, in radians, a curved face may turn between neighbouring triangles; smaller
14888
+ * follows curvature more closely with more triangles.
14889
+ */
14890
+ angularDeflection?: number | PipelineRef;
14891
+ /**
14892
+ * When true, `precision` is a fraction of each edge's and face's size instead of model units, so
14893
+ * small and large parts get triangles in proportion to their size.
14894
+ */
14895
+ relativeDeflection?: boolean | PipelineRef;
14084
14896
  /**
14085
14897
  * When true, the mesh is turned so this library's Y-up becomes Z-up, for tools that treat Z as
14086
14898
  * up.
@@ -14092,18 +14904,18 @@ export interface OperationParams {
14092
14904
  */
14093
14905
  computeMetadata?: boolean | PipelineRef;
14094
14906
  /**
14095
- * When true, the triangulation stays cached on the shape; when false it is cleared afterwards
14096
- * so memory does not grow across calls.
14907
+ * When true, the triangulation stays on the shape for the next mesh with the same settings to
14908
+ * reuse; when false it is cleared. A mesh retention budget keeps every mesh.
14097
14909
  */
14098
14910
  keepMeshData?: boolean | PipelineRef;
14099
14911
  /**
14100
- * When true, a shape already meshed more finely may be remeshed at the coarser precision asked
14101
- * for.
14912
+ * When true, a face whose triangulation is not within 10% of the precision it needs is meshed
14913
+ * again; when false, a finer one is kept.
14102
14914
  */
14103
14915
  allowQualityDecrease?: boolean | PipelineRef;
14104
14916
  /**
14105
- * When true, every face is remeshed at the requested precision even when a triangulation is
14106
- * cached.
14917
+ * When true, every face is meshed at exactly the requested precision; when false, a face's
14918
+ * precision is raised to the average of its edges' and to twice its tolerance.
14107
14919
  */
14108
14920
  forceFaceDeflection?: boolean | PipelineRef;
14109
14921
  /**
@@ -14124,6 +14936,289 @@ export interface OperationParams {
14124
14936
  /** The pull direction the draft angles are measured against; read only by `draftAngle`. */
14125
14937
  draftDirection?: [number, number, number] | PipelineRef;
14126
14938
  };
14939
+ /**
14940
+ * Makes a command that draws a circular arc to a point, given by its bulge as DXF files write
14941
+ * arcs.
14942
+ *
14943
+ * `bulge` is the tangent of a quarter of the angle swept: positive turns counterclockwise, 1
14944
+ * draws a half circle and 0 is refused, being a straight line.
14945
+ */
14946
+ "occt.sketch.commands.bulgeArc": {
14947
+ /** Where the arc ends, in the sketch's x and y. */
14948
+ to?: [number, number] | PipelineRef;
14949
+ /**
14950
+ * The tangent of a quarter of the angle the arc sweeps: positive turns counterclockwise, 1 is a
14951
+ * half circle, and 0 would be a straight line.
14952
+ */
14953
+ bulge?: number | PipelineRef;
14954
+ /** When true, `to` is an offset from where the pen is rather than a point of the sketch. */
14955
+ relative?: boolean | PipelineRef;
14956
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
14957
+ id?: string | PipelineRef;
14958
+ };
14959
+ /**
14960
+ * Makes a command that bevels the corner between the segment before it and the segment after it,
14961
+ * cutting the same distance off each.
14962
+ *
14963
+ * `distance` is measured along each segment. Placed after `close`, it bevels the corner at the
14964
+ * start point; only lines and circular arcs take a corner.
14965
+ */
14966
+ "occt.sketch.commands.chamferCorner": {
14967
+ /** How much the bevel cuts off each segment, in model units, measured along the segment. */
14968
+ distance?: number | PipelineRef;
14969
+ /** A name for the command, reported with the segment it draws; leave it out to be named by position. */
14970
+ id?: string | PipelineRef;
14971
+ };
14972
+ /**
14973
+ * Makes a command that closes the outline with a straight segment back to the start point.
14974
+ *
14975
+ * Only corner commands may follow it. When the pen is already at the start point it draws
14976
+ * nothing and only closes the outline.
14977
+ */
14978
+ "occt.sketch.commands.close": {
14979
+ /** A name for the command, reported with the edge it draws; leave it out to be named by position. */
14980
+ id?: string | PipelineRef;
14981
+ };
14982
+ /**
14983
+ * Makes a command that draws a cubic Bezier curve to a point, shaped by two control points.
14984
+ *
14985
+ * The curve leaves toward `control1` and arrives from `control2`; with `relative` true all three
14986
+ * points are offsets from where the pen is.
14987
+ */
14988
+ "occt.sketch.commands.cubic": {
14989
+ /** The point the curve leaves toward, in the sketch's x and y. */
14990
+ control1?: [number, number] | PipelineRef;
14991
+ /** The point the curve arrives from, in the sketch's x and y. */
14992
+ control2?: [number, number] | PipelineRef;
14993
+ /** Where the curve ends, in the sketch's x and y. */
14994
+ to?: [number, number] | PipelineRef;
14995
+ /**
14996
+ * When true, the control points and `to` are offsets from where the pen is rather than points of
14997
+ * the sketch.
14998
+ */
14999
+ relative?: boolean | PipelineRef;
15000
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15001
+ id?: string | PipelineRef;
15002
+ };
15003
+ /**
15004
+ * Makes a command that rounds the corner between the segment before it and the segment after
15005
+ * it with an arc of a given radius.
15006
+ *
15007
+ * Placed after `close`, it rounds the corner at the start point. Only lines and circular arcs
15008
+ * take a corner, and a radius too large for them is refused.
15009
+ */
15010
+ "occt.sketch.commands.filletCorner": {
15011
+ /** The radius of the rounding arc, in model units. */
15012
+ radius?: number | PipelineRef;
15013
+ /** A name for the command, reported with the arc it draws; leave it out to be named by position. */
15014
+ id?: string | PipelineRef;
15015
+ };
15016
+ /**
15017
+ * Makes a command that draws a straight segment along the sketch's x axis.
15018
+ *
15019
+ * A negative `length` draws in the negative x direction.
15020
+ */
15021
+ "occt.sketch.commands.hLine": {
15022
+ /** How far to draw along the sketch's x axis, in model units; negative draws the other way. */
15023
+ length?: number | PipelineRef;
15024
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15025
+ id?: string | PipelineRef;
15026
+ };
15027
+ /**
15028
+ * Makes a command that draws a straight segment to a point.
15029
+ *
15030
+ * `to` is a point in the sketch's x and y, or an offset from where the pen is when `relative`
15031
+ * is true.
15032
+ */
15033
+ "occt.sketch.commands.line": {
15034
+ /** Where the segment ends, in the sketch's x and y. */
15035
+ to?: [number, number] | PipelineRef;
15036
+ /** When true, `to` is an offset from where the pen is rather than a point of the sketch. */
15037
+ relative?: boolean | PipelineRef;
15038
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15039
+ id?: string | PipelineRef;
15040
+ };
15041
+ /**
15042
+ * Makes a command that draws a straight segment of a given length at an angle.
15043
+ *
15044
+ * `angle` is in degrees from the sketch's x axis, counterclockwise; a negative `length` draws
15045
+ * the opposite way.
15046
+ */
15047
+ "occt.sketch.commands.polarLine": {
15048
+ /** How far to draw, in model units; negative draws the opposite way. */
15049
+ length?: number | PipelineRef;
15050
+ /** The direction to draw in, in degrees from the sketch's x axis, counterclockwise. */
15051
+ angle?: number | PipelineRef;
15052
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15053
+ id?: string | PipelineRef;
15054
+ };
15055
+ /**
15056
+ * Makes a command that draws a quadratic Bezier curve to a point, pulled toward a control point.
15057
+ *
15058
+ * With `relative` true, `control` and `to` are offsets from where the pen is.
15059
+ */
15060
+ "occt.sketch.commands.quadratic": {
15061
+ /** The point the curve is pulled toward, in the sketch's x and y. */
15062
+ control?: [number, number] | PipelineRef;
15063
+ /** Where the curve ends, in the sketch's x and y. */
15064
+ to?: [number, number] | PipelineRef;
15065
+ /** When true, `control` and `to` are offsets from where the pen is rather than points of the sketch. */
15066
+ relative?: boolean | PipelineRef;
15067
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15068
+ id?: string | PipelineRef;
15069
+ };
15070
+ /**
15071
+ * Makes a command that draws a circular arc to a point, bowed out by a given distance.
15072
+ *
15073
+ * `sagitta` is how far the middle of the arc stands off the straight line to `to`: positive to
15074
+ * the left of the direction of travel, negative to the right.
15075
+ */
15076
+ "occt.sketch.commands.sagittaArc": {
15077
+ /** Where the arc ends, in the sketch's x and y. */
15078
+ to?: [number, number] | PipelineRef;
15079
+ /**
15080
+ * How far the arc's middle stands off the straight line between its ends, in model units:
15081
+ * positive to the left of travel, negative to the right.
15082
+ */
15083
+ sagitta?: number | PipelineRef;
15084
+ /** When true, `to` is an offset from where the pen is rather than a point of the sketch. */
15085
+ relative?: boolean | PipelineRef;
15086
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15087
+ id?: string | PipelineRef;
15088
+ };
15089
+ /**
15090
+ * Makes a command that draws a circular arc to a point, leaving in the direction the previous
15091
+ * segment ended in.
15092
+ *
15093
+ * It needs a segment before it. The arc's radius follows from where it ends; an end straight
15094
+ * ahead is refused, as `tangentLine` draws that.
15095
+ */
15096
+ "occt.sketch.commands.tangentArc": {
15097
+ /** Where the arc ends, in the sketch's x and y. */
15098
+ to?: [number, number] | PipelineRef;
15099
+ /** When true, `to` is an offset from where the pen is rather than a point of the sketch. */
15100
+ relative?: boolean | PipelineRef;
15101
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15102
+ id?: string | PipelineRef;
15103
+ };
15104
+ /**
15105
+ * Makes a command that draws straight on in the direction the previous segment ended in.
15106
+ *
15107
+ * It needs a segment before it, and is how a straight run leaves an arc smoothly.
15108
+ */
15109
+ "occt.sketch.commands.tangentLine": {
15110
+ /** How far to carry on, in model units. */
15111
+ length?: number | PipelineRef;
15112
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15113
+ id?: string | PipelineRef;
15114
+ };
15115
+ /**
15116
+ * Makes a command that draws a circular arc through one point to another.
15117
+ *
15118
+ * The arc turns whichever way takes it from where the pen is through `through` to `to`; the
15119
+ * three points must not lie on one line.
15120
+ */
15121
+ "occt.sketch.commands.threePointArc": {
15122
+ /** A point the arc passes through between its ends, in the sketch's x and y. */
15123
+ through?: [number, number] | PipelineRef;
15124
+ /** Where the arc ends, in the sketch's x and y. */
15125
+ to?: [number, number] | PipelineRef;
15126
+ /** When true, `through` and `to` are offsets from where the pen is rather than points of the sketch. */
15127
+ relative?: boolean | PipelineRef;
15128
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15129
+ id?: string | PipelineRef;
15130
+ };
15131
+ /**
15132
+ * Makes a command that draws a straight segment along the sketch's y axis.
15133
+ *
15134
+ * A negative `length` draws in the negative y direction.
15135
+ */
15136
+ "occt.sketch.commands.vLine": {
15137
+ /** How far to draw along the sketch's y axis, in model units; negative draws the other way. */
15138
+ length?: number | PipelineRef;
15139
+ /** A name for the command, reported with the edges it draws; leave it out to be named by position. */
15140
+ id?: string | PipelineRef;
15141
+ };
15142
+ /**
15143
+ * Wraps vertices, straight edges and circular edges lying in a frame's plane in the tightest
15144
+ * convex outline around them.
15145
+ *
15146
+ * The outline is exact: straight where it spans between shapes, following a circle where a circle
15147
+ * or an arc bulges out. Other curves are refused, as are shapes off the frame's plane or circles
15148
+ * tilted out of it.
15149
+ */
15150
+ "occt.sketch.hull": {
15151
+ /** The vertices, edges and wires to wrap; their edges must be straight or circular. */
15152
+ shapes: unknown[] | PipelineRef;
15153
+ /** The frame whose plane the shapes lie in. Leave it out for the ground plane. */
15154
+ frame?: unknown | PipelineRef;
15155
+ /** When true, the hull becomes a face whose normal is the frame's normal. */
15156
+ makeFace?: boolean | PipelineRef;
15157
+ };
15158
+ /**
15159
+ * Draws an outline with a pen, from a start point through a list of moves, in a frame's plane.
15160
+ *
15161
+ * Each command draws on from where the previous one ended, and lines and arcs come out as exact
15162
+ * lines and circles. `makeFace` turns a closed outline into a face facing along the frame's
15163
+ * normal; one that crosses itself is refused.
15164
+ */
15165
+ "occt.sketch.pen": {
15166
+ /** The moves of the pen, drawn one after another from `start`. */
15167
+ commands: unknown[] | PipelineRef;
15168
+ /** Where the pen starts, in the sketch's x and y. */
15169
+ start?: [number, number] | PipelineRef;
15170
+ /**
15171
+ * The frame the sketch lies in, its direction the sketch's x axis and its normal out of the face.
15172
+ * Left out, the ground, with the sketch's y axis along -Z.
15173
+ */
15174
+ frame?: unknown | PipelineRef;
15175
+ /** When true, the closed outline becomes a face whose normal is the frame's normal. */
15176
+ makeFace?: boolean | PipelineRef;
15177
+ };
15178
+ /**
15179
+ * Draws an outline as `pen` does and reports which edges each command drew, so later steps can
15180
+ * find the edges and faces a command made by its `id`.
15181
+ *
15182
+ * Edges are numbered as `shapes.edge.getEdges` numbers them on the result. A command without an
15183
+ * `id` is named by its position, and a command that drew nothing is left out.
15184
+ */
15185
+ "occt.sketch.penWithSegments": {
15186
+ /** The moves of the pen, drawn one after another from `start`. */
15187
+ commands: unknown[] | PipelineRef;
15188
+ /** Where the pen starts, in the sketch's x and y. */
15189
+ start?: [number, number] | PipelineRef;
15190
+ /**
15191
+ * The frame the sketch lies in, its direction the sketch's x axis and its normal out of the face.
15192
+ * Left out, the ground, with the sketch's y axis along -Z.
15193
+ */
15194
+ frame?: unknown | PipelineRef;
15195
+ /** When true, the closed outline becomes a face whose normal is the frame's normal. */
15196
+ makeFace?: boolean | PipelineRef;
15197
+ };
15198
+ /**
15199
+ * Outlines a wire as if it were drawn with a pen of a given width, in a frame's plane.
15200
+ *
15201
+ * Half of `width` lies to each side; `cap` finishes an open wire's ends and `join` its corners.
15202
+ * A closed wire gives a ring: a face with one hole, or its two wires in a compound without
15203
+ * `makeFace`.
15204
+ */
15205
+ "occt.sketch.stroke": {
15206
+ /** The wire or edge to outline, lying in the frame's plane. */
15207
+ shape: unknown | PipelineRef;
15208
+ /** How wide the stroke is, in model units; it reaches half the width to each side. */
15209
+ width?: number | PipelineRef;
15210
+ /** How the two ends of an open wire are finished; a closed wire has no ends. */
15211
+ cap?: "flat" | "round" | "square" | PipelineRef;
15212
+ /**
15213
+ * How the outline goes around the wire's corners: `arc` rounds them, `intersection` keeps them
15214
+ * sharp, `tangent` continues each side tangentially.
15215
+ */
15216
+ join?: "arc" | "intersection" | "tangent" | PipelineRef;
15217
+ /** The frame whose plane the wire lies in. Leave it out for the ground plane. */
15218
+ frame?: unknown | PipelineRef;
15219
+ /** When true, the outline becomes a face; a closed wire gives a ring, a face with one hole. */
15220
+ makeFace?: boolean | PipelineRef;
15221
+ };
14127
15222
  /**
14128
15223
  * Parses an SVG document and builds every drawable element into one compound shape on the
14129
15224
  * ground plane, ready to draw, extrude or transform as a whole.
@@ -14799,6 +15894,24 @@ export interface OperationParams {
14799
15894
  /** Sheet thickness; 0 auto-detects from face pairs */
14800
15895
  thicknessOverride?: number | PipelineRef;
14801
15896
  };
15897
+ /**
15898
+ * Lays out points along the circular arc through three points, from the first through the
15899
+ * second to the third.
15900
+ *
15901
+ * The arc is divided into `segments` equal steps between the given ends. Points on one line fix
15902
+ * no arc and come back as they are.
15903
+ * Example: [1,0,0], [0,1,0] and [-1,0,0] in 2 segments -> [[1,0,0], [0,1,0], [-1,0,0]]
15904
+ */
15905
+ "point.arcThroughThreePoints": {
15906
+ /** Where the arc starts. */
15907
+ start: [number, number, number] | PipelineRef;
15908
+ /** A point the arc passes through on its way, which decides the side it bulges to. */
15909
+ middle: [number, number, number] | PipelineRef;
15910
+ /** Where the arc ends. */
15911
+ end: [number, number, number] | PipelineRef;
15912
+ /** How many equal steps the arc is divided into; more steps follow the circle more closely. */
15913
+ segments?: number | PipelineRef;
15914
+ };
14802
15915
  /**
14803
15916
  * Finds the average of the points, which is their center of mass when they weigh the same.
14804
15917
  *
@@ -15362,6 +16475,28 @@ export interface OperationParams {
15362
16475
  /** Distance, in model units, below which two points count as the same. */
15363
16476
  tolerance?: number | PipelineRef;
15364
16477
  };
16478
+ /**
16479
+ * Measures the area a polyline encloses, read as a closed outline in its own plane.
16480
+ *
16481
+ * The polyline need not repeat its first point at its end. An outline that is not quite flat
16482
+ * gives the area of its outline seen along its normal.
16483
+ * Example: [[0,0,0], [4,0,0], [4,4,0], [0,4,0]] -> 16
16484
+ */
16485
+ "polyline.polygonArea": {
16486
+ /** The polyline object with its points. */
16487
+ polyline: unknown | PipelineRef;
16488
+ };
16489
+ /**
16490
+ * Finds the unit normal of the plane a polyline encloses, read as a closed outline.
16491
+ *
16492
+ * Newell's method makes it hold for an outline that is not convex or not quite flat. It points
16493
+ * the way the outline turns by the right-hand rule; an outline with no area gives undefined.
16494
+ * Example: [[0,0,0], [4,0,0], [4,4,0], [0,4,0]] -> [0, 0, 1]
16495
+ */
16496
+ "polyline.polygonNormal": {
16497
+ /** The polyline object with its points. */
16498
+ polyline: unknown | PipelineRef;
16499
+ };
15365
16500
  /**
15366
16501
  * Finds the points where the polyline crosses itself.
15367
16502
  *
@@ -16466,7 +17601,7 @@ export interface TypedChoiceStep {
16466
17601
  /** Any step in a typed pipeline. */
16467
17602
  export type TypedPipelineAnyStep = TypedStep | TypedMapStep | TypedChoiceStep;
16468
17603
  /** Pipeline output format. */
16469
- export type TypedPipelineOutputFormat = "step" | "stpz" | "decomposed-mesh" | "gltf" | "json" | "csv" | "stl" | "3mf";
17604
+ export type TypedPipelineOutputFormat = "step" | "stpz" | "decomposed-mesh" | "gltf" | "json" | "csv" | "stl" | "3mf" | "brep" | "brep-binary";
16470
17605
  /** Output options for a typed pipeline. */
16471
17606
  export interface TypedPipelineOutputOptions {
16472
17607
  formats: TypedPipelineOutputFormat[];