@bitbybit-dev/cad-cloud-sdk 1.1.0 → 1.2.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.
Files changed (83) hide show
  1. package/dist/client.d.ts.map +1 -1
  2. package/dist/client.js +5 -15
  3. package/dist/client.js.map +1 -1
  4. package/dist/endpoints/cad.d.ts.map +1 -1
  5. package/dist/endpoints/cad.js +0 -3
  6. package/dist/endpoints/cad.js.map +1 -1
  7. package/dist/endpoints/convert.d.ts.map +1 -1
  8. package/dist/endpoints/convert.js +0 -3
  9. package/dist/endpoints/convert.js.map +1 -1
  10. package/dist/endpoints/files.d.ts.map +1 -1
  11. package/dist/endpoints/files.js +0 -3
  12. package/dist/endpoints/files.js.map +1 -1
  13. package/dist/endpoints/models.d.ts.map +1 -1
  14. package/dist/endpoints/models.js +0 -3
  15. package/dist/endpoints/models.js.map +1 -1
  16. package/dist/endpoints/tasks.d.ts.map +1 -1
  17. package/dist/endpoints/tasks.js +0 -3
  18. package/dist/endpoints/tasks.js.map +1 -1
  19. package/dist/errors.d.ts +4 -4
  20. package/dist/errors.d.ts.map +1 -1
  21. package/dist/errors.js +0 -3
  22. package/dist/errors.js.map +1 -1
  23. package/dist/fetch-downloads.d.ts.map +1 -1
  24. package/dist/fetch-downloads.js +0 -3
  25. package/dist/fetch-downloads.js.map +1 -1
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +0 -8
  28. package/dist/index.js.map +1 -1
  29. package/dist/polling.d.ts.map +1 -1
  30. package/dist/polling.js +0 -3
  31. package/dist/polling.js.map +1 -1
  32. package/dist/types/custom.d.ts.map +1 -1
  33. package/dist/types/custom.js +0 -5
  34. package/dist/types/custom.js.map +1 -1
  35. package/dist/types/generated.d.ts +19 -6
  36. package/dist/types/generated.d.ts.map +1 -1
  37. package/dist/types/index.d.ts.map +1 -1
  38. package/dist/types/index.js +0 -7
  39. package/dist/types/index.js.map +1 -1
  40. package/dist/types/pipeline-operations.d.ts +253 -47
  41. package/dist/types/pipeline-operations.d.ts.map +1 -1
  42. package/dist/types/pipeline-operations.js +1 -1
  43. package/dist/types/pipeline-operations.js.map +1 -1
  44. package/dist/unwrap.d.ts.map +1 -1
  45. package/dist/unwrap.js +0 -3
  46. package/dist/unwrap.js.map +1 -1
  47. package/dist/validation/validator.d.ts.map +1 -1
  48. package/dist/validation/validator.js +0 -8
  49. package/dist/validation/validator.js.map +1 -1
  50. package/package.json +6 -3
  51. package/src/__test__/helpers.ts +71 -0
  52. package/src/__test__/index.ts +1 -0
  53. package/src/client.test.ts +206 -0
  54. package/src/client.ts +153 -0
  55. package/src/endpoints/cad.test.ts +101 -0
  56. package/src/endpoints/cad.ts +53 -0
  57. package/src/endpoints/convert.test.ts +154 -0
  58. package/src/endpoints/convert.ts +83 -0
  59. package/src/endpoints/files.test.ts +170 -0
  60. package/src/endpoints/files.ts +89 -0
  61. package/src/endpoints/index.ts +5 -0
  62. package/src/endpoints/models.test.ts +228 -0
  63. package/src/endpoints/models.ts +131 -0
  64. package/src/endpoints/tasks.test.ts +193 -0
  65. package/src/endpoints/tasks.ts +93 -0
  66. package/src/errors.test.ts +57 -0
  67. package/src/errors.ts +21 -0
  68. package/src/fetch-downloads.test.ts +67 -0
  69. package/src/fetch-downloads.ts +18 -0
  70. package/src/index.ts +19 -0
  71. package/src/polling.test.ts +194 -0
  72. package/src/polling.ts +81 -0
  73. package/src/types/custom.ts +45 -0
  74. package/src/types/generated.ts +3136 -0
  75. package/src/types/index.ts +3 -0
  76. package/src/types/pipeline-operations.ts +9008 -0
  77. package/src/types/schema-exports.ts +228 -0
  78. package/src/unwrap.test.ts +75 -0
  79. package/src/unwrap.ts +20 -0
  80. package/src/validation/index.ts +1 -0
  81. package/src/validation/request-schemas.ts +1001 -0
  82. package/src/validation/validator.test.ts +218 -0
  83. package/src/validation/validator.ts +60 -0
@@ -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.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.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.crossSection.transforms.warp" | "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.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.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.setProperties" | "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.manifold.transforms.warp" | "manifold.manifoldToMeshPointer" | "manifold.mesh.evaluate.extras" | "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.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.exportDocumentToStep" | "occt.assembly.manager.loadStepToDoc" | "occt.assembly.manager.setDocLabelColor" | "occt.assembly.manager.setDocLabelName" | "occt.assembly.query.getAssemblyHierarchy" | "occt.assembly.query.getDocumentParts" | "occt.assembly.query.getLabelColor" | "occt.assembly.query.getLabelInfo" | "occt.assembly.query.getLabelTransform" | "occt.assembly.query.getShapeFromLabel" | "occt.booleans.difference" | "occt.booleans.intersection" | "occt.booleans.meshMeshIntersectionOfShapesPoints" | "occt.booleans.meshMeshIntersectionOfShapesWires" | "occt.booleans.meshMeshIntersectionPoints" | "occt.booleans.meshMeshIntersectionWires" | "occt.booleans.union" | "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.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.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.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.loadSTEPorIGES" | "occt.io.parseStepToJson" | "occt.io.saveShapeSTEP" | "occt.io.saveShapeSTEPAndReturn" | "occt.io.saveShapeStl" | "occt.io.saveShapeStlAndReturn" | "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.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.revolve" | "occt.operations.rotatedExtrude" | "occt.operations.slice" | "occt.operations.sliceInStepPattern" | "occt.operations.splitShapeWithShapes" | "occt.shapeFacesToPolygonPoints" | "occt.shapeFix.basicShapeRepair" | "occt.shapeFix.fixEdgeOrientationsAlongWire" | "occt.shapeFix.fixSmallEdgeOnWire" | "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.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.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.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.makeEdgeFromGeom2dCurveAndSurface" | "occt.shapes.edge.pointOnEdgeAtLength" | "occt.shapes.edge.pointOnEdgeAtParam" | "occt.shapes.edge.pointsOnEdgesAtLength" | "occt.shapes.edge.pointsOnEdgesAtParam" | "occt.shapes.edge.removeInternalEdges" | "occt.shapes.edge.reversedEdge" | "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.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.faceFromSurface" | "occt.shapes.face.faceFromSurfaceAndWire" | "occt.shapes.face.filterFacePoints" | "occt.shapes.face.filterFacesPoints" | "occt.shapes.face.fromBaseMesh" | "occt.shapes.face.fromBaseTriangle" | "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.normalOnUV" | "occt.shapes.face.normalsOnUVs" | "occt.shapes.face.pointOnUV" | "occt.shapes.face.pointsOnUVs" | "occt.shapes.face.reversedFace" | "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.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.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.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.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.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.interpolateWires" | "occt.shapes.wire.isWireClosed" | "occt.shapes.wire.midPointOnWire" | "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.projectWires" | "occt.shapes.wire.reversedWire" | "occt.shapes.wire.reversedWireFromReversedEdges" | "occt.shapes.wire.splitOnPoints" | "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.shapesToMeshes" | "occt.shapeToMesh" | "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.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.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.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.crossSection.transforms.warp" | "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.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.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.setProperties" | "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.manifold.transforms.warp" | "manifold.manifoldToMeshPointer" | "manifold.mesh.evaluate.extras" | "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.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.exportDocumentToStep" | "occt.assembly.manager.loadStepToDoc" | "occt.assembly.manager.setDocLabelColor" | "occt.assembly.manager.setDocLabelName" | "occt.assembly.query.getAssemblyHierarchy" | "occt.assembly.query.getDocumentParts" | "occt.assembly.query.getLabelColor" | "occt.assembly.query.getLabelInfo" | "occt.assembly.query.getLabelTransform" | "occt.assembly.query.getShapeFromLabel" | "occt.booleans.difference" | "occt.booleans.intersection" | "occt.booleans.meshMeshIntersectionOfShapesPoints" | "occt.booleans.meshMeshIntersectionOfShapesWires" | "occt.booleans.meshMeshIntersectionPoints" | "occt.booleans.meshMeshIntersectionWires" | "occt.booleans.union" | "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.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.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.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.loadSTEPorIGES" | "occt.io.parseStepToJson" | "occt.io.saveShapeSTEP" | "occt.io.saveShapeSTEPAndReturn" | "occt.io.saveShapeStl" | "occt.io.saveShapeStlAndReturn" | "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.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.revolve" | "occt.operations.rotatedExtrude" | "occt.operations.slice" | "occt.operations.sliceInStepPattern" | "occt.operations.splitShapeWithShapes" | "occt.path.shapeFromPath" | "occt.shapeFacesToPolygonPoints" | "occt.shapeFix.basicShapeRepair" | "occt.shapeFix.fixEdgeOrientationsAlongWire" | "occt.shapeFix.fixSmallEdgeOnWire" | "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.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.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.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.startPointOnEdge" | "occt.shapes.edge.startPointsOnEdges" | "occt.shapes.edge.tangentOnEdgeAtLength" | "occt.shapes.edge.tangentOnEdgeAtParam" | "occt.shapes.edge.tangentsOnEdgesAtLength" | "occt.shapes.edge.tangentsOnEdgesAtParam" | "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.filterFacePoints" | "occt.shapes.face.filterFacesPoints" | "occt.shapes.face.flipFaceUV" | "occt.shapes.face.fromBaseMesh" | "occt.shapes.face.fromBaseTriangle" | "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.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.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.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.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.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.projectWires" | "occt.shapes.wire.rebuildWireDegree" | "occt.shapes.wire.reversedWire" | "occt.shapes.wire.reversedWireFromReversedEdges" | "occt.shapes.wire.splitOnPoints" | "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.shapesToMeshes" | "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.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";
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. */
@@ -1427,7 +1427,7 @@ export interface OperationParams {
1427
1427
  /** Applies NOT operator to flip all boolean values in a list. Example: [true, false, true] → [false, true, false] */
1428
1428
  "logic.notList": {
1429
1429
  /** Boolean value */
1430
- booleans: unknown | PipelineRef;
1430
+ booleans: unknown[] | PipelineRef;
1431
1431
  };
1432
1432
  /** Generates a random boolean list where each value has a threshold chance of being true. Example: length=5, threshold=0.7 → might produce [true, true, false, true, true] */
1433
1433
  "logic.randomBooleans": {
@@ -1652,7 +1652,7 @@ export interface OperationParams {
1652
1652
  /** Circular segments */
1653
1653
  circularSegments?: number | PipelineRef;
1654
1654
  };
1655
- /** Remove vertices from the contours in this CrossSection that are less than the specified distance epsilon from an imaginary line that passes through its two adjacent vertices. Near duplicate vertices and collinear points will be removed at lower epsilons, with elimination of line segments becoming increasingly aggressive with larger epsilons. It is recommended to apply this function following Offset, in order to clean up any spurious tiny line segments introduced that do not improve offseting operations are to be performed, which would compound the issue. */
1655
+ /** Remove vertices from the contours in this CrossSection that are less than the specified distance epsilon from an imaginary line that passes through its two adjacent vertices. Near duplicate vertices and collinear points will be removed at lower epsilons, with elimination of line segments becoming increasingly aggressive with larger epsilons. It is recommended to apply this function following Offset, in order to clean up any spurious tiny line segments introduced that do not improve quality in any meaningful way. This is particularly important if further offseting operations are to be performed, which would compound the issue. */
1656
1656
  "manifold.crossSection.operations.simplify": {
1657
1657
  /** Revolve cross section shape */
1658
1658
  crossSection: unknown | PipelineRef;
@@ -1825,7 +1825,7 @@ export interface OperationParams {
1825
1825
  /** The offset from the origin */
1826
1826
  originOffset?: number | PipelineRef;
1827
1827
  };
1828
- /** Split manifold by plane on various offsets */
1828
+ /** Split manifold by plane on various offsets. Each cut takes the part below the plane as a finished piece and carries the part above it to the next, larger offset, so a run of n offsets yields n + 1 pieces and accounts for the whole of the solid. */
1829
1829
  "manifold.manifold.booleans.splitByPlaneOnOffsets": {
1830
1830
  /** Manifold that will be split */
1831
1831
  manifold: unknown | PipelineRef;
@@ -2139,7 +2139,7 @@ export interface OperationParams {
2139
2139
  /** Manifold shape */
2140
2140
  manifold: unknown | PipelineRef;
2141
2141
  /** The normal vector of the plane to be mirrored over */
2142
- factor?: number | PipelineRef;
2142
+ vector?: [number, number, number] | PipelineRef;
2143
2143
  };
2144
2144
  /** Scales a manifold shape with 3D vector */
2145
2145
  "manifold.manifold.transforms.scale3D": {
@@ -2246,8 +2246,8 @@ export interface OperationParams {
2246
2246
  "manifold.mesh.evaluate.transform": {
2247
2247
  /** Mesh */
2248
2248
  mesh: unknown | PipelineRef;
2249
- /** Vertex index */
2250
- vertexIndex?: number | PipelineRef;
2249
+ /** Triangle run index */
2250
+ triangleRunIndex?: number | PipelineRef;
2251
2251
  };
2252
2252
  /** Gets the three vertex indices of this triangle in CCW order. */
2253
2253
  "manifold.mesh.evaluate.verts": {
@@ -2556,7 +2556,7 @@ export interface OperationParams {
2556
2556
  /** Maximum value */
2557
2557
  max?: number | PipelineRef;
2558
2558
  };
2559
- /** Build an assembly document from a structure definition. Returns the document handle directly - document stays in worker memory. This is the recommended approach for creating assemblies: 1. Define parts with shapes, names, and optional colors 2. Define nodes (assemblies and instances) with hierarchy and transforms 3. Call this method to create the document 4. Query the document or to STEP/glTF 5. Call deleteDocument() to release memory when done If existingDocument is provided and valid, the document will be cleared and updated instead of creating a new one. This is useful for updating an assembly without allocating a new document each time. ```typescript // Create new document const structure = await occt.assembly.manager.combineStructure({ parts, nodes }); const document = await occt.assembly.manager.buildAssemblyDocument({ structure }); // Update existing document (reuses same handle) const updatedStructure = await occt.assembly.manager.combineStructure({ parts: newParts, nodes: newNodes }); await occt.assembly.manager.buildAssemblyDocument({ structure: updatedStructure, existingDocument: document }); // Cleanup await occt.assembly.manager.deleteDocument({ document }); ``` */
2559
+ /** Build an assembly document from a structure definition. Returns the document handle directly - document stays in worker memory. This is the recommended approach for creating assemblies: 1. Define parts with shapes, names, and optional colors 2. Define nodes (assemblies and instances) with hierarchy and transforms 3. Call this method to create the document 4. Query the document or export to STEP/glTF 5. Call deleteDocument() to release memory when done If existingDocument is provided and valid, the document will be cleared and updated instead of creating a new one. This is useful for updating an assembly without allocating a new document each time. When updating an existing document (existingDocument provided): - If `structure.removals` is provided, those labels are removed first - If `structure.partUpdates` is provided, those parts are updated (shape, name, color) - New `parts` and `nodes` are added to the document - If neither `removals` nor `partUpdates` is provided, the document is cleared first (backward compatible) - Use `clearDocument: false` in structure to preserve existing content while adding new parts/nodes */
2560
2560
  "occt.assembly.manager.buildAssemblyDocument": {
2561
2561
  /** Assembly structure definition with parts and nodes */
2562
2562
  structure: unknown | PipelineRef;
@@ -2565,13 +2565,13 @@ export interface OperationParams {
2565
2565
  /** Optional array of source document handles referenced by `structure.loadedParts` entries via `sourceDocumentIndex`. Typically these are documents previously loaded with loadStepToDoc. Lifetime of source documents is the caller's responsibility — they are not modified or deleted by buildAssemblyDocument. */
2566
2566
  sourceDocuments?: unknown[] | PipelineRef;
2567
2567
  };
2568
- /** Combine parts and nodes into a complete assembly structure definition. This is the final step before calling buildAssemblyDocument. ```typescript const parts = [part1, part2]; const nodes = [rootAsm, inst1, inst2]; const structure = await occt.assembly.manager.combineStructure({ parts, nodes }); const result = await occt.assembly.manager.buildAssemblyDocument({ structure }); ``` */
2568
+ /** Combine parts and nodes into a complete assembly structure definition. This is the final step before calling buildAssemblyDocument. */
2569
2569
  "occt.assembly.manager.combineStructure": {
2570
2570
  /** Labels to remove from existing document. Can be part labels, instance labels, or assembly labels. Ignored when creating a new document (no existingDocument provided). */
2571
2571
  removals: unknown[] | PipelineRef;
2572
2572
  /** Updates to apply to existing parts in the document. Each update can change the shape, name, and/or color of a part. Ignored when creating a new document (no existingDocument provided). */
2573
2573
  partUpdates: unknown[] | PipelineRef;
2574
- /** source document via `sourceDocumentIndex` (matching the order of `sourceDocuments` on buildAssemblyDocument) and copies a label (or all free shapes) into this assembly, preserving sub-assembly hierarchy, names and colors. Instance nodes can then reference */
2574
+ /** Parts imported from other documents (e.g. STEP-loaded). Each entry references a source document via `sourceDocumentIndex` (matching the order of `sourceDocuments` on buildAssemblyDocument) and copies a label (or all free shapes) into this assembly, preserving sub-assembly hierarchy, names and colors. Instance nodes can then reference them by `partId` to place the imported assembly multiple times with different transforms. */
2575
2575
  loadedParts: unknown[] | PipelineRef;
2576
2576
  /** List of part definitions (shapes that can be instanced) */
2577
2577
  parts?: unknown[] | PipelineRef;
@@ -2580,7 +2580,7 @@ export interface OperationParams {
2580
2580
  /** Whether to clear the existing document before adding new content. Only relevant when an existingDocument is provided to buildAssemblyDocument. - `true`: Clear all existing shapes, then add new parts/nodes (full rebuild) - `false`: Keep existing shapes, apply removals/updates, add new parts/nodes (incremental) */
2581
2581
  clearDocument?: boolean | PipelineRef;
2582
2582
  };
2583
- /** Create an assembly node definition (a container for other nodes). Assembly nodes group instances and other assemblies together in the hierarchy. ```typescript const rootAsm = await occt.assembly.manager.createAssemblyNode({ id: "root", name: "Root Assembly" }); const subAsm = await occt.assembly.manager.createAssemblyNode({ id: "sub", name: "Sub Assembly", parentId: "root" }); ``` */
2583
+ /** Create an assembly node definition (a container for other nodes). Assembly nodes group instances and other assemblies together in the hierarchy. */
2584
2584
  "occt.assembly.manager.createAssemblyNode": {
2585
2585
  /** Unique identifier for this assembly node */
2586
2586
  id: string | PipelineRef;
@@ -2593,17 +2593,20 @@ export interface OperationParams {
2593
2593
  /** Optional color for the assembly */
2594
2594
  colorRgba?: unknown | PipelineRef;
2595
2595
  };
2596
- /** (typically a STEP-loaded document) into the new assembly. Preserves sub-assembly hierarchy, names and colors. The result can be referenced by `partId` from any ```typescript const chairDoc = occt.assembly.manager.loadStepToDoc({ stepData }); const chair = occt.assembly.manager.createImportedPart({ id: "chair", sourceDocumentIndex: 0, name: "Chair" }); const i1 = occt.assembly.manager.createInstanceNode({ id: "c1", partId: "chair", name: "Chair 1", translation: [0,0,0] }); const i2 = occt.assembly.manager.createInstanceNode({ id: "c2", partId: "chair", name: "Chair 2", translation: [500,0,0] }); const structure = occt.assembly.manager.combineStructure({ parts: [], nodes: [i1, i2], loadedParts: [chair] }); const doc = occt.assembly.manager.buildAssemblyDocument({ structure, sourceDocuments: [chairDoc] }); ``` */
2596
+ /** Create an imported part definition that copies a label tree from another document (typically a STEP-loaded document) into the new assembly. Preserves sub-assembly hierarchy, names and colors. The result can be referenced by `partId` from any instance node to place the imported assembly multiple times. */
2597
2597
  "occt.assembly.manager.createImportedPart": {
2598
+ /** Unique identifier for referencing this imported part from instance nodes (via partId). */
2598
2599
  id: string | PipelineRef;
2599
- /** Optional OCAF entry string of the label to copy from the source document (e.g. "0:1:1:1"). assembly compound when there are multiple). */
2600
+ /** Optional OCAF entry string of the label to copy from the source document (e.g. "0:1:1:1"). If omitted, all free shapes of the source document are imported (wrapped in a new assembly compound when there are multiple). */
2600
2601
  sourceLabel: string | PipelineRef;
2602
+ /** Optional display name override applied to the imported root label. */
2601
2603
  name: string | PipelineRef;
2604
+ /** Optional color override applied to the imported root label. */
2602
2605
  colorRgba: unknown | PipelineRef;
2603
2606
  /** Index into the `sourceDocuments` array passed to buildAssemblyDocument. */
2604
2607
  sourceDocumentIndex?: number | PipelineRef;
2605
2608
  };
2606
- /** Create an instance node definition (a reference to a part with transform). Instance nodes place a part at a specific location with optional translation, rotation, and scale. ```typescript const inst1 = await occt.assembly.manager.createInstanceNode({ id: "box1", partId: "box", name: "Box 1" }); const inst2 = await occt.assembly.manager.createInstanceNode({ id: "box2", partId: "box", name: "Box 2", translation: [20, 0, 0], rotation: [0, 0, 45] }); ``` */
2609
+ /** Create an instance node definition (a reference to a part with transform). Instance nodes place a part at a specific location with optional translation, rotation, and scale. */
2607
2610
  "occt.assembly.manager.createInstanceNode": {
2608
2611
  /** Unique identifier for this instance node */
2609
2612
  id: string | PipelineRef;
@@ -2624,7 +2627,7 @@ export interface OperationParams {
2624
2627
  /** Uniform scale factor */
2625
2628
  scale?: number | PipelineRef;
2626
2629
  };
2627
- /** Create a part definition for use in assembly structures. This is a helper for visual programming - it simply wraps the inputs into a part object. ```typescript const box = await occt.shapes.solid.createBox({ width: 10, length: 10, height: 10 }); const part = await occt.assembly.manager.createPart({ id: "box", shape: box, name: "Box", color: { r: 1, g: 0, b: 0, a: 1 } }); ``` */
2630
+ /** Create a part definition for use in assembly structures. This is a helper for visual programming - it simply wraps the inputs into a part object. */
2628
2631
  "occt.assembly.manager.createPart": {
2629
2632
  /** Unique identifier for referencing this part in nodes */
2630
2633
  id: string | PipelineRef;
@@ -2635,7 +2638,7 @@ export interface OperationParams {
2635
2638
  /** Optional color for the part (RGBA, values 0-1) */
2636
2639
  colorRgba?: unknown | PipelineRef;
2637
2640
  };
2638
- /** Create a part update definition for modifying an existing part in a document. Part updates can change the shape, name, and/or color of an existing part. ```typescript // Get existing parts from document const parts = await occt.assembly.query.getDocumentParts({ document }); // Create a new shape to replace the old one const newBox = await occt.shapes.solid.createBox({ width: 20, length: 20, height: 20 }); // Create an update definition const update = await occt.assembly.manager.createPartUpdate({ label: parts[0].label, shape: newBox, name: "Bigger Box", colorRgba: { r: 0, g: 1, b: 0, a: 1 } }); // Combine with structure and rebuild const structure = await occt.assembly.manager.combineStructure({ parts: [], nodes: [], partUpdates: [update] }); await occt.assembly.manager.buildAssemblyDocument({ structure, existingDocument: document }); ``` */
2641
+ /** Create a part update definition for modifying an existing part in a document. Part updates can change the shape, name, and/or color of an existing part. */
2639
2642
  "occt.assembly.manager.createPartUpdate": {
2640
2643
  /** Label of the existing part to update (e.g., "0:1:1:1"). Obtain this from document queries like getDocumentParts. */
2641
2644
  label: string | PipelineRef;
@@ -2646,12 +2649,12 @@ export interface OperationParams {
2646
2649
  /** New color for the part. If undefined, the color is not changed. */
2647
2650
  colorRgba: unknown | PipelineRef;
2648
2651
  };
2649
- /** Delete an assembly document and release its memory. Call this when done with the document to free resources. ```typescript const document = await occt.assembly.manager.buildAssemblyDocument({ structure }); // ... use the document ... await occt.assembly.manager.deleteDocument({ document }); ``` */
2652
+ /** Delete an assembly document and release its memory. Call this when done with the document to free resources. */
2650
2653
  "occt.assembly.manager.deleteDocument": {
2651
2654
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2652
2655
  document: unknown | PipelineRef;
2653
2656
  };
2654
- /** Export an assembly document to glTF binary (GLB) format. ```typescript const document = await occt.assembly.manager.buildAssemblyDocument({ structure }); const glbData = await occt.assembly.manager.exportDocumentToGltf({ document, meshDeflection: 0.1, tryDownload: true }); ``` */
2657
+ /** Export an assembly document to glTF binary (GLB) format. */
2655
2658
  "occt.assembly.manager.exportDocumentToGltf": {
2656
2659
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2657
2660
  document: unknown | PipelineRef;
@@ -2665,14 +2668,14 @@ export interface OperationParams {
2665
2668
  controlSurfaceDeflection?: boolean | PipelineRef;
2666
2669
  /** Whether to merge faces with same material for optimization. Set to false to preserve face boundaries. */
2667
2670
  mergeFaces?: boolean | PipelineRef;
2668
- /** Whether to texture coordinates (UVs). */
2671
+ /** Whether to export texture coordinates (UVs). */
2669
2672
  forceUVExport?: boolean | PipelineRef;
2670
2673
  /** File name for download (optional, should end with .glb) */
2671
2674
  fileName?: string | PipelineRef;
2672
2675
  /** Whether to trigger a file download in the browser */
2673
2676
  tryDownload?: boolean | PipelineRef;
2674
2677
  };
2675
- /** Export an assembly document to glTF binary (GLB) format with explicit Draco geometry compression settings. ```typescript const document = await occt.assembly.manager.buildAssemblyDocument({ structure }); const glbData = await occt.assembly.manager.exportDocumentToGltfWithDraco({ document, meshDeflection: 0.1, useDraco: true, dracoCompressionLevel: 7, tryDownload: true }); ``` */
2678
+ /** Export an assembly document to glTF binary (GLB) format with explicit Draco geometry compression settings. */
2676
2679
  "occt.assembly.manager.exportDocumentToGltfWithDraco": {
2677
2680
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2678
2681
  document: unknown | PipelineRef;
@@ -2680,7 +2683,7 @@ export interface OperationParams {
2680
2683
  tryDownload?: boolean | PipelineRef;
2681
2684
  /** File name for download (optional, should end with .glb) */
2682
2685
  fileName?: string | PipelineRef;
2683
- /** Whether to texture coordinates (UVs). */
2686
+ /** Whether to export texture coordinates (UVs). */
2684
2687
  forceUVExport?: boolean | PipelineRef;
2685
2688
  /** Whether to merge faces with same material for optimization. Set to false to preserve face boundaries. */
2686
2689
  mergeFaces?: boolean | PipelineRef;
@@ -2709,7 +2712,7 @@ export interface OperationParams {
2709
2712
  /** Apply a single quantization grid across all attributes. */
2710
2713
  dracoUnifiedQuantization?: boolean | PipelineRef;
2711
2714
  };
2712
- /** Export an assembly document to STEP format. ```typescript const document = await occt.assembly.manager.buildAssemblyDocument({ structure }); const stepData = await occt.assembly.manager.exportDocumentToStep({ document, fileName: "my-assembly.step", author: "John Doe", tryDownload: true }); ``` */
2715
+ /** Export an assembly document to STEP format. */
2713
2716
  "occt.assembly.manager.exportDocumentToStep": {
2714
2717
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2715
2718
  document: unknown | PipelineRef;
@@ -2724,12 +2727,12 @@ export interface OperationParams {
2724
2727
  /** Whether to trigger a file download in the browser */
2725
2728
  tryDownload?: boolean | PipelineRef;
2726
2729
  };
2727
- /** Load a STEP file into a new assembly document. Supports both regular STEP and gzip-compressed STEP-Z. ```typescript const stepData = await fetch("model.step").then(r => r.text()); const document = await occt.assembly.manager.loadStepToDoc({ stepData }); const parts = await occt.assembly.query.getDocumentParts({ document }); console.log("Found parts:", parts); ``` */
2730
+ /** Load a STEP file into a new assembly document. Supports both regular STEP and gzip-compressed STEP-Z. */
2728
2731
  "occt.assembly.manager.loadStepToDoc": {
2729
2732
  /** STEP file content. Accepts string, ArrayBuffer, Uint8Array, File, or Blob. Supports both regular STEP and gzip-compressed STEP-Z. */
2730
2733
  stepData: unknown | PipelineRef;
2731
2734
  };
2732
- /** Set the color of a label in the document. Colors are preserved when exporting to STEP and other formats. ```typescript const success = await occt.assembly.manager.setDocLabelColor({ document, label: "0:1:1:1", r: 255, g: 0, b: 0, a: 255 }); ``` */
2735
+ /** Set the color of a label in the document. Colors are preserved when exporting to STEP and other formats. */
2733
2736
  "occt.assembly.manager.setDocLabelColor": {
2734
2737
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2735
2738
  document: unknown | PipelineRef;
@@ -2744,7 +2747,7 @@ export interface OperationParams {
2744
2747
  /** Alpha component (0.0 - 1.0, 1.0 = opaque) */
2745
2748
  a?: number | PipelineRef;
2746
2749
  };
2747
- /** Set or change the name of a label (part, instance, or assembly). ```typescript const success = await occt.assembly.manager.setDocLabelName({ document, label: "0:1:1:1", name: "Updated Part Name" }); ``` */
2750
+ /** Set or change the name of a label (part, instance, or assembly). */
2748
2751
  "occt.assembly.manager.setDocLabelName": {
2749
2752
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2750
2753
  document: unknown | PipelineRef;
@@ -2753,38 +2756,38 @@ export interface OperationParams {
2753
2756
  /** New name */
2754
2757
  name?: string | PipelineRef;
2755
2758
  };
2756
- /** Get full assembly hierarchy as structured data. ```typescript const hierarchy = await occt.assembly.query.getAssemblyHierarchy({ document }); console.log("Root nodes:", hierarchy.roots); ``` */
2759
+ /** Get full assembly hierarchy as structured data. */
2757
2760
  "occt.assembly.query.getAssemblyHierarchy": {
2758
2761
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2759
2762
  document: unknown | PipelineRef;
2760
2763
  };
2761
- /** Get all parts and assemblies in the document. ```typescript const parts = await occt.assembly.query.getDocumentParts({ document }); for (const part of parts) { console.log(`${part.name}: ${part.type} at label ${part.label}`); } ``` */
2764
+ /** Get all parts and assemblies in the document. */
2762
2765
  "occt.assembly.query.getDocumentParts": {
2763
2766
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2764
2767
  document: unknown | PipelineRef;
2765
2768
  };
2766
- /** Get the color of a label. ```typescript const colorInfo = await occt.assembly.query.getLabelColor({ document, label: "0:1:1:1" }); if (colorInfo.hasColor) { console.log(`Color: rgb(${colorInfo.r}, ${colorInfo.g}, ${colorInfo.b})`); } ``` */
2769
+ /** Get the color of a label. */
2767
2770
  "occt.assembly.query.getLabelColor": {
2768
2771
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2769
2772
  document: unknown | PipelineRef;
2770
2773
  /** Label entry string (e.g., "0:1:1:1") */
2771
2774
  label: string | PipelineRef;
2772
2775
  };
2773
- /** Get detailed info about a label. ```typescript const info = await occt.assembly.query.getLabelInfo({ document, label: "0:1:1:1" }); console.log(`Type: ${info.type}, Is assembly: ${info.isAssembly}`); ``` */
2776
+ /** Get detailed info about a label. */
2774
2777
  "occt.assembly.query.getLabelInfo": {
2775
2778
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2776
2779
  document: unknown | PipelineRef;
2777
2780
  /** Label entry string (e.g., "0:1:1:1") */
2778
2781
  label: string | PipelineRef;
2779
2782
  };
2780
- /** Get the transformation of an instance label. ```typescript const transform = await occt.assembly.query.getLabelTransform({ document, label: "0:1:1:1" }); console.log("Translation:", transform.translation); console.log("Rotation (quaternion):", transform.quaternion); ``` */
2783
+ /** Get the transformation of an instance label. */
2781
2784
  "occt.assembly.query.getLabelTransform": {
2782
2785
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2783
2786
  document: unknown | PipelineRef;
2784
2787
  /** Label entry string (e.g., "0:1:1:1") */
2785
2788
  label: string | PipelineRef;
2786
2789
  };
2787
- /** Get a shape from a label in an assembly document. ```typescript const shape = await occt.assembly.query.getShapeFromLabel({ document, label: "0:1:1:1" }); const mesh = await occt.shapes.face.getFaceMeshes({ shape }); ``` */
2790
+ /** Get a shape from a label in an assembly document. */
2788
2791
  "occt.assembly.query.getShapeFromLabel": {
2789
2792
  /** Assembly document handle from buildAssemblyDocument or loadStepToDoc */
2790
2793
  document: unknown | PipelineRef;
@@ -3502,7 +3505,7 @@ export interface OperationParams {
3502
3505
  /** Mesh precision (linear deflection) for triangulation. Smaller = finer mesh. */
3503
3506
  meshPrecision?: number | PipelineRef;
3504
3507
  };
3505
- /** Convert a STEP file to glTF format with full control over all options. This advanced method allows fine-grained control over: - STEP reading options (colors, names, materials, layers, props) - Mesh generation options (deflection, angle, parallel, threshold) - glTF options (merge faces, indices, naming, transforms) Use this for performance tuning - disable features you don't need for faster processing. ```typescript // Fast conversion - only colors, no names (for large files) const glbData = await occt.io.convertStepToGltfAdvanced({ stepData: stepContent, readColors: true, readNames: false, // Skip name parsing for speed readMaterials: true, readLayers: false, readProps: false, meshDeflection: 0.1, meshParallel: true, mergeFaces: true }); ``` */
3508
+ /** Convert a STEP file to glTF format with full control over all options. This advanced method allows fine-grained control over: - STEP reading options (colors, names, materials, layers, props) - Mesh generation options (deflection, angle, parallel, threshold) - glTF export options (merge faces, indices, naming, transforms) Use this for performance tuning - disable features you don't need for faster processing. */
3506
3509
  "occt.io.convertStepToGltfAdvanced": {
3507
3510
  /** STEP data as string (for plain text files), ArrayBuffer, Uint8Array, File, or Blob. Supports compressed .stpz files - gzip-compressed data is automatically decompressed. */
3508
3511
  stepData: unknown | PipelineRef;
@@ -3551,7 +3554,7 @@ export interface OperationParams {
3551
3554
  /** Scale factor for the model. Useful for unit conversion (e.g., 0.001 to convert mm to meters). Set to 1.0 for no scaling. */
3552
3555
  scale?: number | PipelineRef;
3553
3556
  };
3554
- /** Convert a STEP file to glTF format with full control over all reading, meshing and writer options, plus explicit Draco geometry compression settings. Same fast path as `convertStepToGltfAdvanced` but exposes the 8 Draco knobs. settings and Draco knobs. */
3557
+ /** Convert a STEP file to glTF format with full control over all reading, meshing and writer options, plus explicit Draco geometry compression settings. Same fast path as `convertStepToGltfAdvanced` but exposes the 8 Draco knobs. */
3555
3558
  "occt.io.convertStepToGltfAdvancedWithDraco": {
3556
3559
  /** STEP data as string (for plain text files), ArrayBuffer, Uint8Array, File, or Blob. Supports compressed .stpz files - gzip-compressed data is automatically decompressed. */
3557
3560
  stepData: unknown | PipelineRef;
@@ -3616,7 +3619,7 @@ export interface OperationParams {
3616
3619
  /** Apply a single quantization grid across all attributes. */
3617
3620
  dracoUnifiedQuantization?: boolean | PipelineRef;
3618
3621
  };
3619
- /** Convert a STEP file to glTF format (binary GLB) with explicit Draco geometry compression settings. Same fast path as `convertStepToGltf` but exposes the Draco knobs of the underlying native function. Accepts File, Blob, string, ArrayBuffer, or Uint8Array. */
3622
+ /** Convert a STEP file to glTF format (binary GLB) with explicit Draco geometry compression settings. Same fast path as `convertStepToGltf` but exposes the Draco knobs of the underlying native function. */
3620
3623
  "occt.io.convertStepToGltfWithDraco": {
3621
3624
  /** STEP data as string (for plain text files), ArrayBuffer, Uint8Array, File, or Blob. Supports compressed .stpz files - gzip-compressed data is automatically decompressed. */
3622
3625
  stepData: unknown | PipelineRef;
@@ -3678,7 +3681,7 @@ export interface OperationParams {
3678
3681
  /** Adjusts models that use Z coordinate as up to Y up system. */
3679
3682
  adjustZtoY?: boolean | PipelineRef;
3680
3683
  };
3681
- /** Parse a STEP file and return the assembly structure as JSON. Uses OCCT's native XCAFPrs_DocumentExplorer for efficient traversal. Runs entirely in C++ for maximum performance. Returns an object containing an array of nodes with: - id: Unique path identifier for each node - name: Part or assembly name - isAssembly: Whether this is an assembly node (has children) - visible: Visibility flag - color: Surface color (if set) with r, g, b, a components - transform: 4x4 transformation matrix in column-major order (if not identity) */
3684
+ /** Parse a STEP file and return the assembly structure as JSON. Uses OCCT's native XCAFPrs_DocumentExplorer for efficient traversal. Runs entirely in C++ for maximum performance. Returns an object containing an array of nodes with: - id: Unique path identifier for each node - name: Part or assembly name - isAssembly: Whether this is an assembly node (has children) - visible: Visibility flag - colorRgba: Surface color (if set) with r, g, b, a components - transform: 4x4 transformation matrix in column-major order (if not identity) */
3682
3685
  "occt.io.parseStepToJson": {
3683
3686
  /** STEP data as string (for plain text files), ArrayBuffer, Uint8Array, File, or Blob. Supports compressed .stpz files - gzip-compressed data is automatically decompressed. */
3684
3687
  stepData: unknown | PipelineRef;
@@ -4040,6 +4043,23 @@ export interface OperationParams {
4040
4043
  /** Set to true if you want to split the shape non-destructively */
4041
4044
  nonDestructive?: boolean | PipelineRef;
4042
4045
  };
4046
+ /** Builds a single shape (wire, compound of wires, or a face when makeFaces is set) from path subpaths. */
4047
+ "occt.path.shapeFromPath": {
4048
+ /** Subpaths describing the geometry. */
4049
+ subpaths: unknown[] | PipelineRef;
4050
+ /** Build faces from the (closed) subpaths in addition to wires. */
4051
+ makeFaces?: boolean | PipelineRef;
4052
+ /** Join each subpath's segments into a single curve where possible. */
4053
+ joinSegments?: boolean | PipelineRef;
4054
+ /** Tolerance used when joining/sewing segments. */
4055
+ tolerance?: number | PipelineRef;
4056
+ /** Uniform scale applied to path coordinates. */
4057
+ scale?: number | PipelineRef;
4058
+ /** Negate Y so the path appears upright (Y up) in CAD. */
4059
+ flipY?: boolean | PipelineRef;
4060
+ /** Translation applied after scale/flip. */
4061
+ origin?: [number, number, number] | PipelineRef;
4062
+ };
4043
4063
  /** Creates polygon points from the shape faces */
4044
4064
  "occt.shapeFacesToPolygonPoints": {
4045
4065
  /** Shape to save */
@@ -4220,6 +4240,11 @@ export interface OperationParams {
4220
4240
  /** Major radius of an ellipse */
4221
4241
  radiusMajor?: number | PipelineRef;
4222
4242
  };
4243
+ /** Returns debug info about the edge's curve: type, degree, poles/knots, rational/periodic/closed, parameter range, period, length and end points. */
4244
+ "occt.shapes.edge.debugInfo": {
4245
+ /** Shape on which action should be performed */
4246
+ shape: unknown | PipelineRef;
4247
+ };
4223
4248
  /** Divides edge by length to points */
4224
4249
  "occt.shapes.edge.divideEdgeByEqualDistanceToPoints": {
4225
4250
  /** Shape representing a wire */
@@ -4296,8 +4321,8 @@ export interface OperationParams {
4296
4321
  };
4297
4322
  /** Creates linear edges from base lines format {start: Point3, end: Point3}[] */
4298
4323
  "occt.shapes.edge.fromBaseLines": {
4299
- /** Line */
4300
- line: unknown | PipelineRef;
4324
+ /** Lines */
4325
+ lines: unknown[] | PipelineRef;
4301
4326
  };
4302
4327
  /** Creates linear edges from mesh definition */
4303
4328
  "occt.shapes.edge.fromBaseMesh": {
@@ -4425,6 +4450,20 @@ export interface OperationParams {
4425
4450
  /** Surface */
4426
4451
  surface: unknown | PipelineRef;
4427
4452
  };
4453
+ /** Moves the seam (origin) of a periodic edge by an arc length from the current start. */
4454
+ "occt.shapes.edge.moveEdgeSeamByLength": {
4455
+ /** Periodic wire or edge whose seam is moved (non-periodic is returned unchanged). */
4456
+ shape: unknown | PipelineRef;
4457
+ /** Arc length, measured forward from the current start, at which to place the new seam. */
4458
+ length?: number | PipelineRef;
4459
+ };
4460
+ /** Moves the seam (origin) of a periodic edge to a parameter value. */
4461
+ "occt.shapes.edge.moveEdgeSeamByParameter": {
4462
+ /** Periodic wire or edge whose seam is moved (non-periodic is returned unchanged). */
4463
+ shape: unknown | PipelineRef;
4464
+ /** Parameter value at which to place the new seam (origin). */
4465
+ parameter?: number | PipelineRef;
4466
+ };
4428
4467
  /** Gets the point on edge at length */
4429
4468
  "occt.shapes.edge.pointOnEdgeAtLength": {
4430
4469
  /** Shape */
@@ -4453,6 +4492,15 @@ export interface OperationParams {
4453
4492
  /** 0 - 1 value */
4454
4493
  param?: number | PipelineRef;
4455
4494
  };
4495
+ /** Rebuilds an edge's curve to relax (lower) or raise its polynomial degree. */
4496
+ "occt.shapes.edge.rebuildEdgeDegree": {
4497
+ /** Wire or edge whose curve degree is rebuilt. */
4498
+ shape: unknown | PipelineRef;
4499
+ /** Target maximum degree. Lowering relaxes the curve to a smoother, lower-order approximation (within tolerance); raising is exact. The practical lower bound is 3 (cubic). */
4500
+ degree?: number | PipelineRef;
4501
+ /** Tolerance used when relaxing (approximating) to a lower degree. */
4502
+ tolerance?: number | PipelineRef;
4503
+ };
4456
4504
  /** Removes internal faces for the shape */
4457
4505
  "occt.shapes.edge.removeInternalEdges": {
4458
4506
  /** Shape on which action should be performed */
@@ -4790,10 +4838,17 @@ export interface OperationParams {
4790
4838
  /** Direction of the U-beam profile */
4791
4839
  direction?: [number, number, number] | PipelineRef;
4792
4840
  };
4841
+ /** Returns debug info about the face's surface: type, U/V degree, poles/knots, U/V rational/periodic/closed, UV bounds, area, planarity, orientation and wire/edge counts. */
4842
+ "occt.shapes.face.debugInfo": {
4843
+ /** Shape on which action should be performed */
4844
+ shape: unknown | PipelineRef;
4845
+ };
4793
4846
  /** Creates a face from the surface */
4794
4847
  "occt.shapes.face.faceFromSurface": {
4795
- /** Shape on which action should be performed */
4848
+ /** The shape */
4796
4849
  shape: unknown | PipelineRef;
4850
+ /** Tolerance used for intersections */
4851
+ tolerance?: number | PipelineRef;
4797
4852
  };
4798
4853
  /** Creates a face from the surface and a wire */
4799
4854
  "occt.shapes.face.faceFromSurfaceAndWire": {
@@ -4848,6 +4903,17 @@ export interface OperationParams {
4848
4903
  /** Returns flat points array by default, otherwise returns points for each face in order provided */
4849
4904
  flatPointsArray?: boolean | PipelineRef;
4850
4905
  };
4906
+ /** Flips a face's UV parametrization: swap U/V and/or reverse the U or V direction. */
4907
+ "occt.shapes.face.flipFaceUV": {
4908
+ /** Face whose UV parametrization is flipped. */
4909
+ shape: unknown | PipelineRef;
4910
+ /** Swap the U and V directions. */
4911
+ swapUV?: boolean | PipelineRef;
4912
+ /** Reverse the U direction. */
4913
+ reverseU?: boolean | PipelineRef;
4914
+ /** Reverse the V direction. */
4915
+ reverseV?: boolean | PipelineRef;
4916
+ };
4851
4917
  /** Creates faces from mesh definition */
4852
4918
  "occt.shapes.face.fromBaseMesh": {
4853
4919
  /** Mesh */
@@ -4939,6 +5005,19 @@ export interface OperationParams {
4939
5005
  /** Inclusion pattern - true means that the hex will be included, false means that the hex will be removed */
4940
5006
  inclusionPattern?: unknown[] | PipelineRef;
4941
5007
  };
5008
+ /** Reparametrizes a face so its U and/or V parameter is ~uniform by arc length (even iso spacing). */
5009
+ "occt.shapes.face.normalizeFaceParametrization": {
5010
+ /** Face to reparametrize. */
5011
+ shape: unknown | PipelineRef;
5012
+ /** Make the U parameter ~uniform by arc length. */
5013
+ normalizeU?: boolean | PipelineRef;
5014
+ /** Make the V parameter ~uniform by arc length. */
5015
+ normalizeV?: boolean | PipelineRef;
5016
+ /** Resampling grid resolution per direction (higher = more faithful, slower). */
5017
+ samples?: number | PipelineRef;
5018
+ /** Refit tolerance. */
5019
+ tolerance?: number | PipelineRef;
5020
+ };
4942
5021
  /** Get normal on UV where U and V are described between 0 and 1. These will be mapped to real bounds. */
4943
5022
  "occt.shapes.face.normalOnUV": {
4944
5023
  /** Brep OpenCascade geometry */
@@ -4971,6 +5050,19 @@ export interface OperationParams {
4971
5050
  /** Params uv */
4972
5051
  paramsUV?: unknown[] | PipelineRef;
4973
5052
  };
5053
+ /** Rebuilds a face's surface to relax (lower) or raise its U and V degree. */
5054
+ "occt.shapes.face.rebuildFaceDegree": {
5055
+ /** Face whose surface degree is rebuilt. */
5056
+ shape: unknown | PipelineRef;
5057
+ /** Target maximum U degree (lowering relaxes within tolerance; raising is exact; floor 3). */
5058
+ uDegree?: number | PipelineRef;
5059
+ /** Target maximum V degree. */
5060
+ vDegree?: number | PipelineRef;
5061
+ /** Tolerance used when relaxing (approximating) to a lower degree. */
5062
+ tolerance?: number | PipelineRef;
5063
+ /** Keep the face's boundary wires (reliable for a degree raise, which preserves the UV domain); otherwise the face is rebuilt from the surface's natural bounds. */
5064
+ keepTrim?: boolean | PipelineRef;
5065
+ };
4974
5066
  /** Computes reversed face from input face */
4975
5067
  "occt.shapes.face.reversedFace": {
4976
5068
  /** Shape on which action should be performed */
@@ -5314,6 +5406,11 @@ export interface OperationParams {
5314
5406
  /** If true, unifies the edges */
5315
5407
  concatBSplines?: boolean | PipelineRef;
5316
5408
  };
5409
+ /** Returns debug info about the shell: face/edge counts, total surface area and per-face surface debug info (type, U/V degree, poles/knots, bounds, area, ...). */
5410
+ "occt.shapes.shell.debugInfo": {
5411
+ /** Shape on which action should be performed */
5412
+ shape: unknown | PipelineRef;
5413
+ };
5317
5414
  /** Get shell surface area */
5318
5415
  "occt.shapes.shell.getShellSurfaceArea": {
5319
5416
  /** Shape on which action should be performed */
@@ -5628,6 +5725,11 @@ export interface OperationParams {
5628
5725
  /** Extrusion length in the backward direction */
5629
5726
  extrusionLengthBack?: number | PipelineRef;
5630
5727
  };
5728
+ /** Returns debug info about the solid: face/edge counts, surface area, volume and per-face surface debug info (type, U/V degree, poles/knots, bounds, area, ...). */
5729
+ "occt.shapes.solid.debugInfo": {
5730
+ /** Shape on which action should be performed */
5731
+ shape: unknown | PipelineRef;
5732
+ };
5631
5733
  /** Filters collection of points based on relationship with the solid. You can choose whether to output in, on or out points. */
5632
5734
  "occt.shapes.solid.filterSolidPoints": {
5633
5735
  /** Face that will be used to filter points */
@@ -5717,8 +5819,8 @@ export interface OperationParams {
5717
5819
  };
5718
5820
  /** Transform vertex to point */
5719
5821
  "occt.shapes.vertex.vertexToPoint": {
5720
- /** The OCCT shapes */
5721
- shapes: unknown[] | PipelineRef;
5822
+ /** Shape on which action should be performed */
5823
+ shape: unknown | PipelineRef;
5722
5824
  };
5723
5825
  /** Creates compound shape containing multiple vertices. This simply speeds up rendering and allows to apply occt transformations easily on vertex groups. */
5724
5826
  "occt.shapes.vertex.verticesCompoundFromPoints": {
@@ -5758,6 +5860,10 @@ export interface OperationParams {
5758
5860
  points: [number, number, number][] | PipelineRef;
5759
5861
  /** Indicates wether Bezier will be cloed */
5760
5862
  closed?: boolean | PipelineRef;
5863
+ /** Optional maximum local degree. A classic Bezier has degree (controlPoints - 1), which oscillates and is hard-capped at 25; when a degree is given (or there are more than 26 control points) a clamped bounded-degree curve is built instead, so it scales to many control points while still following the control polygon. Left empty, a classic Bezier (or auto bounded-degree for many points) is used. */
5864
+ degree?: number | PipelineRef;
5865
+ /** Build a smooth CLOSED (periodic) curve that wraps the control polygon, continuous across the seam - unlike `closed`, which only meets C0 by repeating the first point. Uses degree (or a sensible default) and ignores `closed` when set. */
5866
+ periodic?: boolean | PipelineRef;
5761
5867
  };
5762
5868
  /** Creates OpenCascade Bezier wire with weights */
5763
5869
  "occt.shapes.wire.createBezierWeights": {
@@ -5767,6 +5873,10 @@ export interface OperationParams {
5767
5873
  weights: number[] | PipelineRef;
5768
5874
  /** Indicates wether Bezier will be cloed */
5769
5875
  closed?: boolean | PipelineRef;
5876
+ /** Build a smooth CLOSED (periodic) rational curve that wraps the weighted control polygon, continuous across the seam - unlike `closed`, which only meets C0 by repeating the first point. Requires one weight per point (the points are not duplicated). Ignores `closed` when set. */
5877
+ periodic?: boolean | PipelineRef;
5878
+ /** Maximum local degree used when `periodic` is set (clamped to [1, points-1]); empty uses a sensible default. Ignored for the non-periodic rational Bezier. */
5879
+ degree?: number | PipelineRef;
5770
5880
  };
5771
5881
  /** Creates OpenCascade Bezier wires */
5772
5882
  "occt.shapes.wire.createBezierWires": {
@@ -6181,6 +6291,11 @@ export interface OperationParams {
6181
6291
  /** By default the number of zig zags is applied to each edge. If this is set to false, the number of zig zags will be applied to the whole wire. This could then skip some corners where edges meet. */
6182
6292
  zigZagsPerEdge?: boolean | PipelineRef;
6183
6293
  };
6294
+ /** Returns debug info about the wire: edge count, closed flag, total length and per-edge curve debug info (type, degree, poles/knots, rational/periodic, range, length). */
6295
+ "occt.shapes.wire.debugInfo": {
6296
+ /** Shape on which action should be performed */
6297
+ shape: unknown | PipelineRef;
6298
+ };
6184
6299
  /** Computes 3 derivative vectors of a curve at a given length */
6185
6300
  "occt.shapes.wire.derivativesOnWireAtLength": {
6186
6301
  /** Shape */
@@ -6251,8 +6366,8 @@ export interface OperationParams {
6251
6366
  };
6252
6367
  /** Creates linear wires from base lines format {start: Point3, end: Point3}[] */
6253
6368
  "occt.shapes.wire.fromBaseLines": {
6254
- /** Line */
6255
- line: unknown | PipelineRef;
6369
+ /** Lines */
6370
+ lines: unknown[] | PipelineRef;
6256
6371
  };
6257
6372
  /** Creates wires from mesh definition */
6258
6373
  "occt.shapes.wire.fromBaseMesh": {
@@ -6349,10 +6464,25 @@ export interface OperationParams {
6349
6464
  "occt.shapes.wire.interpolatePoints": {
6350
6465
  /** Points through which the BSpline will be created */
6351
6466
  points: [number, number, number][] | PipelineRef;
6352
- /** Indicates wether BSpline will be periodic */
6467
+ /** Indicates wether BSpline will be periodic (closed, tangent-continuous at the seam) */
6353
6468
  periodic?: boolean | PipelineRef;
6354
6469
  /** tolerance */
6355
6470
  tolerance?: number | PipelineRef;
6471
+ /** Parametrization controlling point spacing along the curve. When omitted, chord-length is used (backward-compatible). Centripetal is recommended for uneven spacing as it resists cusps and overshoot. */
6472
+ parametrization?: "uniform" | "chordLength" | "centripetal" | PipelineRef;
6473
+ /** Optional tangent direction enforced at the start (non-periodic only). */
6474
+ startTangent?: [number, number, number] | PipelineRef;
6475
+ /** Optional tangent direction enforced at the end (non-periodic only). */
6476
+ endTangent?: [number, number, number] | PipelineRef;
6477
+ /** Optional per-point tangent directions (one per point); entries that are undefined are left free. When provided, takes precedence over startTangent/endTangent. */
6478
+ tangents?: [number, number, number][] | PipelineRef;
6479
+ };
6480
+ /** Creates a closed, achiral BSpline wire through the points whose shape is genuinely symmetric for symmetric inputs (square, triangle, ...) - mirror-symmetric, not merely rotationally symmetric - with no irregular start/end point. Use this when a plain interpolation looks skewed at the seam. */
6481
+ "occt.shapes.wire.interpolatePointsSymmetric": {
6482
+ /** Points through which the symmetric closed BSpline will be created (at least 3) */
6483
+ points: [number, number, number][] | PipelineRef;
6484
+ /** tolerance */
6485
+ tolerance?: number | PipelineRef;
6356
6486
  };
6357
6487
  /** Creates OpenCascade multiple interpolated wires */
6358
6488
  "occt.shapes.wire.interpolateWires": {
@@ -6371,6 +6501,20 @@ export interface OperationParams {
6371
6501
  /** Shape on which action should be performed */
6372
6502
  shape: unknown | PipelineRef;
6373
6503
  };
6504
+ /** Moves the seam (origin) of a periodic wire by an arc length from the current start. */
6505
+ "occt.shapes.wire.moveWireSeamByLength": {
6506
+ /** Periodic wire or edge whose seam is moved (non-periodic is returned unchanged). */
6507
+ shape: unknown | PipelineRef;
6508
+ /** Arc length, measured forward from the current start, at which to place the new seam. */
6509
+ length?: number | PipelineRef;
6510
+ };
6511
+ /** Moves the seam (origin) of a periodic wire to a parameter value. */
6512
+ "occt.shapes.wire.moveWireSeamByParameter": {
6513
+ /** Periodic wire or edge whose seam is moved (non-periodic is returned unchanged). */
6514
+ shape: unknown | PipelineRef;
6515
+ /** Parameter value at which to place the new seam (origin). */
6516
+ parameter?: number | PipelineRef;
6517
+ };
6374
6518
  /** Places a wire on the face by mapping it's 2d coordinates to UV space. Wire must be positioned on the ground XZ plane for this to work. */
6375
6519
  "occt.shapes.wire.placeWireOnFace": {
6376
6520
  /** Wire to place on face */
@@ -6450,6 +6594,15 @@ export interface OperationParams {
6450
6594
  /** Direction vector for projection */
6451
6595
  direction?: [number, number, number] | PipelineRef;
6452
6596
  };
6597
+ /** Rebuilds a wire's curves to relax (lower) or raise their polynomial degree. */
6598
+ "occt.shapes.wire.rebuildWireDegree": {
6599
+ /** Wire or edge whose curve degree is rebuilt. */
6600
+ shape: unknown | PipelineRef;
6601
+ /** Target maximum degree. Lowering relaxes the curve to a smoother, lower-order approximation (within tolerance); raising is exact. The practical lower bound is 3 (cubic). */
6602
+ degree?: number | PipelineRef;
6603
+ /** Tolerance used when relaxing (approximating) to a lower degree. */
6604
+ tolerance?: number | PipelineRef;
6605
+ };
6453
6606
  /** Computes reversed wire from input wire */
6454
6607
  "occt.shapes.wire.reversedWire": {
6455
6608
  /** Shape on which action should be performed */
@@ -6577,10 +6730,61 @@ export interface OperationParams {
6577
6730
  /** Force every face to be re-meshed to the requested precision regardless of any cached triangulation (OCCT IMeshTools_Parameters.ForceFaceDeflection). */
6578
6731
  forceFaceDeflection?: boolean | PipelineRef;
6579
6732
  };
6733
+ /** Parses an SVG document and builds a single compound shape containing every drawable element, laid on the ground and aligned per the import options. Use this to draw, extrude or transform the whole drawing as one shape. */
6734
+ "occt.svg.loadSVG": {
6735
+ /** SVG document text. */
6736
+ svg?: string | PipelineRef;
6737
+ /** How closed, filled shapes become faces. `none` keeps only the outline wires; `auto` honors each element's SVG fill-rule; `nonzero`/`evenOdd` force a rule; `perSubpath` makes one face per closed subpath (no holes). Falls back to the wire when a face cannot be built. */
6738
+ faceStrategy?: "none" | "auto" | "nonzero" | "evenOdd" | "perSubpath" | PipelineRef;
6739
+ /** Build ribbon faces from stroked paths. Not supported yet; stroked paths are returned as wires. */
6740
+ makeRibbons?: boolean | PipelineRef;
6741
+ /** Include elements resolved as display:none / visibility:hidden. */
6742
+ includeInvisible?: boolean | PipelineRef;
6743
+ /** Join each subpath's segments into a single curve where possible. */
6744
+ joinSegments?: boolean | PipelineRef;
6745
+ /** Tolerance used when joining/sewing segments. */
6746
+ tolerance?: number | PipelineRef;
6747
+ /** Uniform scale applied to the SVG coordinates. */
6748
+ scale?: number | PipelineRef;
6749
+ /** Negate Y so the SVG appears upright (Y up) before placement. */
6750
+ flipY?: boolean | PipelineRef;
6751
+ /** How the drawing's bounding box aligns to `center` (e.g. midMid centers it on the origin). */
6752
+ alignment?: "topLeft" | "topMid" | "topRight" | "midLeft" | "midMid" | "midRight" | "bottomLeft" | "bottomMid" | "bottomRight" | PipelineRef;
6753
+ /** Plane normal the drawing is laid onto. The default [0, 1, 0] lays it flat on the ground. */
6754
+ direction?: [number, number, number] | PipelineRef;
6755
+ /** Point the aligned drawing is placed at. */
6756
+ center?: [number, number, number] | PipelineRef;
6757
+ };
6758
+ /** Parses an SVG document and builds an OCCT shape per drawable element, each bundled with its resolved fill/stroke/stroke-width metadata, plus warnings and the SVG view box. Use this when you need per-element shapes and their colours/styles. Faces are optional and best-effort. */
6759
+ "occt.svg.loadSVGStructured": {
6760
+ /** SVG document text. */
6761
+ svg?: string | PipelineRef;
6762
+ /** How closed, filled shapes become faces. `none` keeps only the outline wires; `auto` honors each element's SVG fill-rule; `nonzero`/`evenOdd` force a rule; `perSubpath` makes one face per closed subpath (no holes). Falls back to the wire when a face cannot be built. */
6763
+ faceStrategy?: "none" | "auto" | "nonzero" | "evenOdd" | "perSubpath" | PipelineRef;
6764
+ /** Build ribbon faces from stroked paths. Not supported yet; stroked paths are returned as wires. */
6765
+ makeRibbons?: boolean | PipelineRef;
6766
+ /** Include elements resolved as display:none / visibility:hidden. */
6767
+ includeInvisible?: boolean | PipelineRef;
6768
+ /** Join each subpath's segments into a single curve where possible. */
6769
+ joinSegments?: boolean | PipelineRef;
6770
+ /** Tolerance used when joining/sewing segments. */
6771
+ tolerance?: number | PipelineRef;
6772
+ /** Uniform scale applied to the SVG coordinates. */
6773
+ scale?: number | PipelineRef;
6774
+ /** Negate Y so the SVG appears upright (Y up) before placement. */
6775
+ flipY?: boolean | PipelineRef;
6776
+ /** How the drawing's bounding box aligns to `center` (e.g. midMid centers it on the origin). */
6777
+ alignment?: "topLeft" | "topMid" | "topRight" | "midLeft" | "midMid" | "midRight" | "bottomLeft" | "bottomMid" | "bottomRight" | PipelineRef;
6778
+ /** Plane normal the drawing is laid onto. The default [0, 1, 0] lays it flat on the ground. */
6779
+ direction?: [number, number, number] | PipelineRef;
6780
+ /** Point the aligned drawing is placed at. */
6781
+ center?: [number, number, number] | PipelineRef;
6782
+ };
6580
6783
  /** Align the shape */
6581
6784
  "occt.transforms.align": {
6582
6785
  /** Shape for translation */
6583
6786
  shape: unknown | PipelineRef;
6787
+ /** from origin */
6584
6788
  fromOrigin?: [number, number, number] | PipelineRef;
6585
6789
  /** From direction */
6586
6790
  fromDirection?: [number, number, number] | PipelineRef;
@@ -6611,6 +6815,7 @@ export interface OperationParams {
6611
6815
  "occt.transforms.alignNormAndAxis": {
6612
6816
  /** Shape for translation */
6613
6817
  shape: unknown | PipelineRef;
6818
+ /** from origin */
6614
6819
  fromOrigin?: [number, number, number] | PipelineRef;
6615
6820
  /** From direction 1 */
6616
6821
  fromNorm?: [number, number, number] | PipelineRef;
@@ -6627,6 +6832,7 @@ export interface OperationParams {
6627
6832
  "occt.transforms.alignShapes": {
6628
6833
  /** Shape for translation */
6629
6834
  shapes: unknown[] | PipelineRef;
6835
+ /** from origin */
6630
6836
  fromOrigins?: [number, number, number][] | PipelineRef;
6631
6837
  /** From direction */
6632
6838
  fromDirections?: [number, number, number][] | PipelineRef;
@@ -7106,7 +7312,7 @@ export interface OperationParams {
7106
7312
  /** The center from which the axis is pointing */
7107
7313
  center?: [number, number, number] | PipelineRef;
7108
7314
  };
7109
- /** Calculates the single safest maximum fillet radius that can be applied uniformly to all corners of collection of points, based on the 'half-line' constraint. This is determined by finding the minimum of the maximum possible fillet radii calculated for each individual corner. Returns 0 if the polyline has fewer than 3 points or if any calculated maximum radius is 0. */
7315
+ /** Calculates the single safest maximum fillet radius that can be applied uniformly to all corners of collection of points, based on the 'half-line' constraint. This is determined by finding the minimum of the maximum possible fillet radii calculated for each individual corner. */
7110
7316
  "point.safestPointsMaxFilletHalfLine": {
7111
7317
  /** Points to transform */
7112
7318
  points: [number, number, number][] | PipelineRef;
@@ -7230,7 +7436,7 @@ export interface OperationParams {
7230
7436
  /** Polyline with points */
7231
7437
  polyline: unknown | PipelineRef;
7232
7438
  };
7233
- /** Calculates the maximum possible half-line fillet radius for each corner of a given polyline. For a closed polyline, it includes the corners connecting the last segment back to the first. The calculation uses the 'half-line' constraint, meaning the fillet's tangent points must lie within the first half of each segment connected to the corner. The order corresponds to corners P[1]...P[n-2] for open polylines, and P[1]...P[n-2], P[0], P[n-1] for closed polylines. Returns an empty array if the polyline has fewer than 3 points. */
7439
+ /** Calculates the maximum possible half-line fillet radius for each corner of a given polyline. For a closed polyline, it includes the corners connecting the last segment back to the first. The calculation uses the 'half-line' constraint, meaning the fillet's tangent points must lie within the first half of each segment connected to the corner. */
7234
7440
  "polyline.maxFilletsHalfLine": {
7235
7441
  /** Polyline to check */
7236
7442
  polyline: unknown | PipelineRef;
@@ -7259,7 +7465,7 @@ export interface OperationParams {
7259
7465
  /** Polyline with points */
7260
7466
  polyline: unknown | PipelineRef;
7261
7467
  };
7262
- /** Calculates the single safest maximum fillet radius that can be applied uniformly to all corners of a polyline, based on the 'half-line' constraint. This is determined by finding the minimum of the maximum possible fillet radii calculated for each individual corner. Returns 0 if the polyline has fewer than 3 points or if any calculated maximum radius is 0. */
7468
+ /** Calculates the single safest maximum fillet radius that can be applied uniformly to all corners of a polyline, based on the 'half-line' constraint. This is determined by finding the minimum of the maximum possible fillet radii calculated for each individual corner. */
7263
7469
  "polyline.safestFilletRadius": {
7264
7470
  /** Polyline to check */
7265
7471
  polyline: unknown | PipelineRef;
@@ -7626,7 +7832,7 @@ export interface OperationParams {
7626
7832
  /** Second vector */
7627
7833
  second: number[] | PipelineRef;
7628
7834
  };
7629
- /** Checks if each element in the vector is finite and returns a boolean array. Example: [1, 2, Infinity, 3] → [true, true, false, true] vector that identifies if value is finite (true) or infinite (false) */
7835
+ /** Checks if each element in the vector is finite and returns a boolean array. Example: [1, 2, Infinity, 3] → [true, true, false, true] */
7630
7836
  "vector.finite": {
7631
7837
  /** Vector array of numbers */
7632
7838
  vector: number[] | PipelineRef;