@faicad/faijs 0.16.0 → 0.17.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/LICENSE +4 -5
- package/NOTICE +5 -6
- package/dist/api/api-namespace.d.ts.map +1 -1
- package/dist/api/api-namespace.js +19 -1
- package/dist/api/api-namespace.js.map +1 -1
- package/dist/api/assembly/entities.d.ts +1 -1
- package/dist/api/assembly/entities.d.ts.map +1 -1
- package/dist/api/assembly/entities.js.map +1 -1
- package/dist/api/assembly/joints.d.ts +2 -2
- package/dist/api/assembly/joints.d.ts.map +1 -1
- package/dist/api/assembly/joints.js +2 -2
- package/dist/api/assembly/joints.js.map +1 -1
- package/dist/api/assembly/lower.d.ts +1 -1
- package/dist/api/assembly/lower.d.ts.map +1 -1
- package/dist/api/assembly/lower.js.map +1 -1
- package/dist/api/assembly/pose.d.ts +3 -3
- package/dist/api/assembly/pose.d.ts.map +1 -1
- package/dist/api/assembly/pose.js +1 -1
- package/dist/api/assembly/pose.js.map +1 -1
- package/dist/api/assembly/preview.d.ts +1 -1
- package/dist/api/assembly/preview.d.ts.map +1 -1
- package/dist/api/assembly/preview.js +1 -1
- package/dist/api/assembly/preview.js.map +1 -1
- package/dist/api/assembly/solve.d.ts.map +1 -1
- package/dist/api/assembly/solve.js +3 -3
- package/dist/api/assembly/solve.js.map +1 -1
- package/dist/api/assembly/solvers/assembly-tree.d.ts +98 -0
- package/dist/api/assembly/solvers/assembly-tree.d.ts.map +1 -0
- package/dist/api/assembly/solvers/assembly-tree.js +130 -0
- package/dist/api/assembly/solvers/assembly-tree.js.map +1 -0
- package/dist/api/assembly/solvers/chain-solver.d.ts +27 -0
- package/dist/api/assembly/solvers/chain-solver.d.ts.map +1 -0
- package/dist/api/assembly/solvers/chain-solver.js +330 -0
- package/dist/api/assembly/solvers/chain-solver.js.map +1 -0
- package/dist/api/assembly/solvers/global-solver.js +2 -2
- package/dist/api/assembly/solvers/global-solver.js.map +1 -1
- package/dist/api/assembly/solvers/joints-kinematics.d.ts +308 -0
- package/dist/api/assembly/solvers/joints-kinematics.d.ts.map +1 -0
- package/dist/api/assembly/solvers/joints-kinematics.js +643 -0
- package/dist/api/assembly/solvers/joints-kinematics.js.map +1 -0
- package/dist/api/assembly/solvers/quat.d.ts +35 -0
- package/dist/api/assembly/solvers/quat.d.ts.map +1 -0
- package/dist/api/assembly/solvers/quat.js +84 -0
- package/dist/api/assembly/solvers/quat.js.map +1 -0
- package/dist/api/assembly/solvers/types.d.ts +33 -0
- package/dist/api/assembly/solvers/types.d.ts.map +1 -1
- package/dist/api/assembly/solvers/types.js.map +1 -1
- package/dist/api/boolean.d.ts.map +1 -1
- package/dist/api/boolean.js +3 -4
- package/dist/api/boolean.js.map +1 -1
- package/dist/api/brep-mirror/booleanFns.d.ts +40 -0
- package/dist/api/brep-mirror/booleanFns.d.ts.map +1 -0
- package/dist/api/brep-mirror/booleanFns.js +99 -0
- package/dist/api/brep-mirror/booleanFns.js.map +1 -0
- package/dist/api/brep-mirror/brepHelpers.d.ts +55 -0
- package/dist/api/brep-mirror/brepHelpers.d.ts.map +1 -0
- package/dist/api/brep-mirror/brepHelpers.js +131 -0
- package/dist/api/brep-mirror/brepHelpers.js.map +1 -0
- package/dist/api/brep-mirror/compoundFns.d.ts +47 -0
- package/dist/api/brep-mirror/compoundFns.d.ts.map +1 -0
- package/dist/api/brep-mirror/compoundFns.js +300 -0
- package/dist/api/brep-mirror/compoundFns.js.map +1 -0
- package/dist/api/brep-mirror/healingFns.d.ts +78 -0
- package/dist/api/brep-mirror/healingFns.d.ts.map +1 -0
- package/dist/api/brep-mirror/healingFns.js +294 -0
- package/dist/api/brep-mirror/healingFns.js.map +1 -0
- package/dist/api/brep-mirror/hullFns.d.ts +20 -0
- package/dist/api/brep-mirror/hullFns.d.ts.map +1 -0
- package/dist/api/brep-mirror/hullFns.js +46 -0
- package/dist/api/brep-mirror/hullFns.js.map +1 -0
- package/dist/api/brep-mirror/patternFns.d.ts +43 -0
- package/dist/api/brep-mirror/patternFns.d.ts.map +1 -0
- package/dist/api/brep-mirror/patternFns.js +178 -0
- package/dist/api/brep-mirror/patternFns.js.map +1 -0
- package/dist/api/brep-mirror/primitiveFns.d.ts +42 -0
- package/dist/api/brep-mirror/primitiveFns.d.ts.map +1 -0
- package/dist/api/brep-mirror/primitiveFns.js +104 -0
- package/dist/api/brep-mirror/primitiveFns.js.map +1 -0
- package/dist/api/brep-mirror/roofFns.d.ts +24 -0
- package/dist/api/brep-mirror/roofFns.d.ts.map +1 -0
- package/dist/api/brep-mirror/roofFns.js +229 -0
- package/dist/api/brep-mirror/roofFns.js.map +1 -0
- package/dist/api/brep-mirror/straightSkeleton.d.ts +36 -0
- package/dist/api/brep-mirror/straightSkeleton.d.ts.map +1 -0
- package/dist/api/brep-mirror/straightSkeleton.js +443 -0
- package/dist/api/brep-mirror/straightSkeleton.js.map +1 -0
- package/dist/api/brep-mirror/sweepFns.d.ts +55 -0
- package/dist/api/brep-mirror/sweepFns.d.ts.map +1 -0
- package/dist/api/brep-mirror/sweepFns.js +200 -0
- package/dist/api/brep-mirror/sweepFns.js.map +1 -0
- package/dist/api/brep-mirror/threadFns.d.ts +15 -0
- package/dist/api/brep-mirror/threadFns.d.ts.map +1 -1
- package/dist/api/brep-mirror/threadFns.js +37 -2
- package/dist/api/brep-mirror/threadFns.js.map +1 -1
- package/dist/api/brep-mirror/topologyFns.d.ts +74 -0
- package/dist/api/brep-mirror/topologyFns.d.ts.map +1 -0
- package/dist/api/brep-mirror/topologyFns.js +273 -0
- package/dist/api/brep-mirror/topologyFns.js.map +1 -0
- package/dist/api/brep-topology.d.ts +190 -0
- package/dist/api/brep-topology.d.ts.map +1 -0
- package/dist/api/brep-topology.js +337 -0
- package/dist/api/brep-topology.js.map +1 -0
- package/dist/api/brepjs-compat/constants.d.ts +11 -0
- package/dist/api/brepjs-compat/constants.d.ts.map +1 -0
- package/dist/api/brepjs-compat/constants.js +11 -0
- package/dist/api/brepjs-compat/constants.js.map +1 -0
- package/dist/api/brepjs-compat/index.d.ts +19 -232
- package/dist/api/brepjs-compat/index.d.ts.map +1 -1
- package/dist/api/brepjs-compat/index.js +19 -286
- package/dist/api/brepjs-compat/index.js.map +1 -1
- package/dist/api/brepjs-compat/planeOps.d.ts +98 -0
- package/dist/api/brepjs-compat/planeOps.d.ts.map +1 -0
- package/dist/api/brepjs-compat/planeOps.js +170 -0
- package/dist/api/brepjs-compat/planeOps.js.map +1 -0
- package/dist/api/brepjs-compat/planeTypes.d.ts +24 -0
- package/dist/api/brepjs-compat/planeTypes.d.ts.map +1 -0
- package/dist/api/brepjs-compat/planeTypes.js +8 -0
- package/dist/api/brepjs-compat/planeTypes.js.map +1 -0
- package/dist/api/brepjs-compat/types.d.ts +64 -0
- package/dist/api/brepjs-compat/types.d.ts.map +1 -0
- package/dist/api/brepjs-compat/types.js +48 -0
- package/dist/api/brepjs-compat/types.js.map +1 -0
- package/dist/api/brepjs-compat/vecOps.d.ts +124 -0
- package/dist/api/brepjs-compat/vecOps.d.ts.map +1 -0
- package/dist/api/brepjs-compat/vecOps.js +202 -0
- package/dist/api/brepjs-compat/vecOps.js.map +1 -0
- package/dist/api/chamfer.d.ts +5 -0
- package/dist/api/chamfer.d.ts.map +1 -1
- package/dist/api/chamfer.js +13 -8
- package/dist/api/chamfer.js.map +1 -1
- package/dist/api/compound-geom.d.ts.map +1 -1
- package/dist/api/compound-geom.js +8 -2
- package/dist/api/compound-geom.js.map +1 -1
- package/dist/api/draft.d.ts +69 -0
- package/dist/api/draft.d.ts.map +1 -0
- package/dist/api/draft.js +109 -0
- package/dist/api/draft.js.map +1 -0
- package/dist/api/edge-ref.d.ts.map +1 -1
- package/dist/api/edge-ref.js +2 -2
- package/dist/api/edge-ref.js.map +1 -1
- package/dist/api/engrave.d.ts.map +1 -1
- package/dist/api/engrave.js +2 -3
- package/dist/api/engrave.js.map +1 -1
- package/dist/api/extrude.d.ts.map +1 -1
- package/dist/api/extrude.js +28 -13
- package/dist/api/extrude.js.map +1 -1
- package/dist/api/face-ref.d.ts.map +1 -1
- package/dist/api/face-ref.js +2 -2
- package/dist/api/face-ref.js.map +1 -1
- package/dist/api/feature-repair.d.ts +137 -0
- package/dist/api/feature-repair.d.ts.map +1 -0
- package/dist/api/feature-repair.js +221 -0
- package/dist/api/feature-repair.js.map +1 -0
- package/dist/api/fillet-variable.d.ts +35 -0
- package/dist/api/fillet-variable.d.ts.map +1 -0
- package/dist/api/fillet-variable.js +71 -0
- package/dist/api/fillet-variable.js.map +1 -0
- package/dist/api/fillet.d.ts +3 -0
- package/dist/api/fillet.d.ts.map +1 -1
- package/dist/api/fillet.js +7 -4
- package/dist/api/fillet.js.map +1 -1
- package/dist/api/generated/2d.d.ts +1 -13
- package/dist/api/generated/2d.d.ts.map +1 -1
- package/dist/api/generated/2d.js +6 -1
- package/dist/api/generated/2d.js.map +1 -1
- package/dist/api/generated/brepjs/index.d.ts +298 -298
- package/dist/api/generated/brepjs/index.d.ts.map +1 -1
- package/dist/api/generated/brepjs/index.js +183 -183
- package/dist/api/generated/brepjs/index.js.map +1 -1
- package/dist/api/generated/core.d.ts +3 -123
- package/dist/api/generated/core.d.ts.map +1 -1
- package/dist/api/generated/core.js +2 -81
- package/dist/api/generated/core.js.map +1 -1
- package/dist/api/generated/gear.d.ts +1 -15
- package/dist/api/generated/gear.d.ts.map +1 -1
- package/dist/api/generated/gear.js +6 -3
- package/dist/api/generated/gear.js.map +1 -1
- package/dist/api/generated/io.d.ts +1 -13
- package/dist/api/generated/io.d.ts.map +1 -1
- package/dist/api/generated/io.js +6 -1
- package/dist/api/generated/io.js.map +1 -1
- package/dist/api/generated/kernel.d.ts +1 -39
- package/dist/api/generated/kernel.d.ts.map +1 -1
- package/dist/api/generated/kernel.js +6 -4
- package/dist/api/generated/kernel.js.map +1 -1
- package/dist/api/generated/measurement.d.ts +53 -97
- package/dist/api/generated/measurement.d.ts.map +1 -1
- package/dist/api/generated/measurement.js +48 -143
- package/dist/api/generated/measurement.js.map +1 -1
- package/dist/api/generated/ns.d.ts +1 -10
- package/dist/api/generated/ns.d.ts.map +1 -1
- package/dist/api/generated/ns.js +2 -10
- package/dist/api/generated/ns.js.map +1 -1
- package/dist/api/generated/operations.d.ts +65 -110
- package/dist/api/generated/operations.d.ts.map +1 -1
- package/dist/api/generated/operations.js +132 -80
- package/dist/api/generated/operations.js.map +1 -1
- package/dist/api/generated/projection.d.ts +1 -8
- package/dist/api/generated/projection.d.ts.map +1 -1
- package/dist/api/generated/projection.js +6 -4
- package/dist/api/generated/projection.js.map +1 -1
- package/dist/api/generated/query.d.ts +1 -9
- package/dist/api/generated/query.d.ts.map +1 -1
- package/dist/api/generated/query.js +6 -1
- package/dist/api/generated/query.js.map +1 -1
- package/dist/api/generated/script-face-manifest.d.ts +2 -0
- package/dist/api/generated/script-face-manifest.d.ts.map +1 -1
- package/dist/api/generated/script-face-manifest.js +34 -22
- package/dist/api/generated/script-face-manifest.js.map +1 -1
- package/dist/api/generated/script-face.d.ts +52 -27
- package/dist/api/generated/script-face.d.ts.map +1 -1
- package/dist/api/generated/script-face.js +18 -4
- package/dist/api/generated/script-face.js.map +1 -1
- package/dist/api/generated/sketching.d.ts +4 -7
- package/dist/api/generated/sketching.d.ts.map +1 -1
- package/dist/api/generated/sketching.js +10 -8
- package/dist/api/generated/sketching.js.map +1 -1
- package/dist/api/generated/text.d.ts +1 -6
- package/dist/api/generated/text.d.ts.map +1 -1
- package/dist/api/generated/text.js +6 -3
- package/dist/api/generated/text.js.map +1 -1
- package/dist/api/generated/topology.d.ts +77 -175
- package/dist/api/generated/topology.d.ts.map +1 -1
- package/dist/api/generated/topology.js +172 -131
- package/dist/api/generated/topology.js.map +1 -1
- package/dist/api/geom.d.ts.map +1 -1
- package/dist/api/geom.js +2 -2
- package/dist/api/geom.js.map +1 -1
- package/dist/api/helix.d.ts +51 -0
- package/dist/api/helix.d.ts.map +1 -0
- package/dist/api/helix.js +63 -0
- package/dist/api/helix.js.map +1 -0
- package/dist/api/import-step.d.ts.map +1 -1
- package/dist/api/import-step.js +6 -2
- package/dist/api/import-step.js.map +1 -1
- package/dist/api/index.d.ts +18 -5
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +29 -12
- package/dist/api/index.js.map +1 -1
- package/dist/api/internal/compat-op.d.ts +10 -0
- package/dist/api/internal/compat-op.d.ts.map +1 -1
- package/dist/api/internal/compat-op.js +9 -3
- package/dist/api/internal/compat-op.js.map +1 -1
- package/dist/api/internal/compat-projection.d.ts +4 -4
- package/dist/api/internal/compat-projection.js +7 -7
- package/dist/api/internal/compat-projection.js.map +1 -1
- package/dist/api/internal/l3-bridge.d.ts +75 -42
- package/dist/api/internal/l3-bridge.d.ts.map +1 -1
- package/dist/api/internal/l3-bridge.js +105 -50
- package/dist/api/internal/l3-bridge.js.map +1 -1
- package/dist/api/internal/profile-wire.d.ts +31 -0
- package/dist/api/internal/profile-wire.d.ts.map +1 -0
- package/dist/api/internal/profile-wire.js +37 -0
- package/dist/api/internal/profile-wire.js.map +1 -0
- package/dist/api/internal/replica-role-table.js +2 -2
- package/dist/api/internal/replica-role-table.js.map +1 -1
- package/dist/api/loft.d.ts +66 -0
- package/dist/api/loft.d.ts.map +1 -0
- package/dist/api/loft.js +111 -0
- package/dist/api/loft.js.map +1 -0
- package/dist/api/measurement/index.d.ts +51 -0
- package/dist/api/measurement/index.d.ts.map +1 -0
- package/dist/api/measurement/index.js +71 -0
- package/dist/api/measurement/index.js.map +1 -0
- package/dist/api/occt-kernel-bridge.d.ts +5 -8
- package/dist/api/occt-kernel-bridge.d.ts.map +1 -1
- package/dist/api/occt-kernel-bridge.js +18 -14
- package/dist/api/occt-kernel-bridge.js.map +1 -1
- package/dist/api/pattern.d.ts.map +1 -1
- package/dist/api/pattern.js +3 -4
- package/dist/api/pattern.js.map +1 -1
- package/dist/api/place.d.ts.map +1 -1
- package/dist/api/place.js +2 -4
- package/dist/api/place.js.map +1 -1
- package/dist/api/primitives.d.ts.map +1 -1
- package/dist/api/primitives.js +3 -4
- package/dist/api/primitives.js.map +1 -1
- package/dist/api/replicate.d.ts +28 -1
- package/dist/api/replicate.d.ts.map +1 -1
- package/dist/api/replicate.js +29 -19
- package/dist/api/replicate.js.map +1 -1
- package/dist/api/result.d.ts +6 -11
- package/dist/api/result.d.ts.map +1 -1
- package/dist/api/result.js +6 -11
- package/dist/api/result.js.map +1 -1
- package/dist/api/revolve.d.ts.map +1 -1
- package/dist/api/revolve.js +15 -14
- package/dist/api/revolve.js.map +1 -1
- package/dist/api/screw.d.ts +3 -0
- package/dist/api/screw.d.ts.map +1 -1
- package/dist/api/screw.js +9 -4
- package/dist/api/screw.js.map +1 -1
- package/dist/api/sdf.d.ts +1 -1
- package/dist/api/section-by-plane.d.ts +42 -0
- package/dist/api/section-by-plane.d.ts.map +1 -0
- package/dist/api/section-by-plane.js +61 -0
- package/dist/api/section-by-plane.js.map +1 -0
- package/dist/api/shell.d.ts +45 -0
- package/dist/api/shell.d.ts.map +1 -0
- package/dist/api/shell.js +73 -0
- package/dist/api/shell.js.map +1 -0
- package/dist/api/sketch.d.ts +8 -1
- package/dist/api/sketch.d.ts.map +1 -1
- package/dist/api/sketch.js +12 -7
- package/dist/api/sketch.js.map +1 -1
- package/dist/api/split-by-plane.d.ts +41 -0
- package/dist/api/split-by-plane.d.ts.map +1 -0
- package/dist/api/split-by-plane.js +60 -0
- package/dist/api/split-by-plane.js.map +1 -0
- package/dist/api/split.d.ts +6 -1
- package/dist/api/split.d.ts.map +1 -1
- package/dist/api/split.js +23 -9
- package/dist/api/split.js.map +1 -1
- package/dist/api/surface/arg-spec.d.ts +22 -0
- package/dist/api/surface/arg-spec.d.ts.map +1 -1
- package/dist/api/surface/arg-spec.js +723 -476
- package/dist/api/surface/arg-spec.js.map +1 -1
- package/dist/api/sweep.d.ts +55 -0
- package/dist/api/sweep.d.ts.map +1 -0
- package/dist/api/sweep.js +86 -0
- package/dist/api/sweep.js.map +1 -0
- package/dist/api/thicken.d.ts +36 -0
- package/dist/api/thicken.d.ts.map +1 -0
- package/dist/api/thicken.js +55 -0
- package/dist/api/thicken.js.map +1 -0
- package/dist/api/transform.d.ts +8 -0
- package/dist/api/transform.d.ts.map +1 -1
- package/dist/api/transform.js +15 -4
- package/dist/api/transform.js.map +1 -1
- package/dist/api/view/cameraFns.d.ts +48 -0
- package/dist/api/view/cameraFns.d.ts.map +1 -0
- package/dist/api/view/cameraFns.js +75 -0
- package/dist/api/view/cameraFns.js.map +1 -0
- package/dist/api/view/projectionPlanes.d.ts +25 -0
- package/dist/api/view/projectionPlanes.d.ts.map +1 -0
- package/dist/api/view/projectionPlanes.js +30 -0
- package/dist/api/view/projectionPlanes.js.map +1 -0
- package/dist/api/view/view-camera.d.ts +2 -2
- package/dist/api/view/view-camera.d.ts.map +1 -1
- package/dist/api/view/view-camera.js +3 -3
- package/dist/api/view/view-camera.js.map +1 -1
- package/dist/api/view/view-projection.d.ts +9 -6
- package/dist/api/view/view-projection.d.ts.map +1 -1
- package/dist/api/view/view-projection.js +132 -65
- package/dist/api/view/view-projection.js.map +1 -1
- package/dist/api/wire.d.ts +45 -0
- package/dist/api/wire.d.ts.map +1 -0
- package/dist/api/wire.js +96 -0
- package/dist/api/wire.js.map +1 -0
- package/dist/boolean/creased-normals.d.ts +50 -0
- package/dist/boolean/creased-normals.d.ts.map +1 -0
- package/dist/boolean/creased-normals.js +114 -0
- package/dist/boolean/creased-normals.js.map +1 -0
- package/dist/boolean/deriveNormals.d.ts +4 -1
- package/dist/boolean/deriveNormals.d.ts.map +1 -1
- package/dist/boolean/deriveNormals.js +5 -2
- package/dist/boolean/deriveNormals.js.map +1 -1
- package/dist/brep/brep-ops.d.ts +6 -0
- package/dist/brep/brep-ops.d.ts.map +1 -1
- package/dist/brep/brep-ops.js +11 -2
- package/dist/brep/brep-ops.js.map +1 -1
- package/dist/brep/brep-topology.d.ts +4 -0
- package/dist/brep/brep-topology.d.ts.map +1 -1
- package/dist/brep/brep-topology.js +4 -0
- package/dist/brep/brep-topology.js.map +1 -1
- package/dist/brep/engine/adapters/brep-mock.d.ts.map +1 -1
- package/dist/brep/engine/adapters/brep-mock.js +79 -59
- package/dist/brep/engine/adapters/brep-mock.js.map +1 -1
- package/dist/brep/engine/adapters/brepkit.d.ts.map +1 -1
- package/dist/brep/engine/adapters/brepkit.js +7 -1
- package/dist/brep/engine/adapters/brepkit.js.map +1 -1
- package/dist/brep/engine/adapters/occt.d.ts +15 -7
- package/dist/brep/engine/adapters/occt.d.ts.map +1 -1
- package/dist/brep/engine/adapters/occt.js +52 -167
- package/dist/brep/engine/adapters/occt.js.map +1 -1
- package/dist/brep/engine/primitives.d.ts +93 -130
- package/dist/brep/engine/primitives.d.ts.map +1 -1
- package/dist/brep/engine/primitives.js +9 -7
- package/dist/brep/engine/primitives.js.map +1 -1
- package/dist/brep/engine/types.d.ts +14 -1
- package/dist/brep/engine/types.d.ts.map +1 -1
- package/dist/brep/engine/types.js +11 -1
- package/dist/brep/engine/types.js.map +1 -1
- package/dist/brep/export/step.d.ts +3 -0
- package/dist/brep/export/step.d.ts.map +1 -1
- package/dist/brep/export/step.js +7 -1
- package/dist/brep/export/step.js.map +1 -1
- package/dist/brep/face-evolution.d.ts +8 -0
- package/dist/brep/face-evolution.d.ts.map +1 -1
- package/dist/brep/face-evolution.js +15 -3
- package/dist/brep/face-evolution.js.map +1 -1
- package/dist/brep/handle-bridge.d.ts +20 -2
- package/dist/brep/handle-bridge.d.ts.map +1 -1
- package/dist/brep/handle-bridge.js +25 -2
- package/dist/brep/handle-bridge.js.map +1 -1
- package/dist/brepkit-kernel/brepkitKernel.d.ts +25 -5
- package/dist/brepkit-kernel/brepkitKernel.d.ts.map +1 -1
- package/dist/brepkit-kernel/brepkitKernel.js +336 -144
- package/dist/brepkit-kernel/brepkitKernel.js.map +1 -1
- package/dist/cad-runtime/admit-compat-lib.d.ts +6 -1
- package/dist/cad-runtime/admit-compat-lib.d.ts.map +1 -1
- package/dist/cad-runtime/admit-compat-lib.js +5 -1
- package/dist/cad-runtime/admit-compat-lib.js.map +1 -1
- package/dist/cad-runtime/backend-dispatch.d.ts +9 -3
- package/dist/cad-runtime/backend-dispatch.d.ts.map +1 -1
- package/dist/cad-runtime/backend-dispatch.js +32 -2
- package/dist/cad-runtime/backend-dispatch.js.map +1 -1
- package/dist/cad-runtime/direct-executor.d.ts.map +1 -1
- package/dist/cad-runtime/direct-executor.js +8 -2
- package/dist/cad-runtime/direct-executor.js.map +1 -1
- package/dist/cad-runtime/runtime.d.ts +3 -0
- package/dist/cad-runtime/runtime.d.ts.map +1 -1
- package/dist/cad-runtime/runtime.js +3 -1
- package/dist/cad-runtime/runtime.js.map +1 -1
- package/dist/define-op.d.ts +18 -2
- package/dist/define-op.d.ts.map +1 -1
- package/dist/define-op.js +29 -1
- package/dist/define-op.js.map +1 -1
- package/dist/env-agnostic.d.ts +3 -0
- package/dist/env-agnostic.d.ts.map +1 -1
- package/dist/env-agnostic.js +7 -0
- package/dist/env-agnostic.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/lang/symbol-table.generated.d.ts +28 -0
- package/dist/lang/symbol-table.generated.d.ts.map +1 -1
- package/dist/lang/symbol-table.generated.js +29 -1
- package/dist/lang/symbol-table.generated.js.map +1 -1
- package/dist/occt-kernel/highLevelApi.d.ts.map +1 -1
- package/dist/occt-kernel/highLevelApi.js +6 -3
- package/dist/occt-kernel/highLevelApi.js.map +1 -1
- package/dist/occt-kernel/hullGeometry.d.ts +31 -0
- package/dist/occt-kernel/hullGeometry.d.ts.map +1 -0
- package/dist/occt-kernel/hullGeometry.js +319 -0
- package/dist/occt-kernel/hullGeometry.js.map +1 -0
- package/dist/occt-kernel/hullOps.d.ts +24 -0
- package/dist/occt-kernel/hullOps.d.ts.map +1 -0
- package/dist/occt-kernel/hullOps.js +52 -0
- package/dist/occt-kernel/hullOps.js.map +1 -0
- package/dist/occt-kernel/occt-primitives.d.ts +14 -0
- package/dist/occt-kernel/occt-primitives.d.ts.map +1 -0
- package/dist/occt-kernel/occt-primitives.js +351 -0
- package/dist/occt-kernel/occt-primitives.js.map +1 -0
- package/dist/occt-kernel/occtKernel.d.ts +14 -6
- package/dist/occt-kernel/occtKernel.d.ts.map +1 -1
- package/dist/occt-kernel/occtKernel.js +11 -3
- package/dist/occt-kernel/occtKernel.js.map +1 -1
- package/dist/occt-kernel/topologyExt.js +2 -2
- package/dist/occt-kernel/topologyExt.js.map +1 -1
- package/dist/primitives/brep-primitives.d.ts +4 -0
- package/dist/primitives/brep-primitives.d.ts.map +1 -1
- package/dist/primitives/brep-primitives.js +4 -0
- package/dist/primitives/brep-primitives.js.map +1 -1
- package/dist/result/bug.d.ts +22 -0
- package/dist/result/bug.d.ts.map +1 -0
- package/dist/result/bug.js +28 -0
- package/dist/result/bug.js.map +1 -0
- package/dist/result/errors.d.ts +270 -0
- package/dist/result/errors.d.ts.map +1 -0
- package/dist/result/errors.js +317 -0
- package/dist/result/errors.js.map +1 -0
- package/dist/result/kernelErrorTranslation.d.ts +21 -0
- package/dist/result/kernelErrorTranslation.d.ts.map +1 -0
- package/dist/result/kernelErrorTranslation.js +102 -0
- package/dist/result/kernelErrorTranslation.js.map +1 -0
- package/dist/result/result.d.ts +213 -0
- package/dist/result/result.d.ts.map +1 -0
- package/dist/result/result.js +336 -0
- package/dist/result/result.js.map +1 -0
- package/dist/result/vec3.d.ts +12 -0
- package/dist/result/vec3.d.ts.map +1 -0
- package/dist/result/vec3.js +14 -0
- package/dist/result/vec3.js.map +1 -0
- package/dist/runtime-state.d.ts +9 -0
- package/dist/runtime-state.d.ts.map +1 -1
- package/dist/runtime-state.js.map +1 -1
- package/dist/sdk.d.ts +3 -1
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +2 -1
- package/dist/sdk.js.map +1 -1
- package/dist/shape.d.ts +43 -1
- package/dist/shape.d.ts.map +1 -1
- package/dist/shape.js +57 -1
- package/dist/shape.js.map +1 -1
- package/dist/topology/naming/geom-hint.js +1 -1
- package/dist/topology/naming/geom-hint.js.map +1 -1
- package/dist/topology/naming/score.js +1 -1
- package/dist/topology/naming/score.js.map +1 -1
- package/package.json +6 -16
|
@@ -1,190 +1,145 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export type { AssemblyNodeOptions } from '../../vendored/brepjs/operations/assemblyFns.js';
|
|
4
|
-
export type { AssemblySolveResult } from '../../vendored/brepjs/operations/mateFns.js';
|
|
5
|
-
export type { CleanLoftOptions } from '../../vendored/brepjs/index.js';
|
|
6
|
-
export type { CleanSweepOptions } from '../../vendored/brepjs/index.js';
|
|
7
|
-
export type { CylindricalOptions } from '../../vendored/brepjs/operations/jointFns.js';
|
|
8
|
-
export type { DHOptions } from '../../vendored/brepjs/operations/dhFns.js';
|
|
9
|
-
export type { DHRow } from '../../vendored/brepjs/operations/dhFns.js';
|
|
10
|
-
export type { ExtrudeAllEntry } from '../../vendored/brepjs/operations/extrudeFns.js';
|
|
11
|
-
export type { ExtrusionProfile } from '../../vendored/brepjs/operations/extrudeFns.js';
|
|
12
|
-
export type { GuidedSweepOptions } from '../../vendored/brepjs/operations/guidedSweepFns.js';
|
|
13
|
-
export type { HistoryOperationRegistry } from '../../vendored/brepjs/index.js';
|
|
14
|
-
export type { IKOptions } from '../../vendored/brepjs/operations/ikFns.js';
|
|
15
|
-
export type { IKResult } from '../../vendored/brepjs/operations/ikFns.js';
|
|
16
|
-
export type { IKTarget } from '../../vendored/brepjs/operations/ikFns.js';
|
|
17
|
-
export type { InstancedMesh } from '../../vendored/brepjs/operations/instanceFns.js';
|
|
18
|
-
export type { InstancedShape } from '../../vendored/brepjs/operations/instanceFns.js';
|
|
19
|
-
export type { InstanceGridOptions } from '../../vendored/brepjs/operations/instanceFns.js';
|
|
20
|
-
export type { Joint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
21
|
-
export type { JointAxis } from '../../vendored/brepjs/operations/jointFns.js';
|
|
22
|
-
export type { JointDOF } from '../../vendored/brepjs/operations/jointFns.js';
|
|
23
|
-
export type { JointOptions } from '../../vendored/brepjs/operations/jointFns.js';
|
|
24
|
-
export type { JointPose } from '../../vendored/brepjs/operations/jointFns.js';
|
|
25
|
-
export type { JointType } from '../../vendored/brepjs/operations/jointFns.js';
|
|
26
|
-
export type { LoftAllEntry } from '../../vendored/brepjs/operations/loftFns.js';
|
|
27
|
-
export type { MateConstraint } from '../../vendored/brepjs/operations/mateFns.js';
|
|
28
|
-
export type { MateEntity } from '../../vendored/brepjs/operations/mateFns.js';
|
|
29
|
-
export type { MaterializeOptions } from '../../vendored/brepjs/operations/instanceFns.js';
|
|
30
|
-
export type { ModelHistory } from '../../vendored/brepjs/operations/historyFns.js';
|
|
31
|
-
export type { MultiSweepOptions } from '../../vendored/brepjs/operations/multiSweepFns.js';
|
|
32
|
-
export type { OperationFn } from '../../vendored/brepjs/operations/historyFns.js';
|
|
33
|
-
export type { OperationStep } from '../../vendored/brepjs/operations/historyFns.js';
|
|
34
|
-
export type { PlanarOptions } from '../../vendored/brepjs/operations/jointFns.js';
|
|
35
|
-
export type { RevolveOptions } from '../../vendored/brepjs/operations/api.js';
|
|
36
|
-
export type { RoofOptions } from '../../vendored/brepjs/operations/roofFns.js';
|
|
37
|
-
export type { SerializedHistory } from '../../vendored/brepjs/operations/historyFns.js';
|
|
38
|
-
export type { ShapeOptions } from '../../vendored/brepjs/operations/exporterFns.js';
|
|
39
|
-
export type { SkeletonFace } from '../../vendored/brepjs/operations/straightSkeleton.js';
|
|
40
|
-
export type { SkeletonNode } from '../../vendored/brepjs/operations/straightSkeleton.js';
|
|
41
|
-
export type { SkPoint2D } from '../../vendored/brepjs/operations/straightSkeleton.js';
|
|
42
|
-
export type { SphericalOptions } from '../../vendored/brepjs/operations/jointFns.js';
|
|
43
|
-
export type { StraightSkeleton } from '../../vendored/brepjs/operations/straightSkeleton.js';
|
|
44
|
-
export type { SupportedUnit } from '../../vendored/brepjs/operations/exporterFns.js';
|
|
45
|
-
export type { SweepOptions } from '../../vendored/brepjs/operations/extrudeFns.js';
|
|
46
|
-
export type { SweepSectionConfig } from '../../vendored/brepjs/operations/multiSweepFns.js';
|
|
47
|
-
export type { ThreadOptions } from '../../vendored/brepjs/operations/threadFns.js';
|
|
48
|
-
export type { TrajectorySample } from '../../vendored/brepjs/operations/ikFns.js';
|
|
49
|
-
export type { UrdfDocument } from '../../vendored/brepjs/operations/urdfFns.js';
|
|
50
|
-
export type { UrdfExportOptions } from '../../vendored/brepjs/operations/urdfFns.js';
|
|
51
|
-
export { revoluteJoint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
52
|
-
export { prismaticJoint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
53
|
-
export { cylindricalJoint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
54
|
-
export { planarJoint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
55
|
-
export { sphericalJoint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
56
|
-
export { setJointValue } from '../../vendored/brepjs/operations/jointFns.js';
|
|
57
|
-
export { setJointValues } from '../../vendored/brepjs/operations/jointFns.js';
|
|
58
|
-
export { jointTransform } from '../../vendored/brepjs/operations/jointFns.js';
|
|
59
|
-
export { jointsFromDH } from '../../vendored/brepjs/operations/dhFns.js';
|
|
60
|
-
export { computeStraightSkeleton } from '../../vendored/brepjs/operations/straightSkeleton.js';
|
|
61
|
-
export { isInstanced } from '../../vendored/brepjs/operations/instanceFns.js';
|
|
62
|
-
/**
|
|
63
|
-
* extrude — brepjs 投影(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
1
|
+
/**
|
|
2
|
+
* extrude — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
64
3
|
* extrude(face: Shape, height: number|Vec3) → Shape|extrude(face: Shape, params: { length? | upTo, normal?, mode?, baseFeature?, offset? }) → Shape
|
|
65
|
-
* 桥接:
|
|
4
|
+
* 桥接:defineOp({ brep: __own_extrudeBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
5
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
66
6
|
*/
|
|
67
|
-
export declare const extrude: ((...args: unknown[]) => Promise<import("
|
|
7
|
+
export declare const extrude: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
68
8
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
69
9
|
};
|
|
70
10
|
/**
|
|
71
|
-
* revolve —
|
|
11
|
+
* revolve — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
72
12
|
* revolve(face: Shape, options?: RevolveOptions): Shape
|
|
73
|
-
* 桥接:
|
|
13
|
+
* 桥接:defineOp({ brep: __own_revolveBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
14
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
74
15
|
*/
|
|
75
|
-
export declare const revolve: ((...args: unknown[]) => Promise<import("
|
|
16
|
+
export declare const revolve: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
76
17
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
77
18
|
};
|
|
78
19
|
/**
|
|
79
|
-
* sweep —
|
|
20
|
+
* sweep — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
80
21
|
* sweep(wire: Shape, spine: Shape, config?: SweepOptions, shellMode?: boolean): Shape
|
|
81
|
-
* 桥接:
|
|
22
|
+
* 桥接:defineOp({ brep: __own_sweepBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
23
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
82
24
|
*/
|
|
83
|
-
export declare const sweep: ((...args: unknown[]) => Promise<import("
|
|
25
|
+
export declare const sweep: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
84
26
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
85
27
|
};
|
|
86
28
|
/**
|
|
87
|
-
* complexExtrude —
|
|
29
|
+
* complexExtrude — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
88
30
|
* complexExtrude(wire: Shape, center: Vec3, normal: Vec3, profile?: ExtrusionProfile): Shape
|
|
89
|
-
* 桥接:
|
|
31
|
+
* 桥接:defineOp({ brep: __own_complexExtrudeBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
32
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
90
33
|
*/
|
|
91
|
-
export declare const complexExtrude: ((...args: unknown[]) => Promise<import("
|
|
34
|
+
export declare const complexExtrude: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
92
35
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
93
36
|
};
|
|
94
37
|
/**
|
|
95
|
-
* twistExtrude —
|
|
38
|
+
* twistExtrude — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
96
39
|
* twistExtrude(wire: Shape, angleDegrees: number, center: Vec3, normal: Vec3): Shape
|
|
97
|
-
* 桥接:
|
|
40
|
+
* 桥接:defineOp({ brep: __own_twistExtrudeBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
41
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
98
42
|
*/
|
|
99
|
-
export declare const twistExtrude: ((...args: unknown[]) => Promise<import("
|
|
43
|
+
export declare const twistExtrude: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
100
44
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
101
45
|
};
|
|
102
46
|
/**
|
|
103
|
-
* linearPattern —
|
|
47
|
+
* linearPattern — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
104
48
|
* linearPattern(shape: Shape, direction: Vec3, count: number, spacing: number): Shape
|
|
105
|
-
* 桥接:
|
|
49
|
+
* 桥接:defineOp({ brep: __own_linearPatternBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
50
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
106
51
|
*/
|
|
107
|
-
export declare const linearPattern: ((...args: unknown[]) => Promise<import("
|
|
52
|
+
export declare const linearPattern: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
108
53
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
109
54
|
};
|
|
110
55
|
/**
|
|
111
|
-
* circularPattern —
|
|
56
|
+
* circularPattern — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
112
57
|
* circularPattern(shape: Shape, axis: Vec3, count: number, fullAngle?: number, center?: Vec3): Shape
|
|
113
|
-
* 桥接:
|
|
58
|
+
* 桥接:defineOp({ brep: __own_circularPatternBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
59
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
114
60
|
*/
|
|
115
|
-
export declare const circularPattern: ((...args: unknown[]) => Promise<import("
|
|
61
|
+
export declare const circularPattern: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
116
62
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
117
63
|
};
|
|
118
64
|
/**
|
|
119
|
-
* gridPattern —
|
|
65
|
+
* gridPattern — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
120
66
|
* gridPattern(shape: Shape, directionX: Vec3, directionY: Vec3, countX: number, countY: number, spacingX: number, spacingY: number): Shape
|
|
121
|
-
* 桥接:
|
|
67
|
+
* 桥接:defineOp({ brep: __own_gridPatternBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
68
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
122
69
|
*/
|
|
123
|
-
export declare const gridPattern: ((...args: unknown[]) => Promise<import("
|
|
70
|
+
export declare const gridPattern: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
124
71
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
125
72
|
};
|
|
126
73
|
/**
|
|
127
|
-
* roof —
|
|
74
|
+
* roof — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
128
75
|
* roof(wire: Shape, options?: RoofOptions): Shape
|
|
129
|
-
* 桥接:
|
|
76
|
+
* 桥接:defineOp({ brep: __own_roofBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
77
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
130
78
|
*/
|
|
131
|
-
export declare const roof: ((...args: unknown[]) => Promise<import("
|
|
79
|
+
export declare const roof: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
132
80
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
133
81
|
};
|
|
134
82
|
/**
|
|
135
|
-
* drill —
|
|
83
|
+
* drill — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
136
84
|
* drill(shape: Shape, options: DrillOptions): Shape
|
|
137
|
-
* 桥接:
|
|
85
|
+
* 桥接:defineOp({ brep: __own_drillBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
86
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
138
87
|
*/
|
|
139
|
-
export declare const drill: ((...args: unknown[]) => Promise<import("
|
|
88
|
+
export declare const drill: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
140
89
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
141
90
|
};
|
|
142
91
|
/**
|
|
143
|
-
* pocket —
|
|
92
|
+
* pocket — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
144
93
|
* pocket(shape: Shape, options: PocketOptions): Shape
|
|
145
|
-
* 桥接:
|
|
94
|
+
* 桥接:defineOp({ brep: __own_pocketBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
95
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
146
96
|
*/
|
|
147
|
-
export declare const pocket: ((...args: unknown[]) => Promise<import("
|
|
97
|
+
export declare const pocket: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
148
98
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
149
99
|
};
|
|
150
100
|
/**
|
|
151
|
-
* boss —
|
|
101
|
+
* boss — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
152
102
|
* boss(shape: Shape, options: BossOptions): Shape
|
|
153
|
-
* 桥接:
|
|
103
|
+
* 桥接:defineOp({ brep: __own_bossBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
104
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
154
105
|
*/
|
|
155
|
-
export declare const boss: ((...args: unknown[]) => Promise<import("
|
|
106
|
+
export declare const boss: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
156
107
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
157
108
|
};
|
|
158
109
|
/**
|
|
159
|
-
* mirrorJoin —
|
|
110
|
+
* mirrorJoin — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
160
111
|
* mirrorJoin(shape: Shape, options?: MirrorJoinOptions): Shape
|
|
161
|
-
* 桥接:
|
|
112
|
+
* 桥接:defineOp({ brep: __own_mirrorJoinBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
113
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
162
114
|
*/
|
|
163
|
-
export declare const mirrorJoin: ((...args: unknown[]) => Promise<import("
|
|
115
|
+
export declare const mirrorJoin: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
164
116
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
165
117
|
};
|
|
166
118
|
/**
|
|
167
|
-
* rectangularPattern —
|
|
119
|
+
* rectangularPattern — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
168
120
|
* rectangularPattern(shape: Shape, options: RectangularPatternOptions): Shape
|
|
169
|
-
* 桥接:
|
|
121
|
+
* 桥接:defineOp({ brep: __own_rectangularPatternBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
122
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
170
123
|
*/
|
|
171
|
-
export declare const rectangularPattern: ((...args: unknown[]) => Promise<import("
|
|
124
|
+
export declare const rectangularPattern: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
172
125
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
173
126
|
};
|
|
174
127
|
/**
|
|
175
|
-
* thread —
|
|
128
|
+
* thread — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
176
129
|
* thread(options: ThreadOptions): Shape
|
|
177
|
-
* 桥接:
|
|
130
|
+
* 桥接:defineOp({ brep: __own_threadBrepOp })——core 直连 occt 引擎(§5.4 selfhost),
|
|
131
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
178
132
|
*/
|
|
179
|
-
export declare const thread: ((...args: unknown[]) => Promise<import("
|
|
133
|
+
export declare const thread: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
180
134
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
181
135
|
};
|
|
182
136
|
/**
|
|
183
|
-
* convexHull —
|
|
137
|
+
* convexHull — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
184
138
|
* convexHull(points: Vec3[]): Shape
|
|
185
|
-
* 桥接:
|
|
139
|
+
* 桥接:defineOp({ brep: __own_convexHullBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
140
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
186
141
|
*/
|
|
187
|
-
export declare const convexHull: ((...args: unknown[]) => Promise<import("
|
|
142
|
+
export declare const convexHull: ((...args: unknown[]) => Promise<import("..").Shape>) & {
|
|
188
143
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
189
144
|
};
|
|
190
145
|
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/api/generated/operations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/api/generated/operations.ts"],"names":[],"mappings":"AAuBA;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;CAGlB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;CAGlB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;CAGhB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;CAGzB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;CAGvB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;CAGxB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;CAG1B,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;CAGtB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;CAGf,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;CAGhB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,MAAM;;CAGjB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;CAGf,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;CAGrB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;CAG7B,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,MAAM;;CAGjB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;CAGrB,CAAA"}
|
|
@@ -1,131 +1,183 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* generated/operations.ts — 生成文件,勿手改。
|
|
3
3
|
* 由 packages/core/scripts/gen-l3-surface.ts 依据 api/surface/arg-spec.ts 生成(E5/P14 分片)。
|
|
4
|
-
* operations 模块:
|
|
5
|
-
*/
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export { prismaticJoint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
26
|
-
export { cylindricalJoint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
27
|
-
export { planarJoint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
28
|
-
export { sphericalJoint } from '../../vendored/brepjs/operations/jointFns.js';
|
|
29
|
-
export { setJointValue } from '../../vendored/brepjs/operations/jointFns.js';
|
|
30
|
-
export { setJointValues } from '../../vendored/brepjs/operations/jointFns.js';
|
|
31
|
-
export { jointTransform } from '../../vendored/brepjs/operations/jointFns.js';
|
|
32
|
-
export { jointsFromDH } from '../../vendored/brepjs/operations/dhFns.js';
|
|
33
|
-
export { computeStraightSkeleton } from '../../vendored/brepjs/operations/straightSkeleton.js';
|
|
34
|
-
export { isInstanced } from '../../vendored/brepjs/operations/instanceFns.js';
|
|
35
|
-
/**
|
|
36
|
-
* extrude — brepjs 投影(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
4
|
+
* operations 模块:16 个投影符号;另有 106 个 skip 登记。
|
|
5
|
+
*/
|
|
6
|
+
import { defineOp } from '../../define-op.js';
|
|
7
|
+
import { extrudeBrep as __own_extrudeBrep } from '../brep-mirror/sweepFns.js';
|
|
8
|
+
import { revolveBrep as __own_revolveBrep } from '../brep-mirror/sweepFns.js';
|
|
9
|
+
import { sweepBrep as __own_sweepBrep } from '../brep-mirror/sweepFns.js';
|
|
10
|
+
import { complexExtrudeBrep as __own_complexExtrudeBrep } from '../brep-mirror/sweepFns.js';
|
|
11
|
+
import { twistExtrudeBrep as __own_twistExtrudeBrep } from '../brep-mirror/sweepFns.js';
|
|
12
|
+
import { linearPatternBrep as __own_linearPatternBrep } from '../brep-mirror/patternFns.js';
|
|
13
|
+
import { circularPatternBrep as __own_circularPatternBrep } from '../brep-mirror/patternFns.js';
|
|
14
|
+
import { gridPatternBrep as __own_gridPatternBrep } from '../brep-mirror/patternFns.js';
|
|
15
|
+
import { roofBrep as __own_roofBrep } from '../brep-mirror/roofFns.js';
|
|
16
|
+
import { drillBrep as __own_drillBrep } from '../brep-mirror/compoundFns.js';
|
|
17
|
+
import { pocketBrep as __own_pocketBrep } from '../brep-mirror/compoundFns.js';
|
|
18
|
+
import { bossBrep as __own_bossBrep } from '../brep-mirror/compoundFns.js';
|
|
19
|
+
import { mirrorJoinBrep as __own_mirrorJoinBrep } from '../brep-mirror/compoundFns.js';
|
|
20
|
+
import { rectangularPatternBrep as __own_rectangularPatternBrep } from '../brep-mirror/patternFns.js';
|
|
21
|
+
import { threadBrepOp as __own_threadBrepOp } from '../brep-mirror/threadFns.js';
|
|
22
|
+
import { convexHullBrep as __own_convexHullBrep } from '../brep-mirror/hullFns.js';
|
|
23
|
+
/**
|
|
24
|
+
* extrude — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
37
25
|
* extrude(face: Shape, height: number|Vec3) → Shape|extrude(face: Shape, params: { length? | upTo, normal?, mode?, baseFeature?, offset? }) → Shape
|
|
38
|
-
* 桥接:
|
|
26
|
+
* 桥接:defineOp({ brep: __own_extrudeBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
27
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
39
28
|
*/
|
|
40
|
-
export const extrude =
|
|
29
|
+
export const extrude = defineOp({
|
|
30
|
+
brep: __own_extrudeBrep,
|
|
31
|
+
name: 'extrude', naming: { "kind": "construct", "newFaces": { "via": "explicit", "vocab": [{ "kind": "semantic", "name": "top" }, { "kind": "semantic", "name": "bottom" }] } }, engines: ["occt"],
|
|
32
|
+
});
|
|
41
33
|
/**
|
|
42
|
-
* revolve —
|
|
34
|
+
* revolve — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
43
35
|
* revolve(face: Shape, options?: RevolveOptions): Shape
|
|
44
|
-
* 桥接:
|
|
36
|
+
* 桥接:defineOp({ brep: __own_revolveBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
37
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
45
38
|
*/
|
|
46
|
-
export const revolve =
|
|
39
|
+
export const revolve = defineOp({
|
|
40
|
+
brep: __own_revolveBrep,
|
|
41
|
+
name: 'revolve', naming: { "kind": "construct", "newFaces": { "via": "explicit", "vocab": [{ "kind": "semantic", "name": "top" }, { "kind": "semantic", "name": "bottom" }, { "kind": "wall", "index": 0 }] } }, engines: ["occt"],
|
|
42
|
+
});
|
|
47
43
|
/**
|
|
48
|
-
* sweep —
|
|
44
|
+
* sweep — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
49
45
|
* sweep(wire: Shape, spine: Shape, config?: SweepOptions, shellMode?: boolean): Shape
|
|
50
|
-
* 桥接:
|
|
46
|
+
* 桥接:defineOp({ brep: __own_sweepBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
47
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
51
48
|
*/
|
|
52
|
-
export const sweep =
|
|
49
|
+
export const sweep = defineOp({
|
|
50
|
+
brep: __own_sweepBrep,
|
|
51
|
+
name: 'sweep', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, engines: ["occt"],
|
|
52
|
+
});
|
|
53
53
|
/**
|
|
54
|
-
* complexExtrude —
|
|
54
|
+
* complexExtrude — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
55
55
|
* complexExtrude(wire: Shape, center: Vec3, normal: Vec3, profile?: ExtrusionProfile): Shape
|
|
56
|
-
* 桥接:
|
|
56
|
+
* 桥接:defineOp({ brep: __own_complexExtrudeBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
57
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
57
58
|
*/
|
|
58
|
-
export const complexExtrude =
|
|
59
|
+
export const complexExtrude = defineOp({
|
|
60
|
+
brep: __own_complexExtrudeBrep,
|
|
61
|
+
name: 'complexExtrude', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, engines: ["occt"],
|
|
62
|
+
});
|
|
59
63
|
/**
|
|
60
|
-
* twistExtrude —
|
|
64
|
+
* twistExtrude — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
61
65
|
* twistExtrude(wire: Shape, angleDegrees: number, center: Vec3, normal: Vec3): Shape
|
|
62
|
-
* 桥接:
|
|
66
|
+
* 桥接:defineOp({ brep: __own_twistExtrudeBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
67
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
63
68
|
*/
|
|
64
|
-
export const twistExtrude =
|
|
69
|
+
export const twistExtrude = defineOp({
|
|
70
|
+
brep: __own_twistExtrudeBrep,
|
|
71
|
+
name: 'twistExtrude', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, engines: ["occt"],
|
|
72
|
+
});
|
|
65
73
|
/**
|
|
66
|
-
* linearPattern —
|
|
74
|
+
* linearPattern — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
67
75
|
* linearPattern(shape: Shape, direction: Vec3, count: number, spacing: number): Shape
|
|
68
|
-
* 桥接:
|
|
76
|
+
* 桥接:defineOp({ brep: __own_linearPatternBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
77
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
69
78
|
*/
|
|
70
|
-
export const linearPattern =
|
|
79
|
+
export const linearPattern = defineOp({
|
|
80
|
+
brep: __own_linearPatternBrep,
|
|
81
|
+
name: 'linearPattern', naming: { "kind": "replicate", "k": 0 }, engines: ["occt"],
|
|
82
|
+
});
|
|
71
83
|
/**
|
|
72
|
-
* circularPattern —
|
|
84
|
+
* circularPattern — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
73
85
|
* circularPattern(shape: Shape, axis: Vec3, count: number, fullAngle?: number, center?: Vec3): Shape
|
|
74
|
-
* 桥接:
|
|
86
|
+
* 桥接:defineOp({ brep: __own_circularPatternBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
87
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
75
88
|
*/
|
|
76
|
-
export const circularPattern =
|
|
89
|
+
export const circularPattern = defineOp({
|
|
90
|
+
brep: __own_circularPatternBrep,
|
|
91
|
+
name: 'circularPattern', naming: { "kind": "replicate", "k": 0 }, engines: ["occt"],
|
|
92
|
+
});
|
|
77
93
|
/**
|
|
78
|
-
* gridPattern —
|
|
94
|
+
* gridPattern — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
79
95
|
* gridPattern(shape: Shape, directionX: Vec3, directionY: Vec3, countX: number, countY: number, spacingX: number, spacingY: number): Shape
|
|
80
|
-
* 桥接:
|
|
96
|
+
* 桥接:defineOp({ brep: __own_gridPatternBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
97
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
81
98
|
*/
|
|
82
|
-
export const gridPattern =
|
|
99
|
+
export const gridPattern = defineOp({
|
|
100
|
+
brep: __own_gridPatternBrep,
|
|
101
|
+
name: 'gridPattern', naming: { "kind": "replicate", "k": 0 }, engines: ["occt"],
|
|
102
|
+
});
|
|
83
103
|
/**
|
|
84
|
-
* roof —
|
|
104
|
+
* roof — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
85
105
|
* roof(wire: Shape, options?: RoofOptions): Shape
|
|
86
|
-
* 桥接:
|
|
106
|
+
* 桥接:defineOp({ brep: __own_roofBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
107
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
87
108
|
*/
|
|
88
|
-
export const roof =
|
|
109
|
+
export const roof = defineOp({
|
|
110
|
+
brep: __own_roofBrep,
|
|
111
|
+
name: 'roof', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, capabilities: ["buildTriFace", "dispose", "fixShape", "isValid", "sew", "sewAndSolidify"],
|
|
112
|
+
});
|
|
89
113
|
/**
|
|
90
|
-
* drill —
|
|
114
|
+
* drill — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
91
115
|
* drill(shape: Shape, options: DrillOptions): Shape
|
|
92
|
-
* 桥接:
|
|
116
|
+
* 桥接:defineOp({ brep: __own_drillBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
117
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
93
118
|
*/
|
|
94
|
-
export const drill =
|
|
119
|
+
export const drill = defineOp({
|
|
120
|
+
brep: __own_drillBrep,
|
|
121
|
+
name: 'drill', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, engines: ["occt"],
|
|
122
|
+
});
|
|
95
123
|
/**
|
|
96
|
-
* pocket —
|
|
124
|
+
* pocket — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
97
125
|
* pocket(shape: Shape, options: PocketOptions): Shape
|
|
98
|
-
* 桥接:
|
|
126
|
+
* 桥接:defineOp({ brep: __own_pocketBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
127
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
99
128
|
*/
|
|
100
|
-
export const pocket =
|
|
129
|
+
export const pocket = defineOp({
|
|
130
|
+
brep: __own_pocketBrep,
|
|
131
|
+
name: 'pocket', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, engines: ["occt"],
|
|
132
|
+
});
|
|
101
133
|
/**
|
|
102
|
-
* boss —
|
|
134
|
+
* boss — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
103
135
|
* boss(shape: Shape, options: BossOptions): Shape
|
|
104
|
-
* 桥接:
|
|
136
|
+
* 桥接:defineOp({ brep: __own_bossBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
137
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
105
138
|
*/
|
|
106
|
-
export const boss =
|
|
139
|
+
export const boss = defineOp({
|
|
140
|
+
brep: __own_bossBrep,
|
|
141
|
+
name: 'boss', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, engines: ["occt"],
|
|
142
|
+
});
|
|
107
143
|
/**
|
|
108
|
-
* mirrorJoin —
|
|
144
|
+
* mirrorJoin — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
109
145
|
* mirrorJoin(shape: Shape, options?: MirrorJoinOptions): Shape
|
|
110
|
-
* 桥接:
|
|
146
|
+
* 桥接:defineOp({ brep: __own_mirrorJoinBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
147
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
111
148
|
*/
|
|
112
|
-
export const mirrorJoin =
|
|
149
|
+
export const mirrorJoin = defineOp({
|
|
150
|
+
brep: __own_mirrorJoinBrep,
|
|
151
|
+
name: 'mirrorJoin', naming: { "kind": "replicate", "k": 2 }, engines: ["occt"],
|
|
152
|
+
});
|
|
113
153
|
/**
|
|
114
|
-
* rectangularPattern —
|
|
154
|
+
* rectangularPattern — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
115
155
|
* rectangularPattern(shape: Shape, options: RectangularPatternOptions): Shape
|
|
116
|
-
* 桥接:
|
|
156
|
+
* 桥接:defineOp({ brep: __own_rectangularPatternBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
157
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
117
158
|
*/
|
|
118
|
-
export const rectangularPattern =
|
|
159
|
+
export const rectangularPattern = defineOp({
|
|
160
|
+
brep: __own_rectangularPatternBrep,
|
|
161
|
+
name: 'rectangularPattern', naming: { "kind": "replicate", "k": 0 }, engines: ["occt"],
|
|
162
|
+
});
|
|
119
163
|
/**
|
|
120
|
-
* thread —
|
|
164
|
+
* thread — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
121
165
|
* thread(options: ThreadOptions): Shape
|
|
122
|
-
* 桥接:
|
|
166
|
+
* 桥接:defineOp({ brep: __own_threadBrepOp })——core 直连 occt 引擎(§5.4 selfhost),
|
|
167
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
123
168
|
*/
|
|
124
|
-
export const thread =
|
|
169
|
+
export const thread = defineOp({
|
|
170
|
+
brep: __own_threadBrepOp,
|
|
171
|
+
name: 'thread', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, engines: ["occt"],
|
|
172
|
+
});
|
|
125
173
|
/**
|
|
126
|
-
* convexHull —
|
|
174
|
+
* convexHull — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
127
175
|
* convexHull(points: Vec3[]): Shape
|
|
128
|
-
* 桥接:
|
|
176
|
+
* 桥接:defineOp({ brep: __own_convexHullBrep })——core 直连 occt 引擎(§5.4 selfhost),
|
|
177
|
+
* D11 归一在自有实现内部完成(api/brep-mirror/)。
|
|
129
178
|
*/
|
|
130
|
-
export const convexHull =
|
|
179
|
+
export const convexHull = defineOp({
|
|
180
|
+
brep: __own_convexHullBrep,
|
|
181
|
+
name: 'convexHull', naming: { "kind": "unmodeled", "reason": "construct vocabulary pending Phase 3" }, engines: ["occt"],
|
|
182
|
+
});
|
|
131
183
|
//# sourceMappingURL=operations.js.map
|