@bitbybit-dev/cad-cloud-sdk 1.6.2 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /** All valid pipeline operation paths. */
2
- export type OperationPath = "color.getBlueParam" | "color.getGreenParam" | "color.getRedParam" | "color.hexColor" | "color.hexToRgb" | "color.hexToRgba" | "color.hexToRgbMapped" | "color.hslToHex" | "color.invert" | "color.linearToSrgb" | "color.rgb1Color" | "color.rgb255Color" | "color.rgba1Color" | "color.rgba255Color" | "color.rgbAtomic1Color" | "color.rgbAtomic255Color" | "color.rgbObjToHex" | "color.rgbToBlue" | "color.rgbToGreen" | "color.rgbToHex" | "color.rgbToRed" | "color.srgbToLinear" | "csv.arrayToCsv" | "csv.getColumnCount" | "csv.getHeaders" | "csv.getRowCount" | "csv.jsonToCsv" | "csv.jsonToCsvAuto" | "csv.parseToArray" | "csv.parseToJson" | "csv.parseToJsonWithHeaders" | "csv.queryColumn" | "csv.queryRowsByValue" | "jscad.booleans.intersect" | "jscad.booleans.intersectTwo" | "jscad.booleans.minkowskiSum" | "jscad.booleans.subtract" | "jscad.booleans.subtractFrom" | "jscad.booleans.subtractTwo" | "jscad.booleans.union" | "jscad.booleans.unionTwo" | "jscad.colors.colorize" | "jscad.downloadGeometry3MF" | "jscad.downloadGeometryDxf" | "jscad.downloadSolidsSTL" | "jscad.downloadSolidSTL" | "jscad.expansions.expand" | "jscad.expansions.offset" | "jscad.extrusions.extrudeLinear" | "jscad.extrusions.extrudeRectangular" | "jscad.extrusions.extrudeRectangularPoints" | "jscad.extrusions.extrudeRotate" | "jscad.hulls.hull" | "jscad.hulls.hullChain" | "jscad.hulls.isConvex" | "jscad.path.appendArc" | "jscad.path.appendPoints" | "jscad.path.appendPolyline" | "jscad.path.close" | "jscad.path.createEmpty" | "jscad.path.createFromPoints" | "jscad.path.createFromPolyline" | "jscad.path.createPathsFromPoints" | "jscad.polygon.circle" | "jscad.polygon.createFromCurve" | "jscad.polygon.createFromPath" | "jscad.polygon.createFromPoints" | "jscad.polygon.createFromPolyline" | "jscad.polygon.ellipse" | "jscad.polygon.rectangle" | "jscad.polygon.roundedRectangle" | "jscad.polygon.square" | "jscad.polygon.star" | "jscad.shapes.cube" | "jscad.shapes.cubesOnCenterPoints" | "jscad.shapes.cuboid" | "jscad.shapes.cuboidsOnCenterPoints" | "jscad.shapes.cylinder" | "jscad.shapes.cylinderElliptic" | "jscad.shapes.cylinderEllipticOnCenterPoints" | "jscad.shapes.cylindersOnCenterPoints" | "jscad.shapes.ellipsoid" | "jscad.shapes.ellipsoidsOnCenterPoints" | "jscad.shapes.fromPolygonPoints" | "jscad.shapes.geodesicSphere" | "jscad.shapes.geodesicSpheresOnCenterPoints" | "jscad.shapes.roundedCuboid" | "jscad.shapes.roundedCuboidsOnCenterPoints" | "jscad.shapes.roundedCylinder" | "jscad.shapes.roundedCylindersOnCenterPoints" | "jscad.shapes.sphere" | "jscad.shapes.spheresOnCenterPoints" | "jscad.shapes.torus" | "jscad.text.createVectorText" | "jscad.text.cylindricalText" | "jscad.text.sphericalText" | "jscad.toPolygonPoints" | "jscad.transformSolid" | "jscad.transformSolids" | "json.createEmpty" | "json.getJsonFromArrayByFirstPropMatch" | "json.getValueOnProp" | "json.parse" | "json.paths" | "json.previewAndSaveJson" | "json.previewJson" | "json.query" | "json.setValue" | "json.setValueOnProp" | "json.setValuesOnPaths" | "json.stringify" | "line.create" | "line.createSegment" | "line.getEndPoint" | "line.getPointOnLine" | "line.getStartPoint" | "line.length" | "line.lineLineIntersection" | "line.linesBetweenPoints" | "line.linesBetweenStartAndEndPoints" | "line.linesToSegments" | "line.lineToSegment" | "line.reverse" | "line.segmentsToLines" | "line.segmentToLine" | "line.transformLine" | "line.transformsForLines" | "lists.addItem" | "lists.addItemAtIndex" | "lists.addItemAtIndexes" | "lists.addItemFirstLast" | "lists.addItemsAtIndexes" | "lists.concatenate" | "lists.createEmptyList" | "lists.findIndex" | "lists.flipLists" | "lists.getByPattern" | "lists.getFirstItem" | "lists.getItem" | "lists.getLastItem" | "lists.getListDepth" | "lists.getLongestListLength" | "lists.getNthItem" | "lists.getSubList" | "lists.groupNth" | "lists.includes" | "lists.interleave" | "lists.listLength" | "lists.mergeElementsOfLists" | "lists.prependItem" | "lists.randomGetThreshold" | "lists.randomRemoveThreshold" | "lists.removeAllItems" | "lists.removeDuplicateNumbers" | "lists.removeDuplicateNumbersTolerance" | "lists.removeDuplicates" | "lists.removeFirstItem" | "lists.removeItemAtIndex" | "lists.removeItemAtIndexFromEnd" | "lists.removeItemsAtIndexes" | "lists.removeLastItem" | "lists.removeNthItem" | "lists.repeat" | "lists.repeatInPattern" | "lists.reverse" | "lists.shuffle" | "lists.sortByPropValue" | "lists.sortNumber" | "lists.sortTexts" | "logic.boolean" | "logic.compare" | "logic.firstDefinedValueGate" | "logic.not" | "logic.notList" | "logic.randomBooleans" | "logic.thresholdBooleanList" | "logic.thresholdGapsBooleanList" | "logic.twoThresholdRandomGradient" | "logic.valueGate" | "manifold.crossSection.booleans.add" | "manifold.crossSection.booleans.difference" | "manifold.crossSection.booleans.differenceTwo" | "manifold.crossSection.booleans.intersect" | "manifold.crossSection.booleans.intersection" | "manifold.crossSection.booleans.intersectionTwo" | "manifold.crossSection.booleans.subtract" | "manifold.crossSection.booleans.union" | "manifold.crossSection.booleans.unionTwo" | "manifold.crossSection.crossSectionFromPoints" | "manifold.crossSection.crossSectionFromPolygons" | "manifold.crossSection.crossSectionsToPoints" | "manifold.crossSection.crossSectionsToPolygons" | "manifold.crossSection.crossSectionToPoints" | "manifold.crossSection.crossSectionToPolygons" | "manifold.crossSection.evaluate.area" | "manifold.crossSection.evaluate.bounds" | "manifold.crossSection.evaluate.isEmpty" | "manifold.crossSection.evaluate.numContour" | "manifold.crossSection.evaluate.numVert" | "manifold.crossSection.operations.compose" | "manifold.crossSection.operations.decompose" | "manifold.crossSection.operations.extrude" | "manifold.crossSection.operations.hull" | "manifold.crossSection.operations.loft" | "manifold.crossSection.operations.offset" | "manifold.crossSection.operations.revolve" | "manifold.crossSection.operations.simplify" | "manifold.crossSection.operations.sweep" | "manifold.crossSection.shapes.circle" | "manifold.crossSection.shapes.create" | "manifold.crossSection.shapes.rectangle" | "manifold.crossSection.shapes.square" | "manifold.crossSection.transforms.mirror" | "manifold.crossSection.transforms.rotate" | "manifold.crossSection.transforms.scale" | "manifold.crossSection.transforms.scale2D" | "manifold.crossSection.transforms.transform" | "manifold.crossSection.transforms.translate" | "manifold.crossSection.transforms.translateXY" | "manifold.decomposeManifoldOrCrossSection" | "manifold.decomposeManifoldsOrCrossSections" | "manifold.deleteManifoldOrCrossSection" | "manifold.deleteManifoldsOrCrossSections" | "manifold.manifold.booleans.add" | "manifold.manifold.booleans.difference" | "manifold.manifold.booleans.differenceTwo" | "manifold.manifold.booleans.intersect" | "manifold.manifold.booleans.intersection" | "manifold.manifold.booleans.intersectionTwo" | "manifold.manifold.booleans.minkowskiDifference" | "manifold.manifold.booleans.minkowskiSum" | "manifold.manifold.booleans.split" | "manifold.manifold.booleans.splitByPlane" | "manifold.manifold.booleans.splitByPlaneOnOffsets" | "manifold.manifold.booleans.subtract" | "manifold.manifold.booleans.trimByPlane" | "manifold.manifold.booleans.union" | "manifold.manifold.booleans.unionTwo" | "manifold.manifold.evaluate.boundingBox" | "manifold.manifold.evaluate.genus" | "manifold.manifold.evaluate.isEmpty" | "manifold.manifold.evaluate.minGap" | "manifold.manifold.evaluate.numEdge" | "manifold.manifold.evaluate.numProp" | "manifold.manifold.evaluate.numPropVert" | "manifold.manifold.evaluate.numTri" | "manifold.manifold.evaluate.numVert" | "manifold.manifold.evaluate.originalID" | "manifold.manifold.evaluate.rayCast" | "manifold.manifold.evaluate.status" | "manifold.manifold.evaluate.surfaceArea" | "manifold.manifold.evaluate.tolerance" | "manifold.manifold.evaluate.volume" | "manifold.manifold.manifoldsToMeshes" | "manifold.manifold.manifoldToMesh" | "manifold.manifold.operations.asOriginal" | "manifold.manifold.operations.calculateCurvature" | "manifold.manifold.operations.calculateNormals" | "manifold.manifold.operations.compose" | "manifold.manifold.operations.decompose" | "manifold.manifold.operations.hull" | "manifold.manifold.operations.hullPoints" | "manifold.manifold.operations.project" | "manifold.manifold.operations.refine" | "manifold.manifold.operations.refineToLength" | "manifold.manifold.operations.refineToTolerance" | "manifold.manifold.operations.reserveIds" | "manifold.manifold.operations.setTolerance" | "manifold.manifold.operations.simplify" | "manifold.manifold.operations.slice" | "manifold.manifold.operations.smoothByNormals" | "manifold.manifold.operations.smoothOut" | "manifold.manifold.shapes.cube" | "manifold.manifold.shapes.cylinder" | "manifold.manifold.shapes.fromPolygonPoints" | "manifold.manifold.shapes.manifoldFromMesh" | "manifold.manifold.shapes.sphere" | "manifold.manifold.shapes.tetrahedron" | "manifold.manifold.transforms.mirror" | "manifold.manifold.transforms.rotate" | "manifold.manifold.transforms.rotateXYZ" | "manifold.manifold.transforms.scale" | "manifold.manifold.transforms.scale3D" | "manifold.manifold.transforms.transform" | "manifold.manifold.transforms.transforms" | "manifold.manifold.transforms.translate" | "manifold.manifold.transforms.translateByVectors" | "manifold.manifold.transforms.translateXYZ" | "manifold.manifoldToMeshPointer" | "manifold.mesh.evaluate.backside" | "manifold.mesh.evaluate.extras" | "manifold.mesh.evaluate.hasNormals" | "manifold.mesh.evaluate.numProp" | "manifold.mesh.evaluate.numRun" | "manifold.mesh.evaluate.numTri" | "manifold.mesh.evaluate.numVert" | "manifold.mesh.evaluate.position" | "manifold.mesh.evaluate.tangent" | "manifold.mesh.evaluate.transform" | "manifold.mesh.evaluate.verts" | "manifold.mesh.operations.merge" | "manifold.recipes.build" | "manifold.recipes.meshes" | "manifold.recipes.surfaceMeshes" | "manifold.toPolygonPoints" | "math.abs" | "math.acos" | "math.add" | "math.asin" | "math.atan" | "math.ceil" | "math.clamp" | "math.convertLength" | "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.millimetresPerUnit" | "math.modulus" | "math.moveTowards" | "math.multiply" | "math.negate" | "math.niceStep" | "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.shortestAngle" | "math.sign" | "math.sin" | "math.smoothstep" | "math.sqrt" | "math.subtract" | "math.tan" | "math.tenPow" | "math.toFixed" | "math.toFractionText" | "math.twoNrOperation" | "math.wrap" | "occt.analysis.clashes.betweenShapes" | "occt.analysis.clashes.facesWithin" | "occt.analysis.clashes.selfIntersections" | "occt.analysis.curves.closestPoints" | "occt.analysis.curves.curvatureComb" | "occt.analysis.curves.curvaturesAtLengths" | "occt.analysis.curves.curvaturesAtParams" | "occt.analysis.curves.curveType" | "occt.analysis.curves.extremesAlong" | "occt.analysis.curves.intersectCurves" | "occt.analysis.curves.intersectCurveWithFace" | "occt.analysis.curves.kinks" | "occt.analysis.measure.angleBetween" | "occt.analysis.measure.boundingBoxInFrame" | "occt.analysis.measure.dihedralAngle" | "occt.analysis.measure.extrema" | "occt.analysis.measure.minCurvatureRadius" | "occt.analysis.measure.orientedBoundingBox" | "occt.analysis.measure.principalFrame" | "occt.analysis.measure.tightBoundingBox" | "occt.analysis.signatures" | "occt.analysis.surfaces.closestPoints" | "occt.analysis.surfaces.curvaturesOnUVs" | "occt.analysis.surfaces.surfaceType" | "occt.assembly.manager.buildAssemblyDocument" | "occt.assembly.manager.combineStructure" | "occt.assembly.manager.createAssemblyNode" | "occt.assembly.manager.createImportedPart" | "occt.assembly.manager.createInstanceNode" | "occt.assembly.manager.createPart" | "occt.assembly.manager.createPartUpdate" | "occt.assembly.manager.deleteDocument" | "occt.assembly.manager.exportDocumentToGltf" | "occt.assembly.manager.exportDocumentToGltfWithDraco" | "occt.assembly.manager.exportDocumentToObj" | "occt.assembly.manager.exportDocumentToPly" | "occt.assembly.manager.exportDocumentToStep" | "occt.assembly.manager.loadGltfToDoc" | "occt.assembly.manager.loadObjToDoc" | "occt.assembly.manager.loadStepToDoc" | "occt.assembly.manager.setDocLabelColor" | "occt.assembly.manager.setDocLabelName" | "occt.assembly.query.getAssemblyHierarchy" | "occt.assembly.query.getDocumentParts" | "occt.assembly.query.getDocumentPmi" | "occt.assembly.query.getLabelColor" | "occt.assembly.query.getLabelInfo" | "occt.assembly.query.getLabelTransform" | "occt.assembly.query.getShapeFromLabel" | "occt.booleans.difference" | "occt.booleans.differenceWithHistory" | "occt.booleans.intersection" | "occt.booleans.intersectionWithHistory" | "occt.booleans.meshMeshIntersectionOfShapesPoints" | "occt.booleans.meshMeshIntersectionOfShapesWires" | "occt.booleans.meshMeshIntersectionPoints" | "occt.booleans.meshMeshIntersectionWires" | "occt.booleans.union" | "occt.booleans.unionWithHistory" | "occt.brepGraph.analyze" | "occt.brepGraph.assembly" | "occt.brepGraph.containment" | "occt.brepGraph.dump" | "occt.brepGraph.edgeFaceMap" | "occt.brepGraph.edgeInfo" | "occt.brepGraph.faceAdjacency" | "occt.brepGraph.faceInfo" | "occt.brepGraph.nodeOfShape" | "occt.brepGraph.reconstruct" | "occt.brepGraph.validate" | "occt.brepGraph.vertexEdgeMap" | "occt.brepGraph.wireInfo" | "occt.cleanAllCache" | "occt.corners.chamferCornerByPoint" | "occt.corners.classifyCornerByPoint" | "occt.corners.cornerByPointReport" | "occt.corners.filletCornerByPoint" | "occt.deleteShape" | "occt.deleteShapes" | "occt.design.build" | "occt.design.clashes" | "occt.design.validate" | "occt.design.versionOf" | "occt.dimensions.pinWithLabel" | "occt.dimensions.simpleAngularDimension" | "occt.dimensions.simpleLinearLengthDimension" | "occt.docToMesh" | "occt.docToMeshes" | "occt.draft.draftAngle" | "occt.draft.draftAngleWithHistory" | "occt.draft.makeDraft" | "occt.draft.makeDraftToShape" | "occt.draft.makeDraftToShapeWithHistory" | "occt.draft.makeDraftWithHistory" | "occt.features.boss" | "occt.features.bossWithHistory" | "occt.features.counterboredHoles" | "occt.features.counterboredHolesWithHistory" | "occt.features.countersunkHoles" | "occt.features.countersunkHolesWithHistory" | "occt.features.groove" | "occt.features.grooveWithHistory" | "occt.features.holes" | "occt.features.holesWithHistory" | "occt.features.pocket" | "occt.features.pocketWithHistory" | "occt.features.pushPullFaces" | "occt.features.pushPullFacesWithHistory" | "occt.features.removeFaces" | "occt.features.removeFacesWithHistory" | "occt.features.revolvedBoss" | "occt.features.revolvedBossWithHistory" | "occt.features.revolvedPocket" | "occt.features.revolvedPocketWithHistory" | "occt.features.rib" | "occt.features.ribWithHistory" | "occt.features.taperedBoss" | "occt.features.taperedBossWithHistory" | "occt.features.taperedPocket" | "occt.features.taperedPocketWithHistory" | "occt.fillets.chamfer2dVertices" | "occt.fillets.chamferEdgeDistAngle" | "occt.fillets.chamferEdgeDistAngleWithHistory" | "occt.fillets.chamferEdges" | "occt.fillets.chamferEdgesDistAngle" | "occt.fillets.chamferEdgesDistAngleWithHistory" | "occt.fillets.chamferEdgesDistsAngles" | "occt.fillets.chamferEdgesDistsAnglesWithHistory" | "occt.fillets.chamferEdgesList" | "occt.fillets.chamferEdgesListWithHistory" | "occt.fillets.chamferEdgesTwoDistances" | "occt.fillets.chamferEdgesTwoDistancesLists" | "occt.fillets.chamferEdgesTwoDistancesListsWithHistory" | "occt.fillets.chamferEdgesTwoDistancesWithHistory" | "occt.fillets.chamferEdgesWithHistory" | "occt.fillets.chamferEdgeTwoDistances" | "occt.fillets.chamferEdgeTwoDistancesWithHistory" | "occt.fillets.fillet2d" | "occt.fillets.fillet2dShapes" | "occt.fillets.fillet3DWire" | "occt.fillets.fillet3DWires" | "occt.fillets.filletEdges" | "occt.fillets.filletEdgesList" | "occt.fillets.filletEdgesListOneRadius" | "occt.fillets.filletEdgesListOneRadiusWithHistory" | "occt.fillets.filletEdgesListWithHistory" | "occt.fillets.filletEdgesSameVariableRadius" | "occt.fillets.filletEdgesSameVariableRadiusWithHistory" | "occt.fillets.filletEdgesVariableRadius" | "occt.fillets.filletEdgesVariableRadiusWithHistory" | "occt.fillets.filletEdgesWithHistory" | "occt.fillets.filletEdgeVariableRadius" | "occt.fillets.filletEdgeVariableRadiusWithHistory" | "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.fileLengthUnit" | "occt.io.loadBrep" | "occt.io.loadBrepBinary" | "occt.io.loadSTEPorIGES" | "occt.io.loadStl" | "occt.io.parseStepToJson" | "occt.io.saveShapeBrep" | "occt.io.saveShapeBrepAndReturn" | "occt.io.saveShapeBrepBinary" | "occt.io.saveShapeBrepBinaryAndReturn" | "occt.io.saveShapeObj" | "occt.io.saveShapeObjAndReturn" | "occt.io.saveShapePly" | "occt.io.saveShapePlyAndReturn" | "occt.io.saveShapeSTEP" | "occt.io.saveShapeSTEPAndReturn" | "occt.io.saveShapeStl" | "occt.io.saveShapeStlAndReturn" | "occt.io.saveShapeSvg" | "occt.io.saveShapeSvgAndReturn" | "occt.io.shapeToDxfPaths" | "occt.operations.boundingBoxCenterOfShape" | "occt.operations.boundingBoxMaxOfShape" | "occt.operations.boundingBoxMinOfShape" | "occt.operations.boundingBoxOfShape" | "occt.operations.boundingBoxShapeOfShape" | "occt.operations.boundingBoxSizeOfShape" | "occt.operations.boundingSphereCenterOfShape" | "occt.operations.boundingSphereOfShape" | "occt.operations.boundingSphereRadiusOfShape" | "occt.operations.boundingSphereShapeOfShape" | "occt.operations.closestPointsBetweenTwoShapes" | "occt.operations.closestPointsOnShapeFromPoints" | "occt.operations.closestPointsOnShapesFromPoints" | "occt.operations.cutByFrames" | "occt.operations.distancesToShapeFromPoints" | "occt.operations.extrude" | "occt.operations.extrudeShapes" | "occt.operations.extrudeWithHistory" | "occt.operations.hiddenLines" | "occt.operations.loft" | "occt.operations.loftAdvanced" | "occt.operations.loftAdvancedWithHistory" | "occt.operations.loftWithHistory" | "occt.operations.makeThickSolidByJoin" | "occt.operations.makeThickSolidByJoinWithHistory" | "occt.operations.makeThickSolidSimple" | "occt.operations.makeThickSolidSimpleWithHistory" | "occt.operations.offset" | "occt.operations.offset3DWire" | "occt.operations.offsetAdv" | "occt.operations.offsetAdvWithHistory" | "occt.operations.offsetWithHistory" | "occt.operations.pipe" | "occt.operations.pipePolylineWireNGon" | "occt.operations.pipePolylineWireNGonWithHistory" | "occt.operations.pipeWireCylindrical" | "occt.operations.pipeWireCylindricalWithHistory" | "occt.operations.pipeWiresCylindrical" | "occt.operations.pipeWithHistory" | "occt.operations.pipeWithScaling" | "occt.operations.revolve" | "occt.operations.revolveWithHistory" | "occt.operations.rotatedExtrude" | "occt.operations.rotatedExtrudeWithHistory" | "occt.operations.sectionByFrames" | "occt.operations.sectionWires" | "occt.operations.slice" | "occt.operations.sliceByFrames" | "occt.operations.sliceInStepPattern" | "occt.operations.splitByFrame" | "occt.operations.splitFaceByWires" | "occt.operations.splitShapeWithShapes" | "occt.operations.splitShapeWithShapesWithHistory" | "occt.operations.sweepEvolved" | "occt.parts.mechanical.bearings.ansi.ballBearing" | "occt.parts.mechanical.bearings.ansi.ballBearingWithRoles" | "occt.parts.mechanical.bearings.iso.ballBearing" | "occt.parts.mechanical.bearings.iso.ballBearingWithRoles" | "occt.parts.mechanical.fasteners.ansi.hexBolt" | "occt.parts.mechanical.fasteners.ansi.hexBoltWithRoles" | "occt.parts.mechanical.fasteners.ansi.hexNut" | "occt.parts.mechanical.fasteners.ansi.hexNutWithRoles" | "occt.parts.mechanical.fasteners.ansi.setScrew" | "occt.parts.mechanical.fasteners.ansi.setScrewWithRoles" | "occt.parts.mechanical.fasteners.ansi.socketHeadCapScrew" | "occt.parts.mechanical.fasteners.ansi.socketHeadCapScrewWithRoles" | "occt.parts.mechanical.fasteners.ansi.washer" | "occt.parts.mechanical.fasteners.ansi.washerWithRoles" | "occt.parts.mechanical.fasteners.dowelPin" | "occt.parts.mechanical.fasteners.dowelPinWithRoles" | "occt.parts.mechanical.fasteners.iso.hexBolt" | "occt.parts.mechanical.fasteners.iso.hexBoltWithRoles" | "occt.parts.mechanical.fasteners.iso.hexNut" | "occt.parts.mechanical.fasteners.iso.hexNutWithRoles" | "occt.parts.mechanical.fasteners.iso.setScrew" | "occt.parts.mechanical.fasteners.iso.setScrewWithRoles" | "occt.parts.mechanical.fasteners.iso.socketHeadCapScrew" | "occt.parts.mechanical.fasteners.iso.socketHeadCapScrewWithRoles" | "occt.parts.mechanical.fasteners.iso.washer" | "occt.parts.mechanical.fasteners.iso.washerWithRoles" | "occt.parts.mechanical.gears.bevelGear" | "occt.parts.mechanical.gears.bevelGearWithRoles" | "occt.parts.mechanical.gears.helicalGear" | "occt.parts.mechanical.gears.helicalGearWithRoles" | "occt.parts.mechanical.gears.rack" | "occt.parts.mechanical.gears.rackProfile" | "occt.parts.mechanical.gears.rackWithRoles" | "occt.parts.mechanical.gears.ringGear" | "occt.parts.mechanical.gears.ringGearProfile" | "occt.parts.mechanical.gears.ringGearWithRoles" | "occt.parts.mechanical.gears.spurGear" | "occt.parts.mechanical.gears.spurGearProfile" | "occt.parts.mechanical.gears.spurGearWithRoles" | "occt.parts.mechanical.keys.ansi.parallelKey" | "occt.parts.mechanical.keys.ansi.parallelKeyWithRoles" | "occt.parts.mechanical.keys.din.parallelKey" | "occt.parts.mechanical.keys.din.parallelKeyWithRoles" | "occt.parts.mechanical.machining.ansi.keyway" | "occt.parts.mechanical.machining.ansi.keywayTool" | "occt.parts.mechanical.machining.ansi.knurl" | "occt.parts.mechanical.machining.ansi.knurlTool" | "occt.parts.mechanical.machining.ansi.ringGroove" | "occt.parts.mechanical.machining.ansi.ringGrooveTool" | "occt.parts.mechanical.machining.ansi.splinedHub" | "occt.parts.mechanical.machining.ansi.splinedHubTool" | "occt.parts.mechanical.machining.ansi.splinedShaft" | "occt.parts.mechanical.machining.ansi.thread" | "occt.parts.mechanical.machining.ansi.threadTool" | "occt.parts.mechanical.machining.din.keyway" | "occt.parts.mechanical.machining.din.keywayTool" | "occt.parts.mechanical.machining.din.knurl" | "occt.parts.mechanical.machining.din.knurlTool" | "occt.parts.mechanical.machining.din.ringGroove" | "occt.parts.mechanical.machining.din.ringGrooveTool" | "occt.parts.mechanical.machining.din.splinedHub" | "occt.parts.mechanical.machining.din.splinedHubTool" | "occt.parts.mechanical.machining.din.splinedShaft" | "occt.parts.mechanical.machining.flat" | "occt.parts.mechanical.machining.flatTool" | "occt.parts.mechanical.machining.iso.thread" | "occt.parts.mechanical.machining.iso.threadTool" | "occt.parts.mechanical.retainingRings.ansi.retainingRing" | "occt.parts.mechanical.retainingRings.ansi.retainingRingWithRoles" | "occt.parts.mechanical.retainingRings.din.retainingRing" | "occt.parts.mechanical.retainingRings.din.retainingRingWithRoles" | "occt.parts.mechanical.springs.compressionSpring" | "occt.parts.mechanical.springs.compressionSpringPath" | "occt.parts.mechanical.springs.compressionSpringWithRoles" | "occt.path.shapeFromPath" | "occt.recipes.build" | "occt.recipes.buildDocument" | "occt.recipes.describe" | "occt.select.edges.along" | "occt.select.edges.between" | "occt.select.edges.byLength" | "occt.select.edges.byRadius" | "occt.select.edges.concave" | "occt.select.edges.convex" | "occt.select.edges.extreme" | "occt.select.edges.groupAlong" | "occt.select.edges.inBox" | "occt.select.edges.inSphere" | "occt.select.edges.nearest" | "occt.select.edges.ofFaces" | "occt.select.edges.ofType" | "occt.select.edges.onPlane" | "occt.select.edges.sortAlong" | "occt.select.edges.tangentChain" | "occt.select.faces.adjacentTo" | "occt.select.faces.byRadius" | "occt.select.faces.bySize" | "occt.select.faces.extreme" | "occt.select.faces.facing" | "occt.select.faces.groupAlong" | "occt.select.faces.inBox" | "occt.select.faces.inSphere" | "occt.select.faces.nearest" | "occt.select.faces.ofEdges" | "occt.select.faces.ofType" | "occt.select.faces.onPlane" | "occt.select.faces.sortAlong" | "occt.shapeFacesToPolygonPoints" | "occt.shapeFix.basicShapeRepair" | "occt.shapeFix.fixEdgeOrientationsAlongWire" | "occt.shapeFix.fixShell" | "occt.shapeFix.fixSmallEdgeOnWire" | "occt.shapeFix.fixSolid" | "occt.shapeFix.freeBoundaries" | "occt.shapeFix.isValid" | "occt.shapeFix.orientClosedSolid" | "occt.shapeFix.sewWithReport" | "occt.shapeFix.validityReport" | "occt.shapes.compound.getShapesOfCompound" | "occt.shapes.compound.makeCompound" | "occt.shapes.edge.arcFromCircleAndTwoAngles" | "occt.shapes.edge.arcFromCircleAndTwoPoints" | "occt.shapes.edge.arcFromCirclePointAndAngle" | "occt.shapes.edge.arcThroughThreePoints" | "occt.shapes.edge.arcThroughTwoPointsAndTangent" | "occt.shapes.edge.blendBetweenEdges" | "occt.shapes.edge.circlesTangentToThree" | "occt.shapes.edge.circlesTangentToTwoCenteredOn" | "occt.shapes.edge.circlesTangentToTwoWithRadius" | "occt.shapes.edge.constraintTanCirclesOnCircleAndPnt" | "occt.shapes.edge.constraintTanCirclesOnTwoCircles" | "occt.shapes.edge.constraintTanLinesFromPtToCircle" | "occt.shapes.edge.constraintTanLinesFromTwoPtsToCircle" | "occt.shapes.edge.constraintTanLinesOnTwoCircles" | "occt.shapes.edge.createCircleEdge" | "occt.shapes.edge.createEllipseEdge" | "occt.shapes.edge.debugInfo" | "occt.shapes.edge.divideEdgeByEqualDistanceToPoints" | "occt.shapes.edge.divideEdgeByParamsToPoints" | "occt.shapes.edge.divideEdgesByEqualDistanceToPoints" | "occt.shapes.edge.divideEdgesByParamsToPoints" | "occt.shapes.edge.edgesToPoints" | "occt.shapes.edge.endPointOnEdge" | "occt.shapes.edge.endPointsOnEdges" | "occt.shapes.edge.extendEdge" | "occt.shapes.edge.frameOnEdgeAtLength" | "occt.shapes.edge.frameOnEdgeAtParam" | "occt.shapes.edge.framesOnEdgeAtLengths" | "occt.shapes.edge.framesOnEdgeAtParams" | "occt.shapes.edge.fromBaseLine" | "occt.shapes.edge.fromBaseLines" | "occt.shapes.edge.fromBaseMesh" | "occt.shapes.edge.fromBasePolyline" | "occt.shapes.edge.fromBaseSegment" | "occt.shapes.edge.fromBaseSegments" | "occt.shapes.edge.fromBaseTriangle" | "occt.shapes.edge.fromPoints" | "occt.shapes.edge.getCircularEdgeCenterPoint" | "occt.shapes.edge.getCircularEdgePlaneDirection" | "occt.shapes.edge.getCircularEdgeRadius" | "occt.shapes.edge.getCircularEdgesAlongWire" | "occt.shapes.edge.getCornerPointsOfEdgesForShape" | "occt.shapes.edge.getEdge" | "occt.shapes.edge.getEdgeCenterOfMass" | "occt.shapes.edge.getEdgeLength" | "occt.shapes.edge.getEdgeLengthsOfShape" | "occt.shapes.edge.getEdges" | "occt.shapes.edge.getEdgesAlongWire" | "occt.shapes.edge.getEdgesCentersOfMass" | "occt.shapes.edge.getEdgesLengths" | "occt.shapes.edge.getLinearEdgesAlongWire" | "occt.shapes.edge.isEdgeCircular" | "occt.shapes.edge.isEdgeLinear" | "occt.shapes.edge.line" | "occt.shapes.edge.linesTangentAtAngle" | "occt.shapes.edge.linesTangentToTwo" | "occt.shapes.edge.makeEdgeFromGeom2dCurveAndSurface" | "occt.shapes.edge.moveEdgeSeamByLength" | "occt.shapes.edge.moveEdgeSeamByParameter" | "occt.shapes.edge.pointOnEdgeAtLength" | "occt.shapes.edge.pointOnEdgeAtParam" | "occt.shapes.edge.pointsOnEdgesAtLength" | "occt.shapes.edge.pointsOnEdgesAtParam" | "occt.shapes.edge.rebuildEdgeDegree" | "occt.shapes.edge.removeInternalEdges" | "occt.shapes.edge.reversedEdge" | "occt.shapes.edge.splitEdgeAtLengths" | "occt.shapes.edge.splitEdgeAtParams" | "occt.shapes.edge.startPointOnEdge" | "occt.shapes.edge.startPointsOnEdges" | "occt.shapes.edge.tangentOnEdgeAtLength" | "occt.shapes.edge.tangentOnEdgeAtParam" | "occt.shapes.edge.tangentsOnEdgesAtLength" | "occt.shapes.edge.tangentsOnEdgesAtParam" | "occt.shapes.face.boundaryPatch" | "occt.shapes.face.createChristmasTreeFace" | "occt.shapes.face.createCircleFace" | "occt.shapes.face.createEllipseFace" | "occt.shapes.face.createFaceBoundedByWiresOnFace" | "occt.shapes.face.createFaceFromMultipleCircleTanWireCollections" | "occt.shapes.face.createFaceFromMultipleCircleTanWires" | "occt.shapes.face.createFaceFromWire" | "occt.shapes.face.createFaceFromWireOnFace" | "occt.shapes.face.createFaceFromWires" | "occt.shapes.face.createFaceFromWiresOnFace" | "occt.shapes.face.createFacesFromWires" | "occt.shapes.face.createFacesFromWiresOnFace" | "occt.shapes.face.createHBeamProfileFace" | "occt.shapes.face.createHeartFace" | "occt.shapes.face.createIBeamProfileFace" | "occt.shapes.face.createLPolygonFace" | "occt.shapes.face.createNGonFace" | "occt.shapes.face.createParallelogramFace" | "occt.shapes.face.createPolygonFace" | "occt.shapes.face.createRectangleFace" | "occt.shapes.face.createSquareFace" | "occt.shapes.face.createStarFace" | "occt.shapes.face.createTBeamProfileFace" | "occt.shapes.face.createUBeamProfileFace" | "occt.shapes.face.debugInfo" | "occt.shapes.face.faceFromSurface" | "occt.shapes.face.faceFromSurfaceAndWire" | "occt.shapes.face.fillPatch" | "occt.shapes.face.filterFacePoints" | "occt.shapes.face.filterFacesPoints" | "occt.shapes.face.flipFaceUV" | "occt.shapes.face.frameNearestPoint" | "occt.shapes.face.frameOnUV" | "occt.shapes.face.framesNearestPoints" | "occt.shapes.face.framesOnUVs" | "occt.shapes.face.fromBaseMesh" | "occt.shapes.face.fromBaseTriangle" | "occt.shapes.face.fromPointGrid" | "occt.shapes.face.getFace" | "occt.shapes.face.getFaceArea" | "occt.shapes.face.getFaceCenterOfMass" | "occt.shapes.face.getFaces" | "occt.shapes.face.getFacesAreas" | "occt.shapes.face.getFacesCentersOfMass" | "occt.shapes.face.getUMaxBound" | "occt.shapes.face.getUMinBound" | "occt.shapes.face.getVMaxBound" | "occt.shapes.face.getVMinBound" | "occt.shapes.face.hexagonsInGrid" | "occt.shapes.face.isoCurves" | "occt.shapes.face.normalizeFaceParametrization" | "occt.shapes.face.normalOnUV" | "occt.shapes.face.normalsOnUVs" | "occt.shapes.face.pointOnUV" | "occt.shapes.face.pointsOnUVs" | "occt.shapes.face.rebuildFaceDegree" | "occt.shapes.face.reversedFace" | "occt.shapes.face.ruledBetween" | "occt.shapes.face.subdivideToFrames" | "occt.shapes.face.subdivideToHexagonHoles" | "occt.shapes.face.subdivideToHexagonWires" | "occt.shapes.face.subdivideToNormals" | "occt.shapes.face.subdivideToPoints" | "occt.shapes.face.subdivideToPointsControlled" | "occt.shapes.face.subdivideToPointsOnParam" | "occt.shapes.face.subdivideToRectangleHoles" | "occt.shapes.face.subdivideToRectangleWires" | "occt.shapes.face.subdivideToUV" | "occt.shapes.face.subdivideToWires" | "occt.shapes.face.unroll" | "occt.shapes.face.wireAlongParam" | "occt.shapes.face.wiresAlongParams" | "occt.shapes.shape.getOrientation" | "occt.shapes.shape.getShapeType" | "occt.shapes.shape.isChecked" | "occt.shapes.shape.isClosed" | "occt.shapes.shape.isConvex" | "occt.shapes.shape.isEqual" | "occt.shapes.shape.isFree" | "occt.shapes.shape.isInfinite" | "occt.shapes.shape.isLocked" | "occt.shapes.shape.isModified" | "occt.shapes.shape.isNotEqual" | "occt.shapes.shape.isNull" | "occt.shapes.shape.isPartner" | "occt.shapes.shape.isSame" | "occt.shapes.shape.purgeInternalEdges" | "occt.shapes.shape.unifySameDomain" | "occt.shapes.shape.unifySameDomainWithHistory" | "occt.shapes.shell.debugInfo" | "occt.shapes.shell.getShellSurfaceArea" | "occt.shapes.shell.sewFaces" | "occt.shapes.shell.sewFacesWithHistory" | "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.fromFaces" | "occt.shapes.solid.fromFacesWithHistory" | "occt.shapes.solid.getSolidCenterOfMass" | "occt.shapes.solid.getSolids" | "occt.shapes.solid.getSolidsCentersOfMass" | "occt.shapes.solid.getSolidSurfaceArea" | "occt.shapes.solid.getSolidsVolumes" | "occt.shapes.solid.getSolidVolume" | "occt.shapes.vertex.getVertices" | "occt.shapes.vertex.getVerticesAsPoints" | "occt.shapes.vertex.projectPoints" | "occt.shapes.vertex.vertexFromPoint" | "occt.shapes.vertex.vertexFromXYZ" | "occt.shapes.vertex.vertexToPoint" | "occt.shapes.vertex.verticesCompoundFromPoints" | "occt.shapes.vertex.verticesFromPoints" | "occt.shapes.vertex.verticesToPoints" | "occt.shapes.wire.addEdgesAndWiresToWire" | "occt.shapes.wire.closeOpenWire" | "occt.shapes.wire.combineEdgesAndWiresIntoAWire" | "occt.shapes.wire.createBezier" | "occt.shapes.wire.createBezierWeights" | "occt.shapes.wire.createBezierWires" | "occt.shapes.wire.createBSpline" | "occt.shapes.wire.createBSplines" | "occt.shapes.wire.createChristmasTreeWire" | "occt.shapes.wire.createCircleWire" | "occt.shapes.wire.createEllipseWire" | "occt.shapes.wire.createFlatSpiralWire" | "occt.shapes.wire.createHBeamProfileWire" | "occt.shapes.wire.createHeartWire" | "occt.shapes.wire.createHelixWire" | "occt.shapes.wire.createHelixWireByTurns" | "occt.shapes.wire.createIBeamProfileWire" | "occt.shapes.wire.createLines" | "occt.shapes.wire.createLineWire" | "occt.shapes.wire.createLineWireWithExtensions" | "occt.shapes.wire.createLPolygonWire" | "occt.shapes.wire.createNGonWire" | "occt.shapes.wire.createParallelogramWire" | "occt.shapes.wire.createPolygons" | "occt.shapes.wire.createPolygonWire" | "occt.shapes.wire.createPolylines" | "occt.shapes.wire.createPolylineWire" | "occt.shapes.wire.createRectangleWire" | "occt.shapes.wire.createSquareWire" | "occt.shapes.wire.createStarWire" | "occt.shapes.wire.createTaperedHelixWire" | "occt.shapes.wire.createTBeamProfileWire" | "occt.shapes.wire.createUBeamProfileWire" | "occt.shapes.wire.createWireFromEdge" | "occt.shapes.wire.createWireFromTwoCirclesTan" | "occt.shapes.wire.createWiresBetweenStartEndPointsOfWiresAndEdges" | "occt.shapes.wire.createWiresBetweenSubdividedPointsOfWiresAndEdges" | "occt.shapes.wire.createZigZagBetweenTwoWires" | "occt.shapes.wire.debugInfo" | "occt.shapes.wire.derivativesOnWireAtLength" | "occt.shapes.wire.derivativesOnWireAtParam" | "occt.shapes.wire.divideWireByEqualDistanceToPoints" | "occt.shapes.wire.divideWireByParamsToPoints" | "occt.shapes.wire.divideWiresByEqualDistanceToPoints" | "occt.shapes.wire.divideWiresByParamsToPoints" | "occt.shapes.wire.endPointOnWire" | "occt.shapes.wire.frameOnWireAtLength" | "occt.shapes.wire.frameOnWireAtParam" | "occt.shapes.wire.framesAlongWire" | "occt.shapes.wire.framesOnWireAtLengths" | "occt.shapes.wire.framesOnWireAtParams" | "occt.shapes.wire.fromBaseLine" | "occt.shapes.wire.fromBaseLines" | "occt.shapes.wire.fromBaseMesh" | "occt.shapes.wire.fromBasePolyline" | "occt.shapes.wire.fromBaseSegment" | "occt.shapes.wire.fromBaseSegments" | "occt.shapes.wire.fromBaseTriangle" | "occt.shapes.wire.fromPoints" | "occt.shapes.wire.getWire" | "occt.shapes.wire.getWireCenterOfMass" | "occt.shapes.wire.getWireLength" | "occt.shapes.wire.getWires" | "occt.shapes.wire.getWiresCentersOfMass" | "occt.shapes.wire.getWiresLengths" | "occt.shapes.wire.hexagonsInGrid" | "occt.shapes.wire.interpolatePoints" | "occt.shapes.wire.interpolatePointsSymmetric" | "occt.shapes.wire.interpolateWires" | "occt.shapes.wire.isWireClosed" | "occt.shapes.wire.midPointOnWire" | "occt.shapes.wire.moveWireSeamByLength" | "occt.shapes.wire.moveWireSeamByParameter" | "occt.shapes.wire.offsetOpen" | "occt.shapes.wire.placeWireOnFace" | "occt.shapes.wire.placeWiresOnFace" | "occt.shapes.wire.pointOnWireAtLength" | "occt.shapes.wire.pointOnWireAtParam" | "occt.shapes.wire.pointsOnWireAtEqualLength" | "occt.shapes.wire.pointsOnWireAtLengths" | "occt.shapes.wire.pointsOnWireAtPatternOfLengths" | "occt.shapes.wire.project" | "occt.shapes.wire.projectConical" | "occt.shapes.wire.projectNormal" | "occt.shapes.wire.projectWires" | "occt.shapes.wire.rebuildWireDegree" | "occt.shapes.wire.reversedWire" | "occt.shapes.wire.reversedWireFromReversedEdges" | "occt.shapes.wire.splitOnPoints" | "occt.shapes.wire.splitWireAtLengths" | "occt.shapes.wire.splitWireAtParams" | "occt.shapes.wire.startPointOnWire" | "occt.shapes.wire.tangentOnWireAtLength" | "occt.shapes.wire.tangentOnWireAtParam" | "occt.shapes.wire.textWires" | "occt.shapes.wire.textWiresWithData" | "occt.shapes.wire.wiresToPoints" | "occt.shapes.wire.wrapWiresOnFace" | "occt.shapesToMeshes" | "occt.shapeToManifoldMesh" | "occt.shapeToMesh" | "occt.sketch.commands.bulgeArc" | "occt.sketch.commands.chamferCorner" | "occt.sketch.commands.close" | "occt.sketch.commands.cubic" | "occt.sketch.commands.filletCorner" | "occt.sketch.commands.hLine" | "occt.sketch.commands.line" | "occt.sketch.commands.polarLine" | "occt.sketch.commands.quadratic" | "occt.sketch.commands.sagittaArc" | "occt.sketch.commands.tangentArc" | "occt.sketch.commands.tangentLine" | "occt.sketch.commands.threePointArc" | "occt.sketch.commands.vLine" | "occt.sketch.hull" | "occt.sketch.pen" | "occt.sketch.penWithSegments" | "occt.sketch.stroke" | "occt.svg.loadSVG" | "occt.svg.loadSVGStructured" | "occt.transforms.align" | "occt.transforms.alignAndTranslate" | "occt.transforms.alignAndTranslateShapes" | "occt.transforms.alignNormAndAxis" | "occt.transforms.alignShapes" | "occt.transforms.composeTransform" | "occt.transforms.getShapeTransform" | "occt.transforms.identityTransform" | "occt.transforms.invertTransform" | "occt.transforms.mirror" | "occt.transforms.mirrorAboutPoint" | "occt.transforms.mirrorAlongNormal" | "occt.transforms.mirrorAlongNormalShapes" | "occt.transforms.mirrorAxisToMatrix" | "occt.transforms.mirrorPlaneToMatrix" | "occt.transforms.mirrorPointToMatrix" | "occt.transforms.mirrorShapes" | "occt.transforms.multiplyTransforms" | "occt.transforms.orient" | "occt.transforms.placeByMatrices" | "occt.transforms.placeOnFrames" | "occt.transforms.quaternionToMatrix" | "occt.transforms.rotate" | "occt.transforms.rotateAroundCenter" | "occt.transforms.rotateAroundCenterShapes" | "occt.transforms.rotateByQuaternion" | "occt.transforms.rotateShapes" | "occt.transforms.rotationAxisAngleToMatrix" | "occt.transforms.scale" | "occt.transforms.scale3d" | "occt.transforms.scale3dShapes" | "occt.transforms.scaleFromCenter" | "occt.transforms.scaleShapes" | "occt.transforms.scaleUniformToMatrix" | "occt.transforms.transform" | "occt.transforms.transformByMatrix" | "occt.transforms.transformShapes" | "occt.transforms.transformShapesByMatrix" | "occt.transforms.translate" | "occt.transforms.translateShapes" | "occt.transforms.translationToMatrix" | "occtPro.sheetMetal.unfoldFaceReport" | "occtPro.sheetMetal.unfoldFaceToFlat" | "occtPro.sheetMetal.unfoldSolidReport" | "occtPro.sheetMetal.unfoldSolidToFlat" | "point.arcThroughThreePoints" | "point.averagePoint" | "point.boundingBoxOfPoints" | "point.closestPointFromPoints" | "point.closestPointFromPointsDistance" | "point.closestPointFromPointsIndex" | "point.distance" | "point.distancesToPoints" | "point.getX" | "point.getY" | "point.getZ" | "point.hexGrid" | "point.hexGridScaledToFit" | "point.maxFilletRadius" | "point.maxFilletRadiusHalfLine" | "point.maxFilletsHalfLine" | "point.multiplyPoint" | "point.normalFromThreePoints" | "point.pointXY" | "point.pointXYZ" | "point.removeConsecutiveDuplicates" | "point.rotatePointsCenterAxis" | "point.safestPointsMaxFilletHalfLine" | "point.scalePointsCenterXYZ" | "point.sortPoints" | "point.spiral" | "point.stretchPointsDirFromCenter" | "point.transformPoint" | "point.transformPoints" | "point.transformsForPoints" | "point.translatePoints" | "point.translatePointsWithVectors" | "point.translateXYZPoints" | "point.twoPointsAlmostEqual" | "polyline.countPoints" | "polyline.create" | "polyline.getPoints" | "polyline.isPointInside2d" | "polyline.length" | "polyline.maxFilletsHalfLine" | "polyline.orient2d" | "polyline.perimeter2d" | "polyline.polygonArea" | "polyline.polygonNormal" | "polyline.polylineSelfIntersection" | "polyline.polylineToLines" | "polyline.polylineToSegments" | "polyline.reverse" | "polyline.roundCorners" | "polyline.roundCorners2d" | "polyline.safestFilletRadius" | "polyline.signedArea2d" | "polyline.sortSegmentsIntoPolylines" | "polyline.sweepFrames" | "polyline.sweepPlacements" | "polyline.tangents" | "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.hexToRgba" | "color.hexToRgbMapped" | "color.hslToHex" | "color.invert" | "color.linearToSrgb" | "color.rgb1Color" | "color.rgb255Color" | "color.rgba1Color" | "color.rgba255Color" | "color.rgbAtomic1Color" | "color.rgbAtomic255Color" | "color.rgbObjToHex" | "color.rgbToBlue" | "color.rgbToGreen" | "color.rgbToHex" | "color.rgbToRed" | "color.srgbToLinear" | "csv.arrayToCsv" | "csv.getColumnCount" | "csv.getHeaders" | "csv.getRowCount" | "csv.jsonToCsv" | "csv.jsonToCsvAuto" | "csv.parseToArray" | "csv.parseToJson" | "csv.parseToJsonWithHeaders" | "csv.queryColumn" | "csv.queryRowsByValue" | "io.drawing.arcSegment" | "io.drawing.circleSegment" | "io.drawing.dxfToSvg" | "io.drawing.ellipseSegment" | "io.drawing.lineSegment" | "io.drawing.part" | "io.drawing.path" | "io.drawing.polylineSegment" | "io.drawing.splineSegment" | "io.drawing.svgToDxf" | "io.dxf.arcSegment" | "io.dxf.circleSegment" | "io.dxf.dxfCreate" | "io.dxf.dxfRead" | "io.dxf.ellipseSegment" | "io.dxf.lineSegment" | "io.dxf.path" | "io.dxf.pathsPart" | "io.dxf.polylineSegment" | "io.dxf.splineSegment" | "io.svg.pathData" | "io.svg.svgCreate" | "io.svg.svgRead" | "jscad.booleans.intersect" | "jscad.booleans.intersectTwo" | "jscad.booleans.minkowskiSum" | "jscad.booleans.subtract" | "jscad.booleans.subtractFrom" | "jscad.booleans.subtractTwo" | "jscad.booleans.union" | "jscad.booleans.unionTwo" | "jscad.colors.colorize" | "jscad.downloadGeometry3MF" | "jscad.downloadGeometryDxf" | "jscad.downloadSolidsSTL" | "jscad.downloadSolidSTL" | "jscad.expansions.expand" | "jscad.expansions.offset" | "jscad.extrusions.extrudeLinear" | "jscad.extrusions.extrudeRectangular" | "jscad.extrusions.extrudeRectangularPoints" | "jscad.extrusions.extrudeRotate" | "jscad.hulls.hull" | "jscad.hulls.hullChain" | "jscad.hulls.isConvex" | "jscad.path.appendArc" | "jscad.path.appendPoints" | "jscad.path.appendPolyline" | "jscad.path.close" | "jscad.path.createEmpty" | "jscad.path.createFromPoints" | "jscad.path.createFromPolyline" | "jscad.path.createPathsFromPoints" | "jscad.polygon.circle" | "jscad.polygon.createFromCurve" | "jscad.polygon.createFromPath" | "jscad.polygon.createFromPoints" | "jscad.polygon.createFromPolyline" | "jscad.polygon.ellipse" | "jscad.polygon.rectangle" | "jscad.polygon.roundedRectangle" | "jscad.polygon.square" | "jscad.polygon.star" | "jscad.shapes.cube" | "jscad.shapes.cubesOnCenterPoints" | "jscad.shapes.cuboid" | "jscad.shapes.cuboidsOnCenterPoints" | "jscad.shapes.cylinder" | "jscad.shapes.cylinderElliptic" | "jscad.shapes.cylinderEllipticOnCenterPoints" | "jscad.shapes.cylindersOnCenterPoints" | "jscad.shapes.ellipsoid" | "jscad.shapes.ellipsoidsOnCenterPoints" | "jscad.shapes.fromPolygonPoints" | "jscad.shapes.geodesicSphere" | "jscad.shapes.geodesicSpheresOnCenterPoints" | "jscad.shapes.roundedCuboid" | "jscad.shapes.roundedCuboidsOnCenterPoints" | "jscad.shapes.roundedCylinder" | "jscad.shapes.roundedCylindersOnCenterPoints" | "jscad.shapes.sphere" | "jscad.shapes.spheresOnCenterPoints" | "jscad.shapes.torus" | "jscad.text.createVectorText" | "jscad.text.cylindricalText" | "jscad.text.sphericalText" | "jscad.toPolygonPoints" | "jscad.transformSolid" | "jscad.transformSolids" | "json.createEmpty" | "json.getJsonFromArrayByFirstPropMatch" | "json.getValueOnProp" | "json.parse" | "json.paths" | "json.previewAndSaveJson" | "json.previewJson" | "json.query" | "json.setValue" | "json.setValueOnProp" | "json.setValuesOnPaths" | "json.stringify" | "line.create" | "line.createSegment" | "line.distanceToPoint" | "line.getEndPoint" | "line.getPointOnLine" | "line.getStartPoint" | "line.length" | "line.lineLineIntersection" | "line.linesBetweenPoints" | "line.linesBetweenStartAndEndPoints" | "line.linesToSegments" | "line.lineToSegment" | "line.reverse" | "line.segmentsToLines" | "line.segmentToLine" | "line.transformLine" | "line.transformsForLines" | "lists.addItem" | "lists.addItemAtIndex" | "lists.addItemAtIndexes" | "lists.addItemFirstLast" | "lists.addItemsAtIndexes" | "lists.concatenate" | "lists.createEmptyList" | "lists.findIndex" | "lists.flipLists" | "lists.getByPattern" | "lists.getFirstItem" | "lists.getItem" | "lists.getLastItem" | "lists.getListDepth" | "lists.getLongestListLength" | "lists.getNthItem" | "lists.getSubList" | "lists.groupNth" | "lists.includes" | "lists.interleave" | "lists.listLength" | "lists.mergeElementsOfLists" | "lists.prependItem" | "lists.randomGetThreshold" | "lists.randomRemoveThreshold" | "lists.removeAllItems" | "lists.removeDuplicateNumbers" | "lists.removeDuplicateNumbersTolerance" | "lists.removeDuplicates" | "lists.removeFirstItem" | "lists.removeItemAtIndex" | "lists.removeItemAtIndexFromEnd" | "lists.removeItemsAtIndexes" | "lists.removeLastItem" | "lists.removeNthItem" | "lists.repeat" | "lists.repeatInPattern" | "lists.reverse" | "lists.shuffle" | "lists.sortByPropValue" | "lists.sortNumber" | "lists.sortTexts" | "logic.boolean" | "logic.compare" | "logic.firstDefinedValueGate" | "logic.not" | "logic.notList" | "logic.randomBooleans" | "logic.thresholdBooleanList" | "logic.thresholdGapsBooleanList" | "logic.twoThresholdRandomGradient" | "logic.valueGate" | "manifold.crossSection.booleans.add" | "manifold.crossSection.booleans.difference" | "manifold.crossSection.booleans.differenceTwo" | "manifold.crossSection.booleans.intersect" | "manifold.crossSection.booleans.intersection" | "manifold.crossSection.booleans.intersectionTwo" | "manifold.crossSection.booleans.subtract" | "manifold.crossSection.booleans.union" | "manifold.crossSection.booleans.unionTwo" | "manifold.crossSection.crossSectionFromPoints" | "manifold.crossSection.crossSectionFromPolygons" | "manifold.crossSection.crossSectionsToPoints" | "manifold.crossSection.crossSectionsToPolygons" | "manifold.crossSection.crossSectionToPoints" | "manifold.crossSection.crossSectionToPolygons" | "manifold.crossSection.evaluate.area" | "manifold.crossSection.evaluate.bounds" | "manifold.crossSection.evaluate.isEmpty" | "manifold.crossSection.evaluate.numContour" | "manifold.crossSection.evaluate.numVert" | "manifold.crossSection.operations.compose" | "manifold.crossSection.operations.decompose" | "manifold.crossSection.operations.extrude" | "manifold.crossSection.operations.hull" | "manifold.crossSection.operations.loft" | "manifold.crossSection.operations.offset" | "manifold.crossSection.operations.revolve" | "manifold.crossSection.operations.simplify" | "manifold.crossSection.operations.sweep" | "manifold.crossSection.shapes.circle" | "manifold.crossSection.shapes.create" | "manifold.crossSection.shapes.rectangle" | "manifold.crossSection.shapes.square" | "manifold.crossSection.transforms.mirror" | "manifold.crossSection.transforms.rotate" | "manifold.crossSection.transforms.scale" | "manifold.crossSection.transforms.scale2D" | "manifold.crossSection.transforms.transform" | "manifold.crossSection.transforms.translate" | "manifold.crossSection.transforms.translateXY" | "manifold.decomposeManifoldOrCrossSection" | "manifold.decomposeManifoldsOrCrossSections" | "manifold.deleteManifoldOrCrossSection" | "manifold.deleteManifoldsOrCrossSections" | "manifold.manifold.booleans.add" | "manifold.manifold.booleans.difference" | "manifold.manifold.booleans.differenceTwo" | "manifold.manifold.booleans.intersect" | "manifold.manifold.booleans.intersection" | "manifold.manifold.booleans.intersectionTwo" | "manifold.manifold.booleans.minkowskiDifference" | "manifold.manifold.booleans.minkowskiSum" | "manifold.manifold.booleans.split" | "manifold.manifold.booleans.splitByPlane" | "manifold.manifold.booleans.splitByPlaneOnOffsets" | "manifold.manifold.booleans.subtract" | "manifold.manifold.booleans.trimByPlane" | "manifold.manifold.booleans.union" | "manifold.manifold.booleans.unionTwo" | "manifold.manifold.evaluate.boundingBox" | "manifold.manifold.evaluate.genus" | "manifold.manifold.evaluate.isEmpty" | "manifold.manifold.evaluate.minGap" | "manifold.manifold.evaluate.numEdge" | "manifold.manifold.evaluate.numProp" | "manifold.manifold.evaluate.numPropVert" | "manifold.manifold.evaluate.numTri" | "manifold.manifold.evaluate.numVert" | "manifold.manifold.evaluate.originalID" | "manifold.manifold.evaluate.rayCast" | "manifold.manifold.evaluate.status" | "manifold.manifold.evaluate.surfaceArea" | "manifold.manifold.evaluate.tolerance" | "manifold.manifold.evaluate.volume" | "manifold.manifold.manifoldsToMeshes" | "manifold.manifold.manifoldToMesh" | "manifold.manifold.operations.asOriginal" | "manifold.manifold.operations.calculateCurvature" | "manifold.manifold.operations.calculateNormals" | "manifold.manifold.operations.compose" | "manifold.manifold.operations.decompose" | "manifold.manifold.operations.hull" | "manifold.manifold.operations.hullPoints" | "manifold.manifold.operations.project" | "manifold.manifold.operations.refine" | "manifold.manifold.operations.refineToLength" | "manifold.manifold.operations.refineToTolerance" | "manifold.manifold.operations.reserveIds" | "manifold.manifold.operations.setTolerance" | "manifold.manifold.operations.simplify" | "manifold.manifold.operations.slice" | "manifold.manifold.operations.smoothByNormals" | "manifold.manifold.operations.smoothOut" | "manifold.manifold.shapes.cube" | "manifold.manifold.shapes.cylinder" | "manifold.manifold.shapes.fromPolygonPoints" | "manifold.manifold.shapes.manifoldFromMesh" | "manifold.manifold.shapes.sphere" | "manifold.manifold.shapes.tetrahedron" | "manifold.manifold.transforms.mirror" | "manifold.manifold.transforms.rotate" | "manifold.manifold.transforms.rotateXYZ" | "manifold.manifold.transforms.scale" | "manifold.manifold.transforms.scale3D" | "manifold.manifold.transforms.transform" | "manifold.manifold.transforms.transforms" | "manifold.manifold.transforms.translate" | "manifold.manifold.transforms.translateByVectors" | "manifold.manifold.transforms.translateXYZ" | "manifold.manifoldToMeshPointer" | "manifold.mesh.evaluate.backside" | "manifold.mesh.evaluate.extras" | "manifold.mesh.evaluate.hasNormals" | "manifold.mesh.evaluate.numProp" | "manifold.mesh.evaluate.numRun" | "manifold.mesh.evaluate.numTri" | "manifold.mesh.evaluate.numVert" | "manifold.mesh.evaluate.position" | "manifold.mesh.evaluate.tangent" | "manifold.mesh.evaluate.transform" | "manifold.mesh.evaluate.verts" | "manifold.mesh.operations.merge" | "manifold.recipes.build" | "manifold.recipes.meshes" | "manifold.recipes.surfaceMeshes" | "manifold.toPolygonPoints" | "math.abs" | "math.acos" | "math.add" | "math.asin" | "math.atan" | "math.ceil" | "math.clamp" | "math.convertLength" | "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.millimetresPerUnit" | "math.modulus" | "math.moveTowards" | "math.multiply" | "math.negate" | "math.niceStep" | "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.shortestAngle" | "math.sign" | "math.sin" | "math.smoothstep" | "math.sqrt" | "math.subtract" | "math.tan" | "math.tenPow" | "math.toFixed" | "math.toFractionText" | "math.twoNrOperation" | "math.wrap" | "occt.analysis.clashes.betweenShapes" | "occt.analysis.clashes.facesWithin" | "occt.analysis.clashes.selfIntersections" | "occt.analysis.curves.closestPoints" | "occt.analysis.curves.curvatureComb" | "occt.analysis.curves.curvaturesAtLengths" | "occt.analysis.curves.curvaturesAtParams" | "occt.analysis.curves.curveType" | "occt.analysis.curves.extremesAlong" | "occt.analysis.curves.intersectCurves" | "occt.analysis.curves.intersectCurveWithFace" | "occt.analysis.curves.kinks" | "occt.analysis.measure.angleBetween" | "occt.analysis.measure.boundingBoxInFrame" | "occt.analysis.measure.dihedralAngle" | "occt.analysis.measure.extrema" | "occt.analysis.measure.minCurvatureRadius" | "occt.analysis.measure.orientedBoundingBox" | "occt.analysis.measure.principalFrame" | "occt.analysis.measure.tightBoundingBox" | "occt.analysis.signatures" | "occt.analysis.surfaces.closestPoints" | "occt.analysis.surfaces.curvaturesOnUVs" | "occt.analysis.surfaces.surfaceType" | "occt.assembly.manager.buildAssemblyDocument" | "occt.assembly.manager.combineStructure" | "occt.assembly.manager.createAssemblyNode" | "occt.assembly.manager.createImportedPart" | "occt.assembly.manager.createInstanceNode" | "occt.assembly.manager.createPart" | "occt.assembly.manager.createPartUpdate" | "occt.assembly.manager.deleteDocument" | "occt.assembly.manager.exportDocumentToGltf" | "occt.assembly.manager.exportDocumentToGltfWithDraco" | "occt.assembly.manager.exportDocumentToObj" | "occt.assembly.manager.exportDocumentToPly" | "occt.assembly.manager.exportDocumentToStep" | "occt.assembly.manager.loadGltfToDoc" | "occt.assembly.manager.loadObjToDoc" | "occt.assembly.manager.loadStepToDoc" | "occt.assembly.manager.setDocLabelColor" | "occt.assembly.manager.setDocLabelName" | "occt.assembly.query.getAssemblyHierarchy" | "occt.assembly.query.getDocumentParts" | "occt.assembly.query.getDocumentPmi" | "occt.assembly.query.getLabelColor" | "occt.assembly.query.getLabelInfo" | "occt.assembly.query.getLabelTransform" | "occt.assembly.query.getShapeFromLabel" | "occt.booleans.difference" | "occt.booleans.differenceWithHistory" | "occt.booleans.intersection" | "occt.booleans.intersectionWithHistory" | "occt.booleans.meshMeshIntersectionOfShapesPoints" | "occt.booleans.meshMeshIntersectionOfShapesWires" | "occt.booleans.meshMeshIntersectionPoints" | "occt.booleans.meshMeshIntersectionWires" | "occt.booleans.union" | "occt.booleans.unionWithHistory" | "occt.brepGraph.analyze" | "occt.brepGraph.assembly" | "occt.brepGraph.containment" | "occt.brepGraph.dump" | "occt.brepGraph.edgeFaceMap" | "occt.brepGraph.edgeInfo" | "occt.brepGraph.faceAdjacency" | "occt.brepGraph.faceInfo" | "occt.brepGraph.nodeOfShape" | "occt.brepGraph.reconstruct" | "occt.brepGraph.validate" | "occt.brepGraph.vertexEdgeMap" | "occt.brepGraph.wireInfo" | "occt.cleanAllCache" | "occt.corners.chamferCornerByPoint" | "occt.corners.classifyCornerByPoint" | "occt.corners.cornerByPointReport" | "occt.corners.filletCornerByPoint" | "occt.deleteShape" | "occt.deleteShapes" | "occt.design.build" | "occt.design.clashes" | "occt.design.validate" | "occt.design.versionOf" | "occt.dimensions.pinWithLabel" | "occt.dimensions.simpleAngularDimension" | "occt.dimensions.simpleLinearLengthDimension" | "occt.docToMesh" | "occt.docToMeshes" | "occt.draft.draftAngle" | "occt.draft.draftAngleWithHistory" | "occt.draft.makeDraft" | "occt.draft.makeDraftToShape" | "occt.draft.makeDraftToShapeWithHistory" | "occt.draft.makeDraftWithHistory" | "occt.features.boss" | "occt.features.bossWithHistory" | "occt.features.counterboredHoles" | "occt.features.counterboredHolesWithHistory" | "occt.features.countersunkHoles" | "occt.features.countersunkHolesWithHistory" | "occt.features.groove" | "occt.features.grooveWithHistory" | "occt.features.holes" | "occt.features.holesWithHistory" | "occt.features.pocket" | "occt.features.pocketWithHistory" | "occt.features.pushPullFaces" | "occt.features.pushPullFacesWithHistory" | "occt.features.removeFaces" | "occt.features.removeFacesWithHistory" | "occt.features.revolvedBoss" | "occt.features.revolvedBossWithHistory" | "occt.features.revolvedPocket" | "occt.features.revolvedPocketWithHistory" | "occt.features.rib" | "occt.features.ribWithHistory" | "occt.features.taperedBoss" | "occt.features.taperedBossWithHistory" | "occt.features.taperedPocket" | "occt.features.taperedPocketWithHistory" | "occt.fillets.chamfer2dVertices" | "occt.fillets.chamferEdgeDistAngle" | "occt.fillets.chamferEdgeDistAngleWithHistory" | "occt.fillets.chamferEdges" | "occt.fillets.chamferEdgesDistAngle" | "occt.fillets.chamferEdgesDistAngleWithHistory" | "occt.fillets.chamferEdgesDistsAngles" | "occt.fillets.chamferEdgesDistsAnglesWithHistory" | "occt.fillets.chamferEdgesList" | "occt.fillets.chamferEdgesListWithHistory" | "occt.fillets.chamferEdgesTwoDistances" | "occt.fillets.chamferEdgesTwoDistancesLists" | "occt.fillets.chamferEdgesTwoDistancesListsWithHistory" | "occt.fillets.chamferEdgesTwoDistancesWithHistory" | "occt.fillets.chamferEdgesWithHistory" | "occt.fillets.chamferEdgeTwoDistances" | "occt.fillets.chamferEdgeTwoDistancesWithHistory" | "occt.fillets.fillet2d" | "occt.fillets.fillet2dShapes" | "occt.fillets.fillet3DWire" | "occt.fillets.fillet3DWires" | "occt.fillets.filletEdges" | "occt.fillets.filletEdgesList" | "occt.fillets.filletEdgesListOneRadius" | "occt.fillets.filletEdgesListOneRadiusWithHistory" | "occt.fillets.filletEdgesListWithHistory" | "occt.fillets.filletEdgesSameVariableRadius" | "occt.fillets.filletEdgesSameVariableRadiusWithHistory" | "occt.fillets.filletEdgesVariableRadius" | "occt.fillets.filletEdgesVariableRadiusWithHistory" | "occt.fillets.filletEdgesWithHistory" | "occt.fillets.filletEdgeVariableRadius" | "occt.fillets.filletEdgeVariableRadiusWithHistory" | "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.fileLengthUnit" | "occt.io.loadBrep" | "occt.io.loadBrepBinary" | "occt.io.loadDxf" | "occt.io.loadDxfStructured" | "occt.io.loadSTEPorIGES" | "occt.io.loadStl" | "occt.io.parseStepToJson" | "occt.io.saveShapeBrep" | "occt.io.saveShapeBrepAndReturn" | "occt.io.saveShapeBrepBinary" | "occt.io.saveShapeBrepBinaryAndReturn" | "occt.io.saveShapeDxf" | "occt.io.saveShapeDxfAndReturn" | "occt.io.saveShapeObj" | "occt.io.saveShapeObjAndReturn" | "occt.io.saveShapePly" | "occt.io.saveShapePlyAndReturn" | "occt.io.saveShapeSTEP" | "occt.io.saveShapeSTEPAndReturn" | "occt.io.saveShapeStl" | "occt.io.saveShapeStlAndReturn" | "occt.io.saveShapeSvg" | "occt.io.saveShapeSvgAndReturn" | "occt.io.shapeToDxfPaths" | "occt.io.svgCreate" | "occt.io.svgLayer" | "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.cutByFrames" | "occt.operations.distancesToShapeFromPoints" | "occt.operations.extrude" | "occt.operations.extrudeShapes" | "occt.operations.extrudeWithHistory" | "occt.operations.hiddenLines" | "occt.operations.loft" | "occt.operations.loftAdvanced" | "occt.operations.loftAdvancedWithHistory" | "occt.operations.loftWithHistory" | "occt.operations.makeThickSolidByJoin" | "occt.operations.makeThickSolidByJoinWithHistory" | "occt.operations.makeThickSolidSimple" | "occt.operations.makeThickSolidSimpleWithHistory" | "occt.operations.offset" | "occt.operations.offset3DWire" | "occt.operations.offsetAdv" | "occt.operations.offsetAdvWithHistory" | "occt.operations.offsetWithHistory" | "occt.operations.pipe" | "occt.operations.pipePolylineWireNGon" | "occt.operations.pipePolylineWireNGonWithHistory" | "occt.operations.pipeWireCylindrical" | "occt.operations.pipeWireCylindricalWithHistory" | "occt.operations.pipeWiresCylindrical" | "occt.operations.pipeWithHistory" | "occt.operations.pipeWithScaling" | "occt.operations.revolve" | "occt.operations.revolveWithHistory" | "occt.operations.rotatedExtrude" | "occt.operations.rotatedExtrudeWithHistory" | "occt.operations.sectionByFrames" | "occt.operations.sectionWires" | "occt.operations.slice" | "occt.operations.sliceByFrames" | "occt.operations.sliceInStepPattern" | "occt.operations.splitByFrame" | "occt.operations.splitFaceByWires" | "occt.operations.splitShapeWithShapes" | "occt.operations.splitShapeWithShapesWithHistory" | "occt.operations.sweepEvolved" | "occt.parts.mechanical.bearings.ansi.ballBearing" | "occt.parts.mechanical.bearings.ansi.ballBearingWithRoles" | "occt.parts.mechanical.bearings.iso.ballBearing" | "occt.parts.mechanical.bearings.iso.ballBearingWithRoles" | "occt.parts.mechanical.fasteners.ansi.hexBolt" | "occt.parts.mechanical.fasteners.ansi.hexBoltWithRoles" | "occt.parts.mechanical.fasteners.ansi.hexNut" | "occt.parts.mechanical.fasteners.ansi.hexNutWithRoles" | "occt.parts.mechanical.fasteners.ansi.setScrew" | "occt.parts.mechanical.fasteners.ansi.setScrewWithRoles" | "occt.parts.mechanical.fasteners.ansi.socketHeadCapScrew" | "occt.parts.mechanical.fasteners.ansi.socketHeadCapScrewWithRoles" | "occt.parts.mechanical.fasteners.ansi.washer" | "occt.parts.mechanical.fasteners.ansi.washerWithRoles" | "occt.parts.mechanical.fasteners.dowelPin" | "occt.parts.mechanical.fasteners.dowelPinWithRoles" | "occt.parts.mechanical.fasteners.iso.hexBolt" | "occt.parts.mechanical.fasteners.iso.hexBoltWithRoles" | "occt.parts.mechanical.fasteners.iso.hexNut" | "occt.parts.mechanical.fasteners.iso.hexNutWithRoles" | "occt.parts.mechanical.fasteners.iso.setScrew" | "occt.parts.mechanical.fasteners.iso.setScrewWithRoles" | "occt.parts.mechanical.fasteners.iso.socketHeadCapScrew" | "occt.parts.mechanical.fasteners.iso.socketHeadCapScrewWithRoles" | "occt.parts.mechanical.fasteners.iso.washer" | "occt.parts.mechanical.fasteners.iso.washerWithRoles" | "occt.parts.mechanical.gears.bevelGear" | "occt.parts.mechanical.gears.bevelGearWithRoles" | "occt.parts.mechanical.gears.helicalGear" | "occt.parts.mechanical.gears.helicalGearWithRoles" | "occt.parts.mechanical.gears.rack" | "occt.parts.mechanical.gears.rackProfile" | "occt.parts.mechanical.gears.rackWithRoles" | "occt.parts.mechanical.gears.ringGear" | "occt.parts.mechanical.gears.ringGearProfile" | "occt.parts.mechanical.gears.ringGearWithRoles" | "occt.parts.mechanical.gears.spurGear" | "occt.parts.mechanical.gears.spurGearProfile" | "occt.parts.mechanical.gears.spurGearWithRoles" | "occt.parts.mechanical.keys.ansi.parallelKey" | "occt.parts.mechanical.keys.ansi.parallelKeyWithRoles" | "occt.parts.mechanical.keys.din.parallelKey" | "occt.parts.mechanical.keys.din.parallelKeyWithRoles" | "occt.parts.mechanical.machining.ansi.keyway" | "occt.parts.mechanical.machining.ansi.keywayTool" | "occt.parts.mechanical.machining.ansi.knurl" | "occt.parts.mechanical.machining.ansi.knurlTool" | "occt.parts.mechanical.machining.ansi.ringGroove" | "occt.parts.mechanical.machining.ansi.ringGrooveTool" | "occt.parts.mechanical.machining.ansi.splinedHub" | "occt.parts.mechanical.machining.ansi.splinedHubTool" | "occt.parts.mechanical.machining.ansi.splinedShaft" | "occt.parts.mechanical.machining.ansi.thread" | "occt.parts.mechanical.machining.ansi.threadTool" | "occt.parts.mechanical.machining.din.keyway" | "occt.parts.mechanical.machining.din.keywayTool" | "occt.parts.mechanical.machining.din.knurl" | "occt.parts.mechanical.machining.din.knurlTool" | "occt.parts.mechanical.machining.din.ringGroove" | "occt.parts.mechanical.machining.din.ringGrooveTool" | "occt.parts.mechanical.machining.din.splinedHub" | "occt.parts.mechanical.machining.din.splinedHubTool" | "occt.parts.mechanical.machining.din.splinedShaft" | "occt.parts.mechanical.machining.flat" | "occt.parts.mechanical.machining.flatTool" | "occt.parts.mechanical.machining.iso.thread" | "occt.parts.mechanical.machining.iso.threadTool" | "occt.parts.mechanical.retainingRings.ansi.retainingRing" | "occt.parts.mechanical.retainingRings.ansi.retainingRingWithRoles" | "occt.parts.mechanical.retainingRings.din.retainingRing" | "occt.parts.mechanical.retainingRings.din.retainingRingWithRoles" | "occt.parts.mechanical.springs.compressionSpring" | "occt.parts.mechanical.springs.compressionSpringPath" | "occt.parts.mechanical.springs.compressionSpringWithRoles" | "occt.path.shapeFromPath" | "occt.recipes.build" | "occt.recipes.buildDocument" | "occt.recipes.describe" | "occt.select.edges.along" | "occt.select.edges.between" | "occt.select.edges.byLength" | "occt.select.edges.byRadius" | "occt.select.edges.concave" | "occt.select.edges.convex" | "occt.select.edges.extreme" | "occt.select.edges.groupAlong" | "occt.select.edges.inBox" | "occt.select.edges.inSphere" | "occt.select.edges.nearest" | "occt.select.edges.ofFaces" | "occt.select.edges.ofType" | "occt.select.edges.onPlane" | "occt.select.edges.sortAlong" | "occt.select.edges.tangentChain" | "occt.select.faces.adjacentTo" | "occt.select.faces.byRadius" | "occt.select.faces.bySize" | "occt.select.faces.extreme" | "occt.select.faces.facing" | "occt.select.faces.groupAlong" | "occt.select.faces.inBox" | "occt.select.faces.inSphere" | "occt.select.faces.nearest" | "occt.select.faces.ofEdges" | "occt.select.faces.ofType" | "occt.select.faces.onPlane" | "occt.select.faces.sortAlong" | "occt.shapeFacesToPolygonPoints" | "occt.shapeFix.basicShapeRepair" | "occt.shapeFix.fixEdgeOrientationsAlongWire" | "occt.shapeFix.fixShell" | "occt.shapeFix.fixSmallEdgeOnWire" | "occt.shapeFix.fixSolid" | "occt.shapeFix.freeBoundaries" | "occt.shapeFix.isValid" | "occt.shapeFix.orientClosedSolid" | "occt.shapeFix.sewWithReport" | "occt.shapeFix.validityReport" | "occt.shapes.compound.getShapesOfCompound" | "occt.shapes.compound.makeCompound" | "occt.shapes.edge.arcFromCircleAndTwoAngles" | "occt.shapes.edge.arcFromCircleAndTwoPoints" | "occt.shapes.edge.arcFromCirclePointAndAngle" | "occt.shapes.edge.arcThroughThreePoints" | "occt.shapes.edge.arcThroughTwoPointsAndTangent" | "occt.shapes.edge.blendBetweenEdges" | "occt.shapes.edge.circlesTangentToThree" | "occt.shapes.edge.circlesTangentToTwoCenteredOn" | "occt.shapes.edge.circlesTangentToTwoWithRadius" | "occt.shapes.edge.constraintTanCirclesOnCircleAndPnt" | "occt.shapes.edge.constraintTanCirclesOnTwoCircles" | "occt.shapes.edge.constraintTanLinesFromPtToCircle" | "occt.shapes.edge.constraintTanLinesFromTwoPtsToCircle" | "occt.shapes.edge.constraintTanLinesOnTwoCircles" | "occt.shapes.edge.createCircleEdge" | "occt.shapes.edge.createEllipseEdge" | "occt.shapes.edge.debugInfo" | "occt.shapes.edge.divideEdgeByEqualDistanceToPoints" | "occt.shapes.edge.divideEdgeByParamsToPoints" | "occt.shapes.edge.divideEdgesByEqualDistanceToPoints" | "occt.shapes.edge.divideEdgesByParamsToPoints" | "occt.shapes.edge.edgesToPoints" | "occt.shapes.edge.endPointOnEdge" | "occt.shapes.edge.endPointsOnEdges" | "occt.shapes.edge.extendEdge" | "occt.shapes.edge.frameOnEdgeAtLength" | "occt.shapes.edge.frameOnEdgeAtParam" | "occt.shapes.edge.framesOnEdgeAtLengths" | "occt.shapes.edge.framesOnEdgeAtParams" | "occt.shapes.edge.fromBaseLine" | "occt.shapes.edge.fromBaseLines" | "occt.shapes.edge.fromBaseMesh" | "occt.shapes.edge.fromBasePolyline" | "occt.shapes.edge.fromBaseSegment" | "occt.shapes.edge.fromBaseSegments" | "occt.shapes.edge.fromBaseTriangle" | "occt.shapes.edge.fromPoints" | "occt.shapes.edge.getCircularEdgeCenterPoint" | "occt.shapes.edge.getCircularEdgePlaneDirection" | "occt.shapes.edge.getCircularEdgeRadius" | "occt.shapes.edge.getCircularEdgesAlongWire" | "occt.shapes.edge.getCornerPointsOfEdgesForShape" | "occt.shapes.edge.getEdge" | "occt.shapes.edge.getEdgeCenterOfMass" | "occt.shapes.edge.getEdgeLength" | "occt.shapes.edge.getEdgeLengthsOfShape" | "occt.shapes.edge.getEdges" | "occt.shapes.edge.getEdgesAlongWire" | "occt.shapes.edge.getEdgesCentersOfMass" | "occt.shapes.edge.getEdgesLengths" | "occt.shapes.edge.getLinearEdgesAlongWire" | "occt.shapes.edge.isEdgeCircular" | "occt.shapes.edge.isEdgeLinear" | "occt.shapes.edge.line" | "occt.shapes.edge.linesTangentAtAngle" | "occt.shapes.edge.linesTangentToTwo" | "occt.shapes.edge.makeEdgeFromGeom2dCurveAndSurface" | "occt.shapes.edge.moveEdgeSeamByLength" | "occt.shapes.edge.moveEdgeSeamByParameter" | "occt.shapes.edge.pointOnEdgeAtLength" | "occt.shapes.edge.pointOnEdgeAtParam" | "occt.shapes.edge.pointsOnEdgesAtLength" | "occt.shapes.edge.pointsOnEdgesAtParam" | "occt.shapes.edge.rebuildEdgeDegree" | "occt.shapes.edge.removeInternalEdges" | "occt.shapes.edge.reversedEdge" | "occt.shapes.edge.splitEdgeAtLengths" | "occt.shapes.edge.splitEdgeAtParams" | "occt.shapes.edge.startPointOnEdge" | "occt.shapes.edge.startPointsOnEdges" | "occt.shapes.edge.tangentOnEdgeAtLength" | "occt.shapes.edge.tangentOnEdgeAtParam" | "occt.shapes.edge.tangentsOnEdgesAtLength" | "occt.shapes.edge.tangentsOnEdgesAtParam" | "occt.shapes.face.boundaryPatch" | "occt.shapes.face.createChristmasTreeFace" | "occt.shapes.face.createCircleFace" | "occt.shapes.face.createEllipseFace" | "occt.shapes.face.createFaceBoundedByWiresOnFace" | "occt.shapes.face.createFaceFromMultipleCircleTanWireCollections" | "occt.shapes.face.createFaceFromMultipleCircleTanWires" | "occt.shapes.face.createFaceFromWire" | "occt.shapes.face.createFaceFromWireOnFace" | "occt.shapes.face.createFaceFromWires" | "occt.shapes.face.createFaceFromWiresOnFace" | "occt.shapes.face.createFacesFromWires" | "occt.shapes.face.createFacesFromWiresOnFace" | "occt.shapes.face.createHBeamProfileFace" | "occt.shapes.face.createHeartFace" | "occt.shapes.face.createIBeamProfileFace" | "occt.shapes.face.createLPolygonFace" | "occt.shapes.face.createNGonFace" | "occt.shapes.face.createParallelogramFace" | "occt.shapes.face.createPolygonFace" | "occt.shapes.face.createRectangleFace" | "occt.shapes.face.createSquareFace" | "occt.shapes.face.createStarFace" | "occt.shapes.face.createTBeamProfileFace" | "occt.shapes.face.createUBeamProfileFace" | "occt.shapes.face.debugInfo" | "occt.shapes.face.faceFromSurface" | "occt.shapes.face.faceFromSurfaceAndWire" | "occt.shapes.face.fillPatch" | "occt.shapes.face.filterFacePoints" | "occt.shapes.face.filterFacesPoints" | "occt.shapes.face.flipFaceUV" | "occt.shapes.face.frameNearestPoint" | "occt.shapes.face.frameOnUV" | "occt.shapes.face.framesNearestPoints" | "occt.shapes.face.framesOnUVs" | "occt.shapes.face.fromBaseMesh" | "occt.shapes.face.fromBaseTriangle" | "occt.shapes.face.fromPointGrid" | "occt.shapes.face.getFace" | "occt.shapes.face.getFaceArea" | "occt.shapes.face.getFaceCenterOfMass" | "occt.shapes.face.getFaces" | "occt.shapes.face.getFacesAreas" | "occt.shapes.face.getFacesCentersOfMass" | "occt.shapes.face.getUMaxBound" | "occt.shapes.face.getUMinBound" | "occt.shapes.face.getVMaxBound" | "occt.shapes.face.getVMinBound" | "occt.shapes.face.hexagonsInGrid" | "occt.shapes.face.isoCurves" | "occt.shapes.face.normalizeFaceParametrization" | "occt.shapes.face.normalOnUV" | "occt.shapes.face.normalsOnUVs" | "occt.shapes.face.pointOnUV" | "occt.shapes.face.pointsOnUVs" | "occt.shapes.face.rebuildFaceDegree" | "occt.shapes.face.reversedFace" | "occt.shapes.face.ruledBetween" | "occt.shapes.face.subdivideToFrames" | "occt.shapes.face.subdivideToHexagonHoles" | "occt.shapes.face.subdivideToHexagonWires" | "occt.shapes.face.subdivideToNormals" | "occt.shapes.face.subdivideToPoints" | "occt.shapes.face.subdivideToPointsControlled" | "occt.shapes.face.subdivideToPointsOnParam" | "occt.shapes.face.subdivideToRectangleHoles" | "occt.shapes.face.subdivideToRectangleWires" | "occt.shapes.face.subdivideToUV" | "occt.shapes.face.subdivideToWires" | "occt.shapes.face.unroll" | "occt.shapes.face.wireAlongParam" | "occt.shapes.face.wiresAlongParams" | "occt.shapes.shape.getOrientation" | "occt.shapes.shape.getShapeType" | "occt.shapes.shape.isChecked" | "occt.shapes.shape.isClosed" | "occt.shapes.shape.isConvex" | "occt.shapes.shape.isEqual" | "occt.shapes.shape.isFree" | "occt.shapes.shape.isInfinite" | "occt.shapes.shape.isLocked" | "occt.shapes.shape.isModified" | "occt.shapes.shape.isNotEqual" | "occt.shapes.shape.isNull" | "occt.shapes.shape.isPartner" | "occt.shapes.shape.isSame" | "occt.shapes.shape.purgeInternalEdges" | "occt.shapes.shape.unifySameDomain" | "occt.shapes.shape.unifySameDomainWithHistory" | "occt.shapes.shell.debugInfo" | "occt.shapes.shell.getShellSurfaceArea" | "occt.shapes.shell.sewFaces" | "occt.shapes.shell.sewFacesWithHistory" | "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.fromFaces" | "occt.shapes.solid.fromFacesWithHistory" | "occt.shapes.solid.getSolidCenterOfMass" | "occt.shapes.solid.getSolids" | "occt.shapes.solid.getSolidsCentersOfMass" | "occt.shapes.solid.getSolidSurfaceArea" | "occt.shapes.solid.getSolidsVolumes" | "occt.shapes.solid.getSolidVolume" | "occt.shapes.vertex.getVertices" | "occt.shapes.vertex.getVerticesAsPoints" | "occt.shapes.vertex.projectPoints" | "occt.shapes.vertex.vertexFromPoint" | "occt.shapes.vertex.vertexFromXYZ" | "occt.shapes.vertex.vertexToPoint" | "occt.shapes.vertex.verticesCompoundFromPoints" | "occt.shapes.vertex.verticesFromPoints" | "occt.shapes.vertex.verticesToPoints" | "occt.shapes.wire.addEdgesAndWiresToWire" | "occt.shapes.wire.closeOpenWire" | "occt.shapes.wire.combineEdgesAndWiresIntoAWire" | "occt.shapes.wire.createBezier" | "occt.shapes.wire.createBezierWeights" | "occt.shapes.wire.createBezierWires" | "occt.shapes.wire.createBSpline" | "occt.shapes.wire.createBSplines" | "occt.shapes.wire.createChristmasTreeWire" | "occt.shapes.wire.createCircleWire" | "occt.shapes.wire.createEllipseWire" | "occt.shapes.wire.createFlatSpiralWire" | "occt.shapes.wire.createHBeamProfileWire" | "occt.shapes.wire.createHeartWire" | "occt.shapes.wire.createHelixWire" | "occt.shapes.wire.createHelixWireByTurns" | "occt.shapes.wire.createIBeamProfileWire" | "occt.shapes.wire.createLines" | "occt.shapes.wire.createLineWire" | "occt.shapes.wire.createLineWireWithExtensions" | "occt.shapes.wire.createLPolygonWire" | "occt.shapes.wire.createNGonWire" | "occt.shapes.wire.createParallelogramWire" | "occt.shapes.wire.createPolygons" | "occt.shapes.wire.createPolygonWire" | "occt.shapes.wire.createPolylines" | "occt.shapes.wire.createPolylineWire" | "occt.shapes.wire.createRectangleWire" | "occt.shapes.wire.createSquareWire" | "occt.shapes.wire.createStarWire" | "occt.shapes.wire.createTaperedHelixWire" | "occt.shapes.wire.createTBeamProfileWire" | "occt.shapes.wire.createUBeamProfileWire" | "occt.shapes.wire.createWireFromEdge" | "occt.shapes.wire.createWireFromTwoCirclesTan" | "occt.shapes.wire.createWiresBetweenStartEndPointsOfWiresAndEdges" | "occt.shapes.wire.createWiresBetweenSubdividedPointsOfWiresAndEdges" | "occt.shapes.wire.createZigZagBetweenTwoWires" | "occt.shapes.wire.debugInfo" | "occt.shapes.wire.derivativesOnWireAtLength" | "occt.shapes.wire.derivativesOnWireAtParam" | "occt.shapes.wire.divideWireByEqualDistanceToPoints" | "occt.shapes.wire.divideWireByParamsToPoints" | "occt.shapes.wire.divideWiresByEqualDistanceToPoints" | "occt.shapes.wire.divideWiresByParamsToPoints" | "occt.shapes.wire.endPointOnWire" | "occt.shapes.wire.frameOnWireAtLength" | "occt.shapes.wire.frameOnWireAtParam" | "occt.shapes.wire.framesAlongWire" | "occt.shapes.wire.framesOnWireAtLengths" | "occt.shapes.wire.framesOnWireAtParams" | "occt.shapes.wire.fromBaseLine" | "occt.shapes.wire.fromBaseLines" | "occt.shapes.wire.fromBaseMesh" | "occt.shapes.wire.fromBasePolyline" | "occt.shapes.wire.fromBaseSegment" | "occt.shapes.wire.fromBaseSegments" | "occt.shapes.wire.fromBaseTriangle" | "occt.shapes.wire.fromPoints" | "occt.shapes.wire.getWire" | "occt.shapes.wire.getWireCenterOfMass" | "occt.shapes.wire.getWireLength" | "occt.shapes.wire.getWires" | "occt.shapes.wire.getWiresCentersOfMass" | "occt.shapes.wire.getWiresLengths" | "occt.shapes.wire.hexagonsInGrid" | "occt.shapes.wire.interpolatePoints" | "occt.shapes.wire.interpolatePointsSymmetric" | "occt.shapes.wire.interpolateWires" | "occt.shapes.wire.isWireClosed" | "occt.shapes.wire.midPointOnWire" | "occt.shapes.wire.moveWireSeamByLength" | "occt.shapes.wire.moveWireSeamByParameter" | "occt.shapes.wire.offsetOpen" | "occt.shapes.wire.placeWireOnFace" | "occt.shapes.wire.placeWiresOnFace" | "occt.shapes.wire.pointOnWireAtLength" | "occt.shapes.wire.pointOnWireAtParam" | "occt.shapes.wire.pointsOnWireAtEqualLength" | "occt.shapes.wire.pointsOnWireAtLengths" | "occt.shapes.wire.pointsOnWireAtPatternOfLengths" | "occt.shapes.wire.project" | "occt.shapes.wire.projectConical" | "occt.shapes.wire.projectNormal" | "occt.shapes.wire.projectWires" | "occt.shapes.wire.rebuildWireDegree" | "occt.shapes.wire.reversedWire" | "occt.shapes.wire.reversedWireFromReversedEdges" | "occt.shapes.wire.splitOnPoints" | "occt.shapes.wire.splitWireAtLengths" | "occt.shapes.wire.splitWireAtParams" | "occt.shapes.wire.startPointOnWire" | "occt.shapes.wire.tangentOnWireAtLength" | "occt.shapes.wire.tangentOnWireAtParam" | "occt.shapes.wire.textWires" | "occt.shapes.wire.textWiresWithData" | "occt.shapes.wire.wiresToPoints" | "occt.shapes.wire.wrapWiresOnFace" | "occt.shapesToMeshes" | "occt.shapeToManifoldMesh" | "occt.shapeToMesh" | "occt.sketch.commands.bulgeArc" | "occt.sketch.commands.chamferCorner" | "occt.sketch.commands.close" | "occt.sketch.commands.cubic" | "occt.sketch.commands.filletCorner" | "occt.sketch.commands.hLine" | "occt.sketch.commands.line" | "occt.sketch.commands.polarLine" | "occt.sketch.commands.quadratic" | "occt.sketch.commands.sagittaArc" | "occt.sketch.commands.tangentArc" | "occt.sketch.commands.tangentLine" | "occt.sketch.commands.threePointArc" | "occt.sketch.commands.vLine" | "occt.sketch.hull" | "occt.sketch.pen" | "occt.sketch.penWithSegments" | "occt.sketch.stroke" | "occt.svg.loadSVG" | "occt.svg.loadSVGStructured" | "occt.transforms.align" | "occt.transforms.alignAndTranslate" | "occt.transforms.alignAndTranslateShapes" | "occt.transforms.alignNormAndAxis" | "occt.transforms.alignShapes" | "occt.transforms.composeTransform" | "occt.transforms.getShapeTransform" | "occt.transforms.identityTransform" | "occt.transforms.invertTransform" | "occt.transforms.mirror" | "occt.transforms.mirrorAboutPoint" | "occt.transforms.mirrorAlongNormal" | "occt.transforms.mirrorAlongNormalShapes" | "occt.transforms.mirrorAxisToMatrix" | "occt.transforms.mirrorPlaneToMatrix" | "occt.transforms.mirrorPointToMatrix" | "occt.transforms.mirrorShapes" | "occt.transforms.multiplyTransforms" | "occt.transforms.orient" | "occt.transforms.placeByMatrices" | "occt.transforms.placeOnFrames" | "occt.transforms.quaternionToMatrix" | "occt.transforms.rotate" | "occt.transforms.rotateAroundCenter" | "occt.transforms.rotateAroundCenterShapes" | "occt.transforms.rotateByQuaternion" | "occt.transforms.rotateShapes" | "occt.transforms.rotationAxisAngleToMatrix" | "occt.transforms.scale" | "occt.transforms.scale3d" | "occt.transforms.scale3dShapes" | "occt.transforms.scaleFromCenter" | "occt.transforms.scaleShapes" | "occt.transforms.scaleUniformToMatrix" | "occt.transforms.transform" | "occt.transforms.transformByMatrix" | "occt.transforms.transformShapes" | "occt.transforms.transformShapesByMatrix" | "occt.transforms.translate" | "occt.transforms.translateShapes" | "occt.transforms.translationToMatrix" | "occtPro.nesting.inspect" | "occtPro.nesting.nest" | "occtPro.sheetMetal.unfoldFaceReport" | "occtPro.sheetMetal.unfoldFaceToFlat" | "occtPro.sheetMetal.unfoldSolidReport" | "occtPro.sheetMetal.unfoldSolidToFlat" | "point.arcThroughThreePoints" | "point.averagePoint" | "point.boundingBoxOfPoints" | "point.closestPointFromPoints" | "point.closestPointFromPointsDistance" | "point.closestPointFromPointsIndex" | "point.distance" | "point.distancesToPoints" | "point.getX" | "point.getY" | "point.getZ" | "point.hexGrid" | "point.hexGridScaledToFit" | "point.maxFilletRadius" | "point.maxFilletRadiusHalfLine" | "point.maxFilletsHalfLine" | "point.multiplyPoint" | "point.normalFromThreePoints" | "point.pointXY" | "point.pointXYZ" | "point.removeConsecutiveDuplicates" | "point.rotatePointsCenterAxis" | "point.safestPointsMaxFilletHalfLine" | "point.scalePointsCenterXYZ" | "point.sortPoints" | "point.spiral" | "point.stretchPointsDirFromCenter" | "point.transformPoint" | "point.transformPoints" | "point.transformsForPoints" | "point.translatePoints" | "point.translatePointsWithVectors" | "point.translateXYZPoints" | "point.twoPointsAlmostEqual" | "polyline.countPoints" | "polyline.create" | "polyline.getPoints" | "polyline.isPointInside2d" | "polyline.length" | "polyline.maxFilletsHalfLine" | "polyline.orient2d" | "polyline.perimeter2d" | "polyline.polygonArea" | "polyline.polygonNormal" | "polyline.polylineSelfIntersection" | "polyline.polylineToLines" | "polyline.polylineToSegments" | "polyline.reverse" | "polyline.roundCorners" | "polyline.roundCorners2d" | "polyline.safestFilletRadius" | "polyline.signedArea2d" | "polyline.sortSegmentsIntoPolylines" | "polyline.sweepFrames" | "polyline.sweepPlacements" | "polyline.tangents" | "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. */
@@ -580,6 +580,468 @@ export interface OperationParams {
580
580
  /** Header names whose cells are parsed as numbers, in the result and in the comparison */
581
581
  numberColumns?: unknown[] | PipelineRef;
582
582
  };
583
+ /**
584
+ * Makes a circular arc of a drawing path, running counterclockwise about its `center` from
585
+ * `startAngle` to `endAngle`, in degrees, in the XY plane unless a `normal` tilts it.
586
+ */
587
+ "io.drawing.arcSegment": {
588
+ /** The center of the arc's circle. */
589
+ center: [number, number, number] | PipelineRef;
590
+ /** Distance from the center to the arc, in drawing units. */
591
+ radius: number | PipelineRef;
592
+ /**
593
+ * Where the arc starts, in degrees counterclockwise from the X axis (the X axis CAD programs
594
+ * derive from the `normal` when one is given).
595
+ */
596
+ startAngle: number | PipelineRef;
597
+ /**
598
+ * Where the arc ends, in degrees; the arc runs counterclockwise from the start, through 0
599
+ * when the end is below the start.
600
+ */
601
+ endAngle: number | PipelineRef;
602
+ /**
603
+ * The direction the arc's plane faces, counterclockwise seen from its tip. Leave it out for an
604
+ * arc in the XY plane facing +Z.
605
+ */
606
+ normal?: [number, number, number] | PipelineRef;
607
+ };
608
+ /**
609
+ * Makes a whole circle of a drawing path from its `center` and `radius`, in the XY plane unless a
610
+ * `normal` tilts it.
611
+ */
612
+ "io.drawing.circleSegment": {
613
+ /** Where the circle's center lies; without a Z it lies at Z 0. */
614
+ center: [number, number, number] | PipelineRef;
615
+ /** Distance from the center to the circle, in drawing units. */
616
+ radius: number | PipelineRef;
617
+ /** The direction the circle's plane faces. Leave it out for a circle in the XY plane. */
618
+ normal?: [number, number, number] | PipelineRef;
619
+ };
620
+ /**
621
+ * Converts a DXF file into an SVG file, reading it as `io.dxf.dxfRead` does and writing it as
622
+ * `io.svg.svgCreate` does.
623
+ *
624
+ * Layers become Inkscape layers and the SVG takes its true size from the unit the DXF states.
625
+ * Splines given only by fit points are left out and named in `warnings`; a drawing too large to
626
+ * write throws.
627
+ */
628
+ "io.drawing.dxfToSvg": {
629
+ /**
630
+ * An ASCII DXF file from R12 on, as text or bytes; older bytes not in UTF-8 are read in the
631
+ * header's code page, or as Windows-1252.
632
+ */
633
+ dxf: unknown | PipelineRef;
634
+ /** When true, layers the file has switched off or frozen are written as well. */
635
+ includeHiddenLayers?: boolean | PipelineRef;
636
+ /**
637
+ * How wide the lines are, in drawing units. Left out, a five-hundredth of the drawing's larger
638
+ * side.
639
+ */
640
+ strokeWidth?: number | PipelineRef;
641
+ /**
642
+ * The empty border around the drawing, in drawing units. Left out, a fortieth of the
643
+ * drawing's larger side.
644
+ */
645
+ margin?: number | PipelineRef;
646
+ /**
647
+ * The largest distance, in drawing units, between a curve SVG cannot draw exactly (a rational
648
+ * or higher degree spline) and the cubic curves that stand in for it.
649
+ */
650
+ tolerance?: number | PipelineRef;
651
+ };
652
+ /**
653
+ * Makes an ellipse, or an arc of one, for a drawing path.
654
+ *
655
+ * The ellipse is given by its center, the vector to the end of its major axis and the minor to
656
+ * major ratio; parameters in radians pick the arc, running counterclockwise about the normal.
657
+ */
658
+ "io.drawing.ellipseSegment": {
659
+ /** Where the ellipse's center lies; without a Z it lies at Z 0. */
660
+ center: [number, number, number] | PipelineRef;
661
+ /**
662
+ * The vector from the center to one end of the major axis; its length is the major radius,
663
+ * in drawing units.
664
+ */
665
+ majorAxis: [number, number, number] | PipelineRef;
666
+ /** The minor radius divided by the major radius. */
667
+ ratio: number | PipelineRef;
668
+ /**
669
+ * Where the arc starts, as the ellipse's parameter t in radians (the point center +
670
+ * cos(t) `majorAxis` + sin(t) minor axis), the angle only when `ratio` is 1.
671
+ */
672
+ startParameter?: number | PipelineRef;
673
+ /**
674
+ * Where the arc ends, as the same parameter in radians; the arc runs counterclockwise from the
675
+ * start, through 0 when the end is below the start.
676
+ */
677
+ endParameter?: number | PipelineRef;
678
+ /**
679
+ * The direction the ellipse's plane faces, perpendicular to `majorAxis`. Leave it out for an
680
+ * ellipse in the XY plane facing +Z.
681
+ */
682
+ normal?: [number, number, number] | PipelineRef;
683
+ };
684
+ /** Makes a straight segment of a drawing path, from `start` to `end`. */
685
+ "io.drawing.lineSegment": {
686
+ /** Where the line starts. */
687
+ start: [number, number, number] | PipelineRef;
688
+ /** Where the line ends. */
689
+ end: [number, number, number] | PipelineRef;
690
+ };
691
+ /**
692
+ * Puts paths on a named layer with a color and a line type, making one part of a drawing.
693
+ *
694
+ * A drawing may hold several parts; `io.dxf.dxfCreate` writes them as DXF and `io.svg.svgCreate`
695
+ * as SVG.
696
+ */
697
+ "io.drawing.part": {
698
+ /** The paths of the part, each a run of segments. */
699
+ paths: unknown[] | PipelineRef;
700
+ /**
701
+ * The layer the paths go on. Parts may share a layer, which takes the first part's color and
702
+ * line type; every part's paths keep their own.
703
+ */
704
+ layer?: string | PipelineRef;
705
+ /** The color of every path in the part, as a hex string such as `#000000`. */
706
+ color?: unknown | PipelineRef;
707
+ /** Whether the lines are whole or dashed, such as `hidden` for edges a view cannot see. */
708
+ lineType?: "continuous" | "dashed" | "hidden" | "center" | "dotted" | PipelineRef;
709
+ };
710
+ /**
711
+ * Joins segments into one path, drawn in order like the edges of a wire; segments that meet
712
+ * are drawn as one stroke in SVG.
713
+ */
714
+ "io.drawing.path": {
715
+ /**
716
+ * The segments of the path, in order; where one ends at the next one's start, SVG draws them
717
+ * as one stroke.
718
+ */
719
+ segments: unknown[] | PipelineRef;
720
+ };
721
+ /**
722
+ * Makes connected straight segments through `points`, which `bulges` can bend into arcs;
723
+ * `closed` joins the last point back to the first.
724
+ */
725
+ "io.drawing.polylineSegment": {
726
+ /**
727
+ * The vertices, in order. A last point equal to the first closes the polyline as `closed`
728
+ * does.
729
+ */
730
+ points: [number, number, number][] | PipelineRef;
731
+ /** Whether a segment joins the last vertex back to the first. */
732
+ closed?: boolean | PipelineRef;
733
+ /**
734
+ * One per vertex, bending the segment after it into an arc: the tangent of a quarter of its
735
+ * turn, 0 for straight, positive counterclockwise. Left out, every segment is straight.
736
+ */
737
+ bulges?: number[] | PipelineRef;
738
+ };
739
+ /**
740
+ * Makes a B-spline or NURBS curve of a drawing path from its control points and degree, with
741
+ * its knots and weights when they are given.
742
+ */
743
+ "io.drawing.splineSegment": {
744
+ /**
745
+ * The control points the curve is pulled towards; there must be more of them than the
746
+ * degree.
747
+ */
748
+ controlPoints: [number, number, number][] | PipelineRef;
749
+ /** The degree of the curve: 1 draws the control polygon, 2 and 3 smooth curves. */
750
+ degree?: number | PipelineRef;
751
+ /**
752
+ * Without `knots`, whether the curve wraps around its control points into a smooth closed
753
+ * loop. With `knots`, the knots decide, and this is ignored.
754
+ */
755
+ closed?: boolean | PipelineRef;
756
+ /**
757
+ * The full knot vector: never decreasing, one more value than the control points and the
758
+ * degree together. Left out, the curve starts and ends at its end points.
759
+ */
760
+ knots?: number[] | PipelineRef;
761
+ /**
762
+ * One positive weight per control point, which makes the curve rational (a NURBS curve). Leave
763
+ * it out for a weight of 1 everywhere.
764
+ */
765
+ weights?: number[] | PipelineRef;
766
+ };
767
+ /**
768
+ * Converts an SVG file into a DXF file, reading it as `io.svg.svgRead` does and writing it as
769
+ * `io.dxf.dxfCreate` does.
770
+ *
771
+ * Inkscape layers, stroke colors and dash patterns become DXF layers, colors and line types, and
772
+ * curves stay exact. With `unit` the drawing is read at true size and the DXF states that unit. A
773
+ * drawing too large to write throws.
774
+ */
775
+ "io.drawing.svgToDxf": {
776
+ /** The whole text of an SVG file. */
777
+ svg: string | PipelineRef;
778
+ /**
779
+ * The unit to read the drawing in at true size, also stated in the DXF (`AC1015` only). Left
780
+ * out, user units are written and no unit is stated.
781
+ */
782
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
783
+ /** When true, elements hidden by `display` or `visibility` are written as well. */
784
+ includeInvisible?: boolean | PipelineRef;
785
+ /**
786
+ * How colors are written: `aci`, the nearest of AutoCAD's 255 index colors, or `truecolor`,
787
+ * the exact color beside that index (`AC1015` only; `AC1009` writes the index).
788
+ */
789
+ colorFormat?: unknown | PipelineRef;
790
+ /**
791
+ * The DXF version: `AC1015` (AutoCAD 2000), which keeps splines and ellipses exact, or `AC1009`
792
+ * (AutoCAD R12) for old software, where they become polylines within `curveTolerance`.
793
+ */
794
+ acadVersion?: unknown | PipelineRef;
795
+ /**
796
+ * The largest distance, in drawing units, between a curve and the polyline that stands in for
797
+ * it where the version cannot hold the curve exactly.
798
+ */
799
+ curveTolerance?: number | PipelineRef;
800
+ };
801
+ /** Makes a circular arc for a drawing, under its former DXF name. */
802
+ "io.dxf.arcSegment": {
803
+ /** The center of the arc's circle. */
804
+ center: [number, number, number] | PipelineRef;
805
+ /** Distance from the center to the arc, in drawing units. */
806
+ radius: number | PipelineRef;
807
+ /**
808
+ * Where the arc starts, in degrees counterclockwise from the X axis (the X axis CAD programs
809
+ * derive from the `normal` when one is given).
810
+ */
811
+ startAngle: number | PipelineRef;
812
+ /**
813
+ * Where the arc ends, in degrees; the arc runs counterclockwise from the start, through 0
814
+ * when the end is below the start.
815
+ */
816
+ endAngle: number | PipelineRef;
817
+ /**
818
+ * The direction the arc's plane faces, counterclockwise seen from its tip. Leave it out for an
819
+ * arc in the XY plane facing +Z.
820
+ */
821
+ normal?: [number, number, number] | PipelineRef;
822
+ };
823
+ /** Makes a whole circle for a drawing, under its former DXF name. */
824
+ "io.dxf.circleSegment": {
825
+ /** Where the circle's center lies; without a Z it lies at Z 0. */
826
+ center: [number, number, number] | PipelineRef;
827
+ /** Distance from the center to the circle, in drawing units. */
828
+ radius: number | PipelineRef;
829
+ /** The direction the circle's plane faces. Leave it out for a circle in the XY plane. */
830
+ normal?: [number, number, number] | PipelineRef;
831
+ };
832
+ /**
833
+ * Writes a DXF file from path parts, each on its layer with its color and line type.
834
+ *
835
+ * `AC1015` keeps every curve exact. `AC1009` (R12) writes splines and ellipses as polylines
836
+ * within `curveTolerance`, never finer than a millionth of the drawing. Points off one Z make a
837
+ * 3D polyline; a drawing too large to write throws.
838
+ */
839
+ "io.dxf.dxfCreate": {
840
+ /** Array of path parts, each containing paths with segments */
841
+ dxfPathsParts: unknown[] | PipelineRef;
842
+ /**
843
+ * How colors are written: `aci`, the nearest of AutoCAD's 255 index colors, or `truecolor`,
844
+ * the exact color beside that index (`AC1015` only; `AC1009` writes the index).
845
+ */
846
+ colorFormat?: unknown | PipelineRef;
847
+ /**
848
+ * The DXF version: `AC1015` (AutoCAD 2000), which keeps splines and ellipses exact, or `AC1009`
849
+ * (AutoCAD R12) for old software, where they become polylines within `curveTolerance`.
850
+ */
851
+ acadVersion?: unknown | PipelineRef;
852
+ /**
853
+ * The unit the drawing is in, written into its header so CAD programs open it at true size;
854
+ * `AC1015` only. Left out, no unit is stated.
855
+ */
856
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
857
+ /**
858
+ * The largest distance, in drawing units, between a curve and the polyline that stands in for
859
+ * it where the version cannot hold the curve exactly.
860
+ */
861
+ curveTolerance?: number | PipelineRef;
862
+ };
863
+ /**
864
+ * Reads a DXF file into path parts by layer, color and line type, the model `dxfCreate` writes.
865
+ *
866
+ * Lines, arcs, circles, ellipses, polylines and splines are read exactly in the file's
867
+ * coordinates, block inserts expanded. Text, dimensions and hatches are left out and named in
868
+ * `warnings`; splines given only by fit points are read by `occt.io.loadDxf`.
869
+ */
870
+ "io.dxf.dxfRead": {
871
+ /**
872
+ * An ASCII DXF file from R12 on, as text or bytes; older bytes not in UTF-8 are read in the
873
+ * header's code page, or as Windows-1252.
874
+ */
875
+ dxf: unknown | PipelineRef;
876
+ /** When true, layers the file has switched off or frozen are read as well. */
877
+ includeHiddenLayers?: boolean | PipelineRef;
878
+ };
879
+ /** Makes an ellipse or an arc of one for a drawing, under its former DXF name. */
880
+ "io.dxf.ellipseSegment": {
881
+ /** Where the ellipse's center lies; without a Z it lies at Z 0. */
882
+ center: [number, number, number] | PipelineRef;
883
+ /**
884
+ * The vector from the center to one end of the major axis; its length is the major radius,
885
+ * in drawing units.
886
+ */
887
+ majorAxis: [number, number, number] | PipelineRef;
888
+ /** The minor radius divided by the major radius. */
889
+ ratio: number | PipelineRef;
890
+ /**
891
+ * Where the arc starts, as the ellipse's parameter t in radians (the point center +
892
+ * cos(t) `majorAxis` + sin(t) minor axis), the angle only when `ratio` is 1.
893
+ */
894
+ startParameter?: number | PipelineRef;
895
+ /**
896
+ * Where the arc ends, as the same parameter in radians; the arc runs counterclockwise from the
897
+ * start, through 0 when the end is below the start.
898
+ */
899
+ endParameter?: number | PipelineRef;
900
+ /**
901
+ * The direction the ellipse's plane faces, perpendicular to `majorAxis`. Leave it out for an
902
+ * ellipse in the XY plane facing +Z.
903
+ */
904
+ normal?: [number, number, number] | PipelineRef;
905
+ };
906
+ /** Makes a straight segment for a drawing, under its former DXF name. */
907
+ "io.dxf.lineSegment": {
908
+ /** Where the line starts. */
909
+ start: [number, number, number] | PipelineRef;
910
+ /** Where the line ends. */
911
+ end: [number, number, number] | PipelineRef;
912
+ };
913
+ /** Makes a path joined from segments for a drawing, under its former DXF name. */
914
+ "io.dxf.path": {
915
+ /**
916
+ * The segments of the path, in order; where one ends at the next one's start, SVG draws them
917
+ * as one stroke.
918
+ */
919
+ segments: unknown[] | PipelineRef;
920
+ };
921
+ /** Makes a part of a drawing on one layer for a drawing, under its former DXF name. */
922
+ "io.dxf.pathsPart": {
923
+ /** The paths of the part, each a run of segments. */
924
+ paths: unknown[] | PipelineRef;
925
+ /**
926
+ * The layer the paths go on. Parts may share a layer, which takes the first part's color and
927
+ * line type; every part's paths keep their own.
928
+ */
929
+ layer?: string | PipelineRef;
930
+ /** The color of every path in the part, as a hex string such as `#000000`. */
931
+ color?: unknown | PipelineRef;
932
+ /** Whether the lines are whole or dashed, such as `hidden` for edges a view cannot see. */
933
+ lineType?: "continuous" | "dashed" | "hidden" | "center" | "dotted" | PipelineRef;
934
+ };
935
+ /** Makes connected straight segments for a drawing, under its former DXF name. */
936
+ "io.dxf.polylineSegment": {
937
+ /**
938
+ * The vertices, in order. A last point equal to the first closes the polyline as `closed`
939
+ * does.
940
+ */
941
+ points: [number, number, number][] | PipelineRef;
942
+ /** Whether a segment joins the last vertex back to the first. */
943
+ closed?: boolean | PipelineRef;
944
+ /**
945
+ * One per vertex, bending the segment after it into an arc: the tangent of a quarter of its
946
+ * turn, 0 for straight, positive counterclockwise. Left out, every segment is straight.
947
+ */
948
+ bulges?: number[] | PipelineRef;
949
+ };
950
+ /** Makes a B-spline or NURBS curve for a drawing, under its former DXF name. */
951
+ "io.dxf.splineSegment": {
952
+ /**
953
+ * The control points the curve is pulled towards; there must be more of them than the
954
+ * degree.
955
+ */
956
+ controlPoints: [number, number, number][] | PipelineRef;
957
+ /** The degree of the curve: 1 draws the control polygon, 2 and 3 smooth curves. */
958
+ degree?: number | PipelineRef;
959
+ /**
960
+ * Without `knots`, whether the curve wraps around its control points into a smooth closed
961
+ * loop. With `knots`, the knots decide, and this is ignored.
962
+ */
963
+ closed?: boolean | PipelineRef;
964
+ /**
965
+ * The full knot vector: never decreasing, one more value than the control points and the
966
+ * degree together. Left out, the curve starts and ends at its end points.
967
+ */
968
+ knots?: number[] | PipelineRef;
969
+ /**
970
+ * One positive weight per control point, which makes the curve rational (a NURBS curve). Leave
971
+ * it out for a weight of 1 everywhere.
972
+ */
973
+ weights?: number[] | PipelineRef;
974
+ };
975
+ /**
976
+ * Writes one drawing path as SVG path data, the text of a `path` element's `d` attribute.
977
+ *
978
+ * Segments that meet are drawn as one stroke, reversed where a segment ends where the stroke is,
979
+ * and a stroke that returns to its start is closed. Curves are kept exact as `svgCreate` keeps
980
+ * them.
981
+ */
982
+ "io.svg.pathData": {
983
+ /** The path to write as SVG path data. */
984
+ path: unknown | PipelineRef;
985
+ /**
986
+ * Whether Y is negated, as an SVG file needs (its Y runs down); leave it off for data drawn
987
+ * inside a group that flips Y itself.
988
+ */
989
+ flipY?: boolean | PipelineRef;
990
+ /**
991
+ * The largest distance, in drawing units, between a curve SVG cannot draw exactly and the
992
+ * cubic curves that stand in for it.
993
+ */
994
+ tolerance?: number | PipelineRef;
995
+ };
996
+ /**
997
+ * Writes an SVG file from path parts, each layer an Inkscape layer.
998
+ *
999
+ * Arcs, circles, ellipses and bulges stay exact arcs, unweighted splines up to degree 3 exact
1000
+ * Beziers, others cubics within `tolerance` (at least a millionth of the drawing). Y points up, Z
1001
+ * is dropped and `unit` gives the true size. A drawing too large to write throws.
1002
+ */
1003
+ "io.svg.svgCreate": {
1004
+ /** The parts of the drawing; each layer becomes a group that Inkscape reads as a layer. */
1005
+ parts: unknown[] | PipelineRef;
1006
+ /**
1007
+ * The unit the drawing is in, which gives the file its true width and height. Left out, the
1008
+ * file states no size and viewers fit it to the window.
1009
+ */
1010
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
1011
+ /**
1012
+ * How wide the lines are, in drawing units. Left out, a five-hundredth of the drawing's larger
1013
+ * side.
1014
+ */
1015
+ strokeWidth?: number | PipelineRef;
1016
+ /**
1017
+ * The empty border around the drawing, in drawing units. Left out, a fortieth of the
1018
+ * drawing's larger side.
1019
+ */
1020
+ margin?: number | PipelineRef;
1021
+ /**
1022
+ * The largest distance, in drawing units, between a curve SVG cannot draw exactly (a rational
1023
+ * or higher degree spline) and the cubic curves that stand in for it.
1024
+ */
1025
+ tolerance?: number | PipelineRef;
1026
+ };
1027
+ /**
1028
+ * Reads an SVG file into path parts by layer, color and line type, the model `svgCreate` writes.
1029
+ *
1030
+ * Lines, arcs and Bezier curves are read exactly, transforms applied and Y turned up. Inkscape
1031
+ * layers are layers, each stroke color (else fill) a color, each dash pattern a line type. Text
1032
+ * and images are left out and named in `warnings`.
1033
+ */
1034
+ "io.svg.svgRead": {
1035
+ /** The whole text of an SVG file. */
1036
+ svg: string | PipelineRef;
1037
+ /**
1038
+ * The unit to read the drawing in at its true size, with the page's top left corner at the
1039
+ * origin. Left out, coordinates stay in the file's own user units.
1040
+ */
1041
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
1042
+ /** When true, elements hidden by `display` or `visibility` are read as well. */
1043
+ includeInvisible?: boolean | PipelineRef;
1044
+ };
583
1045
  /**
584
1046
  * Keeps only the volume or area that all the inputs share, dropping everything else.
585
1047
  *
@@ -1843,6 +2305,18 @@ export interface OperationParams {
1843
2305
  /** The second point of the line, where it finishes; the direction runs from start to end. */
1844
2306
  end: [number, number, number] | PipelineRef;
1845
2307
  };
2308
+ /**
2309
+ * Measures how far a point lies from a line, to the nearest point between its start and end.
2310
+ *
2311
+ * A point beside the line is measured square to it, and one past either end to that end. A line
2312
+ * whose ends meet is measured to that one point.
2313
+ */
2314
+ "line.distanceToPoint": {
2315
+ /** The line to measure to; nothing past its start or its end counts. */
2316
+ line: unknown | PipelineRef;
2317
+ /** The point to measure from. */
2318
+ point: [number, number, number] | PipelineRef;
2319
+ };
1846
2320
  /**
1847
2321
  * Reads the end point of a line.
1848
2322
  *
@@ -4076,9 +4550,9 @@ export interface OperationParams {
4076
4550
  /**
4077
4551
  * Builds each root of a recipe as a solid placed by its matrix, in root order.
4078
4552
  *
4079
- * Shared nodes are built once. An invalid recipe throws; a root the kernel cannot build, such as
4080
- * an open mesh, throws unless `emptyWhenFailed` is set. A cut within `tolerance` of a side of the
4081
- * box of what it cuts goes through it.
4553
+ * Shared nodes are built once. An invalid recipe throws; a root the kernel cannot build throws
4554
+ * unless `emptyWhenFailed` is set. A cut ending within `tolerance` of a side of the bounding box,
4555
+ * or of a face its end lies wholly on, goes through.
4082
4556
  */
4083
4557
  "manifold.recipes.build": {
4084
4558
  /**
@@ -6421,8 +6895,8 @@ export interface OperationParams {
6421
6895
  */
6422
6896
  relativeDeflection?: boolean | PipelineRef;
6423
6897
  /**
6424
- * When true, the mesh is turned so this library's Y-up becomes Z-up, for tools that treat Z as
6425
- * up.
6898
+ * When true, the mesh is made Z-up for tools that treat Z as up: turned a quarter about X under
6899
+ * right-handed conventions, with Y and Z swapped otherwise.
6426
6900
  */
6427
6901
  adjustYtoZ?: boolean | PipelineRef;
6428
6902
  /**
@@ -6472,8 +6946,8 @@ export interface OperationParams {
6472
6946
  */
6473
6947
  relativeDeflection?: boolean | PipelineRef;
6474
6948
  /**
6475
- * When true, the meshes are turned so this library's Y-up becomes Z-up, for tools that treat Z
6476
- * as up.
6949
+ * When true, the meshes are made Z-up for tools that treat Z as up: turned a quarter about X under
6950
+ * right-handed conventions, with Y and Z swapped otherwise.
6477
6951
  */
6478
6952
  adjustYtoZ?: boolean | PipelineRef;
6479
6953
  /**
@@ -7854,8 +8328,8 @@ export interface OperationParams {
7854
8328
  /**
7855
8329
  * Rounds several edges of a shape, each with the same radius profile that changes along it.
7856
8330
  *
7857
- * `paramsU` are positions along each edge as fractions from 0 to 1 and `radiusList` the radius
7858
- * at each; the lists must have the same length, or an error is thrown.
8331
+ * `radiusList` holds the radius at each `paramsU` position on every edge, read as
8332
+ * `filletEdgeVariableRadius` reads them. The lists must be equally long, or an error is thrown.
7859
8333
  */
7860
8334
  "occt.fillets.filletEdgesSameVariableRadius": {
7861
8335
  /** The shape the edges belong to. */
@@ -7864,7 +8338,10 @@ export interface OperationParams {
7864
8338
  edges: unknown[] | PipelineRef;
7865
8339
  /** The radius in model units at each position in `paramsU`; the lists must have the same length. */
7866
8340
  radiusList: number[] | PipelineRef;
7867
- /** Positions along each edge as fractions from 0 at its start to 1 at its end, one per radius. */
8341
+ /**
8342
+ * Where each radius applies on every edge, read as for `filletEdgeVariableRadius`: first and
8343
+ * last positions at the curve's ends, those between along its parameter.
8344
+ */
7868
8345
  paramsU: number[] | PipelineRef;
7869
8346
  };
7870
8347
  /**
@@ -7878,15 +8355,18 @@ export interface OperationParams {
7878
8355
  edges: unknown[] | PipelineRef;
7879
8356
  /** The radius in model units at each position in `paramsU`; the lists must have the same length. */
7880
8357
  radiusList: number[] | PipelineRef;
7881
- /** Positions along each edge as fractions from 0 at its start to 1 at its end, one per radius. */
8358
+ /**
8359
+ * Where each radius applies on every edge, read as for `filletEdgeVariableRadius`: first and
8360
+ * last positions at the curve's ends, those between along its parameter.
8361
+ */
7882
8362
  paramsU: number[] | PipelineRef;
7883
8363
  };
7884
8364
  /**
7885
8365
  * Rounds several edges of a shape, each with its own radius profile that changes along it.
7886
8366
  *
7887
8367
  * `radiusLists` and `paramsULists` hold one list per edge, in edge order; within each pair the
7888
- * positions are fractions from 0 to 1 along the edge and the radii apply there. All three lists
7889
- * must have the same length, or an error is thrown.
8368
+ * radii apply at the positions as `filletEdgeVariableRadius` reads them. All three lists must
8369
+ * have the same length, or an error is thrown.
7890
8370
  */
7891
8371
  "occt.fillets.filletEdgesVariableRadius": {
7892
8372
  /** The shape the edges belong to. */
@@ -7899,8 +8379,8 @@ export interface OperationParams {
7899
8379
  */
7900
8380
  radiusLists: unknown[] | PipelineRef;
7901
8381
  /**
7902
- * One list per edge of positions as fractions from 0 to 1 along it, each pairing with the
7903
- * matching list in `radiusLists`.
8382
+ * One list per edge of positions, read as in `filletEdgeVariableRadius` (first and last at the
8383
+ * ends of the edge's curve), each pairing with the matching list in `radiusLists`.
7904
8384
  */
7905
8385
  paramsULists: unknown[] | PipelineRef;
7906
8386
  };
@@ -7919,8 +8399,8 @@ export interface OperationParams {
7919
8399
  */
7920
8400
  radiusLists: unknown[] | PipelineRef;
7921
8401
  /**
7922
- * One list per edge of positions as fractions from 0 to 1 along it, each pairing with the
7923
- * matching list in `radiusLists`.
8402
+ * One list per edge of positions, read as in `filletEdgeVariableRadius` (first and last at the
8403
+ * ends of the edge's curve), each pairing with the matching list in `radiusLists`.
7924
8404
  */
7925
8405
  paramsULists: unknown[] | PipelineRef;
7926
8406
  };
@@ -7951,9 +8431,9 @@ export interface OperationParams {
7951
8431
  /**
7952
8432
  * Rounds one edge of a shape with a radius that changes along it.
7953
8433
  *
7954
- * `paramsU` are positions along the edge as fractions from 0 at its start to 1 at its end, and
7955
- * `radiusList` gives the radius at each; the kernel blends smoothly between them. The two lists
7956
- * must have the same length, or an error is thrown.
8434
+ * `radiusList` holds the radius at each `paramsU` position; the first and last stand for the
8435
+ * start and end of the edge's curve, whatever its orientation, and the radius may overshoot
8436
+ * between positions. The lists must be equally long, or an error is thrown.
7957
8437
  */
7958
8438
  "occt.fillets.filletEdgeVariableRadius": {
7959
8439
  /** The shape the edge belongs to. */
@@ -7962,7 +8442,10 @@ export interface OperationParams {
7962
8442
  edge: unknown | PipelineRef;
7963
8443
  /** The radius in model units at each position in `paramsU`; the lists must have the same length. */
7964
8444
  radiusList: number[] | PipelineRef;
7965
- /** Positions along the edge as fractions from 0 at its start to 1 at its end, one per radius. */
8445
+ /**
8446
+ * Where each radius applies: the first position is the curve's start, the last its end, those
8447
+ * between fractions of its parameter, which match its length only on lines and arcs.
8448
+ */
7966
8449
  paramsU: number[] | PipelineRef;
7967
8450
  };
7968
8451
  /**
@@ -7976,7 +8459,10 @@ export interface OperationParams {
7976
8459
  edge: unknown | PipelineRef;
7977
8460
  /** The radius in model units at each position in `paramsU`; the lists must have the same length. */
7978
8461
  radiusList: number[] | PipelineRef;
7979
- /** Positions along the edge as fractions from 0 at its start to 1 at its end, one per radius. */
8462
+ /**
8463
+ * Where each radius applies: the first position is the curve's start, the last its end, those
8464
+ * between fractions of its parameter, which match its length only on lines and arcs.
8465
+ */
7980
8466
  paramsU: number[] | PipelineRef;
7981
8467
  };
7982
8468
  /**
@@ -8399,19 +8885,30 @@ export interface OperationParams {
8399
8885
  dracoUnifiedQuantization?: boolean | PipelineRef;
8400
8886
  };
8401
8887
  /**
8402
- * Writes DXF parts into one DXF file and returns its text.
8888
+ * Writes drawing parts into one DXF file and returns its text.
8403
8889
  *
8404
- * `colorFormat` chooses AutoCAD's indexed colors or true color, `acadVersion` the DXF version:
8405
- * AC1009 is R12, the most widely readable, AC1015 is 2000, which can also state the drawing's
8406
- * `unit`. `fileName` and `tryDownload` matter only where a browser download can be started.
8890
+ * `acadVersion` AC1015 (AutoCAD 2000) keeps every curve exact and can state the drawing's `unit`;
8891
+ * AC1009 (R12) suits old software and writes splines and ellipses as polylines within
8892
+ * `curveTolerance`. `fileName` and `tryDownload` matter only where a browser download can start.
8407
8893
  */
8408
8894
  "occt.io.dxfCreate": {
8409
8895
  /** The parts from `io.dxfPathsWithLayer`, each with its own layer and color. */
8410
8896
  pathsParts: unknown[] | PipelineRef;
8411
- /** How colors are written: `aci` as AutoCAD's indexed colors, `truecolor` as RGB. */
8897
+ /**
8898
+ * How colors are written: `aci`, the nearest of AutoCAD's 255 indexed colors, or `truecolor`,
8899
+ * the exact color beside that index (`AC1015` only).
8900
+ */
8412
8901
  colorFormat?: "aci" | "truecolor" | PipelineRef;
8413
- /** The DXF version to write: `AC1009` is R12, the most widely readable, `AC1015` is 2000. */
8902
+ /**
8903
+ * The DXF version: `AC1015` (AutoCAD 2000) keeps splines and ellipses exact; `AC1009` (R12), for
8904
+ * old software, writes them as polylines within `curveTolerance`.
8905
+ */
8414
8906
  acadVersion?: "AC1009" | "AC1015" | PipelineRef;
8907
+ /**
8908
+ * The largest distance, in model units, between a curve and the polyline that stands in for it
8909
+ * where the version cannot hold the curve exactly.
8910
+ */
8911
+ curveTolerance?: number | PipelineRef;
8415
8912
  /**
8416
8913
  * The unit the drawing is in, written into its header so CAD programs open it at true size;
8417
8914
  * `AC1015` only. Left out, no unit is stated.
@@ -8426,10 +8923,10 @@ export interface OperationParams {
8426
8923
  tryDownload?: boolean | PipelineRef;
8427
8924
  };
8428
8925
  /**
8429
- * Puts DXF paths on a named layer with a color, making one part of a DXF drawing.
8926
+ * Puts drawing paths on a named layer with a color and a line type, making one part of a drawing.
8430
8927
  *
8431
- * A drawing may hold several parts, each with its own layer and color; `dxfCreate` writes them
8432
- * into one file.
8928
+ * A drawing may hold several parts, each with its own layer, color and line type; `dxfCreate`
8929
+ * writes them into one file.
8433
8930
  */
8434
8931
  "occt.io.dxfPathsWithLayer": {
8435
8932
  /** The paths from `io.shapeToDxfPaths`. */
@@ -8438,6 +8935,8 @@ export interface OperationParams {
8438
8935
  layer?: string | PipelineRef;
8439
8936
  /** The color of the paths as a hex string such as `#000000`. */
8440
8937
  color?: unknown | PipelineRef;
8938
+ /** Whether the lines are whole or dashed, such as `hidden` for edges a view cannot see. */
8939
+ lineType?: "continuous" | "dashed" | "hidden" | "center" | "dotted" | PipelineRef;
8441
8940
  };
8442
8941
  /**
8443
8942
  * Reads the unit a STEP or IGES file writes its lengths in, without building its geometry.
@@ -8476,6 +8975,69 @@ export interface OperationParams {
8476
8975
  /** The binary BREP file's bytes, or a File or Blob that holds them. */
8477
8976
  brepData: unknown | PipelineRef;
8478
8977
  };
8978
+ /**
8979
+ * Reads a DXF file into one compound of exact wires, fit-point splines interpolated and block
8980
+ * inserts expanded.
8981
+ *
8982
+ * It lies on the ground, Y along Z (-Z under right-handed conventions) and elevations along Y.
8983
+ * Ends within `joinTolerance` join; `makeFaces` makes faces with holes. A very large file is
8984
+ * read up to its limits; `loadDxfStructured` lists what was left out.
8985
+ */
8986
+ "occt.io.loadDxf": {
8987
+ /**
8988
+ * The DXF file's text, or a File or Blob holding it (ASCII DXF, R12 or later). Older bytes not
8989
+ * in UTF-8 are read in the header's code page, or Windows-1252.
8990
+ */
8991
+ dxf: unknown | PipelineRef;
8992
+ /**
8993
+ * When true, closed outlines that lie flat in the drawing become faces, an outline inside
8994
+ * another cutting a hole in it as an even-odd fill does; open outlines stay wires.
8995
+ */
8996
+ makeFaces?: boolean | PipelineRef;
8997
+ /**
8998
+ * How far apart, in file units, two entities' ends may lie and still join into one wire: at most
8999
+ * 0.001 or a hundredth of the drawing's span, whichever is larger.
9000
+ */
9001
+ joinTolerance?: number | PipelineRef;
9002
+ /** When true, entities on frozen and switched-off layers are read too. */
9003
+ includeHiddenLayers?: boolean | PipelineRef;
9004
+ /**
9005
+ * The unit to give the shapes in, scaled from the unit the file states; a file stating none is
9006
+ * read as drawn. Left out, the numbers stay as drawn.
9007
+ */
9008
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
9009
+ };
9010
+ /**
9011
+ * Reads a DXF file as `loadDxf` does, into one shape per layer, color and line type, each with
9012
+ * its layer name, color and line type, plus the file's unit, its version and what was left out.
9013
+ *
9014
+ * Use it to treat the layers apart, such as outlines to cut on one layer and lines to engrave on
9015
+ * another.
9016
+ */
9017
+ "occt.io.loadDxfStructured": {
9018
+ /**
9019
+ * The DXF file's text, or a File or Blob holding it (ASCII DXF, R12 or later). Older bytes not
9020
+ * in UTF-8 are read in the header's code page, or Windows-1252.
9021
+ */
9022
+ dxf: unknown | PipelineRef;
9023
+ /**
9024
+ * When true, closed outlines that lie flat in the drawing become faces, an outline inside
9025
+ * another cutting a hole in it as an even-odd fill does; open outlines stay wires.
9026
+ */
9027
+ makeFaces?: boolean | PipelineRef;
9028
+ /**
9029
+ * How far apart, in file units, two entities' ends may lie and still join into one wire: at most
9030
+ * 0.001 or a hundredth of the drawing's span, whichever is larger.
9031
+ */
9032
+ joinTolerance?: number | PipelineRef;
9033
+ /** When true, entities on frozen and switched-off layers are read too. */
9034
+ includeHiddenLayers?: boolean | PipelineRef;
9035
+ /**
9036
+ * The unit to give the shapes in, scaled from the unit the file states; a file stating none is
9037
+ * read as drawn. Left out, the numbers stay as drawn.
9038
+ */
9039
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
9040
+ };
8479
9041
  /** Loads a STEP or IGES file into an OCCT shape. Pass file content as text (for .step/.stp/.iges/.igs) or ArrayBuffer (for .stpz/.igz). */
8480
9042
  "occt.io.loadSTEPorIGES": {
8481
9043
  /** File content: string for plain text files (.step, .stp, .iges, .igs), or base64-encoded ArrayBuffer for compressed files (.stpz, .igz). */
@@ -8616,13 +9178,99 @@ export interface OperationParams {
8616
9178
  */
8617
9179
  withTriangulation?: boolean | PipelineRef;
8618
9180
  };
9181
+ /**
9182
+ * Draws the edges a view of a shape sees as a DXF drawing, hidden ones on their own layer when
9183
+ * asked, and starts a browser download of the file.
9184
+ *
9185
+ * The drawing shows the view from the frame's normal side, x along its direction, with every
9186
+ * curve exact. `saveShapeDxfAndReturn` gives the text instead.
9187
+ */
9188
+ "occt.io.saveShapeDxf": {
9189
+ /** The shape to draw. */
9190
+ shape: unknown | PipelineRef;
9191
+ /**
9192
+ * The view, as in `operations.hiddenLines`: the eye sits on the side the normal points to and
9193
+ * looks back along it, and the drawing's x runs along the direction.
9194
+ */
9195
+ frame: unknown | PipelineRef;
9196
+ /**
9197
+ * When true, the edges other faces cover are drawn too, on the layer `hidden` with the
9198
+ * `HIDDEN` line type.
9199
+ */
9200
+ drawHidden?: boolean | PipelineRef;
9201
+ /**
9202
+ * How far the view may stray from the shape, in model units: the tolerance of the hidden-line
9203
+ * removal, and of the polylines that stand in for curves in `AC1009`.
9204
+ */
9205
+ precision?: number | PipelineRef;
9206
+ /**
9207
+ * The unit the shape is modelled in, written into the file so CAD programs open it at true
9208
+ * size; `AC1015` only.
9209
+ */
9210
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
9211
+ /**
9212
+ * The DXF version: `AC1015` (AutoCAD 2000) keeps every curve exact; `AC1009` (R12) writes
9213
+ * splines and ellipses as polylines.
9214
+ */
9215
+ acadVersion?: "AC1009" | "AC1015" | PipelineRef;
9216
+ /** The name the downloaded file gets. */
9217
+ fileName?: string | PipelineRef;
9218
+ /**
9219
+ * When true, a browser download of the file is started where that is possible; the kernel
9220
+ * itself only returns the text.
9221
+ */
9222
+ tryDownload?: boolean | PipelineRef;
9223
+ };
9224
+ /**
9225
+ * Draws the edges a view of a shape sees as DXF, hidden ones on their own layer when asked, and
9226
+ * returns the file's text.
9227
+ *
9228
+ * The view looks from the frame's normal side, x along the frame's direction. Curves stay exact;
9229
+ * hidden edges go on the layer `hidden` with the `HIDDEN` line type.
9230
+ */
9231
+ "occt.io.saveShapeDxfAndReturn": {
9232
+ /** The shape to draw. */
9233
+ shape: unknown | PipelineRef;
9234
+ /**
9235
+ * The view, as in `operations.hiddenLines`: the eye sits on the side the normal points to and
9236
+ * looks back along it, and the drawing's x runs along the direction.
9237
+ */
9238
+ frame: unknown | PipelineRef;
9239
+ /**
9240
+ * When true, the edges other faces cover are drawn too, on the layer `hidden` with the
9241
+ * `HIDDEN` line type.
9242
+ */
9243
+ drawHidden?: boolean | PipelineRef;
9244
+ /**
9245
+ * How far the view may stray from the shape, in model units: the tolerance of the hidden-line
9246
+ * removal, and of the polylines that stand in for curves in `AC1009`.
9247
+ */
9248
+ precision?: number | PipelineRef;
9249
+ /**
9250
+ * The unit the shape is modelled in, written into the file so CAD programs open it at true
9251
+ * size; `AC1015` only.
9252
+ */
9253
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
9254
+ /**
9255
+ * The DXF version: `AC1015` (AutoCAD 2000) keeps every curve exact; `AC1009` (R12) writes
9256
+ * splines and ellipses as polylines.
9257
+ */
9258
+ acadVersion?: "AC1009" | "AC1015" | PipelineRef;
9259
+ /** The name the downloaded file gets. */
9260
+ fileName?: string | PipelineRef;
9261
+ /**
9262
+ * When true, a browser download of the file is started where that is possible; the kernel
9263
+ * itself only returns the text.
9264
+ */
9265
+ tryDownload?: boolean | PipelineRef;
9266
+ };
8619
9267
  /**
8620
9268
  * Triangulates a shape, writes it as OBJ, the mesh format most 3D programs read, and starts a
8621
9269
  * browser download of the file.
8622
9270
  *
8623
- * `precision` is the meshing tolerance in model units and `adjustYtoZ` swaps Y and Z, which
8624
- * mirrors the shape. The file name may hold no spaces or slashes; `tryDownload` false skips the
8625
- * download, and `saveShapeObjAndReturn` gives the text instead.
9271
+ * `precision` is the meshing tolerance in model units. With the conventions set the file shows
9272
+ * what the screen shows, Z-up with `adjustYtoZ`. The file name may hold no spaces or slashes;
9273
+ * `saveShapeObjAndReturn` gives the text instead.
8626
9274
  */
8627
9275
  "occt.io.saveShapeObj": {
8628
9276
  /** The shape written to the file. */
@@ -8638,8 +9286,8 @@ export interface OperationParams {
8638
9286
  */
8639
9287
  precision?: number | PipelineRef;
8640
9288
  /**
8641
- * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8642
- * turn it 90 degrees about X with `transforms.rotate` instead.
9289
+ * When true, the file is written Z-up for CAD programs. With the conventions set, the file shows
9290
+ * what the screen shows either way; without them this swaps Y and Z.
8643
9291
  */
8644
9292
  adjustYtoZ?: boolean | PipelineRef;
8645
9293
  /**
@@ -8652,9 +9300,10 @@ export interface OperationParams {
8652
9300
  * Triangulates a shape and writes it as OBJ, the mesh format most 3D programs read, returning
8653
9301
  * the file's text.
8654
9302
  *
8655
- * `precision` is the meshing tolerance in model units, `adjustYtoZ` swaps Y and Z, which
8656
- * mirrors the shape, and coordinates keep six decimals. `mtl` stays empty, since a shape
8657
- * carries no colors; `assembly.manager.exportDocumentToObj` writes colored parts.
9303
+ * `precision` is the meshing tolerance in model units and coordinates keep six decimals. With
9304
+ * the conventions set the file shows what the screen shows, Z-up with `adjustYtoZ`. `mtl` stays
9305
+ * empty, since a shape carries no colors; `assembly.manager.exportDocumentToObj` writes colored
9306
+ * parts.
8658
9307
  */
8659
9308
  "occt.io.saveShapeObjAndReturn": {
8660
9309
  /** The shape written to the file. */
@@ -8670,8 +9319,8 @@ export interface OperationParams {
8670
9319
  */
8671
9320
  precision?: number | PipelineRef;
8672
9321
  /**
8673
- * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8674
- * turn it 90 degrees about X with `transforms.rotate` instead.
9322
+ * When true, the file is written Z-up for CAD programs. With the conventions set, the file shows
9323
+ * what the screen shows either way; without them this swaps Y and Z.
8675
9324
  */
8676
9325
  adjustYtoZ?: boolean | PipelineRef;
8677
9326
  /**
@@ -8684,9 +9333,9 @@ export interface OperationParams {
8684
9333
  * Triangulates a shape, writes it as ASCII PLY with a normal per vertex, and starts a browser
8685
9334
  * download of the file.
8686
9335
  *
8687
- * `precision` is the meshing tolerance in model units and `adjustYtoZ` swaps Y and Z, which
8688
- * mirrors the shape. `fileName` names the download and `tryDownload` false skips it;
8689
- * `saveShapePlyAndReturn` gives the text instead.
9336
+ * `precision` is the meshing tolerance in model units. With the conventions set the file shows
9337
+ * what the screen shows, Z-up with `adjustYtoZ`. `fileName` names the download and
9338
+ * `tryDownload` false skips it; `saveShapePlyAndReturn` gives the text instead.
8690
9339
  */
8691
9340
  "occt.io.saveShapePly": {
8692
9341
  /** The shape written to the file. */
@@ -8699,8 +9348,8 @@ export interface OperationParams {
8699
9348
  */
8700
9349
  precision?: number | PipelineRef;
8701
9350
  /**
8702
- * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8703
- * turn it 90 degrees about X with `transforms.rotate` instead.
9351
+ * When true, the file is written Z-up for CAD programs. With the conventions set, the file shows
9352
+ * what the screen shows either way; without them this swaps Y and Z.
8704
9353
  */
8705
9354
  adjustYtoZ?: boolean | PipelineRef;
8706
9355
  /**
@@ -8714,8 +9363,8 @@ export interface OperationParams {
8714
9363
  * scanning tools read, returning the file's text.
8715
9364
  *
8716
9365
  * Coordinates keep six significant digits, so past 1000 units they keep two decimals.
8717
- * `precision` is the meshing tolerance in model units and `adjustYtoZ` swaps Y and Z, which
8718
- * mirrors the shape.
9366
+ * `precision` is the meshing tolerance in model units. With the conventions set the file shows
9367
+ * what the screen shows, Z-up with `adjustYtoZ`.
8719
9368
  */
8720
9369
  "occt.io.saveShapePlyAndReturn": {
8721
9370
  /** The shape written to the file. */
@@ -8728,8 +9377,8 @@ export interface OperationParams {
8728
9377
  */
8729
9378
  precision?: number | PipelineRef;
8730
9379
  /**
8731
- * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8732
- * turn it 90 degrees about X with `transforms.rotate` instead.
9380
+ * When true, the file is written Z-up for CAD programs. With the conventions set, the file shows
9381
+ * what the screen shows either way; without them this swaps Y and Z.
8733
9382
  */
8734
9383
  adjustYtoZ?: boolean | PipelineRef;
8735
9384
  /**
@@ -8742,9 +9391,9 @@ export interface OperationParams {
8742
9391
  * Writes a shape as STEP, the exchange format for exact CAD geometry, and starts a browser
8743
9392
  * download of the file.
8744
9393
  *
8745
- * With `adjustYtoZ` true, Y and Z swap, mirroring the shape; turn it 90 degrees about X with
8746
- * `transforms.rotate` first to keep it as built. The file is in millimetres, another `unit`
8747
- * scaled to them; `saveShapeSTEPAndReturn` returns the text.
9394
+ * With `adjustYtoZ` true the file is Z-up: with the conventions set it shows what the screen
9395
+ * shows, without them Y and Z are swapped. The file is in millimetres;
9396
+ * `saveShapeSTEPAndReturn` returns the text.
8748
9397
  */
8749
9398
  "occt.io.saveShapeSTEP": {
8750
9399
  /** The shape written to the file. */
@@ -8752,13 +9401,13 @@ export interface OperationParams {
8752
9401
  /** The name the downloaded file gets; `.step` is appended when missing. */
8753
9402
  fileName?: string | PipelineRef;
8754
9403
  /**
8755
- * When true, Y and Z swap so Y-up becomes STEP's Z-up, which mirrors the shape. To keep it as
8756
- * built, turn it 90 degrees about X with `transforms.rotate` instead.
9404
+ * When true, the file is written Z-up for CAD programs. With the conventions set, the file shows
9405
+ * what the screen shows either way; without them this swaps Y and Z.
8757
9406
  */
8758
9407
  adjustYtoZ?: boolean | PipelineRef;
8759
9408
  /**
8760
- * When true, the swap of `adjustYtoZ` becomes a turn of -90 degrees about X: the shape is not
8761
- * mirrored but stands upside down in a Z-up tool.
9409
+ * When true, `adjustYtoZ` turns the shape 90 degrees about X instead of swapping, for a
9410
+ * right-handed scene.
8762
9411
  */
8763
9412
  fromRightHanded?: boolean | PipelineRef;
8764
9413
  /**
@@ -8775,8 +9424,8 @@ export interface OperationParams {
8775
9424
  /**
8776
9425
  * Writes a shape as STEP, the exchange format for exact CAD geometry, and returns its text.
8777
9426
  *
8778
- * With `adjustYtoZ` true, Y and Z swap so Y-up becomes STEP's Z-up, mirroring the shape; turn it
8779
- * 90 degrees about X with `transforms.rotate` first to keep it as built. The file is in
9427
+ * With `adjustYtoZ` true the file is Z-up, as CAD programs expect: with the conventions set it
9428
+ * shows what the screen shows, and without them Y and Z are swapped. The file is in
8780
9429
  * millimetres, a shape in another `unit` scaled to them.
8781
9430
  */
8782
9431
  "occt.io.saveShapeSTEPAndReturn": {
@@ -8785,13 +9434,13 @@ export interface OperationParams {
8785
9434
  /** The name the downloaded file gets; `.step` is appended when missing. */
8786
9435
  fileName?: string | PipelineRef;
8787
9436
  /**
8788
- * When true, Y and Z swap so Y-up becomes STEP's Z-up, which mirrors the shape. To keep it as
8789
- * built, turn it 90 degrees about X with `transforms.rotate` instead.
9437
+ * When true, the file is written Z-up for CAD programs. With the conventions set, the file shows
9438
+ * what the screen shows either way; without them this swaps Y and Z.
8790
9439
  */
8791
9440
  adjustYtoZ?: boolean | PipelineRef;
8792
9441
  /**
8793
- * When true, the swap of `adjustYtoZ` becomes a turn of -90 degrees about X: the shape is not
8794
- * mirrored but stands upside down in a Z-up tool.
9442
+ * When true, `adjustYtoZ` turns the shape 90 degrees about X instead of swapping, for a
9443
+ * right-handed scene.
8795
9444
  */
8796
9445
  fromRightHanded?: boolean | PipelineRef;
8797
9446
  /**
@@ -8809,9 +9458,9 @@ export interface OperationParams {
8809
9458
  * Triangulates a shape, writes it as STL, the mesh format 3D printers read, and starts a browser
8810
9459
  * download of the file.
8811
9460
  *
8812
- * `precision` is the meshing tolerance in model units, `adjustYtoZ` swaps Y and Z, which
8813
- * mirrors the shape, and `binary` writes the smaller binary form. `fileName` names the
8814
- * download, `tryDownload` false skips it. `saveShapeStlAndReturn` gives the file instead.
9461
+ * `precision` is the meshing tolerance in model units and `binary` writes the smaller binary
9462
+ * form. With the conventions set the file shows what the screen shows, Z-up with `adjustYtoZ`.
9463
+ * `saveShapeStlAndReturn` gives the file instead.
8815
9464
  */
8816
9465
  "occt.io.saveShapeStl": {
8817
9466
  /** The shape written to the file. */
@@ -8824,8 +9473,8 @@ export interface OperationParams {
8824
9473
  */
8825
9474
  precision?: number | PipelineRef;
8826
9475
  /**
8827
- * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8828
- * turn it 90 degrees about X with `transforms.rotate` instead.
9476
+ * When true, the file is written Z-up for CAD programs. With the conventions set, the file shows
9477
+ * what the screen shows either way; without them this swaps Y and Z.
8829
9478
  */
8830
9479
  adjustYtoZ?: boolean | PipelineRef;
8831
9480
  /**
@@ -8840,12 +9489,12 @@ export interface OperationParams {
8840
9489
  binary?: boolean | PipelineRef;
8841
9490
  };
8842
9491
  /**
8843
- * Triangulates a shape and writes it as STL, the mesh format 3D printers and slicers read,
8844
- * returning the file's text, or its bytes when `binary` is true.
9492
+ * Triangulates a shape and writes it as STL, the mesh format 3D printers read, returning its
9493
+ * text, or its bytes when `binary` is true.
8845
9494
  *
8846
- * `precision` is the meshing tolerance in model units; smaller values follow curved surfaces
8847
- * more closely. `adjustYtoZ` swaps Y and Z, which mirrors the shape. `fileName` and
8848
- * `tryDownload` matter only for a download.
9495
+ * `precision` is the meshing tolerance in model units, smaller following curves more closely.
9496
+ * With the conventions set the file shows what the screen shows, Z-up with `adjustYtoZ`.
9497
+ * `fileName` and `tryDownload` matter only for a download.
8849
9498
  */
8850
9499
  "occt.io.saveShapeStlAndReturn": {
8851
9500
  /** The shape written to the file. */
@@ -8858,8 +9507,8 @@ export interface OperationParams {
8858
9507
  */
8859
9508
  precision?: number | PipelineRef;
8860
9509
  /**
8861
- * When true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
8862
- * turn it 90 degrees about X with `transforms.rotate` instead.
9510
+ * When true, the file is written Z-up for CAD programs. With the conventions set, the file shows
9511
+ * what the screen shows either way; without them this swaps Y and Z.
8863
9512
  */
8864
9513
  adjustYtoZ?: boolean | PipelineRef;
8865
9514
  /**
@@ -8877,8 +9526,8 @@ export interface OperationParams {
8877
9526
  * Draws the edges a view of a shape sees as an SVG drawing, with the hidden edges dashed when
8878
9527
  * asked, and starts a browser download of the file.
8879
9528
  *
8880
- * The drawing shows the view from the frame's normal side, x along its direction; with the shape's
8881
- * `unit`, it states its true width and height. `saveShapeSvgAndReturn` gives the text instead.
9529
+ * The drawing shows the view from the frame's normal side, x along its direction; curves stay
9530
+ * exact where SVG can draw them. `saveShapeSvgAndReturn` gives the text instead.
8882
9531
  */
8883
9532
  "occt.io.saveShapeSvg": {
8884
9533
  /** The shape to draw. */
@@ -8891,8 +9540,8 @@ export interface OperationParams {
8891
9540
  /** When true, the edges other faces cover are drawn too, dashed. */
8892
9541
  drawHidden?: boolean | PipelineRef;
8893
9542
  /**
8894
- * How far the straight segments that trace a curved edge may stray from it, in model units;
8895
- * a smaller value follows curves more closely and makes a bigger file.
9543
+ * How far the view may stray from the shape, in model units: the tolerance of hidden-line
9544
+ * removal and of the cubics that stand in for curves SVG cannot draw.
8896
9545
  */
8897
9546
  precision?: number | PipelineRef;
8898
9547
  /**
@@ -8912,9 +9561,9 @@ export interface OperationParams {
8912
9561
  * Draws the edges a view of a shape sees as SVG, hidden ones dashed when asked, and returns the
8913
9562
  * file's text.
8914
9563
  *
8915
- * The view looks from the frame's normal side, x along the frame's direction and y up, so each
8916
- * point is written as x and minus y. With the shape's `unit`, it states its true width and
8917
- * height.
9564
+ * The view looks from the frame's normal side, x along the frame's direction. Curves stay exact
9565
+ * where SVG can draw them, others become cubics within `precision`; with the shape's `unit`, the
9566
+ * file states its true size.
8918
9567
  */
8919
9568
  "occt.io.saveShapeSvgAndReturn": {
8920
9569
  /** The shape to draw. */
@@ -8927,8 +9576,8 @@ export interface OperationParams {
8927
9576
  /** When true, the edges other faces cover are drawn too, dashed. */
8928
9577
  drawHidden?: boolean | PipelineRef;
8929
9578
  /**
8930
- * How far the straight segments that trace a curved edge may stray from it, in model units;
8931
- * a smaller value follows curves more closely and makes a bigger file.
9579
+ * How far the view may stray from the shape, in model units: the tolerance of hidden-line
9580
+ * removal and of the cubics that stand in for curves SVG cannot draw.
8932
9581
  */
8933
9582
  precision?: number | PipelineRef;
8934
9583
  /**
@@ -8945,14 +9594,17 @@ export interface OperationParams {
8945
9594
  tryDownload?: boolean | PipelineRef;
8946
9595
  };
8947
9596
  /**
8948
- * Turns the wires of a shape into DXF path records, the first step of a 2D DXF export.
9597
+ * Turns the wires of a shape into drawing paths, the first step of a 2D DXF export.
8949
9598
  *
8950
- * The shape must lie flat on the XZ ground plane, since DXF drawings are two-dimensional. The
8951
- * deflection settings say how closely curved edges are followed. Give the paths a layer with
8952
- * `dxfPathsWithLayer` and write the file with `dxfCreate`.
9599
+ * The shape is seen along Y: X stays X and Z becomes the drawing's Y (-Z under right-handed
9600
+ * conventions). Curves stay exact unless `exactCurves` is off. Give the paths a layer with
9601
+ * `dxfPathsWithLayer` and write them with `dxfCreate`.
8953
9602
  */
8954
9603
  "occt.io.shapeToDxfPaths": {
8955
- /** The shape whose wires are traced; it must lie flat on the XZ ground plane. */
9604
+ /**
9605
+ * The shape whose wires are traced, seen along Y: X stays X and Z becomes the drawing's Y (-Z
9606
+ * under right-handed conventions), so a flat shape keeps its size.
9607
+ */
8956
9608
  shape: unknown | PipelineRef;
8957
9609
  /**
8958
9610
  * The largest angle, in radians, the traced polyline may turn between two points; smaller
@@ -8970,6 +9622,64 @@ export interface OperationParams {
8970
9622
  uTolerance?: number | PipelineRef;
8971
9623
  /** Edges shorter than this, in model units, are traced with the minimum number of points. */
8972
9624
  minimumLength?: number | PipelineRef;
9625
+ /**
9626
+ * When true, ellipses and splines stay exact, and other curves become cubic splines within
9627
+ * `curvatureDeflection`; when false, curves other than lines and circles are traced as points.
9628
+ */
9629
+ exactCurves?: boolean | PipelineRef;
9630
+ };
9631
+ /**
9632
+ * Draws layers of shapes into one SVG file and returns its text.
9633
+ *
9634
+ * Each layer becomes an Inkscape layer. The shapes are seen along Y: X stays X and Z becomes the
9635
+ * drawing's Y (-Z under right-handed conventions). Curves stay exact where SVG can draw them and
9636
+ * become cubics within `tolerance` elsewhere; with `unit` the file has its true size.
9637
+ */
9638
+ "occt.io.svgCreate": {
9639
+ /** The layers from `io.svgLayer`; each becomes a group Inkscape reads as a layer. */
9640
+ layers: unknown[] | PipelineRef;
9641
+ /**
9642
+ * The unit the shapes are modelled in, which gives the file its true width and height. Left out,
9643
+ * the file states no size and viewers fit it to the window.
9644
+ */
9645
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
9646
+ /**
9647
+ * How wide the lines are, in model units. Left out, a five-hundredth of the drawing's larger
9648
+ * side.
9649
+ */
9650
+ strokeWidth?: number | PipelineRef;
9651
+ /**
9652
+ * The empty border around the drawing, in model units. Left out, a fortieth of the drawing's
9653
+ * larger side.
9654
+ */
9655
+ margin?: number | PipelineRef;
9656
+ /**
9657
+ * The largest distance, in model units, between a curve SVG cannot draw exactly and the cubic
9658
+ * curves that stand in for it.
9659
+ */
9660
+ tolerance?: number | PipelineRef;
9661
+ /** The name the downloaded file gets. */
9662
+ fileName?: string | PipelineRef;
9663
+ /**
9664
+ * When true, a browser download of the file is started where that is possible; the kernel
9665
+ * itself only returns the text.
9666
+ */
9667
+ tryDownload?: boolean | PipelineRef;
9668
+ };
9669
+ /**
9670
+ * Puts shapes on a named layer with a color and a line type, making one layer of an SVG drawing.
9671
+ *
9672
+ * The shapes are kept as they are; `svgCreate` draws their wires when it writes the file.
9673
+ */
9674
+ "occt.io.svgLayer": {
9675
+ /** The shapes whose wires are drawn on this layer. */
9676
+ shapes: unknown[] | PipelineRef;
9677
+ /** The name of the layer, the group Inkscape shows for it. */
9678
+ layer?: string | PipelineRef;
9679
+ /** The color of the lines as a hex string such as `#000000`. */
9680
+ color?: unknown | PipelineRef;
9681
+ /** Whether the lines are whole or dashed, such as `hidden` for edges a view cannot see. */
9682
+ lineType?: "continuous" | "dashed" | "hidden" | "center" | "dotted" | PipelineRef;
8973
9683
  };
8974
9684
  /**
8975
9685
  * Reads the center of a shape's axis-aligned bounding box, halfway between its two corners.
@@ -12918,8 +13628,8 @@ export interface OperationParams {
12918
13628
  * faces.
12919
13629
  *
12920
13630
  * `precision` is the meshing tolerance in model units: smaller values follow curved surfaces
12921
- * more closely and give more triangles. `adjustYtoZ` swaps the Y and Z axes for tools that
12922
- * treat Z as up, and `reversedPoints` flips the winding of each triangle.
13631
+ * more closely and give more triangles. `adjustYtoZ` makes the points Z-up for tools that treat
13632
+ * Z as up, and `reversedPoints` flips the winding of each triangle.
12923
13633
  */
12924
13634
  "occt.shapeFacesToPolygonPoints": {
12925
13635
  /** The shape to triangulate. */
@@ -12930,8 +13640,8 @@ export interface OperationParams {
12930
13640
  */
12931
13641
  precision?: number | PipelineRef;
12932
13642
  /**
12933
- * When true, the points are turned so this library's Y-up becomes Z-up, for tools that treat Z
12934
- * as up.
13643
+ * When true, the points are made Z-up for tools that treat Z as up: turned a quarter about X under
13644
+ * right-handed conventions, with Y and Z swapped otherwise.
12935
13645
  */
12936
13646
  adjustYtoZ?: boolean | PipelineRef;
12937
13647
  /**
@@ -18061,8 +18771,8 @@ export interface OperationParams {
18061
18771
  */
18062
18772
  precisionShare?: number | PipelineRef;
18063
18773
  /**
18064
- * When true, the meshes are turned so this library's Y-up becomes Z-up, for tools that treat Z
18065
- * as up.
18774
+ * When true, the meshes are made Z-up for tools that treat Z as up: turned a quarter about X under
18775
+ * right-handed conventions, with Y and Z swapped otherwise.
18066
18776
  */
18067
18777
  adjustYtoZ?: boolean | PipelineRef;
18068
18778
  /**
@@ -18152,8 +18862,8 @@ export interface OperationParams {
18152
18862
  */
18153
18863
  precisionShare?: number | PipelineRef;
18154
18864
  /**
18155
- * When true, the mesh is turned so this library's Y-up becomes Z-up, for tools that treat Z as
18156
- * up.
18865
+ * When true, the mesh is made Z-up for tools that treat Z as up: turned a quarter about X under
18866
+ * right-handed conventions, with Y and Z swapped otherwise.
18157
18867
  */
18158
18868
  adjustYtoZ?: boolean | PipelineRef;
18159
18869
  /**
@@ -18478,20 +19188,19 @@ export interface OperationParams {
18478
19188
  makeFace?: boolean | PipelineRef;
18479
19189
  };
18480
19190
  /**
18481
- * Parses an SVG document and builds every drawable element into one compound shape on the
18482
- * ground plane, ready to draw, extrude or transform as a whole.
19191
+ * Parses an SVG document into one compound on the ground, ready to draw, extrude or transform.
18483
19192
  *
18484
- * `faceStrategy` decides whether closed outlines become faces, `scale` and `flipY` map SVG
18485
- * units and its downward Y axis, and `alignment`, `direction` and `center` place the result.
18486
- * Invisible elements are skipped unless asked for.
19193
+ * `faceStrategy` decides which closed outlines become faces; `unit`, `scale` and `flipY` map SVG
19194
+ * units and its downward Y; `alignment`, `direction`, `center` and `keepOrigin` place it. A very
19195
+ * large file is read up to its limits; `loadSVGStructured` lists what was left out.
18487
19196
  */
18488
19197
  "occt.svg.loadSVG": {
18489
19198
  /** The text of the SVG document. */
18490
19199
  svg?: string | PipelineRef;
18491
19200
  /**
18492
- * How filled shapes become faces: `none` keeps only wires, `auto` follows each element's fill
18493
- * rule, `nonzero` and `evenOdd` force a rule, `perSubpath` makes one face per closed subpath
18494
- * without holes.
19201
+ * How filled shapes become faces: `none` keeps wires, `auto` follows each element's fill rule,
19202
+ * `nonzero` and `evenOdd` force one, `perSubpath` faces each closed subpath alone. Open subpaths
19203
+ * stay wires.
18495
19204
  */
18496
19205
  faceStrategy?: "none" | "auto" | "nonzero" | "evenOdd" | "perSubpath" | PipelineRef;
18497
19206
  /**
@@ -18503,33 +19212,53 @@ export interface OperationParams {
18503
19212
  includeInvisible?: boolean | PipelineRef;
18504
19213
  /** When true, consecutive segments of a subpath are merged into a single edge where they can be. */
18505
19214
  joinSegments?: boolean | PipelineRef;
18506
- /** How far apart segment ends may be and still join, in model units. */
19215
+ /**
19216
+ * How far apart segment ends may be and still join, in model units; a subpath that ends this
19217
+ * close to its start counts as closed.
19218
+ */
18507
19219
  tolerance?: number | PipelineRef;
18508
- /** A factor applied to the SVG coordinates; 1 keeps the size. */
19220
+ /**
19221
+ * A factor applied to the SVG coordinates, or to the true size when `unit` is set; 1 keeps the
19222
+ * size.
19223
+ */
18509
19224
  scale?: number | PipelineRef;
18510
19225
  /** When true, Y is negated so the drawing comes out upright, since SVG has Y pointing down. */
18511
19226
  flipY?: boolean | PipelineRef;
18512
- /** Which point of the drawing's bounding box sits on `center`; `midMid` centers it. */
19227
+ /**
19228
+ * Which point of the drawing's bounding box sits on `center`; `midMid` centers it. Not used
19229
+ * when `keepOrigin` is true.
19230
+ */
18513
19231
  alignment?: "topLeft" | "topMid" | "topRight" | "midLeft" | "midMid" | "midRight" | "bottomLeft" | "bottomMid" | "bottomRight" | PipelineRef;
18514
19232
  /** The normal of the plane the drawing is laid on; the default lays it flat on the ground. */
18515
19233
  direction?: [number, number, number] | PipelineRef;
18516
19234
  /** The point the aligned drawing is placed at. */
18517
19235
  center?: [number, number, number] | PipelineRef;
19236
+ /**
19237
+ * Imports at true size in this unit, read from the page's `width`, `height` and view box at 96
19238
+ * pixels an inch. Left out, SVG user units become model units.
19239
+ */
19240
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
19241
+ /**
19242
+ * When true, the origin of the imported coordinates lands on `center`, ignoring `alignment`: the
19243
+ * SVG's own origin, or the page's top left corner when `unit` is set.
19244
+ */
19245
+ keepOrigin?: boolean | PipelineRef;
18518
19246
  };
18519
19247
  /**
18520
19248
  * Parses an SVG document and builds one shape per drawable element, each bundled with its
18521
- * resolved fill, stroke and stroke width, plus the parse warnings and the SVG view box.
19249
+ * resolved fill, stroke and stroke width, plus the warnings, the view box and the page size in
19250
+ * millimetres.
18522
19251
  *
18523
19252
  * Use it when the elements need their own colors or separate handling; `loadSVG` gives the
18524
- * whole drawing as one shape. Faces are built where the outline allows it.
19253
+ * whole drawing as one shape.
18525
19254
  */
18526
19255
  "occt.svg.loadSVGStructured": {
18527
19256
  /** The text of the SVG document. */
18528
19257
  svg?: string | PipelineRef;
18529
19258
  /**
18530
- * How filled shapes become faces: `none` keeps only wires, `auto` follows each element's fill
18531
- * rule, `nonzero` and `evenOdd` force a rule, `perSubpath` makes one face per closed subpath
18532
- * without holes.
19259
+ * How filled shapes become faces: `none` keeps wires, `auto` follows each element's fill rule,
19260
+ * `nonzero` and `evenOdd` force one, `perSubpath` faces each closed subpath alone. Open subpaths
19261
+ * stay wires.
18533
19262
  */
18534
19263
  faceStrategy?: "none" | "auto" | "nonzero" | "evenOdd" | "perSubpath" | PipelineRef;
18535
19264
  /**
@@ -18541,18 +19270,37 @@ export interface OperationParams {
18541
19270
  includeInvisible?: boolean | PipelineRef;
18542
19271
  /** When true, consecutive segments of a subpath are merged into a single edge where they can be. */
18543
19272
  joinSegments?: boolean | PipelineRef;
18544
- /** How far apart segment ends may be and still join, in model units. */
19273
+ /**
19274
+ * How far apart segment ends may be and still join, in model units; a subpath that ends this
19275
+ * close to its start counts as closed.
19276
+ */
18545
19277
  tolerance?: number | PipelineRef;
18546
- /** A factor applied to the SVG coordinates; 1 keeps the size. */
19278
+ /**
19279
+ * A factor applied to the SVG coordinates, or to the true size when `unit` is set; 1 keeps the
19280
+ * size.
19281
+ */
18547
19282
  scale?: number | PipelineRef;
18548
19283
  /** When true, Y is negated so the drawing comes out upright, since SVG has Y pointing down. */
18549
19284
  flipY?: boolean | PipelineRef;
18550
- /** Which point of the drawing's bounding box sits on `center`; `midMid` centers it. */
19285
+ /**
19286
+ * Which point of the drawing's bounding box sits on `center`; `midMid` centers it. Not used
19287
+ * when `keepOrigin` is true.
19288
+ */
18551
19289
  alignment?: "topLeft" | "topMid" | "topRight" | "midLeft" | "midMid" | "midRight" | "bottomLeft" | "bottomMid" | "bottomRight" | PipelineRef;
18552
19290
  /** The normal of the plane the drawing is laid on; the default lays it flat on the ground. */
18553
19291
  direction?: [number, number, number] | PipelineRef;
18554
19292
  /** The point the aligned drawing is placed at. */
18555
19293
  center?: [number, number, number] | PipelineRef;
19294
+ /**
19295
+ * Imports at true size in this unit, read from the page's `width`, `height` and view box at 96
19296
+ * pixels an inch. Left out, SVG user units become model units.
19297
+ */
19298
+ unit?: "mm" | "cm" | "m" | "in" | PipelineRef;
19299
+ /**
19300
+ * When true, the origin of the imported coordinates lands on `center`, ignoring `alignment`: the
19301
+ * SVG's own origin, or the page's top left corner when `unit` is set.
19302
+ */
19303
+ keepOrigin?: boolean | PipelineRef;
18556
19304
  };
18557
19305
  /**
18558
19306
  * Moves a shape so that one point and direction on it land on another point and direction: the
@@ -19120,6 +19868,20 @@ export interface OperationParams {
19120
19868
  /** The move as `[x, y, z]`, in model units. */
19121
19869
  translation?: [number, number, number] | PipelineRef;
19122
19870
  };
19871
+ /** Read flat parts as nesting would, without nesting them */
19872
+ "occtPro.nesting.inspect": {
19873
+ /** The flat parts to read */
19874
+ shapes: unknown | PipelineRef;
19875
+ /** The tolerance and each part's xDirection; no stock is needed */
19876
+ options?: unknown | PipelineRef;
19877
+ };
19878
+ /** Place flat parts on sheets or a strip; returns the sheets as one compound and the layout report */
19879
+ "occtPro.nesting.nest": {
19880
+ /** The flat parts: planar faces, coplanar faces such as unfolded parts, plate solids, or drawings of closed wires */
19881
+ shapes: unknown | PipelineRef;
19882
+ /** The stock (rectangular sheets or one strip), each part's quantity, turns and flip, and the spacing, margin, tolerance and time budget; see NestingOptions */
19883
+ options: unknown | PipelineRef;
19884
+ };
19123
19885
  /** Sheet-metal unfold metrics report for a single face */
19124
19886
  "occtPro.sheetMetal.unfoldFaceReport": {
19125
19887
  /** Shape that contains the face to unfold */