@bitbybit-dev/cad-cloud-sdk 1.7.0 → 1.8.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.
- package/dist/types/generated.d.ts +1086 -8
- package/dist/types/generated.d.ts.map +1 -1
- package/dist/types/pipeline-operations.d.ts +923 -107
- package/dist/types/pipeline-operations.d.ts.map +1 -1
- package/dist/types/pipeline-operations.js +1 -1
- package/dist/types/pipeline-operations.js.map +1 -1
- package/dist/types/schema-exports.d.ts +109 -3
- package/dist/types/schema-exports.d.ts.map +1 -1
- package/dist/validation/request-schemas.d.ts +990 -0
- package/dist/validation/request-schemas.d.ts.map +1 -1
- package/dist/validation/request-schemas.js +1179 -0
- package/dist/validation/request-schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/types/generated.ts +1086 -8
- package/src/types/pipeline-operations.ts +944 -107
- package/src/types/schema-exports.ts +109 -3
- package/src/validation/request-schemas.ts +1179 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** All valid pipeline operation paths. */
|
|
2
|
-
export type OperationPath = "color.getBlueParam" | "color.getGreenParam" | "color.getRedParam" | "color.hexColor" | "color.hexToRgb" | "color.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";
|
|
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.clippedHatchLines" | "io.drawing.dimensionExtent" | "io.drawing.dimensionPicture" | "io.drawing.dxfToSvg" | "io.drawing.ellipseSegment" | "io.drawing.hatch" | "io.drawing.hatchLines" | "io.drawing.hatchOutlines" | "io.drawing.lineSegment" | "io.drawing.part" | "io.drawing.path" | "io.drawing.polylineSegment" | "io.drawing.scaleParts" | "io.drawing.splineSegment" | "io.drawing.svgToDxf" | "io.drawing.text" | "io.drawing.textSize" | "io.drawing.textStrokes" | "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.addDocumentPmi" | "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.createPmiDatum" | "occt.assembly.manager.createPmiDimension" | "occt.assembly.manager.createPmiShape" | "occt.assembly.manager.createPmiTolerance" | "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.removeDocumentPmi" | "occt.assembly.manager.setDocLabelColor" | "occt.assembly.manager.setDocLabelColors" | "occt.assembly.manager.setDocLabelName" | "occt.assembly.manager.setDocLabelNames" | "occt.assembly.query.getAssemblyHierarchy" | "occt.assembly.query.getDocumentAnnotations" | "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.hatchedSectionByFrame" | "occt.operations.hiddenLines" | "occt.operations.hiddenLinesByKind" | "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. */
|
|
@@ -617,6 +617,153 @@ export interface OperationParams {
|
|
|
617
617
|
/** The direction the circle's plane faces. Leave it out for a circle in the XY plane. */
|
|
618
618
|
normal?: [number, number, number] | PipelineRef;
|
|
619
619
|
};
|
|
620
|
+
/**
|
|
621
|
+
* Gives the lines of a hatch's pattern clipped to its region, for a renderer that draws them
|
|
622
|
+
* itself.
|
|
623
|
+
*
|
|
624
|
+
* Inside follows the even-odd rule over every boundary, as `io.svg.svgCreate` fills a hatch, and
|
|
625
|
+
* curves are followed within `tolerance`. The lines stand where `hatchLines` puts them. `solid`
|
|
626
|
+
* gives none; a spacing too fine for the region throws.
|
|
627
|
+
*/
|
|
628
|
+
"io.drawing.clippedHatchLines": {
|
|
629
|
+
/**
|
|
630
|
+
* The closed paths that bound the region, in the drawing's XY plane; a boundary inside another
|
|
631
|
+
* cuts a hole, and one inside that hole is filled again.
|
|
632
|
+
*/
|
|
633
|
+
boundaries: unknown[] | PipelineRef;
|
|
634
|
+
/** What the region is filled with; `solid` has no lines. */
|
|
635
|
+
pattern?: "solid" | "ansi31" | "ansi32" | "ansi37" | PipelineRef;
|
|
636
|
+
/** The angle of the pattern's lines in degrees, counterclockwise from the X axis. */
|
|
637
|
+
angle?: number | PipelineRef;
|
|
638
|
+
/** The distance between the pattern's lines, in drawing units. */
|
|
639
|
+
spacing?: number | PipelineRef;
|
|
640
|
+
/**
|
|
641
|
+
* How far, in drawing units, the outline may stray from a curved boundary: arcs, circles,
|
|
642
|
+
* ellipses and splines become straight pieces this close to the curve.
|
|
643
|
+
*/
|
|
644
|
+
tolerance?: number | PipelineRef;
|
|
645
|
+
};
|
|
646
|
+
/**
|
|
647
|
+
* Measures the box a dimension's picture fills, the box `dimensionPicture` gives, without drawing
|
|
648
|
+
* the letters.
|
|
649
|
+
*
|
|
650
|
+
* The box holds the whole height the stroke font's letters may reach, so a layout can make room
|
|
651
|
+
* before drawing.
|
|
652
|
+
* Example: a linear dimension from [0, 0] to [60, 0] at offset 12 -> min [0, 0.875], max [60, 17.04]
|
|
653
|
+
*/
|
|
654
|
+
"io.drawing.dimensionExtent": {
|
|
655
|
+
/**
|
|
656
|
+
* For `linear`, the first point measured; for `diameter`, `radius` and `angular`, the center of
|
|
657
|
+
* the circle or the point where the two arms of the angle meet.
|
|
658
|
+
*/
|
|
659
|
+
start: [number, number] | PipelineRef;
|
|
660
|
+
/**
|
|
661
|
+
* For `linear`, the second point measured; for `diameter` and `radius`, a point on the circle; for
|
|
662
|
+
* `angular`, a point on the first arm, where the arc passes.
|
|
663
|
+
*/
|
|
664
|
+
end: [number, number] | PipelineRef;
|
|
665
|
+
/** What the dimension measures; it decides what `start`, `end`, `offset` and `angle` mean. */
|
|
666
|
+
kind?: "linear" | "diameter" | "radius" | "angular" | PipelineRef;
|
|
667
|
+
/**
|
|
668
|
+
* For `linear`, the direction measured along, such as [1, 0] for a horizontal dimension; left
|
|
669
|
+
* out, from `start` to `end`. Other kinds ignore it.
|
|
670
|
+
*/
|
|
671
|
+
direction?: [number, number] | PipelineRef;
|
|
672
|
+
/**
|
|
673
|
+
* For `linear`, how far the dimension line stands from `start`, in drawing units, to the left of
|
|
674
|
+
* `direction`; negative puts it right. Other kinds ignore it.
|
|
675
|
+
*/
|
|
676
|
+
offset?: number | PipelineRef;
|
|
677
|
+
/**
|
|
678
|
+
* For `angular`, the angle in degrees from the first arm, the one through `end`,
|
|
679
|
+
* counterclockwise to the second arm. Other kinds ignore it.
|
|
680
|
+
*/
|
|
681
|
+
angle?: number | PipelineRef;
|
|
682
|
+
/**
|
|
683
|
+
* The number written; left out, the one measured. A diameter is written after the diameter
|
|
684
|
+
* sign, a radius after R, an angle before the degree sign.
|
|
685
|
+
*/
|
|
686
|
+
value?: number | PipelineRef;
|
|
687
|
+
/** How many decimals the value keeps; trailing zeros are dropped, so 15.50 shows as 15.5. */
|
|
688
|
+
decimalPlaces?: number | PipelineRef;
|
|
689
|
+
/**
|
|
690
|
+
* How far above the value the measure may lie, written `+0.1`, or `±0.1` when equal to
|
|
691
|
+
* `lowerTolerance`; 0 when only `lowerTolerance` is given.
|
|
692
|
+
*/
|
|
693
|
+
upperTolerance?: number | PipelineRef;
|
|
694
|
+
/**
|
|
695
|
+
* How far below the value the measure may lie, as an amount, written `-0.05`; 0 when only
|
|
696
|
+
* `upperTolerance` is given. Without either, no tolerance is written.
|
|
697
|
+
*/
|
|
698
|
+
lowerTolerance?: number | PipelineRef;
|
|
699
|
+
/** The height of the text's digits, in drawing units; the gaps around the lines are sized from it. */
|
|
700
|
+
textHeight?: number | PipelineRef;
|
|
701
|
+
/**
|
|
702
|
+
* The length of each arrowhead, in drawing units; each is a third as wide as it is long. Left
|
|
703
|
+
* out, it is `textHeight`.
|
|
704
|
+
*/
|
|
705
|
+
arrowLength?: number | PipelineRef;
|
|
706
|
+
};
|
|
707
|
+
/**
|
|
708
|
+
* Draws a dimension in the drawing's plane: its dimension line or arc, its extension lines, filled
|
|
709
|
+
* arrowheads touching them, and its value in the stroke font.
|
|
710
|
+
*
|
|
711
|
+
* The text reads from left to right or from bottom to top, past the line's end when the line is
|
|
712
|
+
* too short for it; arrows go outside a span too short for them.
|
|
713
|
+
*/
|
|
714
|
+
"io.drawing.dimensionPicture": {
|
|
715
|
+
/**
|
|
716
|
+
* For `linear`, the first point measured; for `diameter`, `radius` and `angular`, the center of
|
|
717
|
+
* the circle or the point where the two arms of the angle meet.
|
|
718
|
+
*/
|
|
719
|
+
start: [number, number] | PipelineRef;
|
|
720
|
+
/**
|
|
721
|
+
* For `linear`, the second point measured; for `diameter` and `radius`, a point on the circle; for
|
|
722
|
+
* `angular`, a point on the first arm, where the arc passes.
|
|
723
|
+
*/
|
|
724
|
+
end: [number, number] | PipelineRef;
|
|
725
|
+
/** What the dimension measures; it decides what `start`, `end`, `offset` and `angle` mean. */
|
|
726
|
+
kind?: "linear" | "diameter" | "radius" | "angular" | PipelineRef;
|
|
727
|
+
/**
|
|
728
|
+
* For `linear`, the direction measured along, such as [1, 0] for a horizontal dimension; left
|
|
729
|
+
* out, from `start` to `end`. Other kinds ignore it.
|
|
730
|
+
*/
|
|
731
|
+
direction?: [number, number] | PipelineRef;
|
|
732
|
+
/**
|
|
733
|
+
* For `linear`, how far the dimension line stands from `start`, in drawing units, to the left of
|
|
734
|
+
* `direction`; negative puts it right. Other kinds ignore it.
|
|
735
|
+
*/
|
|
736
|
+
offset?: number | PipelineRef;
|
|
737
|
+
/**
|
|
738
|
+
* For `angular`, the angle in degrees from the first arm, the one through `end`,
|
|
739
|
+
* counterclockwise to the second arm. Other kinds ignore it.
|
|
740
|
+
*/
|
|
741
|
+
angle?: number | PipelineRef;
|
|
742
|
+
/**
|
|
743
|
+
* The number written; left out, the one measured. A diameter is written after the diameter
|
|
744
|
+
* sign, a radius after R, an angle before the degree sign.
|
|
745
|
+
*/
|
|
746
|
+
value?: number | PipelineRef;
|
|
747
|
+
/** How many decimals the value keeps; trailing zeros are dropped, so 15.50 shows as 15.5. */
|
|
748
|
+
decimalPlaces?: number | PipelineRef;
|
|
749
|
+
/**
|
|
750
|
+
* How far above the value the measure may lie, written `+0.1`, or `±0.1` when equal to
|
|
751
|
+
* `lowerTolerance`; 0 when only `lowerTolerance` is given.
|
|
752
|
+
*/
|
|
753
|
+
upperTolerance?: number | PipelineRef;
|
|
754
|
+
/**
|
|
755
|
+
* How far below the value the measure may lie, as an amount, written `-0.05`; 0 when only
|
|
756
|
+
* `upperTolerance` is given. Without either, no tolerance is written.
|
|
757
|
+
*/
|
|
758
|
+
lowerTolerance?: number | PipelineRef;
|
|
759
|
+
/** The height of the text's digits, in drawing units; the gaps around the lines are sized from it. */
|
|
760
|
+
textHeight?: number | PipelineRef;
|
|
761
|
+
/**
|
|
762
|
+
* The length of each arrowhead, in drawing units; each is a third as wide as it is long. Left
|
|
763
|
+
* out, it is `textHeight`.
|
|
764
|
+
*/
|
|
765
|
+
arrowLength?: number | PipelineRef;
|
|
766
|
+
};
|
|
620
767
|
/**
|
|
621
768
|
* Converts a DXF file into an SVG file, reading it as `io.dxf.dxfRead` does and writing it as
|
|
622
769
|
* `io.svg.svgCreate` does.
|
|
@@ -681,6 +828,78 @@ export interface OperationParams {
|
|
|
681
828
|
*/
|
|
682
829
|
normal?: [number, number, number] | PipelineRef;
|
|
683
830
|
};
|
|
831
|
+
/**
|
|
832
|
+
* Makes a hatched region for a drawing part's `hatches`: what the boundaries enclose, filled with
|
|
833
|
+
* a pattern of lines or with solid ink.
|
|
834
|
+
*
|
|
835
|
+
* A boundary inside another cuts a hole, and a boundary whose ends do not meet is closed by a
|
|
836
|
+
* straight line.
|
|
837
|
+
*/
|
|
838
|
+
"io.drawing.hatch": {
|
|
839
|
+
/** The closed paths that bound the region, in the drawing's XY plane. */
|
|
840
|
+
boundaries: unknown[] | PipelineRef;
|
|
841
|
+
/** What the region is filled with. */
|
|
842
|
+
pattern?: "solid" | "ansi31" | "ansi32" | "ansi37" | PipelineRef;
|
|
843
|
+
/**
|
|
844
|
+
* The angle of the pattern's lines in degrees, counterclockwise from the X axis; `solid`
|
|
845
|
+
* ignores it.
|
|
846
|
+
*/
|
|
847
|
+
angle?: number | PipelineRef;
|
|
848
|
+
/**
|
|
849
|
+
* The distance between the pattern's lines, in drawing units; `solid` ignores it. DXF writes
|
|
850
|
+
* it as a scale of the pattern in `acad.pat` for an inch drawing, in `acadiso.pat` otherwise.
|
|
851
|
+
*/
|
|
852
|
+
spacing?: number | PipelineRef;
|
|
853
|
+
};
|
|
854
|
+
/**
|
|
855
|
+
* Gives the lines of a hatch's pattern, each from side to side of the box around its
|
|
856
|
+
* boundaries, for a renderer that draws them itself and clips them to the region.
|
|
857
|
+
*
|
|
858
|
+
* The lines stand where `io.svg.svgCreate` and `io.dxf.dxfCreate` put them, each whole. `solid`
|
|
859
|
+
* gives none, and a spacing too fine for the region throws.
|
|
860
|
+
*/
|
|
861
|
+
"io.drawing.hatchLines": {
|
|
862
|
+
/** The closed paths that bound the region, in the drawing's XY plane. */
|
|
863
|
+
boundaries: unknown[] | PipelineRef;
|
|
864
|
+
/** What the region is filled with. */
|
|
865
|
+
pattern?: "solid" | "ansi31" | "ansi32" | "ansi37" | PipelineRef;
|
|
866
|
+
/**
|
|
867
|
+
* The angle of the pattern's lines in degrees, counterclockwise from the X axis; `solid`
|
|
868
|
+
* ignores it.
|
|
869
|
+
*/
|
|
870
|
+
angle?: number | PipelineRef;
|
|
871
|
+
/**
|
|
872
|
+
* The distance between the pattern's lines, in drawing units; `solid` ignores it. DXF writes
|
|
873
|
+
* it as a scale of the pattern in `acad.pat` for an inch drawing, in `acadiso.pat` otherwise.
|
|
874
|
+
*/
|
|
875
|
+
spacing?: number | PipelineRef;
|
|
876
|
+
};
|
|
877
|
+
/**
|
|
878
|
+
* Gives the outlines of a hatch's region as closed loops of points, curves followed within
|
|
879
|
+
* `tolerance`, for a renderer that fills the region itself.
|
|
880
|
+
*
|
|
881
|
+
* Each loop lists every corner once. Fill them under the even-odd rule, as
|
|
882
|
+
* `mesh.triangulateLoops` does, to keep the holes open.
|
|
883
|
+
* Example: a circle of radius 5 at tolerance 0.01 -> one loop of 50 points
|
|
884
|
+
*/
|
|
885
|
+
"io.drawing.hatchOutlines": {
|
|
886
|
+
/**
|
|
887
|
+
* The closed paths that bound the region, in the drawing's XY plane; a boundary inside another
|
|
888
|
+
* cuts a hole, and one inside that hole is filled again.
|
|
889
|
+
*/
|
|
890
|
+
boundaries: unknown[] | PipelineRef;
|
|
891
|
+
/** What the region is filled with; `solid` has no lines. */
|
|
892
|
+
pattern?: "solid" | "ansi31" | "ansi32" | "ansi37" | PipelineRef;
|
|
893
|
+
/** The angle of the pattern's lines in degrees, counterclockwise from the X axis. */
|
|
894
|
+
angle?: number | PipelineRef;
|
|
895
|
+
/** The distance between the pattern's lines, in drawing units. */
|
|
896
|
+
spacing?: number | PipelineRef;
|
|
897
|
+
/**
|
|
898
|
+
* How far, in drawing units, the outline may stray from a curved boundary: arcs, circles,
|
|
899
|
+
* ellipses and splines become straight pieces this close to the curve.
|
|
900
|
+
*/
|
|
901
|
+
tolerance?: number | PipelineRef;
|
|
902
|
+
};
|
|
684
903
|
/** Makes a straight segment of a drawing path, from `start` to `end`. */
|
|
685
904
|
"io.drawing.lineSegment": {
|
|
686
905
|
/** Where the line starts. */
|
|
@@ -706,6 +925,15 @@ export interface OperationParams {
|
|
|
706
925
|
color?: unknown | PipelineRef;
|
|
707
926
|
/** Whether the lines are whole or dashed, such as `hidden` for edges a view cannot see. */
|
|
708
927
|
lineType?: "continuous" | "dashed" | "hidden" | "center" | "dotted" | PipelineRef;
|
|
928
|
+
/**
|
|
929
|
+
* How wide the part's lines and text strokes are, in drawing units. Left out, the writer's own
|
|
930
|
+
* width is used: the drawing's `strokeWidth` in SVG, the layer's in DXF.
|
|
931
|
+
*/
|
|
932
|
+
lineWeight?: number | PipelineRef;
|
|
933
|
+
/** Lines of text on the part's layer, in its color. */
|
|
934
|
+
texts?: unknown[] | PipelineRef;
|
|
935
|
+
/** Hatched regions on the part's layer, in its color. */
|
|
936
|
+
hatches?: unknown[] | PipelineRef;
|
|
709
937
|
};
|
|
710
938
|
/**
|
|
711
939
|
* Joins segments into one path, drawn in order like the edges of a wire; segments that meet
|
|
@@ -736,6 +964,23 @@ export interface OperationParams {
|
|
|
736
964
|
*/
|
|
737
965
|
bulges?: number[] | PipelineRef;
|
|
738
966
|
};
|
|
967
|
+
/**
|
|
968
|
+
* Scales drawing parts about the origin, returning new parts and leaving the given ones unchanged.
|
|
969
|
+
*
|
|
970
|
+
* Points, radii, axes, text heights, hatch spacings and line weights are multiplied by `factor`;
|
|
971
|
+
* angles, bulges, knots and weights stay. Scale before writing with `io.dxf.dxfCreate` or
|
|
972
|
+
* `io.svg.svgCreate`: their `unit` labels the drawing and never scales it. A factor not above 0
|
|
973
|
+
* throws.
|
|
974
|
+
*/
|
|
975
|
+
"io.drawing.scaleParts": {
|
|
976
|
+
/** The parts to scale; they stay as they are and scaled copies come back. */
|
|
977
|
+
parts: unknown[] | PipelineRef;
|
|
978
|
+
/**
|
|
979
|
+
* What every length is multiplied by: 2 doubles the drawing, 25.4 turns inches into
|
|
980
|
+
* millimetres.
|
|
981
|
+
*/
|
|
982
|
+
factor?: number | PipelineRef;
|
|
983
|
+
};
|
|
739
984
|
/**
|
|
740
985
|
* Makes a B-spline or NURBS curve of a drawing path from its control points and degree, with
|
|
741
986
|
* its knots and weights when they are given.
|
|
@@ -798,6 +1043,87 @@ export interface OperationParams {
|
|
|
798
1043
|
*/
|
|
799
1044
|
curveTolerance?: number | PipelineRef;
|
|
800
1045
|
};
|
|
1046
|
+
/**
|
|
1047
|
+
* Makes a line of text for a drawing part's `texts`, in the single-line stroke font.
|
|
1048
|
+
*
|
|
1049
|
+
* The text is placed by a point on its baseline; `anchor` says whether that point is its start,
|
|
1050
|
+
* middle or end, `rotation` turns it and `widthFactor` narrows or widens its letters.
|
|
1051
|
+
*/
|
|
1052
|
+
"io.drawing.text": {
|
|
1053
|
+
/**
|
|
1054
|
+
* The text, one line of it: a control character, such as a line break, a tab or U+0085, is
|
|
1055
|
+
* refused; a line separator is drawn as a question mark.
|
|
1056
|
+
*/
|
|
1057
|
+
text: string | PipelineRef;
|
|
1058
|
+
/** The point on the baseline the text is placed by; `anchor` says which point of the line it is. */
|
|
1059
|
+
position: [number, number, number] | PipelineRef;
|
|
1060
|
+
/** The height of a capital letter, in drawing units. */
|
|
1061
|
+
height?: number | PipelineRef;
|
|
1062
|
+
/** Which point of the baseline `position` is: where the text starts, its middle or its end. */
|
|
1063
|
+
anchor?: unknown | PipelineRef;
|
|
1064
|
+
/** The angle of the baseline in degrees, counterclockwise from the X axis. */
|
|
1065
|
+
rotation?: number | PipelineRef;
|
|
1066
|
+
/**
|
|
1067
|
+
* How wide the letters are drawn against their natural width: below 1 narrows a text to fit a
|
|
1068
|
+
* cell, above 1 widens it.
|
|
1069
|
+
*/
|
|
1070
|
+
widthFactor?: number | PipelineRef;
|
|
1071
|
+
};
|
|
1072
|
+
/**
|
|
1073
|
+
* Measures a drawing text: its length along the baseline, and how far the font's ink reaches
|
|
1074
|
+
* above and below it.
|
|
1075
|
+
*
|
|
1076
|
+
* The width is what `io.svg.svgCreate` draws and `io.dxf.dxfCreate` fits the text to; the
|
|
1077
|
+
* position is not needed to measure it. A text that is not one line throws.
|
|
1078
|
+
* Example: 'I' at height 21 -> width 8, above 25, below 7
|
|
1079
|
+
*/
|
|
1080
|
+
"io.drawing.textSize": {
|
|
1081
|
+
/**
|
|
1082
|
+
* The text, one line of it: a control character, such as a line break, a tab or U+0085, is
|
|
1083
|
+
* refused; a line separator is drawn as a question mark.
|
|
1084
|
+
*/
|
|
1085
|
+
text: string | PipelineRef;
|
|
1086
|
+
/** The point on the baseline the text is placed by; `anchor` says which point of the line it is. */
|
|
1087
|
+
position: [number, number, number] | PipelineRef;
|
|
1088
|
+
/** The height of a capital letter, in drawing units. */
|
|
1089
|
+
height?: number | PipelineRef;
|
|
1090
|
+
/** Which point of the baseline `position` is: where the text starts, its middle or its end. */
|
|
1091
|
+
anchor?: unknown | PipelineRef;
|
|
1092
|
+
/** The angle of the baseline in degrees, counterclockwise from the X axis. */
|
|
1093
|
+
rotation?: number | PipelineRef;
|
|
1094
|
+
/**
|
|
1095
|
+
* How wide the letters are drawn against their natural width: below 1 narrows a text to fit a
|
|
1096
|
+
* cell, above 1 widens it.
|
|
1097
|
+
*/
|
|
1098
|
+
widthFactor?: number | PipelineRef;
|
|
1099
|
+
};
|
|
1100
|
+
/**
|
|
1101
|
+
* Draws a drawing text as the strokes of its letters, each a list of points in the drawing's
|
|
1102
|
+
* coordinates, placed, turned and narrowed as the text says.
|
|
1103
|
+
*
|
|
1104
|
+
* These are the strokes `io.svg.svgCreate` writes. A text that is not one line throws.
|
|
1105
|
+
* Example: 'I' at height 21 from [10, 20] -> one stroke, [[14, 41, 0], [14, 20, 0]]
|
|
1106
|
+
*/
|
|
1107
|
+
"io.drawing.textStrokes": {
|
|
1108
|
+
/**
|
|
1109
|
+
* The text, one line of it: a control character, such as a line break, a tab or U+0085, is
|
|
1110
|
+
* refused; a line separator is drawn as a question mark.
|
|
1111
|
+
*/
|
|
1112
|
+
text: string | PipelineRef;
|
|
1113
|
+
/** The point on the baseline the text is placed by; `anchor` says which point of the line it is. */
|
|
1114
|
+
position: [number, number, number] | PipelineRef;
|
|
1115
|
+
/** The height of a capital letter, in drawing units. */
|
|
1116
|
+
height?: number | PipelineRef;
|
|
1117
|
+
/** Which point of the baseline `position` is: where the text starts, its middle or its end. */
|
|
1118
|
+
anchor?: unknown | PipelineRef;
|
|
1119
|
+
/** The angle of the baseline in degrees, counterclockwise from the X axis. */
|
|
1120
|
+
rotation?: number | PipelineRef;
|
|
1121
|
+
/**
|
|
1122
|
+
* How wide the letters are drawn against their natural width: below 1 narrows a text to fit a
|
|
1123
|
+
* cell, above 1 widens it.
|
|
1124
|
+
*/
|
|
1125
|
+
widthFactor?: number | PipelineRef;
|
|
1126
|
+
};
|
|
801
1127
|
/** Makes a circular arc for a drawing, under its former DXF name. */
|
|
802
1128
|
"io.dxf.arcSegment": {
|
|
803
1129
|
/** The center of the arc's circle. */
|
|
@@ -859,13 +1185,18 @@ export interface OperationParams {
|
|
|
859
1185
|
* it where the version cannot hold the curve exactly.
|
|
860
1186
|
*/
|
|
861
1187
|
curveTolerance?: number | PipelineRef;
|
|
1188
|
+
/**
|
|
1189
|
+
* The length of one unit of a dash pattern, in drawing units: `hidden` is 2 units of dash
|
|
1190
|
+
* and 1 of gap. Left out, a two-hundredth of the drawing's size.
|
|
1191
|
+
*/
|
|
1192
|
+
lineTypeScale?: number | PipelineRef;
|
|
862
1193
|
};
|
|
863
1194
|
/**
|
|
864
1195
|
* Reads a DXF file into path parts by layer, color and line type, the model `dxfCreate` writes.
|
|
865
1196
|
*
|
|
866
|
-
* Lines, arcs, circles, ellipses, polylines and splines are read exactly
|
|
867
|
-
*
|
|
868
|
-
* `warnings`; splines given only by fit points
|
|
1197
|
+
* Lines, arcs, circles, ellipses, polylines and splines are read exactly, block inserts
|
|
1198
|
+
* expanded, with single-line texts and hatches. Multi-line text and dimensions are named in
|
|
1199
|
+
* `warnings`; `occt.io.loadDxf` reads splines given only by fit points.
|
|
869
1200
|
*/
|
|
870
1201
|
"io.dxf.dxfRead": {
|
|
871
1202
|
/**
|
|
@@ -931,6 +1262,15 @@ export interface OperationParams {
|
|
|
931
1262
|
color?: unknown | PipelineRef;
|
|
932
1263
|
/** Whether the lines are whole or dashed, such as `hidden` for edges a view cannot see. */
|
|
933
1264
|
lineType?: "continuous" | "dashed" | "hidden" | "center" | "dotted" | PipelineRef;
|
|
1265
|
+
/**
|
|
1266
|
+
* How wide the part's lines and text strokes are, in drawing units. Left out, the writer's own
|
|
1267
|
+
* width is used: the drawing's `strokeWidth` in SVG, the layer's in DXF.
|
|
1268
|
+
*/
|
|
1269
|
+
lineWeight?: number | PipelineRef;
|
|
1270
|
+
/** Lines of text on the part's layer, in its color. */
|
|
1271
|
+
texts?: unknown[] | PipelineRef;
|
|
1272
|
+
/** Hatched regions on the part's layer, in its color. */
|
|
1273
|
+
hatches?: unknown[] | PipelineRef;
|
|
934
1274
|
};
|
|
935
1275
|
/** Makes connected straight segments for a drawing, under its former DXF name. */
|
|
936
1276
|
"io.dxf.polylineSegment": {
|
|
@@ -976,8 +1316,8 @@ export interface OperationParams {
|
|
|
976
1316
|
* Writes one drawing path as SVG path data, the text of a `path` element's `d` attribute.
|
|
977
1317
|
*
|
|
978
1318
|
* 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
|
|
980
|
-
*
|
|
1319
|
+
* and a stroke that returns to its start is closed. Curves stay exact as in `svgCreate`, or with
|
|
1320
|
+
* `cubicsOnly` become cubic Beziers within `tolerance`.
|
|
981
1321
|
*/
|
|
982
1322
|
"io.svg.pathData": {
|
|
983
1323
|
/** The path to write as SVG path data. */
|
|
@@ -992,13 +1332,19 @@ export interface OperationParams {
|
|
|
992
1332
|
* cubic curves that stand in for it.
|
|
993
1333
|
*/
|
|
994
1334
|
tolerance?: number | PipelineRef;
|
|
1335
|
+
/**
|
|
1336
|
+
* When true, every curve is written as cubic Beziers (`C`), arcs within `tolerance`, for
|
|
1337
|
+
* renderers that draw only lines and cubics.
|
|
1338
|
+
*/
|
|
1339
|
+
cubicsOnly?: boolean | PipelineRef;
|
|
995
1340
|
};
|
|
996
1341
|
/**
|
|
997
1342
|
* Writes an SVG file from path parts, each layer an Inkscape layer.
|
|
998
1343
|
*
|
|
999
1344
|
* Arcs, circles, ellipses and bulges stay exact arcs, unweighted splines up to degree 3 exact
|
|
1000
|
-
* Beziers, others cubics within `tolerance
|
|
1001
|
-
* is dropped and `unit` gives the true size. A drawing too large to
|
|
1345
|
+
* Beziers, others cubics within `tolerance`. Texts become letter strokes, hatches patterned
|
|
1346
|
+
* regions. Y points up, Z is dropped and `unit` gives the true size. A drawing too large to
|
|
1347
|
+
* write throws.
|
|
1002
1348
|
*/
|
|
1003
1349
|
"io.svg.svgCreate": {
|
|
1004
1350
|
/** The parts of the drawing; each layer becomes a group that Inkscape reads as a layer. */
|
|
@@ -1023,13 +1369,18 @@ export interface OperationParams {
|
|
|
1023
1369
|
* or higher degree spline) and the cubic curves that stand in for it.
|
|
1024
1370
|
*/
|
|
1025
1371
|
tolerance?: number | PipelineRef;
|
|
1372
|
+
/**
|
|
1373
|
+
* The length of one unit of a dash pattern, in drawing units: `hidden` is 2 units of dash
|
|
1374
|
+
* and 1 of gap. Left out, a two-hundredth of the drawing's size.
|
|
1375
|
+
*/
|
|
1376
|
+
lineTypeScale?: number | PipelineRef;
|
|
1026
1377
|
};
|
|
1027
1378
|
/**
|
|
1028
|
-
* Reads an SVG file into path parts by layer, color and line type
|
|
1379
|
+
* Reads an SVG file into path parts by layer, color and line type.
|
|
1029
1380
|
*
|
|
1030
|
-
* Lines, arcs and Bezier curves are read exactly, transforms applied
|
|
1381
|
+
* Lines, arcs and Bezier curves are read exactly, transforms applied, Y up. Inkscape
|
|
1031
1382
|
* layers are layers, each stroke color (else fill) a color, each dash pattern a line type. Text
|
|
1032
|
-
* and images are left out
|
|
1383
|
+
* and images are left out, named in `warnings`; `svgCreate`'s texts and hatches return as paths.
|
|
1033
1384
|
*/
|
|
1034
1385
|
"io.svg.svgRead": {
|
|
1035
1386
|
/** The whole text of an SVG file. */
|
|
@@ -4566,8 +4917,13 @@ export interface OperationParams {
|
|
|
4566
4917
|
*/
|
|
4567
4918
|
circularSegments?: number | PipelineRef;
|
|
4568
4919
|
/**
|
|
4569
|
-
*
|
|
4570
|
-
*
|
|
4920
|
+
* `zUpToYUp` turns each solid a quarter turn about X so the recipe's Z points along Y, and
|
|
4921
|
+
* `(x, y, z)` becomes `(x, z, -y)`; `keep` leaves them. `yUpToZUp` is refused.
|
|
4922
|
+
*/
|
|
4923
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
4924
|
+
/**
|
|
4925
|
+
* When true, the solids turn as `upAxis` `zUpToYUp` does; false, its old default, decides nothing.
|
|
4926
|
+
* True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
4571
4927
|
*/
|
|
4572
4928
|
adjustZtoY?: boolean | PipelineRef;
|
|
4573
4929
|
/**
|
|
@@ -4592,8 +4948,13 @@ export interface OperationParams {
|
|
|
4592
4948
|
/** How many flat sides each circle of the recipe is divided into; more is rounder. */
|
|
4593
4949
|
circularSegments?: number | PipelineRef;
|
|
4594
4950
|
/**
|
|
4595
|
-
*
|
|
4596
|
-
* which is up when drawn
|
|
4951
|
+
* Whether the placements turn: `zUpToYUp` turns each a quarter turn about X so the recipe's Z
|
|
4952
|
+
* points along Y, which is up when drawn; `keep` leaves them. `yUpToZUp` is refused.
|
|
4953
|
+
*/
|
|
4954
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
4955
|
+
/**
|
|
4956
|
+
* When true, the placements turn as `upAxis` `zUpToYUp` does; false, its old default, decides
|
|
4957
|
+
* nothing. True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
4597
4958
|
*/
|
|
4598
4959
|
adjustZtoY?: boolean | PipelineRef;
|
|
4599
4960
|
/**
|
|
@@ -4623,8 +4984,13 @@ export interface OperationParams {
|
|
|
4623
4984
|
*/
|
|
4624
4985
|
roots?: number[] | PipelineRef;
|
|
4625
4986
|
/**
|
|
4626
|
-
*
|
|
4627
|
-
* `recipes.build` turns its solids
|
|
4987
|
+
* Whether the meshes turn: `zUpToYUp` turns each a quarter turn about X so the recipe's Z points
|
|
4988
|
+
* along Y, as `recipes.build` turns its solids; `keep` leaves them. `yUpToZUp` is refused.
|
|
4989
|
+
*/
|
|
4990
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
4991
|
+
/**
|
|
4992
|
+
* When true, the meshes turn as `upAxis` `zUpToYUp` does; false, its old default, decides nothing.
|
|
4993
|
+
* True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
4628
4994
|
*/
|
|
4629
4995
|
adjustZtoY?: boolean | PipelineRef;
|
|
4630
4996
|
};
|
|
@@ -5579,6 +5945,24 @@ export interface OperationParams {
|
|
|
5579
5945
|
/** The shape to work on; it is not changed. */
|
|
5580
5946
|
shape: unknown | PipelineRef;
|
|
5581
5947
|
};
|
|
5948
|
+
/**
|
|
5949
|
+
* Adds dimensions, datums and tolerances to a document as product manufacturing
|
|
5950
|
+
* information, all of them or, when one is refused, none.
|
|
5951
|
+
*
|
|
5952
|
+
* Each names a part's faces, edges or vertices. It answers the changed document, which
|
|
5953
|
+
* `exportDocumentToStep` writes as STEP AP242 with their pictures; `assembly.query.getDocumentPmi`
|
|
5954
|
+
* lists the items with their labels, as taken here. Calls add up until `removeDocumentPmi`.
|
|
5955
|
+
*/
|
|
5956
|
+
"occt.assembly.manager.addDocumentPmi": {
|
|
5957
|
+
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
5958
|
+
document: unknown | PipelineRef;
|
|
5959
|
+
/** Dimensions to write, each from `createPmiDimension` or given as an object. */
|
|
5960
|
+
dimensions?: unknown[] | PipelineRef;
|
|
5961
|
+
/** The datums to add; each must be referred to by one of `tolerances`. */
|
|
5962
|
+
datums?: unknown[] | PipelineRef;
|
|
5963
|
+
/** The geometric tolerances to add. */
|
|
5964
|
+
tolerances?: unknown[] | PipelineRef;
|
|
5965
|
+
};
|
|
5582
5966
|
/**
|
|
5583
5967
|
* Builds an assembly document from a structure, or applies the structure to an existing
|
|
5584
5968
|
* document.
|
|
@@ -5760,11 +6144,164 @@ export interface OperationParams {
|
|
|
5760
6144
|
/** The new color of the part as `{ r, g, b, a }` from 0 to 1; leave it out to keep the old one. */
|
|
5761
6145
|
colorRgba?: unknown | PipelineRef;
|
|
5762
6146
|
};
|
|
6147
|
+
/**
|
|
6148
|
+
* Describes a datum for `addDocumentPmi`: its letter and the shapes it is taken from.
|
|
6149
|
+
*
|
|
6150
|
+
* A tolerance in the same call must refer to it by letter, as a STEP file keeps a datum only
|
|
6151
|
+
* through its tolerances. A letter names one datum in a document, given again only on its
|
|
6152
|
+
* shapes. Nothing is written until `addDocumentPmi`.
|
|
6153
|
+
*/
|
|
6154
|
+
"occt.assembly.manager.createPmiDatum": {
|
|
6155
|
+
/** The shapes the datum is taken from. */
|
|
6156
|
+
shapeRefs: unknown[] | PipelineRef;
|
|
6157
|
+
/**
|
|
6158
|
+
* One to three capital letters, A to Z, naming one datum in the document; a letter it already
|
|
6159
|
+
* has is given again only on that datum's shapes.
|
|
6160
|
+
*/
|
|
6161
|
+
letter?: string | PipelineRef;
|
|
6162
|
+
/** The name of its `presentation`, when that has none of its own. */
|
|
6163
|
+
name?: string | PipelineRef;
|
|
6164
|
+
/**
|
|
6165
|
+
* A presentation drawn by the caller, or an annotation read back; left out, or with no lines and
|
|
6166
|
+
* no fills, the datum is written without one.
|
|
6167
|
+
*/
|
|
6168
|
+
presentation?: unknown | PipelineRef;
|
|
6169
|
+
};
|
|
6170
|
+
/**
|
|
6171
|
+
* Describes a dimension for `addDocumentPmi`: what it states, its value and tolerance, the
|
|
6172
|
+
* shapes it measures, and where its picture is drawn.
|
|
6173
|
+
*
|
|
6174
|
+
* With `start` and `end` the picture is drawn as `io.drawing.dimensionPicture` draws it, in the
|
|
6175
|
+
* plane `normal` faces, in the part's own axes; a `presentation` replaces it. Nothing is written
|
|
6176
|
+
* until `addDocumentPmi`.
|
|
6177
|
+
*/
|
|
6178
|
+
"occt.assembly.manager.createPmiDimension": {
|
|
6179
|
+
/** The nominal value, in the document's length unit, or in degrees for an `angle`. */
|
|
6180
|
+
value: number | PipelineRef;
|
|
6181
|
+
/** The shapes it measures, or measures from, each a part and one face, edge or vertex of it. */
|
|
6182
|
+
shapeRefs: unknown[] | PipelineRef;
|
|
6183
|
+
/**
|
|
6184
|
+
* What the dimension states; `linearDistance` and `angle` need `otherShapeRefs`, the sizes take
|
|
6185
|
+
* none.
|
|
6186
|
+
*/
|
|
6187
|
+
type?: "Location_LinearDistance" | "Location_Angular" | "Size_Diameter" | "Size_Radius" | "Size_CurveLength" | PipelineRef;
|
|
6188
|
+
/** The shapes a `linearDistance` or an `angle` measures to; an empty list counts as none. */
|
|
6189
|
+
otherShapeRefs?: unknown[] | PipelineRef;
|
|
6190
|
+
/**
|
|
6191
|
+
* How far above the value the measure may lie, in degrees for an `angle`. Left out with
|
|
6192
|
+
* `lowerTolerance`, there is no tolerance; left out alone, it is 0.
|
|
6193
|
+
*/
|
|
6194
|
+
upperTolerance?: number | PipelineRef;
|
|
6195
|
+
/**
|
|
6196
|
+
* How far below the value the measure may lie, as an amount. Left out with `upperTolerance`, the
|
|
6197
|
+
* dimension has no tolerance; left out alone, it is 0.
|
|
6198
|
+
*/
|
|
6199
|
+
lowerTolerance?: number | PipelineRef;
|
|
6200
|
+
/**
|
|
6201
|
+
* The name of the picture `start` and `end` draw, which readers show and `getDocumentAnnotations`
|
|
6202
|
+
* reads back; a `presentation` without a name of its own takes it.
|
|
6203
|
+
*/
|
|
6204
|
+
name?: string | PipelineRef;
|
|
6205
|
+
/**
|
|
6206
|
+
* For `linearDistance` and `curveLength` the first point measured, for the others the center of
|
|
6207
|
+
* the circle or angle; without it and `end`, nothing is drawn.
|
|
6208
|
+
*/
|
|
6209
|
+
start?: [number, number, number] | PipelineRef;
|
|
6210
|
+
/**
|
|
6211
|
+
* For `linearDistance` and `curveLength` the second point measured; for `diameter` and `radius` a
|
|
6212
|
+
* point of the circle; for an `angle` a point on its first arm, where the arc passes.
|
|
6213
|
+
*/
|
|
6214
|
+
end?: [number, number, number] | PipelineRef;
|
|
6215
|
+
/**
|
|
6216
|
+
* The picture's plane normal, facing the reader; an angle turns counterclockwise about it. Left
|
|
6217
|
+
* out, +Z, or -Y when `start` to `end` runs along Z.
|
|
6218
|
+
*/
|
|
6219
|
+
normal?: [number, number, number] | PipelineRef;
|
|
6220
|
+
/**
|
|
6221
|
+
* For `linearDistance`, the direction the distance is measured along; left out, from `start` to
|
|
6222
|
+
* `end`. Other types ignore it.
|
|
6223
|
+
*/
|
|
6224
|
+
direction?: [number, number, number] | PipelineRef;
|
|
6225
|
+
/**
|
|
6226
|
+
* For `linearDistance` and `curveLength`, how far the dimension line stands from `start`, to the
|
|
6227
|
+
* left of the measured direction seen from `normal`; negative puts it right.
|
|
6228
|
+
*/
|
|
6229
|
+
offset?: number | PipelineRef;
|
|
6230
|
+
/** The height of the picture's digits, in the document's length unit; its arrows are as long. */
|
|
6231
|
+
textHeight?: number | PipelineRef;
|
|
6232
|
+
/** How many decimals the picture writes the value with; trailing zeros are dropped. */
|
|
6233
|
+
decimalPlaces?: number | PipelineRef;
|
|
6234
|
+
/**
|
|
6235
|
+
* A presentation drawn by the caller, or an annotation read back, used instead of the picture
|
|
6236
|
+
* `start` and `end` draw; one with no lines and no fills counts as none.
|
|
6237
|
+
*/
|
|
6238
|
+
presentation?: unknown | PipelineRef;
|
|
6239
|
+
};
|
|
6240
|
+
/**
|
|
6241
|
+
* Describes one shape of a part for a dimension, datum or tolerance: the part's label and which
|
|
6242
|
+
* face, edge or vertex of it.
|
|
6243
|
+
*
|
|
6244
|
+
* Faces, edges and vertices count from 0 as `shapes.face.getFace`, `shapes.edge.getEdge` and
|
|
6245
|
+
* `shapes.vertex.getVertices` count them on the part's shape, which `assembly.query.getShapeFromLabel`
|
|
6246
|
+
* reads; `kind` `part` means the whole part.
|
|
6247
|
+
*/
|
|
6248
|
+
"occt.assembly.manager.createPmiShape": {
|
|
6249
|
+
/**
|
|
6250
|
+
* The label of the part, such as `0:1:1:1`, as `assembly.query.getDocumentParts` lists it: a
|
|
6251
|
+
* part, not an assembly or an instance that places one.
|
|
6252
|
+
*/
|
|
6253
|
+
part: string | PipelineRef;
|
|
6254
|
+
/** Whether the whole part is meant, or one face, edge or vertex of it. */
|
|
6255
|
+
kind?: "part" | "face" | "edge" | "vertex" | PipelineRef;
|
|
6256
|
+
/**
|
|
6257
|
+
* Which face, edge or vertex, counting from 0 as `shapes.face.getFace`, `shapes.edge.getEdge`
|
|
6258
|
+
* and `shapes.vertex.getVertices` count them on the part's shape; the whole part ignores it.
|
|
6259
|
+
*/
|
|
6260
|
+
index?: number | PipelineRef;
|
|
6261
|
+
};
|
|
6262
|
+
/**
|
|
6263
|
+
* Describes a geometric tolerance for `addDocumentPmi`: what it controls, its value, the shapes
|
|
6264
|
+
* it applies to and the letters of the datums it refers to, primary first.
|
|
6265
|
+
*
|
|
6266
|
+
* Only `position`, `perpendicularity` and `parallelism` take a diameter zone or a material
|
|
6267
|
+
* condition. Nothing is written until `addDocumentPmi`.
|
|
6268
|
+
*/
|
|
6269
|
+
"occt.assembly.manager.createPmiTolerance": {
|
|
6270
|
+
/** The width of its tolerance zone, in the document's length unit. */
|
|
6271
|
+
value: number | PipelineRef;
|
|
6272
|
+
/** The shapes it applies to. */
|
|
6273
|
+
shapeRefs: unknown[] | PipelineRef;
|
|
6274
|
+
/** What the tolerance controls. */
|
|
6275
|
+
type?: "Flatness" | "CircularityOrRoundness" | "Cylindricity" | "ProfileOfSurface" | "Perpendicularity" | "Parallelism" | "Position" | PipelineRef;
|
|
6276
|
+
/**
|
|
6277
|
+
* The letters of the datums it refers to, primary first, at most three, each given in the same
|
|
6278
|
+
* call, a datum the document has again on its own shapes.
|
|
6279
|
+
*/
|
|
6280
|
+
datumLetters?: unknown[] | PipelineRef;
|
|
6281
|
+
/**
|
|
6282
|
+
* When true, the zone is a cylinder, written with the diameter sign before the value; only
|
|
6283
|
+
* `position`, `perpendicularity` and `parallelism` take it.
|
|
6284
|
+
*/
|
|
6285
|
+
diameterZone?: boolean | PipelineRef;
|
|
6286
|
+
/**
|
|
6287
|
+
* The material condition it applies at; only `position`, `perpendicularity` and `parallelism`
|
|
6288
|
+
* take one other than `none`.
|
|
6289
|
+
*/
|
|
6290
|
+
material?: "none" | "maximum" | "least" | PipelineRef;
|
|
6291
|
+
/** The name of its `presentation`, when that has none of its own. */
|
|
6292
|
+
name?: string | PipelineRef;
|
|
6293
|
+
/**
|
|
6294
|
+
* A presentation drawn by the caller, or an annotation read back; left out, or with no lines and
|
|
6295
|
+
* no fills, the tolerance is written without one.
|
|
6296
|
+
*/
|
|
6297
|
+
presentation?: unknown | PipelineRef;
|
|
6298
|
+
};
|
|
5763
6299
|
/**
|
|
5764
6300
|
* Deletes an assembly document and frees the memory it holds.
|
|
5765
6301
|
*
|
|
5766
6302
|
* A document built with `buildAssemblyDocument` or loaded with `loadStepToDoc` stays in memory
|
|
5767
|
-
* until
|
|
6303
|
+
* until deleted; deleting it deletes the documents its changes made too, and deleting one of
|
|
6304
|
+
* those, such as `setDocLabelColor` answers, frees that one alone, which is made again when read.
|
|
5768
6305
|
*/
|
|
5769
6306
|
"occt.assembly.manager.deleteDocument": {
|
|
5770
6307
|
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
@@ -5789,8 +6326,8 @@ export interface OperationParams {
|
|
|
5789
6326
|
*/
|
|
5790
6327
|
meshAngle?: number | PipelineRef;
|
|
5791
6328
|
/**
|
|
5792
|
-
* When true,
|
|
5793
|
-
*
|
|
6329
|
+
* When true, flat and cylindrical faces get vertices inside them, not only along their edges;
|
|
6330
|
+
* when false, triangles can cut straight across a wide cylindrical face such as a bore.
|
|
5794
6331
|
*/
|
|
5795
6332
|
internalVerticesMode?: boolean | PipelineRef;
|
|
5796
6333
|
/**
|
|
@@ -5842,8 +6379,8 @@ export interface OperationParams {
|
|
|
5842
6379
|
*/
|
|
5843
6380
|
meshAngle?: number | PipelineRef;
|
|
5844
6381
|
/**
|
|
5845
|
-
* When true,
|
|
5846
|
-
*
|
|
6382
|
+
* When true, flat and cylindrical faces get vertices inside them, not only along their edges;
|
|
6383
|
+
* when false, triangles can cut straight across a wide cylindrical face such as a bore.
|
|
5847
6384
|
*/
|
|
5848
6385
|
internalVerticesMode?: boolean | PipelineRef;
|
|
5849
6386
|
/**
|
|
@@ -5946,8 +6483,9 @@ export interface OperationParams {
|
|
|
5946
6483
|
* Writes an assembly document as a STEP file with its hierarchy, names and colors, and returns
|
|
5947
6484
|
* the file's bytes.
|
|
5948
6485
|
*
|
|
5949
|
-
* `
|
|
5950
|
-
*
|
|
6486
|
+
* `compress` writes gzip-compressed STEP-Z. A document holding dimensions, datums or tolerances is
|
|
6487
|
+
* written as STEP AP242 with them and their pictures, those of each part in that part's own
|
|
6488
|
+
* context and units.
|
|
5951
6489
|
*/
|
|
5952
6490
|
"occt.assembly.manager.exportDocumentToStep": {
|
|
5953
6491
|
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
@@ -6010,17 +6548,30 @@ export interface OperationParams {
|
|
|
6010
6548
|
*/
|
|
6011
6549
|
stepData: unknown | PipelineRef;
|
|
6012
6550
|
};
|
|
6551
|
+
/**
|
|
6552
|
+
* Removes every dimension, datum and geometric tolerance from a document, with their pictures and
|
|
6553
|
+
* the saved views that showed only them.
|
|
6554
|
+
*
|
|
6555
|
+
* It answers the document without them, which exports as one that never held PMI and which
|
|
6556
|
+
* `addDocumentPmi` writes into as into a fresh one.
|
|
6557
|
+
*/
|
|
6558
|
+
"occt.assembly.manager.removeDocumentPmi": {
|
|
6559
|
+
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
6560
|
+
document: unknown | PipelineRef;
|
|
6561
|
+
};
|
|
6013
6562
|
/**
|
|
6014
6563
|
* Colors a label of a document, a part, instance or assembly, with red, green, blue and alpha
|
|
6015
6564
|
* from 0 to 1.
|
|
6016
6565
|
*
|
|
6017
|
-
*
|
|
6566
|
+
* It answers the colored document, which an export or a read given it shows, STEP and glTF
|
|
6567
|
+
* included. A label that names no part, instance or assembly of the document is refused;
|
|
6568
|
+
* `setDocLabelColors` colors many labels in one change.
|
|
6018
6569
|
*/
|
|
6019
6570
|
"occt.assembly.manager.setDocLabelColor": {
|
|
6020
|
-
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
6021
|
-
document: unknown | PipelineRef;
|
|
6022
6571
|
/** The label of the part, instance or assembly to color, such as `0:1:1:1`. */
|
|
6023
6572
|
label: string | PipelineRef;
|
|
6573
|
+
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
6574
|
+
document: unknown | PipelineRef;
|
|
6024
6575
|
/** The red channel, from 0 to 1. */
|
|
6025
6576
|
r?: number | PipelineRef;
|
|
6026
6577
|
/** The green channel, from 0 to 1. */
|
|
@@ -6030,15 +6581,61 @@ export interface OperationParams {
|
|
|
6030
6581
|
/** The opacity, from 0 for transparent to 1 for opaque. */
|
|
6031
6582
|
a?: number | PipelineRef;
|
|
6032
6583
|
};
|
|
6033
|
-
/**
|
|
6034
|
-
|
|
6584
|
+
/**
|
|
6585
|
+
* Colors many labels of a document, parts, instances or assemblies, with one color in one
|
|
6586
|
+
* change.
|
|
6587
|
+
*
|
|
6588
|
+
* It answers the colored document as `setDocLabelColor` does, one change for the whole list. A
|
|
6589
|
+
* label that names no part, instance or assembly is refused before any is colored; an empty
|
|
6590
|
+
* list answers the document as it was.
|
|
6591
|
+
*/
|
|
6592
|
+
"occt.assembly.manager.setDocLabelColors": {
|
|
6593
|
+
/**
|
|
6594
|
+
* The labels of the parts, instances or assemblies to color, such as `0:1:1:1`; each takes the
|
|
6595
|
+
* one color.
|
|
6596
|
+
*/
|
|
6597
|
+
labels: unknown[] | PipelineRef;
|
|
6035
6598
|
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
6036
6599
|
document: unknown | PipelineRef;
|
|
6600
|
+
/** The red channel, from 0 to 1. */
|
|
6601
|
+
r?: number | PipelineRef;
|
|
6602
|
+
/** The green channel, from 0 to 1. */
|
|
6603
|
+
g?: number | PipelineRef;
|
|
6604
|
+
/** The blue channel, from 0 to 1. */
|
|
6605
|
+
b?: number | PipelineRef;
|
|
6606
|
+
/** The opacity, from 0 for transparent to 1 for opaque. */
|
|
6607
|
+
a?: number | PipelineRef;
|
|
6608
|
+
};
|
|
6609
|
+
/**
|
|
6610
|
+
* Renames a label of a document, a part, instance or assembly.
|
|
6611
|
+
*
|
|
6612
|
+
* It answers the renamed document, which an export or a read given it shows. A label that names
|
|
6613
|
+
* no part, instance or assembly of the document is refused; `setDocLabelNames` renames many
|
|
6614
|
+
* labels in one change.
|
|
6615
|
+
*/
|
|
6616
|
+
"occt.assembly.manager.setDocLabelName": {
|
|
6037
6617
|
/** The label of the part, instance or assembly to rename, such as `0:1:1:1`. */
|
|
6038
6618
|
label: string | PipelineRef;
|
|
6619
|
+
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
6620
|
+
document: unknown | PipelineRef;
|
|
6039
6621
|
/** The new name written to the label. */
|
|
6040
6622
|
name?: string | PipelineRef;
|
|
6041
6623
|
};
|
|
6624
|
+
/**
|
|
6625
|
+
* Renames many labels of a document, parts, instances or assemblies, in one change.
|
|
6626
|
+
*
|
|
6627
|
+
* `names` holds each label's new name, in the order of `labels`. A label that is no part,
|
|
6628
|
+
* instance or assembly, a name that is not text, a count unlike the labels' or a label given two
|
|
6629
|
+
* names is refused before any is renamed.
|
|
6630
|
+
*/
|
|
6631
|
+
"occt.assembly.manager.setDocLabelNames": {
|
|
6632
|
+
/** The labels of the parts, instances or assemblies to rename, such as `0:1:1:1`. */
|
|
6633
|
+
labels: unknown[] | PipelineRef;
|
|
6634
|
+
/** The new name of each label in `labels`, in the same order; the lists are equally long. */
|
|
6635
|
+
names: unknown[] | PipelineRef;
|
|
6636
|
+
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
6637
|
+
document: unknown | PipelineRef;
|
|
6638
|
+
};
|
|
6042
6639
|
/**
|
|
6043
6640
|
* Reads the whole assembly tree of a document as a flat list of nodes with their parents, so it
|
|
6044
6641
|
* can be walked or shown as a tree.
|
|
@@ -6051,6 +6648,32 @@ export interface OperationParams {
|
|
|
6051
6648
|
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
6052
6649
|
document: unknown | PipelineRef;
|
|
6053
6650
|
};
|
|
6651
|
+
/**
|
|
6652
|
+
* Reads the dimensions, tolerances and datums a document carries as a STEP AP242 file draws
|
|
6653
|
+
* them, and the views the file saved.
|
|
6654
|
+
*
|
|
6655
|
+
* Each has its plane, its lines as polylines and its letters as loops to fill even-odd, in the
|
|
6656
|
+
* document's axes and units or turned Y-up; a part placed twice shows its annotations twice.
|
|
6657
|
+
* Experimental.
|
|
6658
|
+
*/
|
|
6659
|
+
"occt.assembly.query.getDocumentAnnotations": {
|
|
6660
|
+
/**
|
|
6661
|
+
* The document from `loadStepToDoc` or another loader, holding the annotations a STEP AP242
|
|
6662
|
+
* file brings along.
|
|
6663
|
+
*/
|
|
6664
|
+
document: unknown | PipelineRef;
|
|
6665
|
+
/**
|
|
6666
|
+
* How far, in the document's units, a curved annotation line may stray from its curve; smaller
|
|
6667
|
+
* draws circles and arcs with more points, up to about 130 points a circle.
|
|
6668
|
+
*/
|
|
6669
|
+
deflection?: number | PipelineRef;
|
|
6670
|
+
/**
|
|
6671
|
+
* Whether the annotations and saved views turn, as `docToMesh` with the same `upAxis` turns the
|
|
6672
|
+
* parts: `zUpToYUp` from Z-up into Y-up, `yUpToZUp` into Z-up, and `keep` leaves the
|
|
6673
|
+
* document's axes.
|
|
6674
|
+
*/
|
|
6675
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
6676
|
+
};
|
|
6054
6677
|
/**
|
|
6055
6678
|
* Lists every part and sub-assembly in a document with its label, name, type, color and how
|
|
6056
6679
|
* many times it is placed.
|
|
@@ -6062,12 +6685,12 @@ export interface OperationParams {
|
|
|
6062
6685
|
document: unknown | PipelineRef;
|
|
6063
6686
|
};
|
|
6064
6687
|
/**
|
|
6065
|
-
* Reads the product manufacturing information a document holds,
|
|
6066
|
-
*
|
|
6688
|
+
* Reads the product manufacturing information a document holds: dimensions, geometric tolerances
|
|
6689
|
+
* and the datums they refer to, each under its own label.
|
|
6067
6690
|
*
|
|
6068
|
-
* Each entry names its shapes by label, which `getShapeFromLabel` reads
|
|
6069
|
-
*
|
|
6070
|
-
* any gives empty lists.
|
|
6691
|
+
* Each entry names its shapes by label, which `getShapeFromLabel` reads, and in `shapeRefs` as the
|
|
6692
|
+
* part and index `manager.addDocumentPmi` takes. Lengths are in the document's unit, angles in
|
|
6693
|
+
* degrees; a document without any gives empty lists.
|
|
6071
6694
|
*/
|
|
6072
6695
|
"occt.assembly.query.getDocumentPmi": {
|
|
6073
6696
|
/** The document from `buildAssemblyDocument` or `loadStepToDoc`. */
|
|
@@ -6895,8 +7518,13 @@ export interface OperationParams {
|
|
|
6895
7518
|
*/
|
|
6896
7519
|
relativeDeflection?: boolean | PipelineRef;
|
|
6897
7520
|
/**
|
|
6898
|
-
*
|
|
6899
|
-
*
|
|
7521
|
+
* `zUpToYUp` turns the mesh from the file's Z-up into Y-up, as `io.loadSTEPorIGES` turns a
|
|
7522
|
+
* shape; `yUpToZUp` makes it Z-up for tools that treat Z as up; `keep` leaves it.
|
|
7523
|
+
*/
|
|
7524
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
7525
|
+
/**
|
|
7526
|
+
* When true, the mesh turns as `upAxis` `yUpToZUp` does; false, its old default, decides nothing.
|
|
7527
|
+
* True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
6900
7528
|
*/
|
|
6901
7529
|
adjustYtoZ?: boolean | PipelineRef;
|
|
6902
7530
|
/**
|
|
@@ -6946,8 +7574,13 @@ export interface OperationParams {
|
|
|
6946
7574
|
*/
|
|
6947
7575
|
relativeDeflection?: boolean | PipelineRef;
|
|
6948
7576
|
/**
|
|
6949
|
-
*
|
|
6950
|
-
*
|
|
7577
|
+
* `zUpToYUp` turns the meshes from the file's Z-up into Y-up, as `io.loadSTEPorIGES` turns a
|
|
7578
|
+
* shape; `yUpToZUp` makes them Z-up for tools that treat Z as up; `keep` leaves them.
|
|
7579
|
+
*/
|
|
7580
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
7581
|
+
/**
|
|
7582
|
+
* When true, the meshes turn as `upAxis` `yUpToZUp` does; false, its old default, decides nothing.
|
|
7583
|
+
* True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
6951
7584
|
*/
|
|
6952
7585
|
adjustYtoZ?: boolean | PipelineRef;
|
|
6953
7586
|
/**
|
|
@@ -8336,11 +8969,14 @@ export interface OperationParams {
|
|
|
8336
8969
|
shape: unknown | PipelineRef;
|
|
8337
8970
|
/** The edges to round, all with the same radius profile. */
|
|
8338
8971
|
edges: unknown[] | PipelineRef;
|
|
8339
|
-
/**
|
|
8972
|
+
/**
|
|
8973
|
+
* The radius in model units, above 0, at each position in `paramsU`; the lists must have the
|
|
8974
|
+
* same length.
|
|
8975
|
+
*/
|
|
8340
8976
|
radiusList: number[] | PipelineRef;
|
|
8341
8977
|
/**
|
|
8342
|
-
* Where each radius applies on every edge, read as for `filletEdgeVariableRadius`:
|
|
8343
|
-
*
|
|
8978
|
+
* Where each radius applies on every edge, read as for `filletEdgeVariableRadius`: a fraction of
|
|
8979
|
+
* each edge's own length from the start of its curve.
|
|
8344
8980
|
*/
|
|
8345
8981
|
paramsU: number[] | PipelineRef;
|
|
8346
8982
|
};
|
|
@@ -8353,11 +8989,14 @@ export interface OperationParams {
|
|
|
8353
8989
|
shape: unknown | PipelineRef;
|
|
8354
8990
|
/** The edges to round, all with the same radius profile. */
|
|
8355
8991
|
edges: unknown[] | PipelineRef;
|
|
8356
|
-
/**
|
|
8992
|
+
/**
|
|
8993
|
+
* The radius in model units, above 0, at each position in `paramsU`; the lists must have the
|
|
8994
|
+
* same length.
|
|
8995
|
+
*/
|
|
8357
8996
|
radiusList: number[] | PipelineRef;
|
|
8358
8997
|
/**
|
|
8359
|
-
* Where each radius applies on every edge, read as for `filletEdgeVariableRadius`:
|
|
8360
|
-
*
|
|
8998
|
+
* Where each radius applies on every edge, read as for `filletEdgeVariableRadius`: a fraction of
|
|
8999
|
+
* each edge's own length from the start of its curve.
|
|
8361
9000
|
*/
|
|
8362
9001
|
paramsU: number[] | PipelineRef;
|
|
8363
9002
|
};
|
|
@@ -8379,8 +9018,8 @@ export interface OperationParams {
|
|
|
8379
9018
|
*/
|
|
8380
9019
|
radiusLists: unknown[] | PipelineRef;
|
|
8381
9020
|
/**
|
|
8382
|
-
* One list per edge
|
|
8383
|
-
*
|
|
9021
|
+
* One list of positions per edge, each a fraction of that edge's own length as
|
|
9022
|
+
* `filletEdgeVariableRadius` reads it, pairing with the matching list in `radiusLists`.
|
|
8384
9023
|
*/
|
|
8385
9024
|
paramsULists: unknown[] | PipelineRef;
|
|
8386
9025
|
};
|
|
@@ -8399,8 +9038,8 @@ export interface OperationParams {
|
|
|
8399
9038
|
*/
|
|
8400
9039
|
radiusLists: unknown[] | PipelineRef;
|
|
8401
9040
|
/**
|
|
8402
|
-
* One list per edge
|
|
8403
|
-
*
|
|
9041
|
+
* One list of positions per edge, each a fraction of that edge's own length as
|
|
9042
|
+
* `filletEdgeVariableRadius` reads it, pairing with the matching list in `radiusLists`.
|
|
8404
9043
|
*/
|
|
8405
9044
|
paramsULists: unknown[] | PipelineRef;
|
|
8406
9045
|
};
|
|
@@ -8431,20 +9070,23 @@ export interface OperationParams {
|
|
|
8431
9070
|
/**
|
|
8432
9071
|
* Rounds one edge of a shape with a radius that changes along it.
|
|
8433
9072
|
*
|
|
8434
|
-
* `radiusList` holds the radius at each `paramsU` position
|
|
8435
|
-
*
|
|
8436
|
-
*
|
|
9073
|
+
* `radiusList` holds the radius at each `paramsU` position, a fraction of the edge's length from
|
|
9074
|
+
* its curve's start, whatever its orientation; between positions it may overshoot. A position
|
|
9075
|
+
* outside 0 to 1, a radius not above 0 or one position with two radii is refused.
|
|
8437
9076
|
*/
|
|
8438
9077
|
"occt.fillets.filletEdgeVariableRadius": {
|
|
8439
9078
|
/** The shape the edge belongs to. */
|
|
8440
9079
|
shape: unknown | PipelineRef;
|
|
8441
9080
|
/** The edge to round with a changing radius. */
|
|
8442
9081
|
edge: unknown | PipelineRef;
|
|
8443
|
-
/**
|
|
9082
|
+
/**
|
|
9083
|
+
* The radius in model units, above 0, at each position in `paramsU`; the lists must have the
|
|
9084
|
+
* same length.
|
|
9085
|
+
*/
|
|
8444
9086
|
radiusList: number[] | PipelineRef;
|
|
8445
9087
|
/**
|
|
8446
|
-
* Where each radius applies:
|
|
8447
|
-
*
|
|
9088
|
+
* Where each radius applies: a fraction of the edge's length from the start of its curve, 0 to 1,
|
|
9089
|
+
* in any order; an end without one takes the nearest radius.
|
|
8448
9090
|
*/
|
|
8449
9091
|
paramsU: number[] | PipelineRef;
|
|
8450
9092
|
};
|
|
@@ -8457,11 +9099,14 @@ export interface OperationParams {
|
|
|
8457
9099
|
shape: unknown | PipelineRef;
|
|
8458
9100
|
/** The edge to round with a changing radius. */
|
|
8459
9101
|
edge: unknown | PipelineRef;
|
|
8460
|
-
/**
|
|
9102
|
+
/**
|
|
9103
|
+
* The radius in model units, above 0, at each position in `paramsU`; the lists must have the
|
|
9104
|
+
* same length.
|
|
9105
|
+
*/
|
|
8461
9106
|
radiusList: number[] | PipelineRef;
|
|
8462
9107
|
/**
|
|
8463
|
-
* Where each radius applies:
|
|
8464
|
-
*
|
|
9108
|
+
* Where each radius applies: a fraction of the edge's length from the start of its curve, 0 to 1,
|
|
9109
|
+
* in any order; an end without one takes the nearest radius.
|
|
8465
9110
|
*/
|
|
8466
9111
|
paramsU: number[] | PipelineRef;
|
|
8467
9112
|
};
|
|
@@ -8680,8 +9325,8 @@ export interface OperationParams {
|
|
|
8680
9325
|
*/
|
|
8681
9326
|
meshRelative?: boolean | PipelineRef;
|
|
8682
9327
|
/**
|
|
8683
|
-
* When true,
|
|
8684
|
-
*
|
|
9328
|
+
* When true, flat and cylindrical faces get vertices inside them, not only along their edges;
|
|
9329
|
+
* when false, triangles can cut straight across a wide cylindrical face such as a bore.
|
|
8685
9330
|
*/
|
|
8686
9331
|
internalVerticesMode?: boolean | PipelineRef;
|
|
8687
9332
|
/**
|
|
@@ -8708,7 +9353,15 @@ export interface OperationParams {
|
|
|
8708
9353
|
* `mat4` always as a matrix, `trs` always as the three parts.
|
|
8709
9354
|
*/
|
|
8710
9355
|
transformFormat?: "compact" | "mat4" | "trs" | PipelineRef;
|
|
8711
|
-
/**
|
|
9356
|
+
/**
|
|
9357
|
+
* Whether the model turns: `zUpToYUp` turns the file's Z-up into glTF's Y-up, and `keep` keeps
|
|
9358
|
+
* Z up. `yUpToZUp` is refused.
|
|
9359
|
+
*/
|
|
9360
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
9361
|
+
/**
|
|
9362
|
+
* When false, the model keeps its axes as `keep` does; true, its old default, decides nothing.
|
|
9363
|
+
* False wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9364
|
+
*/
|
|
8712
9365
|
adjustZtoY?: boolean | PipelineRef;
|
|
8713
9366
|
/**
|
|
8714
9367
|
* A factor applied to the whole model, such as 0.001 to turn millimeters into meters; 1 keeps
|
|
@@ -8765,8 +9418,8 @@ export interface OperationParams {
|
|
|
8765
9418
|
*/
|
|
8766
9419
|
meshRelative?: boolean | PipelineRef;
|
|
8767
9420
|
/**
|
|
8768
|
-
* When true,
|
|
8769
|
-
*
|
|
9421
|
+
* When true, flat and cylindrical faces get vertices inside them, not only along their edges;
|
|
9422
|
+
* when false, triangles can cut straight across a wide cylindrical face such as a bore.
|
|
8770
9423
|
*/
|
|
8771
9424
|
internalVerticesMode?: boolean | PipelineRef;
|
|
8772
9425
|
/**
|
|
@@ -8793,7 +9446,15 @@ export interface OperationParams {
|
|
|
8793
9446
|
* `mat4` always as a matrix, `trs` always as the three parts.
|
|
8794
9447
|
*/
|
|
8795
9448
|
transformFormat?: "compact" | "mat4" | "trs" | PipelineRef;
|
|
8796
|
-
/**
|
|
9449
|
+
/**
|
|
9450
|
+
* Whether the model turns: `zUpToYUp` turns the file's Z-up into glTF's Y-up, and `keep` keeps
|
|
9451
|
+
* Z up. `yUpToZUp` is refused.
|
|
9452
|
+
*/
|
|
9453
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
9454
|
+
/**
|
|
9455
|
+
* When false, the model keeps its axes as `keep` does; true, its old default, decides nothing.
|
|
9456
|
+
* False wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9457
|
+
*/
|
|
8797
9458
|
adjustZtoY?: boolean | PipelineRef;
|
|
8798
9459
|
/**
|
|
8799
9460
|
* A factor applied to the whole model, such as 0.001 to turn millimeters into meters; 1 keeps
|
|
@@ -8852,8 +9513,8 @@ export interface OperationParams {
|
|
|
8852
9513
|
*/
|
|
8853
9514
|
meshRelative?: boolean | PipelineRef;
|
|
8854
9515
|
/**
|
|
8855
|
-
* When true,
|
|
8856
|
-
*
|
|
9516
|
+
* When true, flat and cylindrical faces get vertices inside them, not only along their edges;
|
|
9517
|
+
* when false, triangles can cut straight across a wide cylindrical face such as a bore.
|
|
8857
9518
|
*/
|
|
8858
9519
|
internalVerticesMode?: boolean | PipelineRef;
|
|
8859
9520
|
/**
|
|
@@ -9054,7 +9715,7 @@ export interface OperationParams {
|
|
|
9054
9715
|
* that carries the whole mesh.
|
|
9055
9716
|
*
|
|
9056
9717
|
* With `asFaces` true the faces share their corners' edges in a compound that
|
|
9057
|
-
* `shapeFix.sewWithReport` can join into a shell. `
|
|
9718
|
+
* `shapeFix.sewWithReport` can join into a shell. `upAxis` `zUpToYUp` turns Z-up into Y-up, and a file
|
|
9058
9719
|
* without triangles is refused.
|
|
9059
9720
|
*/
|
|
9060
9721
|
"occt.io.loadStl": {
|
|
@@ -9068,7 +9729,15 @@ export interface OperationParams {
|
|
|
9068
9729
|
* one face carries the whole mesh, light to draw but not for modelling.
|
|
9069
9730
|
*/
|
|
9070
9731
|
asFaces?: boolean | PipelineRef;
|
|
9071
|
-
/**
|
|
9732
|
+
/**
|
|
9733
|
+
* Whether the shape turns: `zUpToYUp` turns the file's Z-up into this library's Y-up, and `keep`
|
|
9734
|
+
* leaves the file's axes. `yUpToZUp` is refused.
|
|
9735
|
+
*/
|
|
9736
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
9737
|
+
/**
|
|
9738
|
+
* When false, the shape keeps its axes as `keep` does; true, its old default, decides nothing.
|
|
9739
|
+
* False wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9740
|
+
*/
|
|
9072
9741
|
adjustZtoY?: boolean | PipelineRef;
|
|
9073
9742
|
};
|
|
9074
9743
|
/**
|
|
@@ -9269,7 +9938,7 @@ export interface OperationParams {
|
|
|
9269
9938
|
* browser download of the file.
|
|
9270
9939
|
*
|
|
9271
9940
|
* `precision` is the meshing tolerance in model units. With the conventions set the file shows
|
|
9272
|
-
* what the screen shows, Z-up
|
|
9941
|
+
* what the screen shows, Z-up under `yUpToZUp`. The file name may hold no spaces or slashes;
|
|
9273
9942
|
* `saveShapeObjAndReturn` gives the text instead.
|
|
9274
9943
|
*/
|
|
9275
9944
|
"occt.io.saveShapeObj": {
|
|
@@ -9286,8 +9955,13 @@ export interface OperationParams {
|
|
|
9286
9955
|
*/
|
|
9287
9956
|
precision?: number | PipelineRef;
|
|
9288
9957
|
/**
|
|
9289
|
-
*
|
|
9290
|
-
*
|
|
9958
|
+
* `yUpToZUp` writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set;
|
|
9959
|
+
* `keep` writes the model's axes. `zUpToYUp` is refused.
|
|
9960
|
+
*/
|
|
9961
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
9962
|
+
/**
|
|
9963
|
+
* When true, the file is turned as `upAxis` `yUpToZUp` does; false, its old default, decides
|
|
9964
|
+
* nothing. True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9291
9965
|
*/
|
|
9292
9966
|
adjustYtoZ?: boolean | PipelineRef;
|
|
9293
9967
|
/**
|
|
@@ -9301,7 +9975,7 @@ export interface OperationParams {
|
|
|
9301
9975
|
* the file's text.
|
|
9302
9976
|
*
|
|
9303
9977
|
* `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
|
|
9978
|
+
* the conventions set the file shows what the screen shows, Z-up under `yUpToZUp`. `mtl` stays
|
|
9305
9979
|
* empty, since a shape carries no colors; `assembly.manager.exportDocumentToObj` writes colored
|
|
9306
9980
|
* parts.
|
|
9307
9981
|
*/
|
|
@@ -9319,8 +9993,13 @@ export interface OperationParams {
|
|
|
9319
9993
|
*/
|
|
9320
9994
|
precision?: number | PipelineRef;
|
|
9321
9995
|
/**
|
|
9322
|
-
*
|
|
9323
|
-
*
|
|
9996
|
+
* `yUpToZUp` writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set;
|
|
9997
|
+
* `keep` writes the model's axes. `zUpToYUp` is refused.
|
|
9998
|
+
*/
|
|
9999
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
10000
|
+
/**
|
|
10001
|
+
* When true, the file is turned as `upAxis` `yUpToZUp` does; false, its old default, decides
|
|
10002
|
+
* nothing. True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9324
10003
|
*/
|
|
9325
10004
|
adjustYtoZ?: boolean | PipelineRef;
|
|
9326
10005
|
/**
|
|
@@ -9334,7 +10013,7 @@ export interface OperationParams {
|
|
|
9334
10013
|
* download of the file.
|
|
9335
10014
|
*
|
|
9336
10015
|
* `precision` is the meshing tolerance in model units. With the conventions set the file shows
|
|
9337
|
-
* what the screen shows, Z-up
|
|
10016
|
+
* what the screen shows, Z-up under `yUpToZUp`. `fileName` names the download and
|
|
9338
10017
|
* `tryDownload` false skips it; `saveShapePlyAndReturn` gives the text instead.
|
|
9339
10018
|
*/
|
|
9340
10019
|
"occt.io.saveShapePly": {
|
|
@@ -9348,8 +10027,13 @@ export interface OperationParams {
|
|
|
9348
10027
|
*/
|
|
9349
10028
|
precision?: number | PipelineRef;
|
|
9350
10029
|
/**
|
|
9351
|
-
*
|
|
9352
|
-
*
|
|
10030
|
+
* `yUpToZUp` writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set;
|
|
10031
|
+
* `keep` writes the model's axes. `zUpToYUp` is refused.
|
|
10032
|
+
*/
|
|
10033
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
10034
|
+
/**
|
|
10035
|
+
* When true, the file is turned as `upAxis` `yUpToZUp` does; false, its old default, decides
|
|
10036
|
+
* nothing. True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9353
10037
|
*/
|
|
9354
10038
|
adjustYtoZ?: boolean | PipelineRef;
|
|
9355
10039
|
/**
|
|
@@ -9364,7 +10048,7 @@ export interface OperationParams {
|
|
|
9364
10048
|
*
|
|
9365
10049
|
* Coordinates keep six significant digits, so past 1000 units they keep two decimals.
|
|
9366
10050
|
* `precision` is the meshing tolerance in model units. With the conventions set the file shows
|
|
9367
|
-
* what the screen shows, Z-up
|
|
10051
|
+
* what the screen shows, Z-up under `yUpToZUp`.
|
|
9368
10052
|
*/
|
|
9369
10053
|
"occt.io.saveShapePlyAndReturn": {
|
|
9370
10054
|
/** The shape written to the file. */
|
|
@@ -9377,8 +10061,13 @@ export interface OperationParams {
|
|
|
9377
10061
|
*/
|
|
9378
10062
|
precision?: number | PipelineRef;
|
|
9379
10063
|
/**
|
|
9380
|
-
*
|
|
9381
|
-
*
|
|
10064
|
+
* `yUpToZUp` writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set;
|
|
10065
|
+
* `keep` writes the model's axes. `zUpToYUp` is refused.
|
|
10066
|
+
*/
|
|
10067
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
10068
|
+
/**
|
|
10069
|
+
* When true, the file is turned as `upAxis` `yUpToZUp` does; false, its old default, decides
|
|
10070
|
+
* nothing. True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9382
10071
|
*/
|
|
9383
10072
|
adjustYtoZ?: boolean | PipelineRef;
|
|
9384
10073
|
/**
|
|
@@ -9391,7 +10080,7 @@ export interface OperationParams {
|
|
|
9391
10080
|
* Writes a shape as STEP, the exchange format for exact CAD geometry, and starts a browser
|
|
9392
10081
|
* download of the file.
|
|
9393
10082
|
*
|
|
9394
|
-
* With `
|
|
10083
|
+
* With `upAxis` `yUpToZUp` the file is Z-up: with the conventions set it shows what the screen
|
|
9395
10084
|
* shows, without them Y and Z are swapped. The file is in millimetres;
|
|
9396
10085
|
* `saveShapeSTEPAndReturn` returns the text.
|
|
9397
10086
|
*/
|
|
@@ -9401,12 +10090,17 @@ export interface OperationParams {
|
|
|
9401
10090
|
/** The name the downloaded file gets; `.step` is appended when missing. */
|
|
9402
10091
|
fileName?: string | PipelineRef;
|
|
9403
10092
|
/**
|
|
9404
|
-
*
|
|
9405
|
-
*
|
|
10093
|
+
* `yUpToZUp` writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set;
|
|
10094
|
+
* `keep` writes the model's axes. `zUpToYUp` is refused.
|
|
10095
|
+
*/
|
|
10096
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
10097
|
+
/**
|
|
10098
|
+
* When true, the file is turned as `upAxis` `yUpToZUp` does; false, its old default, decides
|
|
10099
|
+
* nothing. True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9406
10100
|
*/
|
|
9407
10101
|
adjustYtoZ?: boolean | PipelineRef;
|
|
9408
10102
|
/**
|
|
9409
|
-
* When true, `
|
|
10103
|
+
* When true, `upAxis` `yUpToZUp` turns the shape 90 degrees about X instead of swapping, for a
|
|
9410
10104
|
* right-handed scene.
|
|
9411
10105
|
*/
|
|
9412
10106
|
fromRightHanded?: boolean | PipelineRef;
|
|
@@ -9424,7 +10118,7 @@ export interface OperationParams {
|
|
|
9424
10118
|
/**
|
|
9425
10119
|
* Writes a shape as STEP, the exchange format for exact CAD geometry, and returns its text.
|
|
9426
10120
|
*
|
|
9427
|
-
* With `
|
|
10121
|
+
* With `upAxis` `yUpToZUp` the file is Z-up, as CAD programs expect: with the conventions set it
|
|
9428
10122
|
* shows what the screen shows, and without them Y and Z are swapped. The file is in
|
|
9429
10123
|
* millimetres, a shape in another `unit` scaled to them.
|
|
9430
10124
|
*/
|
|
@@ -9434,12 +10128,17 @@ export interface OperationParams {
|
|
|
9434
10128
|
/** The name the downloaded file gets; `.step` is appended when missing. */
|
|
9435
10129
|
fileName?: string | PipelineRef;
|
|
9436
10130
|
/**
|
|
9437
|
-
*
|
|
9438
|
-
*
|
|
10131
|
+
* `yUpToZUp` writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set;
|
|
10132
|
+
* `keep` writes the model's axes. `zUpToYUp` is refused.
|
|
10133
|
+
*/
|
|
10134
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
10135
|
+
/**
|
|
10136
|
+
* When true, the file is turned as `upAxis` `yUpToZUp` does; false, its old default, decides
|
|
10137
|
+
* nothing. True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9439
10138
|
*/
|
|
9440
10139
|
adjustYtoZ?: boolean | PipelineRef;
|
|
9441
10140
|
/**
|
|
9442
|
-
* When true, `
|
|
10141
|
+
* When true, `upAxis` `yUpToZUp` turns the shape 90 degrees about X instead of swapping, for a
|
|
9443
10142
|
* right-handed scene.
|
|
9444
10143
|
*/
|
|
9445
10144
|
fromRightHanded?: boolean | PipelineRef;
|
|
@@ -9459,7 +10158,7 @@ export interface OperationParams {
|
|
|
9459
10158
|
* download of the file.
|
|
9460
10159
|
*
|
|
9461
10160
|
* `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
|
|
10161
|
+
* form. With the conventions set the file shows what the screen shows, Z-up under `yUpToZUp`.
|
|
9463
10162
|
* `saveShapeStlAndReturn` gives the file instead.
|
|
9464
10163
|
*/
|
|
9465
10164
|
"occt.io.saveShapeStl": {
|
|
@@ -9473,8 +10172,13 @@ export interface OperationParams {
|
|
|
9473
10172
|
*/
|
|
9474
10173
|
precision?: number | PipelineRef;
|
|
9475
10174
|
/**
|
|
9476
|
-
*
|
|
9477
|
-
*
|
|
10175
|
+
* `yUpToZUp` writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set;
|
|
10176
|
+
* `keep` writes the model's axes. `zUpToYUp` is refused.
|
|
10177
|
+
*/
|
|
10178
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
10179
|
+
/**
|
|
10180
|
+
* When true, the file is turned as `upAxis` `yUpToZUp` does; false, its old default, decides
|
|
10181
|
+
* nothing. True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9478
10182
|
*/
|
|
9479
10183
|
adjustYtoZ?: boolean | PipelineRef;
|
|
9480
10184
|
/**
|
|
@@ -9493,7 +10197,7 @@ export interface OperationParams {
|
|
|
9493
10197
|
* text, or its bytes when `binary` is true.
|
|
9494
10198
|
*
|
|
9495
10199
|
* `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
|
|
10200
|
+
* With the conventions set the file shows what the screen shows, Z-up under `yUpToZUp`.
|
|
9497
10201
|
* `fileName` and `tryDownload` matter only for a download.
|
|
9498
10202
|
*/
|
|
9499
10203
|
"occt.io.saveShapeStlAndReturn": {
|
|
@@ -9507,8 +10211,13 @@ export interface OperationParams {
|
|
|
9507
10211
|
*/
|
|
9508
10212
|
precision?: number | PipelineRef;
|
|
9509
10213
|
/**
|
|
9510
|
-
*
|
|
9511
|
-
*
|
|
10214
|
+
* `yUpToZUp` writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set;
|
|
10215
|
+
* `keep` writes the model's axes. `zUpToYUp` is refused.
|
|
10216
|
+
*/
|
|
10217
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
10218
|
+
/**
|
|
10219
|
+
* When true, the file is turned as `upAxis` `yUpToZUp` does; false, its old default, decides
|
|
10220
|
+
* nothing. True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
9512
10221
|
*/
|
|
9513
10222
|
adjustYtoZ?: boolean | PipelineRef;
|
|
9514
10223
|
/**
|
|
@@ -9894,6 +10603,41 @@ export interface OperationParams {
|
|
|
9894
10603
|
/** The direction and distance of the sweep as one vector, in model units. */
|
|
9895
10604
|
direction?: [number, number, number] | PipelineRef;
|
|
9896
10605
|
};
|
|
10606
|
+
/**
|
|
10607
|
+
* Cuts shapes with the plane of a frame and hatches the cut faces in one call: for each shape its
|
|
10608
|
+
* cut faces, their hatch lines as edges, and each face's hatch as drawing data in the frame's
|
|
10609
|
+
* coordinates.
|
|
10610
|
+
*
|
|
10611
|
+
* The hatches write to DXF or SVG beside `hiddenLines` of the same frame, and `bitbybit.draw`
|
|
10612
|
+
* draws the result. Experimental.
|
|
10613
|
+
*/
|
|
10614
|
+
"occt.operations.hatchedSectionByFrame": {
|
|
10615
|
+
/** The shapes to cut, such as the parts of an assembly; each gives its own cut faces. */
|
|
10616
|
+
shapes: unknown[] | PipelineRef;
|
|
10617
|
+
/**
|
|
10618
|
+
* The plane to cut along, through the frame's origin square to its normal, which points at the
|
|
10619
|
+
* side taken away; the hatch data takes its direction as X.
|
|
10620
|
+
*/
|
|
10621
|
+
frame: unknown | PipelineRef;
|
|
10622
|
+
/** What the cut faces are filled with: single lines, pairs, crossed lines or solid ink. */
|
|
10623
|
+
pattern?: "solid" | "ansi31" | "ansi32" | "ansi37" | PipelineRef;
|
|
10624
|
+
/** The angle of the hatch lines in degrees, counterclockwise from the frame's direction. */
|
|
10625
|
+
angle?: number | PipelineRef;
|
|
10626
|
+
/** The distance between the hatch lines, in model units. */
|
|
10627
|
+
spacing?: number | PipelineRef;
|
|
10628
|
+
/**
|
|
10629
|
+
* When true, a shape whose cut faces come within `spacing` of an earlier shape's is hatched at
|
|
10630
|
+
* another angle, `angle` plus 90, 30, 120, 60 or 150.
|
|
10631
|
+
*/
|
|
10632
|
+
neighbourAngles?: boolean | PipelineRef;
|
|
10633
|
+
/**
|
|
10634
|
+
* How far, in model units, a curved cut edge may stray from the straight pieces the hatch lines
|
|
10635
|
+
* are clipped against.
|
|
10636
|
+
*/
|
|
10637
|
+
curveTolerance?: number | PipelineRef;
|
|
10638
|
+
/** How close the ends of two section edges must lie to be joined into one wire, in model units. */
|
|
10639
|
+
tolerance?: number | PipelineRef;
|
|
10640
|
+
};
|
|
9897
10641
|
/**
|
|
9898
10642
|
* Draws a shape seen from a view frame as a technical drawing does, flat on the XZ plane: the
|
|
9899
10643
|
* edges the eye sees and those that faces hide.
|
|
@@ -9920,8 +10664,8 @@ export interface OperationParams {
|
|
|
9920
10664
|
*/
|
|
9921
10665
|
smoothEdges?: boolean | PipelineRef;
|
|
9922
10666
|
/**
|
|
9923
|
-
* When true, the edges that faces cover are
|
|
9924
|
-
* empty.
|
|
10667
|
+
* When true, the edges that faces cover are drawn too; when false, the hidden part of the
|
|
10668
|
+
* result stays empty.
|
|
9925
10669
|
*/
|
|
9926
10670
|
hiddenEdges?: boolean | PipelineRef;
|
|
9927
10671
|
/**
|
|
@@ -9934,6 +10678,58 @@ export interface OperationParams {
|
|
|
9934
10678
|
* faces more closely.
|
|
9935
10679
|
*/
|
|
9936
10680
|
precision?: number | PipelineRef;
|
|
10681
|
+
/**
|
|
10682
|
+
* When true, the drawing is tidied: a curve seen edge-on becomes a line, and a hidden edge
|
|
10683
|
+
* lying wholly under other edges is left out.
|
|
10684
|
+
*/
|
|
10685
|
+
tidy?: boolean | PipelineRef;
|
|
10686
|
+
};
|
|
10687
|
+
/**
|
|
10688
|
+
* Draws a shape as `hiddenLines` does, with the edges sorted by kind, so a drawing can give
|
|
10689
|
+
* each its own line weight.
|
|
10690
|
+
*
|
|
10691
|
+
* `sharp` holds the edges where faces meet at an angle, `outline` the silhouettes of curved
|
|
10692
|
+
* faces and `smooth` the edges where faces meet without a crease; `hiddenSharp`,
|
|
10693
|
+
* `hiddenOutline` and `hiddenSmooth` hold the same where faces cover them.
|
|
10694
|
+
*/
|
|
10695
|
+
"occt.operations.hiddenLinesByKind": {
|
|
10696
|
+
/** The shape to draw. */
|
|
10697
|
+
shape: unknown | PipelineRef;
|
|
10698
|
+
/**
|
|
10699
|
+
* The view: the eye sits on the side the normal points to and looks back along it, and the
|
|
10700
|
+
* drawing's x runs along the direction from the frame's origin.
|
|
10701
|
+
*/
|
|
10702
|
+
frame: unknown | PipelineRef;
|
|
10703
|
+
/**
|
|
10704
|
+
* When true, the drawing is made from the exact geometry; when false, from a mesh, which is
|
|
10705
|
+
* faster and draws parallel views only.
|
|
10706
|
+
*/
|
|
10707
|
+
exact?: boolean | PipelineRef;
|
|
10708
|
+
/**
|
|
10709
|
+
* When true, the edges where faces meet without a crease, such as the borders of a fillet, are
|
|
10710
|
+
* drawn too.
|
|
10711
|
+
*/
|
|
10712
|
+
smoothEdges?: boolean | PipelineRef;
|
|
10713
|
+
/**
|
|
10714
|
+
* When true, the edges that faces cover are drawn too; when false, the hidden part of the
|
|
10715
|
+
* result stays empty.
|
|
10716
|
+
*/
|
|
10717
|
+
hiddenEdges?: boolean | PipelineRef;
|
|
10718
|
+
/**
|
|
10719
|
+
* How far the eye sits from the frame's origin along its normal for a perspective, in model
|
|
10720
|
+
* units; 0 draws a parallel view. A perspective needs `exact`.
|
|
10721
|
+
*/
|
|
10722
|
+
focus?: number | PipelineRef;
|
|
10723
|
+
/**
|
|
10724
|
+
* The meshing tolerance in model units when `exact` is false; a smaller value follows curved
|
|
10725
|
+
* faces more closely.
|
|
10726
|
+
*/
|
|
10727
|
+
precision?: number | PipelineRef;
|
|
10728
|
+
/**
|
|
10729
|
+
* When true, the drawing is tidied: a curve seen edge-on becomes a line, and a hidden edge
|
|
10730
|
+
* lying wholly under other edges is left out.
|
|
10731
|
+
*/
|
|
10732
|
+
tidy?: boolean | PipelineRef;
|
|
9937
10733
|
};
|
|
9938
10734
|
/**
|
|
9939
10735
|
* Builds a surface through a series of wires, like skin stretched over ribs: each wire is one
|
|
@@ -13100,8 +13896,13 @@ export interface OperationParams {
|
|
|
13100
13896
|
*/
|
|
13101
13897
|
recipe: unknown | PipelineRef;
|
|
13102
13898
|
/**
|
|
13103
|
-
*
|
|
13104
|
-
*
|
|
13899
|
+
* `zUpToYUp` turns each shape a quarter turn about X so the recipe's Z points along Y, and
|
|
13900
|
+
* `(x, y, z)` becomes `(x, z, -y)`; `keep` leaves them. `yUpToZUp` is refused.
|
|
13901
|
+
*/
|
|
13902
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
13903
|
+
/**
|
|
13904
|
+
* When true, the shapes turn as `upAxis` `zUpToYUp` does; false, its old default, decides nothing.
|
|
13905
|
+
* True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
13105
13906
|
*/
|
|
13106
13907
|
adjustZtoY?: boolean | PipelineRef;
|
|
13107
13908
|
/**
|
|
@@ -13628,7 +14429,7 @@ export interface OperationParams {
|
|
|
13628
14429
|
* faces.
|
|
13629
14430
|
*
|
|
13630
14431
|
* `precision` is the meshing tolerance in model units: smaller values follow curved surfaces
|
|
13631
|
-
* more closely and give more triangles. `
|
|
14432
|
+
* more closely and give more triangles. `upAxis` `yUpToZUp` makes the points Z-up for tools that treat
|
|
13632
14433
|
* Z as up, and `reversedPoints` flips the winding of each triangle.
|
|
13633
14434
|
*/
|
|
13634
14435
|
"occt.shapeFacesToPolygonPoints": {
|
|
@@ -13640,8 +14441,13 @@ export interface OperationParams {
|
|
|
13640
14441
|
*/
|
|
13641
14442
|
precision?: number | PipelineRef;
|
|
13642
14443
|
/**
|
|
13643
|
-
*
|
|
13644
|
-
*
|
|
14444
|
+
* `yUpToZUp` makes the points Z-up for tools that treat Z as up, turned about X when right-handed,
|
|
14445
|
+
* else with Y and Z swapped; `keep` leaves them. `zUpToYUp` is refused.
|
|
14446
|
+
*/
|
|
14447
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
14448
|
+
/**
|
|
14449
|
+
* When true, the points turn as `upAxis` `yUpToZUp` does; false, its old default, decides nothing.
|
|
14450
|
+
* True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
13645
14451
|
*/
|
|
13646
14452
|
adjustYtoZ?: boolean | PipelineRef;
|
|
13647
14453
|
/**
|
|
@@ -18771,8 +19577,13 @@ export interface OperationParams {
|
|
|
18771
19577
|
*/
|
|
18772
19578
|
precisionShare?: number | PipelineRef;
|
|
18773
19579
|
/**
|
|
18774
|
-
*
|
|
18775
|
-
*
|
|
19580
|
+
* `yUpToZUp` makes the meshes Z-up for tools that treat Z as up, turned about X when right-handed,
|
|
19581
|
+
* else with Y and Z swapped; `keep` leaves them. `zUpToYUp` is refused.
|
|
19582
|
+
*/
|
|
19583
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
19584
|
+
/**
|
|
19585
|
+
* When true, the meshes turn as `upAxis` `yUpToZUp` does; false, its old default, decides nothing.
|
|
19586
|
+
* True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
18776
19587
|
*/
|
|
18777
19588
|
adjustYtoZ?: boolean | PipelineRef;
|
|
18778
19589
|
/**
|
|
@@ -18862,8 +19673,13 @@ export interface OperationParams {
|
|
|
18862
19673
|
*/
|
|
18863
19674
|
precisionShare?: number | PipelineRef;
|
|
18864
19675
|
/**
|
|
18865
|
-
*
|
|
18866
|
-
*
|
|
19676
|
+
* `yUpToZUp` makes the mesh Z-up for tools that treat Z as up, turned about X when right-handed,
|
|
19677
|
+
* else with Y and Z swapped; `keep` leaves it. `zUpToYUp` is refused.
|
|
19678
|
+
*/
|
|
19679
|
+
upAxis?: "keep" | "zUpToYUp" | "yUpToZUp" | PipelineRef;
|
|
19680
|
+
/**
|
|
19681
|
+
* When true, the mesh turns as `upAxis` `yUpToZUp` does; false, its old default, decides nothing.
|
|
19682
|
+
* True wins over `upAxis` at its default; beside another chosen turn it is refused.
|
|
18867
19683
|
*/
|
|
18868
19684
|
adjustYtoZ?: boolean | PipelineRef;
|
|
18869
19685
|
/**
|
|
@@ -21157,9 +21973,9 @@ export interface OperationParams {
|
|
|
21157
21973
|
/**
|
|
21158
21974
|
* Draws one character as line paths with a simple stroke font.
|
|
21159
21975
|
*
|
|
21160
|
-
* The paths lie flat on the XZ plane,
|
|
21161
|
-
*
|
|
21162
|
-
* mark.
|
|
21976
|
+
* The paths lie flat on the XZ plane, the character `height` tall, and come with its width and
|
|
21977
|
+
* height. Accented Latin letters are drawn with their marks, other unknown characters as a
|
|
21978
|
+
* question mark.
|
|
21163
21979
|
* Example: 'A' at height 10 -> the strokes of an A, 10 units tall
|
|
21164
21980
|
*/
|
|
21165
21981
|
"text.vectorChar": {
|