@faicad/faijs 0.29.5 → 0.30.9
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/NOTICE +6 -5
- package/dist/api/api-namespace.d.ts +1 -1
- package/dist/api/api-namespace.d.ts.map +1 -1
- package/dist/api/api-namespace.js +53 -1
- package/dist/api/api-namespace.js.map +1 -1
- package/dist/api/appearance.d.ts +0 -2
- package/dist/api/appearance.d.ts.map +1 -1
- package/dist/api/appearance.js +0 -2
- package/dist/api/appearance.js.map +1 -1
- package/dist/api/assembly/entities.d.ts +1 -1
- package/dist/api/assembly/entities.js +1 -1
- package/dist/api/assembly/entities.js.map +1 -1
- package/dist/api/assembly/index.d.ts +1 -1
- package/dist/api/assembly/index.js +1 -1
- package/dist/api/assembly/index.js.map +1 -1
- package/dist/api/assembly/joints.d.ts +33 -15
- package/dist/api/assembly/joints.d.ts.map +1 -1
- package/dist/api/assembly/joints.js +31 -13
- package/dist/api/assembly/joints.js.map +1 -1
- package/dist/api/assembly/preview.d.ts +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 +1 -1
- package/dist/api/assembly/solve.js +1 -1
- package/dist/api/assembly/solve.js.map +1 -1
- package/dist/api/assembly/solvers/assembly-tree.d.ts +1 -1
- package/dist/api/assembly/solvers/assembly-tree.js +1 -1
- package/dist/api/assembly/solvers/assembly-tree.js.map +1 -1
- package/dist/api/assembly/solvers/chain-solver.d.ts +2 -2
- package/dist/api/assembly/solvers/chain-solver.js.map +1 -1
- package/dist/api/assembly/solvers/global-solver.d.ts +1 -2
- package/dist/api/assembly/solvers/global-solver.d.ts.map +1 -1
- package/dist/api/assembly/solvers/global-solver.js +3 -4
- package/dist/api/assembly/solvers/global-solver.js.map +1 -1
- package/dist/api/assembly/solvers/joints-kinematics.js +1 -1
- package/dist/api/assembly/solvers/joints-kinematics.js.map +1 -1
- package/dist/api/assembly/solvers/linalg.d.ts +2 -2
- package/dist/api/assembly/solvers/linalg.js +2 -2
- package/dist/api/assembly/solvers/linalg.js.map +1 -1
- package/dist/api/assembly/solvers/types.d.ts +2 -5
- package/dist/api/assembly/solvers/types.d.ts.map +1 -1
- package/dist/api/assembly/solvers/types.js +1 -4
- package/dist/api/assembly/solvers/types.js.map +1 -1
- package/dist/api/boolean.d.ts.map +1 -1
- package/dist/api/boolean.js +7 -6
- package/dist/api/boolean.js.map +1 -1
- package/dist/api/brep-mirror/booleanFns.d.ts +3 -3
- package/dist/api/brep-mirror/booleanFns.js +5 -5
- package/dist/api/brep-mirror/booleanFns.js.map +1 -1
- package/dist/api/brep-mirror/compoundFns.d.ts +1 -1
- package/dist/api/brep-mirror/compoundFns.js +4 -4
- package/dist/api/brep-mirror/compoundFns.js.map +1 -1
- package/dist/api/brep-mirror/healingFns.d.ts +4 -4
- package/dist/api/brep-mirror/healingFns.js +4 -4
- package/dist/api/brep-mirror/healingFns.js.map +1 -1
- package/dist/api/brep-mirror/hullFns.d.ts +2 -2
- package/dist/api/brep-mirror/hullFns.js +2 -2
- package/dist/api/brep-mirror/hullFns.js.map +1 -1
- package/dist/api/brep-mirror/patternFns.d.ts +5 -5
- package/dist/api/brep-mirror/patternFns.js +10 -10
- package/dist/api/brep-mirror/patternFns.js.map +1 -1
- package/dist/api/brep-mirror/primitiveFns.d.ts +4 -4
- package/dist/api/brep-mirror/primitiveFns.js +4 -4
- package/dist/api/brep-mirror/primitiveFns.js.map +1 -1
- package/dist/api/brep-mirror/roofFns.d.ts +3 -3
- package/dist/api/brep-mirror/roofFns.js +7 -7
- package/dist/api/brep-mirror/roofFns.js.map +1 -1
- package/dist/api/brep-mirror/sweepFns.d.ts +7 -7
- package/dist/api/brep-mirror/sweepFns.js +14 -14
- package/dist/api/brep-mirror/sweepFns.js.map +1 -1
- package/dist/api/brep-mirror/threadFns.d.ts +1 -1
- package/dist/api/brep-mirror/threadFns.js +1 -1
- package/dist/api/brep-mirror/threadFns.js.map +1 -1
- package/dist/api/brep-mirror/topologyFns.d.ts +5 -5
- package/dist/api/brep-mirror/topologyFns.js +8 -8
- package/dist/api/brep-mirror/topologyFns.js.map +1 -1
- package/dist/api/brep-operations/booleanFns.d.ts +40 -0
- package/dist/api/brep-operations/booleanFns.d.ts.map +1 -0
- package/dist/api/brep-operations/booleanFns.js +104 -0
- package/dist/api/brep-operations/booleanFns.js.map +1 -0
- package/dist/api/brep-operations/brepHelpers.d.ts +55 -0
- package/dist/api/brep-operations/brepHelpers.d.ts.map +1 -0
- package/dist/api/brep-operations/brepHelpers.js +131 -0
- package/dist/api/brep-operations/brepHelpers.js.map +1 -0
- package/dist/api/brep-operations/compoundFns.d.ts +46 -0
- package/dist/api/brep-operations/compoundFns.d.ts.map +1 -0
- package/dist/api/brep-operations/compoundFns.js +299 -0
- package/dist/api/brep-operations/compoundFns.js.map +1 -0
- package/dist/api/brep-operations/healingFns.d.ts +78 -0
- package/dist/api/brep-operations/healingFns.d.ts.map +1 -0
- package/dist/api/brep-operations/healingFns.js +294 -0
- package/dist/api/brep-operations/healingFns.js.map +1 -0
- package/dist/api/brep-operations/hullFns.d.ts +20 -0
- package/dist/api/brep-operations/hullFns.d.ts.map +1 -0
- package/dist/api/brep-operations/hullFns.js +46 -0
- package/dist/api/brep-operations/hullFns.js.map +1 -0
- package/dist/api/brep-operations/joinery-brep.d.ts +172 -0
- package/dist/api/brep-operations/joinery-brep.d.ts.map +1 -0
- package/dist/api/brep-operations/joinery-brep.js +463 -0
- package/dist/api/brep-operations/joinery-brep.js.map +1 -0
- package/dist/api/brep-operations/patternFns.d.ts +43 -0
- package/dist/api/brep-operations/patternFns.d.ts.map +1 -0
- package/dist/api/brep-operations/patternFns.js +178 -0
- package/dist/api/brep-operations/patternFns.js.map +1 -0
- package/dist/api/brep-operations/primitiveFns.d.ts +42 -0
- package/dist/api/brep-operations/primitiveFns.d.ts.map +1 -0
- package/dist/api/brep-operations/primitiveFns.js +104 -0
- package/dist/api/brep-operations/primitiveFns.js.map +1 -0
- package/dist/api/brep-operations/roofFns.d.ts +24 -0
- package/dist/api/brep-operations/roofFns.d.ts.map +1 -0
- package/dist/api/brep-operations/roofFns.js +229 -0
- package/dist/api/brep-operations/roofFns.js.map +1 -0
- package/dist/api/brep-operations/straightSkeleton.d.ts +36 -0
- package/dist/api/brep-operations/straightSkeleton.d.ts.map +1 -0
- package/dist/api/brep-operations/straightSkeleton.js +431 -0
- package/dist/api/brep-operations/straightSkeleton.js.map +1 -0
- package/dist/api/brep-operations/sweepFns.d.ts +60 -0
- package/dist/api/brep-operations/sweepFns.d.ts.map +1 -0
- package/dist/api/brep-operations/sweepFns.js +323 -0
- package/dist/api/brep-operations/sweepFns.js.map +1 -0
- package/dist/api/brep-operations/threadFns.d.ts +83 -0
- package/dist/api/brep-operations/threadFns.d.ts.map +1 -0
- package/dist/api/brep-operations/threadFns.js +138 -0
- package/dist/api/brep-operations/threadFns.js.map +1 -0
- package/dist/api/brep-operations/topologyFns.d.ts +90 -0
- package/dist/api/brep-operations/topologyFns.d.ts.map +1 -0
- package/dist/api/brep-operations/topologyFns.js +276 -0
- package/dist/api/brep-operations/topologyFns.js.map +1 -0
- package/dist/api/brep-topology.d.ts +1 -1
- package/dist/api/brep-topology.d.ts.map +1 -1
- package/dist/api/brep-topology.js +1 -1
- package/dist/api/brep-topology.js.map +1 -1
- package/dist/api/brepjs-compat/index.d.ts +1 -1
- package/dist/api/brepjs-compat/index.js +3 -3
- package/dist/api/brepjs-compat/index.js.map +1 -1
- package/dist/api/cadquery-selectors/borrow-bridge.d.ts.map +1 -1
- package/dist/api/cadquery-selectors/borrow-bridge.js +3 -4
- package/dist/api/cadquery-selectors/borrow-bridge.js.map +1 -1
- package/dist/api/curve-sketch/index.d.ts +235 -0
- package/dist/api/curve-sketch/index.d.ts.map +1 -0
- package/dist/api/curve-sketch/index.js +487 -0
- package/dist/api/curve-sketch/index.js.map +1 -0
- package/dist/api/engrave.d.ts.map +1 -1
- package/dist/api/engrave.js +3 -2
- package/dist/api/engrave.js.map +1 -1
- package/dist/api/export-brep.d.ts +41 -0
- package/dist/api/export-brep.d.ts.map +1 -0
- package/dist/api/export-brep.js +58 -0
- package/dist/api/export-brep.js.map +1 -0
- package/dist/api/export-stl.d.ts +50 -0
- package/dist/api/export-stl.d.ts.map +1 -0
- package/dist/api/export-stl.js +99 -0
- package/dist/api/export-stl.js.map +1 -0
- package/dist/api/extrude.d.ts +8 -11
- package/dist/api/extrude.d.ts.map +1 -1
- package/dist/api/extrude.js +11 -14
- package/dist/api/extrude.js.map +1 -1
- package/dist/api/fillet-variable.d.ts +2 -2
- package/dist/api/fillet-variable.js +2 -2
- package/dist/api/fillet-variable.js.map +1 -1
- package/dist/api/fillet.d.ts +2 -4
- package/dist/api/fillet.d.ts.map +1 -1
- package/dist/api/fillet.js +2 -4
- package/dist/api/fillet.js.map +1 -1
- package/dist/api/generated/2d.d.ts +4 -0
- package/dist/api/generated/2d.d.ts.map +1 -1
- package/dist/api/generated/2d.js +4 -0
- package/dist/api/generated/2d.js.map +1 -1
- package/dist/api/generated/core.d.ts +4 -0
- package/dist/api/generated/core.d.ts.map +1 -1
- package/dist/api/generated/core.js +4 -0
- package/dist/api/generated/core.js.map +1 -1
- package/dist/api/generated/gear.d.ts +4 -0
- package/dist/api/generated/gear.d.ts.map +1 -1
- package/dist/api/generated/gear.js +4 -0
- package/dist/api/generated/gear.js.map +1 -1
- package/dist/api/generated/io.d.ts +4 -0
- package/dist/api/generated/io.d.ts.map +1 -1
- package/dist/api/generated/io.js +4 -0
- package/dist/api/generated/io.js.map +1 -1
- package/dist/api/generated/kernel.d.ts +4 -0
- package/dist/api/generated/kernel.d.ts.map +1 -1
- package/dist/api/generated/kernel.js +4 -0
- package/dist/api/generated/kernel.js.map +1 -1
- package/dist/api/generated/measurement.d.ts +21 -21
- package/dist/api/generated/measurement.d.ts.map +1 -1
- package/dist/api/generated/measurement.js +25 -21
- package/dist/api/generated/measurement.js.map +1 -1
- package/dist/api/generated/ns.d.ts +4 -0
- package/dist/api/generated/ns.d.ts.map +1 -1
- package/dist/api/generated/ns.js +4 -0
- package/dist/api/generated/ns.js.map +1 -1
- package/dist/api/generated/operations.d.ts +32 -32
- package/dist/api/generated/operations.d.ts.map +1 -1
- package/dist/api/generated/operations.js +52 -48
- package/dist/api/generated/operations.js.map +1 -1
- package/dist/api/generated/projection.d.ts +4 -0
- package/dist/api/generated/projection.d.ts.map +1 -1
- package/dist/api/generated/projection.js +4 -0
- package/dist/api/generated/projection.js.map +1 -1
- package/dist/api/generated/query.d.ts +4 -0
- package/dist/api/generated/query.d.ts.map +1 -1
- package/dist/api/generated/query.js +4 -0
- package/dist/api/generated/query.js.map +1 -1
- package/dist/api/generated/sketching.d.ts +2 -2
- package/dist/api/generated/sketching.d.ts.map +1 -1
- package/dist/api/generated/sketching.js +7 -3
- package/dist/api/generated/sketching.js.map +1 -1
- package/dist/api/generated/text.d.ts +4 -0
- package/dist/api/generated/text.d.ts.map +1 -1
- package/dist/api/generated/text.js +4 -0
- package/dist/api/generated/text.js.map +1 -1
- package/dist/api/generated/topology.d.ts +45 -45
- package/dist/api/generated/topology.d.ts.map +1 -1
- package/dist/api/generated/topology.js +67 -63
- package/dist/api/generated/topology.js.map +1 -1
- package/dist/api/generated/view.d.ts +4 -0
- package/dist/api/generated/view.d.ts.map +1 -1
- package/dist/api/generated/view.js +4 -0
- package/dist/api/generated/view.js.map +1 -1
- package/dist/api/geom-types/constants.d.ts +11 -0
- package/dist/api/geom-types/constants.d.ts.map +1 -0
- package/dist/api/geom-types/constants.js +11 -0
- package/dist/api/geom-types/constants.js.map +1 -0
- package/dist/api/geom-types/index.d.ts +21 -0
- package/dist/api/geom-types/index.d.ts.map +1 -0
- package/dist/api/geom-types/index.js +22 -0
- package/dist/api/geom-types/index.js.map +1 -0
- package/dist/api/geom-types/planeOps.d.ts +98 -0
- package/dist/api/geom-types/planeOps.d.ts.map +1 -0
- package/dist/api/geom-types/planeOps.js +170 -0
- package/dist/api/geom-types/planeOps.js.map +1 -0
- package/dist/api/geom-types/planeTypes.d.ts +24 -0
- package/dist/api/geom-types/planeTypes.d.ts.map +1 -0
- package/dist/api/geom-types/planeTypes.js +8 -0
- package/dist/api/geom-types/planeTypes.js.map +1 -0
- package/dist/api/geom-types/types.d.ts +64 -0
- package/dist/api/geom-types/types.d.ts.map +1 -0
- package/dist/api/geom-types/types.js +48 -0
- package/dist/api/geom-types/types.js.map +1 -0
- package/dist/api/geom-types/vecOps.d.ts +124 -0
- package/dist/api/geom-types/vecOps.d.ts.map +1 -0
- package/dist/api/geom-types/vecOps.js +202 -0
- package/dist/api/geom-types/vecOps.js.map +1 -0
- package/dist/api/geom.d.ts.map +1 -1
- package/dist/api/geom.js +6 -5
- package/dist/api/geom.js.map +1 -1
- package/dist/api/half-space.d.ts +56 -0
- package/dist/api/half-space.d.ts.map +1 -0
- package/dist/api/half-space.js +82 -0
- package/dist/api/half-space.js.map +1 -0
- package/dist/api/helix.d.ts +10 -1
- package/dist/api/helix.d.ts.map +1 -1
- package/dist/api/helix.js +19 -3
- package/dist/api/helix.js.map +1 -1
- package/dist/api/index.d.ts +15 -6
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +29 -8
- package/dist/api/index.js.map +1 -1
- package/dist/api/internal/compat-op.d.ts +4 -30
- package/dist/api/internal/compat-op.d.ts.map +1 -1
- package/dist/api/internal/compat-op.js +10 -42
- package/dist/api/internal/compat-op.js.map +1 -1
- package/dist/api/internal/compat-projection.d.ts +5 -5
- package/dist/api/internal/compat-projection.js +5 -5
- package/dist/api/internal/compat-projection.js.map +1 -1
- package/dist/api/internal/dual-form-args.d.ts +0 -2
- package/dist/api/internal/dual-form-args.d.ts.map +1 -1
- package/dist/api/internal/dual-form-args.js +1 -3
- package/dist/api/internal/dual-form-args.js.map +1 -1
- package/dist/api/internal/l3-bridge.d.ts +5 -37
- package/dist/api/internal/l3-bridge.d.ts.map +1 -1
- package/dist/api/internal/l3-bridge.js +7 -76
- package/dist/api/internal/l3-bridge.js.map +1 -1
- package/dist/api/internal/profile-wire.d.ts +1 -1
- package/dist/api/internal/profile-wire.js +1 -1
- package/dist/api/internal/profile-wire.js.map +1 -1
- package/dist/api/internal/result-unwrap.d.ts +4 -6
- package/dist/api/internal/result-unwrap.d.ts.map +1 -1
- package/dist/api/internal/result-unwrap.js +4 -6
- package/dist/api/internal/result-unwrap.js.map +1 -1
- package/dist/api/knurl.d.ts.map +1 -1
- package/dist/api/knurl.js +5 -3
- package/dist/api/knurl.js.map +1 -1
- package/dist/api/loft.d.ts +2 -2
- package/dist/api/loft.d.ts.map +1 -1
- package/dist/api/loft.js +2 -2
- package/dist/api/loft.js.map +1 -1
- package/dist/api/measurement/index.d.ts +3 -3
- package/dist/api/measurement/index.js +3 -3
- package/dist/api/measurement/index.js.map +1 -1
- package/dist/api/meta.d.ts +0 -2
- package/dist/api/meta.d.ts.map +1 -1
- package/dist/api/meta.js +0 -2
- package/dist/api/meta.js.map +1 -1
- package/dist/api/offset2d.d.ts +49 -0
- package/dist/api/offset2d.d.ts.map +1 -0
- package/dist/api/offset2d.js +86 -0
- package/dist/api/offset2d.js.map +1 -0
- package/dist/api/pattern.js +3 -3
- package/dist/api/pattern.js.map +1 -1
- package/dist/api/primitives.d.ts.map +1 -1
- package/dist/api/primitives.js +7 -6
- package/dist/api/primitives.js.map +1 -1
- package/dist/api/replicate.d.ts +2 -2
- package/dist/api/replicate.d.ts.map +1 -1
- package/dist/api/replicate.js +12 -12
- package/dist/api/replicate.js.map +1 -1
- package/dist/api/result.d.ts +1 -1
- package/dist/api/result.js +1 -1
- package/dist/api/result.js.map +1 -1
- package/dist/api/revolve.d.ts +2 -2
- package/dist/api/revolve.js +3 -3
- package/dist/api/revolve.js.map +1 -1
- package/dist/api/screw.d.ts +1 -1
- package/dist/api/screw.d.ts.map +1 -1
- package/dist/api/screw.js +5 -4
- package/dist/api/screw.js.map +1 -1
- package/dist/api/sdf.d.ts.map +1 -1
- package/dist/api/sdf.js +3 -2
- package/dist/api/sdf.js.map +1 -1
- package/dist/api/shape-type/index.d.ts +141 -0
- package/dist/api/shape-type/index.d.ts.map +1 -0
- package/dist/api/shape-type/index.js +182 -0
- package/dist/api/shape-type/index.js.map +1 -0
- package/dist/api/shell.d.ts +2 -2
- package/dist/api/shell.js +2 -2
- package/dist/api/shell.js.map +1 -1
- package/dist/api/solid-from-faces.d.ts +45 -0
- package/dist/api/solid-from-faces.d.ts.map +1 -0
- package/dist/api/solid-from-faces.js +72 -0
- package/dist/api/solid-from-faces.js.map +1 -0
- package/dist/api/solid-offset/index.d.ts +67 -0
- package/dist/api/solid-offset/index.d.ts.map +1 -0
- package/dist/api/solid-offset/index.js +132 -0
- package/dist/api/solid-offset/index.js.map +1 -0
- package/dist/api/surface/arg-spec.d.ts +35 -33
- package/dist/api/surface/arg-spec.d.ts.map +1 -1
- package/dist/api/surface/arg-spec.js +222 -224
- package/dist/api/surface/arg-spec.js.map +1 -1
- package/dist/api/surface-face/index.d.ts +104 -0
- package/dist/api/surface-face/index.d.ts.map +1 -0
- package/dist/api/surface-face/index.js +217 -0
- package/dist/api/surface-face/index.js.map +1 -0
- package/dist/api/surface.d.ts +44 -0
- package/dist/api/surface.d.ts.map +1 -0
- package/dist/api/surface.js +66 -0
- package/dist/api/surface.js.map +1 -0
- package/dist/api/sweep.d.ts +59 -9
- package/dist/api/sweep.d.ts.map +1 -1
- package/dist/api/sweep.js +11 -6
- package/dist/api/sweep.js.map +1 -1
- package/dist/api/thicken.d.ts +1 -1
- package/dist/api/thicken.js +1 -1
- package/dist/api/thicken.js.map +1 -1
- package/dist/api/transform.d.ts +5 -5
- package/dist/api/transform.d.ts.map +1 -1
- package/dist/api/transform.js +11 -10
- package/dist/api/transform.js.map +1 -1
- package/dist/api/view/cameraFns.d.ts +1 -1
- package/dist/api/view/cameraFns.d.ts.map +1 -1
- package/dist/api/view/cameraFns.js +1 -1
- package/dist/api/view/cameraFns.js.map +1 -1
- package/dist/api/view/index.d.ts +0 -2
- package/dist/api/view/index.d.ts.map +1 -1
- package/dist/api/view/index.js +0 -2
- package/dist/api/view/index.js.map +1 -1
- package/dist/api/view/projectionPlanes.d.ts +1 -1
- package/dist/api/view/projectionPlanes.d.ts.map +1 -1
- package/dist/api/view/projectionPlanes.js.map +1 -1
- package/dist/api/view/view-camera.d.ts +7 -9
- package/dist/api/view/view-camera.d.ts.map +1 -1
- package/dist/api/view/view-camera.js +4 -6
- package/dist/api/view/view-camera.js.map +1 -1
- package/dist/api/view/view-projection.d.ts +0 -2
- package/dist/api/view/view-projection.d.ts.map +1 -1
- package/dist/api/view/view-projection.js +0 -2
- package/dist/api/view/view-projection.js.map +1 -1
- package/dist/api/view/view-sheet.d.ts +0 -2
- package/dist/api/view/view-sheet.d.ts.map +1 -1
- package/dist/api/view/view-sheet.js +0 -2
- package/dist/api/view/view-sheet.js.map +1 -1
- package/dist/api/view-export/index.d.ts +97 -0
- package/dist/api/view-export/index.d.ts.map +1 -0
- package/dist/api/view-export/index.js +118 -0
- package/dist/api/view-export/index.js.map +1 -0
- package/dist/brep/brep-ops.d.ts +89 -1
- package/dist/brep/brep-ops.d.ts.map +1 -1
- package/dist/brep/brep-ops.js +176 -10
- package/dist/brep/brep-ops.js.map +1 -1
- package/dist/brep/brep-topology.d.ts +20 -0
- package/dist/brep/brep-topology.d.ts.map +1 -1
- package/dist/brep/brep-topology.js +46 -0
- package/dist/brep/brep-topology.js.map +1 -1
- package/dist/brep/engine/adapters/occt.d.ts +1 -1
- package/dist/brep/engine/adapters/occt.js +7 -7
- package/dist/brep/engine/adapters/occt.js.map +1 -1
- package/dist/brep/engine/primitives.d.ts +2 -3
- package/dist/brep/engine/primitives.d.ts.map +1 -1
- package/dist/brep/engine/primitives.js +1 -2
- package/dist/brep/engine/primitives.js.map +1 -1
- package/dist/brep/engine/registry.d.ts +1 -1
- package/dist/brep/engine/registry.js +1 -1
- package/dist/brep/engine/registry.js.map +1 -1
- package/dist/brep/engine/types.d.ts +2 -2
- package/dist/brep/engine/types.js.map +1 -1
- package/dist/brep/handle-bridge.d.ts +2 -2
- package/dist/brep/handle-bridge.js +2 -2
- package/dist/brep/handle-bridge.js.map +1 -1
- package/dist/brep/index.d.ts +6 -3
- package/dist/brep/index.d.ts.map +1 -1
- package/dist/brep/index.js +6 -3
- package/dist/brep/index.js.map +1 -1
- package/dist/brepkit-kernel/brepkitKernel.d.ts +1 -1
- package/dist/brepkit-kernel/brepkitKernel.js +2 -2
- package/dist/brepkit-kernel/brepkitKernel.js.map +1 -1
- package/dist/browser.d.ts +2 -2
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +5 -4
- package/dist/browser.js.map +1 -1
- package/dist/cad-runtime/admit-compat-lib.d.ts +3 -10
- package/dist/cad-runtime/admit-compat-lib.d.ts.map +1 -1
- package/dist/cad-runtime/admit-compat-lib.js +3 -9
- package/dist/cad-runtime/admit-compat-lib.js.map +1 -1
- package/dist/cad-runtime/backend-dispatch.js +12 -3
- package/dist/cad-runtime/backend-dispatch.js.map +1 -1
- package/dist/cad-runtime/direct-executor.d.ts +6 -3
- package/dist/cad-runtime/direct-executor.d.ts.map +1 -1
- package/dist/cad-runtime/direct-executor.js +31 -9
- package/dist/cad-runtime/direct-executor.js.map +1 -1
- package/dist/cad-runtime/interp/env.d.ts +1 -1
- package/dist/cad-runtime/interp/env.js.map +1 -1
- package/dist/cad-runtime/lib-id.d.ts +0 -2
- package/dist/cad-runtime/lib-id.d.ts.map +1 -1
- package/dist/cad-runtime/lib-id.js +0 -2
- package/dist/cad-runtime/lib-id.js.map +1 -1
- package/dist/cad-runtime/live-shapes.d.ts +3 -5
- package/dist/cad-runtime/live-shapes.d.ts.map +1 -1
- package/dist/cad-runtime/live-shapes.js +8 -10
- package/dist/cad-runtime/live-shapes.js.map +1 -1
- package/dist/cad-runtime/ports.d.ts +3 -3
- package/dist/cad-runtime/ports.js.map +1 -1
- package/dist/cad-runtime/runtime.d.ts +21 -7
- package/dist/cad-runtime/runtime.d.ts.map +1 -1
- package/dist/cad-runtime/runtime.js +45 -6
- package/dist/cad-runtime/runtime.js.map +1 -1
- package/dist/define-op.d.ts +4 -3
- package/dist/define-op.d.ts.map +1 -1
- package/dist/define-op.js +2 -2
- package/dist/define-op.js.map +1 -1
- package/dist/geometry2d/bridge/plane.d.ts +1 -1
- package/dist/geometry2d/bridge/plane.js +1 -1
- package/dist/geometry2d/bridge/plane.js.map +1 -1
- package/dist/geometry2d/curve2d.d.ts +1 -1
- package/dist/geometry2d/curve2d.js +1 -1
- package/dist/geometry2d/curve2d.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/io/fai-zip/container-read.d.ts +16 -0
- package/dist/io/fai-zip/container-read.d.ts.map +1 -1
- package/dist/io/fai-zip/container-read.js +22 -0
- package/dist/io/fai-zip/container-read.js.map +1 -1
- package/dist/io/fai-zip/index.d.ts +1 -1
- package/dist/io/fai-zip/index.d.ts.map +1 -1
- package/dist/io/fai-zip/index.js +1 -1
- package/dist/io/fai-zip/index.js.map +1 -1
- package/dist/lang/code-to-args.d.ts.map +1 -1
- package/dist/lang/code-to-args.js +10 -1
- package/dist/lang/code-to-args.js.map +1 -1
- package/dist/lang/determinism-scanner.d.ts.map +1 -1
- package/dist/lang/determinism-scanner.js +22 -9
- package/dist/lang/determinism-scanner.js.map +1 -1
- package/dist/lang/metadata-extractor.d.ts +27 -6
- package/dist/lang/metadata-extractor.d.ts.map +1 -1
- package/dist/lang/metadata-extractor.js +88 -8
- package/dist/lang/metadata-extractor.js.map +1 -1
- package/dist/lang/parse-error.d.ts +4 -0
- package/dist/lang/parse-error.d.ts.map +1 -1
- package/dist/lang/parse-error.js.map +1 -1
- package/dist/lang/security-scanner.d.ts +27 -2
- package/dist/lang/security-scanner.d.ts.map +1 -1
- package/dist/lang/security-scanner.js +29 -2
- package/dist/lang/security-scanner.js.map +1 -1
- package/dist/lang/source-edit.d.ts +2 -2
- package/dist/lang/source-edit.js.map +1 -1
- package/dist/lang/symbol-table.generated.d.ts +36 -0
- package/dist/lang/symbol-table.generated.d.ts.map +1 -1
- package/dist/lang/symbol-table.generated.js +36 -0
- package/dist/lang/symbol-table.generated.js.map +1 -1
- package/dist/mesh/import-model.d.ts +94 -0
- package/dist/mesh/import-model.d.ts.map +1 -0
- package/dist/mesh/import-model.js +15 -0
- package/dist/mesh/import-model.js.map +1 -0
- package/dist/mesh/index.d.ts +19 -58
- package/dist/mesh/index.d.ts.map +1 -1
- package/dist/mesh/index.js +19 -70
- package/dist/mesh/index.js.map +1 -1
- package/dist/mesh/io.d.ts +33 -16
- package/dist/mesh/io.d.ts.map +1 -1
- package/dist/mesh/io.js +144 -39
- package/dist/mesh/io.js.map +1 -1
- package/dist/mesh/primitives.js +1 -1
- package/dist/mesh/primitives.js.map +1 -1
- package/dist/mesh/threemf-bambu.d.ts +12 -1
- package/dist/mesh/threemf-bambu.d.ts.map +1 -1
- package/dist/mesh/threemf-bambu.js +68 -16
- package/dist/mesh/threemf-bambu.js.map +1 -1
- package/dist/mesh/threemf-loader.d.ts +14 -1
- package/dist/mesh/threemf-loader.d.ts.map +1 -1
- package/dist/mesh/threemf-loader.js +24 -7
- package/dist/mesh/threemf-loader.js.map +1 -1
- package/dist/mesh/transform.d.ts +1 -1
- package/dist/mesh/transform.js +1 -1
- package/dist/mesh/transform.js.map +1 -1
- package/dist/mesh/types.d.ts +5 -5
- package/dist/mesh/types.d.ts.map +1 -1
- package/dist/mesh/types.js.map +1 -1
- package/dist/node-host/cli.d.ts +49 -1
- package/dist/node-host/cli.d.ts.map +1 -1
- package/dist/node-host/cli.js +125 -19
- package/dist/node-host/cli.js.map +1 -1
- package/dist/node-host/execute-script.d.ts +55 -0
- package/dist/node-host/execute-script.d.ts.map +1 -0
- package/dist/node-host/execute-script.js +46 -0
- package/dist/node-host/execute-script.js.map +1 -0
- package/dist/node.d.ts +2 -0
- package/dist/node.d.ts.map +1 -1
- package/dist/node.js +3 -0
- package/dist/node.js.map +1 -1
- package/dist/occt-kernel/generated/occtPlatform.generated.d.ts +260 -0
- package/dist/occt-kernel/generated/occtPlatform.generated.d.ts.map +1 -0
- package/dist/occt-kernel/generated/occtPlatform.generated.js +875 -0
- package/dist/occt-kernel/generated/occtPlatform.generated.js.map +1 -0
- package/dist/occt-kernel/hullGeometry.d.ts +2 -2
- package/dist/occt-kernel/hullGeometry.js +2 -3
- package/dist/occt-kernel/hullGeometry.js.map +1 -1
- package/dist/occt-kernel/hullOps.d.ts +3 -3
- package/dist/occt-kernel/hullOps.js +4 -4
- package/dist/occt-kernel/hullOps.js.map +1 -1
- package/dist/occt-kernel/occt-primitives.d.ts.map +1 -1
- package/dist/occt-kernel/occt-primitives.js +31 -4
- package/dist/occt-kernel/occt-primitives.js.map +1 -1
- package/dist/occt-kernel/occtKernel.d.ts.map +1 -1
- package/dist/occt-kernel/occtKernel.js +18 -0
- package/dist/occt-kernel/occtKernel.js.map +1 -1
- package/dist/occt-scan/recognize.d.ts +58 -0
- package/dist/occt-scan/recognize.d.ts.map +1 -0
- package/dist/occt-scan/recognize.js +216 -0
- package/dist/occt-scan/recognize.js.map +1 -0
- package/dist/primitives/brep-primitives.js +7 -7
- package/dist/primitives/brep-primitives.js.map +1 -1
- package/dist/result/bug.d.ts +1 -1
- package/dist/result/bug.js +1 -1
- package/dist/result/bug.js.map +1 -1
- package/dist/result/errors.d.ts +2 -2
- package/dist/result/errors.d.ts.map +1 -1
- package/dist/result/errors.js +1 -1
- package/dist/result/errors.js.map +1 -1
- package/dist/result/vec3.d.ts +1 -1
- package/dist/result/vec3.js +1 -1
- package/dist/result/vec3.js.map +1 -1
- package/dist/runtime-state.d.ts +16 -0
- package/dist/runtime-state.d.ts.map +1 -1
- package/dist/runtime-state.js +27 -0
- package/dist/runtime-state.js.map +1 -1
- package/dist/script-globals.d.ts +24 -0
- package/dist/script-globals.d.ts.map +1 -0
- package/dist/script-globals.js +24 -0
- package/dist/script-globals.js.map +1 -0
- package/dist/shape.d.ts +24 -0
- package/dist/shape.d.ts.map +1 -1
- package/dist/shape.js +40 -0
- package/dist/shape.js.map +1 -1
- package/dist/topology/naming/lineage.d.ts +3 -2
- package/dist/topology/naming/lineage.d.ts.map +1 -1
- package/dist/topology/naming/lineage.js.map +1 -1
- package/dist/weapp.d.ts +1 -1
- package/dist/weapp.js +1 -1
- package/dist/weapp.js.map +1 -1
- package/package.json +8 -10
|
@@ -2,8 +2,8 @@ import type { Shape } from '../../mesh/types.js';
|
|
|
2
2
|
/**
|
|
3
3
|
* torus — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
4
4
|
* (majorRadius: number, minorRadius: number, options?: TorusOptions)
|
|
5
|
-
* 桥接:defineOp({ brep: __own_torusBrep })——core 直连 occt 引擎(§5.4
|
|
6
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
5
|
+
* 桥接:defineOp({ brep: __own_torusBrep })——core 直连 occt 引擎(§5.4),
|
|
6
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
7
7
|
*/
|
|
8
8
|
export declare const torus: ((...args: unknown[]) => Promise<Shape>) & {
|
|
9
9
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -11,16 +11,16 @@ export declare const torus: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
11
11
|
/**
|
|
12
12
|
* fuse — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
13
13
|
* (a: Shape3D, b: Shape3D, options?: BooleanOptions) -> Result<Shape3D>
|
|
14
|
-
* 桥接:defineOp({ brep: __own_fuseBrep })——core 直连 occt 引擎(§5.4
|
|
15
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
14
|
+
* 桥接:defineOp({ brep: __own_fuseBrep })——core 直连 occt 引擎(§5.4),
|
|
15
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
16
16
|
*/
|
|
17
17
|
export declare const fuse: ((...args: unknown[]) => Promise<Shape>) & {
|
|
18
18
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
* getBounds — 查询(core
|
|
22
|
-
* (shape: Shape) -> BrepBoundingBox(core
|
|
23
|
-
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2
|
|
21
|
+
* getBounds — 查询(core,生成文件,勿手改;来源 api/surface/arg-spec.ts)。
|
|
22
|
+
* (shape: Shape) -> BrepBoundingBox(core)
|
|
23
|
+
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无来源实现中转。
|
|
24
24
|
*
|
|
25
25
|
* @param shape - 可形状参数(原样透传)
|
|
26
26
|
* @returns { xmin: number; ymin: number; zmin: number; xmax: number; ymax: number; zmax: number } — 纯数据结果(非 Shape)。
|
|
@@ -36,8 +36,8 @@ export declare function getBounds(shape: Shape): {
|
|
|
36
36
|
/**
|
|
37
37
|
* ellipsoid — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
38
38
|
* ellipsoid(rx: number, ry: number, rz: number, options?: EllipsoidOptions): Shape
|
|
39
|
-
* 桥接:defineOp({ brep: __own_ellipsoidBrep })——core 直连 occt 引擎(§5.4
|
|
40
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
39
|
+
* 桥接:defineOp({ brep: __own_ellipsoidBrep })——core 直连 occt 引擎(§5.4),
|
|
40
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
41
41
|
*/
|
|
42
42
|
export declare const ellipsoid: ((...args: unknown[]) => Promise<Shape>) & {
|
|
43
43
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -45,8 +45,8 @@ export declare const ellipsoid: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
45
45
|
/**
|
|
46
46
|
* rotate — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
47
47
|
* rotate(shape: Shape, angle: number, options?: { at?, axis? }): Shape
|
|
48
|
-
* 桥接:defineOp({ brep: __own_rotateBrep })——core 直连 occt 引擎(§5.4
|
|
49
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
48
|
+
* 桥接:defineOp({ brep: __own_rotateBrep })——core 直连 occt 引擎(§5.4),
|
|
49
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
50
50
|
*/
|
|
51
51
|
export declare const rotate: ((...args: unknown[]) => Promise<Shape>) & {
|
|
52
52
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -54,8 +54,8 @@ export declare const rotate: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
54
54
|
/**
|
|
55
55
|
* mirror — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
56
56
|
* mirror(shape: Shape, options?: MirrorOptions): Shape
|
|
57
|
-
* 桥接:defineOp({ brep: __own_mirrorBrep })——core 直连 occt 引擎(§5.4
|
|
58
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
57
|
+
* 桥接:defineOp({ brep: __own_mirrorBrep })——core 直连 occt 引擎(§5.4),
|
|
58
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
59
59
|
*/
|
|
60
60
|
export declare const mirror: ((...args: unknown[]) => Promise<Shape>) & {
|
|
61
61
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -63,8 +63,8 @@ export declare const mirror: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
63
63
|
/**
|
|
64
64
|
* clone — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
65
65
|
* clone(shape: Shape): Shape
|
|
66
|
-
* 桥接:defineOp({ brep: __own_cloneBrep })——core 直连 occt 引擎(§5.4
|
|
67
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
66
|
+
* 桥接:defineOp({ brep: __own_cloneBrep })——core 直连 occt 引擎(§5.4),
|
|
67
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
68
68
|
*/
|
|
69
69
|
export declare const clone: ((...args: unknown[]) => Promise<Shape>) & {
|
|
70
70
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -72,8 +72,8 @@ export declare const clone: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
72
72
|
/**
|
|
73
73
|
* applyMatrix — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
74
74
|
* applyMatrix(shape: Shape, matrix: unknown): Shape
|
|
75
|
-
* 桥接:defineOp({ brep: __own_applyMatrixBrep })——core 直连 occt 引擎(§5.4
|
|
76
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
75
|
+
* 桥接:defineOp({ brep: __own_applyMatrixBrep })——core 直连 occt 引擎(§5.4),
|
|
76
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
77
77
|
*/
|
|
78
78
|
export declare const applyMatrix: ((...args: unknown[]) => Promise<Shape>) & {
|
|
79
79
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -81,8 +81,8 @@ export declare const applyMatrix: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
81
81
|
/**
|
|
82
82
|
* locate — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
83
83
|
* locate(shape: Shape, placement: unknown): Shape
|
|
84
|
-
* 桥接:defineOp({ brep: __own_locateBrep })——core 直连 occt 引擎(§5.4
|
|
85
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
84
|
+
* 桥接:defineOp({ brep: __own_locateBrep })——core 直连 occt 引擎(§5.4),
|
|
85
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
86
86
|
*/
|
|
87
87
|
export declare const locate: ((...args: unknown[]) => Promise<Shape>) & {
|
|
88
88
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -90,8 +90,8 @@ export declare const locate: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
90
90
|
/**
|
|
91
91
|
* section — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
92
92
|
* section(shape: Shape, plane: PlaneInput): Shape
|
|
93
|
-
* 桥接:defineOp({ brep: __own_sectionBrep })——core 直连 occt 引擎(§5.4
|
|
94
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
93
|
+
* 桥接:defineOp({ brep: __own_sectionBrep })——core 直连 occt 引擎(§5.4),
|
|
94
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
95
95
|
*/
|
|
96
96
|
export declare const section: ((...args: unknown[]) => Promise<Shape>) & {
|
|
97
97
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -99,8 +99,8 @@ export declare const section: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
99
99
|
/**
|
|
100
100
|
* split — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
101
101
|
* split(shape: Shape, tools: Shape[]): Shape
|
|
102
|
-
* 桥接:defineOp({ brep: __own_splitBrep })——core 直连 occt 引擎(§5.4
|
|
103
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
102
|
+
* 桥接:defineOp({ brep: __own_splitBrep })——core 直连 occt 引擎(§5.4),
|
|
103
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
104
104
|
*/
|
|
105
105
|
export declare const split: ((...args: unknown[]) => Promise<Shape>) & {
|
|
106
106
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -108,8 +108,8 @@ export declare const split: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
108
108
|
/**
|
|
109
109
|
* shell — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
110
110
|
* shell(shape: Shape, faces?: Shape[], thickness: number): Shape
|
|
111
|
-
* 桥接:defineOp({ brep: __own_shellBrep })——core 直连 occt 引擎(§5.4
|
|
112
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
111
|
+
* 桥接:defineOp({ brep: __own_shellBrep })——core 直连 occt 引擎(§5.4),
|
|
112
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
113
113
|
*/
|
|
114
114
|
export declare const shell: ((...args: unknown[]) => Promise<Shape>) & {
|
|
115
115
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -117,8 +117,8 @@ export declare const shell: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
117
117
|
/**
|
|
118
118
|
* offset — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
119
119
|
* offset(shape: Shape, distance: number): Shape
|
|
120
|
-
* 桥接:defineOp({ brep: __own_offsetBrep })——core 直连 occt 引擎(§5.4
|
|
121
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
120
|
+
* 桥接:defineOp({ brep: __own_offsetBrep })——core 直连 occt 引擎(§5.4),
|
|
121
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
122
122
|
*/
|
|
123
123
|
export declare const offset: ((...args: unknown[]) => Promise<Shape>) & {
|
|
124
124
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -126,8 +126,8 @@ export declare const offset: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
126
126
|
/**
|
|
127
127
|
* heal — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
128
128
|
* heal(shape: Shape): Shape
|
|
129
|
-
* 桥接:defineOp({ brep: __own_healBrep })——core 直连 occt 引擎(§5.4
|
|
130
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
129
|
+
* 桥接:defineOp({ brep: __own_healBrep })——core 直连 occt 引擎(§5.4),
|
|
130
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
131
131
|
*/
|
|
132
132
|
export declare const heal: ((...args: unknown[]) => Promise<Shape>) & {
|
|
133
133
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -135,25 +135,25 @@ export declare const heal: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
135
135
|
/**
|
|
136
136
|
* simplify — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
137
137
|
* simplify(shape: Shape): Shape
|
|
138
|
-
* 桥接:defineOp({ brep: __own_simplifyBrep })——core 直连 occt 引擎(§5.4
|
|
139
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
138
|
+
* 桥接:defineOp({ brep: __own_simplifyBrep })——core 直连 occt 引擎(§5.4),
|
|
139
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
140
140
|
*/
|
|
141
141
|
export declare const simplify: ((...args: unknown[]) => Promise<Shape>) & {
|
|
142
142
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
143
143
|
};
|
|
144
144
|
/**
|
|
145
|
-
* isValid — 查询(core
|
|
146
|
-
* isValid(shape: Shape): boolean(core
|
|
147
|
-
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2
|
|
145
|
+
* isValid — 查询(core,生成文件,勿手改;来源 api/surface/arg-spec.ts)。
|
|
146
|
+
* isValid(shape: Shape): boolean(core)
|
|
147
|
+
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无来源实现中转。
|
|
148
148
|
*
|
|
149
149
|
* @param shape - 可形状参数(原样透传)
|
|
150
150
|
* @returns boolean — 纯数据结果(非 Shape)。
|
|
151
151
|
*/
|
|
152
152
|
export declare function isValid(shape: Shape): boolean;
|
|
153
153
|
/**
|
|
154
|
-
* isSameShape — 查询(core
|
|
155
|
-
* isSameShape(a: Shape, b: Shape): boolean(core
|
|
156
|
-
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2
|
|
154
|
+
* isSameShape — 查询(core,生成文件,勿手改;来源 api/surface/arg-spec.ts)。
|
|
155
|
+
* isSameShape(a: Shape, b: Shape): boolean(core)
|
|
156
|
+
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无来源实现中转。
|
|
157
157
|
*
|
|
158
158
|
* @param a - 可形状参数(第一个被比较形状)
|
|
159
159
|
* @param b - 可形状参数(第二个被比较形状)
|
|
@@ -163,8 +163,8 @@ export declare function isSameShape(a: Shape, b: Shape): boolean;
|
|
|
163
163
|
/**
|
|
164
164
|
* autoHeal — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
165
165
|
* autoHeal(shape: Shape, options?: AutoHealOptions): { shape: Shape, report }
|
|
166
|
-
* 桥接:defineOp({ brep: __own_autoHealBrep })——core 直连 occt 引擎(§5.4
|
|
167
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
166
|
+
* 桥接:defineOp({ brep: __own_autoHealBrep })——core 直连 occt 引擎(§5.4),
|
|
167
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
168
168
|
*/
|
|
169
169
|
export declare const autoHeal: ((...args: unknown[]) => Promise<Record<string, Shape>>) & {
|
|
170
170
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -172,8 +172,8 @@ export declare const autoHeal: ((...args: unknown[]) => Promise<Record<string, S
|
|
|
172
172
|
/**
|
|
173
173
|
* fixShape — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
174
174
|
* fixShape(shape: Shape): Shape
|
|
175
|
-
* 桥接:defineOp({ brep: __own_fixShapeBrep })——core 直连 occt 引擎(§5.4
|
|
176
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
175
|
+
* 桥接:defineOp({ brep: __own_fixShapeBrep })——core 直连 occt 引擎(§5.4),
|
|
176
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
177
177
|
*/
|
|
178
178
|
export declare const fixShape: ((...args: unknown[]) => Promise<Shape>) & {
|
|
179
179
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -181,8 +181,8 @@ export declare const fixShape: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
181
181
|
/**
|
|
182
182
|
* healSolid — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
183
183
|
* healSolid(solid: Shape): Shape
|
|
184
|
-
* 桥接:defineOp({ brep: __own_healSolidBrep })——core 直连 occt 引擎(§5.4
|
|
185
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
184
|
+
* 桥接:defineOp({ brep: __own_healSolidBrep })——core 直连 occt 引擎(§5.4),
|
|
185
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
186
186
|
*/
|
|
187
187
|
export declare const healSolid: ((...args: unknown[]) => Promise<Shape>) & {
|
|
188
188
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -190,8 +190,8 @@ export declare const healSolid: ((...args: unknown[]) => Promise<Shape>) & {
|
|
|
190
190
|
/**
|
|
191
191
|
* fixSelfIntersection — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
192
192
|
* fixSelfIntersection(shape: Shape): Shape
|
|
193
|
-
* 桥接:defineOp({ brep: __own_fixSelfIntersectionBrep })——core 直连 occt 引擎(§5.4
|
|
194
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
193
|
+
* 桥接:defineOp({ brep: __own_fixSelfIntersectionBrep })——core 直连 occt 引擎(§5.4),
|
|
194
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
195
195
|
*/
|
|
196
196
|
export declare const fixSelfIntersection: ((...args: unknown[]) => Promise<Shape>) & {
|
|
197
197
|
__faijs__dualOp?: import("../../define-op.js").DualOpMeta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topology.d.ts","sourceRoot":"","sources":["../../../src/api/generated/topology.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"topology.d.ts","sourceRoot":"","sources":["../../../src/api/generated/topology.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAoB7C;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;CAGhB,CAAA;AAE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AM,QAAQ;;CAGnB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;CAGpB,CAAA;AAEF;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;CAG9B,CAAA"}
|
|
@@ -2,33 +2,37 @@
|
|
|
2
2
|
* generated/topology.ts — 生成文件,勿手改。
|
|
3
3
|
* 由 packages/core/scripts/gen-l3-surface.ts 依据 api/surface/arg-spec.ts 生成(E5/P14 分片)。
|
|
4
4
|
* topology 模块:21 个投影符号;另有 281 个 skip 登记。
|
|
5
|
+
* A6(2026-10-06)口径指认:本文件是 brepjs 投影面的**增量**清单;脚本面全集的
|
|
6
|
+
* 权威来源是 generated/script-face.ts + gen-symbol-table 产物
|
|
7
|
+
* lang/symbol-table.generated.ts(cad 脚本面 95 op)。两个清单回答不同问题,
|
|
8
|
+
* 互不为超集——禁止用本文件的名字反推脚本面能力。
|
|
5
9
|
*/
|
|
6
10
|
import { defineOp } from '../../define-op.js';
|
|
7
11
|
import { brepOf } from '../../shape.js';
|
|
8
12
|
import { getBrepApi } from '../../brep/handle-bridge.js';
|
|
9
|
-
import { torusBrep as __own_torusBrep } from '../brep-
|
|
10
|
-
import { fuseBrep as __own_fuseBrep } from '../brep-
|
|
11
|
-
import { ellipsoidBrep as __own_ellipsoidBrep } from '../brep-
|
|
12
|
-
import { rotateBrep as __own_rotateBrep } from '../brep-
|
|
13
|
-
import { mirrorBrep as __own_mirrorBrep } from '../brep-
|
|
14
|
-
import { cloneBrep as __own_cloneBrep } from '../brep-
|
|
15
|
-
import { applyMatrixBrep as __own_applyMatrixBrep } from '../brep-
|
|
16
|
-
import { locateBrep as __own_locateBrep } from '../brep-
|
|
17
|
-
import { sectionBrep as __own_sectionBrep } from '../brep-
|
|
18
|
-
import { splitBrep as __own_splitBrep } from '../brep-
|
|
19
|
-
import { shellBrep as __own_shellBrep } from '../brep-
|
|
20
|
-
import { offsetBrep as __own_offsetBrep } from '../brep-
|
|
21
|
-
import { healBrep as __own_healBrep } from '../brep-
|
|
22
|
-
import { simplifyBrep as __own_simplifyBrep } from '../brep-
|
|
23
|
-
import { autoHealBrep as __own_autoHealBrep } from '../brep-
|
|
24
|
-
import { fixShapeBrep as __own_fixShapeBrep } from '../brep-
|
|
25
|
-
import { healSolidBrep as __own_healSolidBrep } from '../brep-
|
|
26
|
-
import { fixSelfIntersectionBrep as __own_fixSelfIntersectionBrep } from '../brep-
|
|
13
|
+
import { torusBrep as __own_torusBrep } from '../brep-operations/primitiveFns.js';
|
|
14
|
+
import { fuseBrep as __own_fuseBrep } from '../brep-operations/booleanFns.js';
|
|
15
|
+
import { ellipsoidBrep as __own_ellipsoidBrep } from '../brep-operations/primitiveFns.js';
|
|
16
|
+
import { rotateBrep as __own_rotateBrep } from '../brep-operations/topologyFns.js';
|
|
17
|
+
import { mirrorBrep as __own_mirrorBrep } from '../brep-operations/topologyFns.js';
|
|
18
|
+
import { cloneBrep as __own_cloneBrep } from '../brep-operations/topologyFns.js';
|
|
19
|
+
import { applyMatrixBrep as __own_applyMatrixBrep } from '../brep-operations/topologyFns.js';
|
|
20
|
+
import { locateBrep as __own_locateBrep } from '../brep-operations/topologyFns.js';
|
|
21
|
+
import { sectionBrep as __own_sectionBrep } from '../brep-operations/booleanFns.js';
|
|
22
|
+
import { splitBrep as __own_splitBrep } from '../brep-operations/booleanFns.js';
|
|
23
|
+
import { shellBrep as __own_shellBrep } from '../brep-operations/topologyFns.js';
|
|
24
|
+
import { offsetBrep as __own_offsetBrep } from '../brep-operations/topologyFns.js';
|
|
25
|
+
import { healBrep as __own_healBrep } from '../brep-operations/healingFns.js';
|
|
26
|
+
import { simplifyBrep as __own_simplifyBrep } from '../brep-operations/healingFns.js';
|
|
27
|
+
import { autoHealBrep as __own_autoHealBrep } from '../brep-operations/healingFns.js';
|
|
28
|
+
import { fixShapeBrep as __own_fixShapeBrep } from '../brep-operations/healingFns.js';
|
|
29
|
+
import { healSolidBrep as __own_healSolidBrep } from '../brep-operations/healingFns.js';
|
|
30
|
+
import { fixSelfIntersectionBrep as __own_fixSelfIntersectionBrep } from '../brep-operations/healingFns.js';
|
|
27
31
|
/**
|
|
28
32
|
* torus — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
29
33
|
* (majorRadius: number, minorRadius: number, options?: TorusOptions)
|
|
30
|
-
* 桥接:defineOp({ brep: __own_torusBrep })——core 直连 occt 引擎(§5.4
|
|
31
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
34
|
+
* 桥接:defineOp({ brep: __own_torusBrep })——core 直连 occt 引擎(§5.4),
|
|
35
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
32
36
|
*/
|
|
33
37
|
export const torus = defineOp({
|
|
34
38
|
brep: __own_torusBrep,
|
|
@@ -37,17 +41,17 @@ export const torus = defineOp({
|
|
|
37
41
|
/**
|
|
38
42
|
* fuse — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
39
43
|
* (a: Shape3D, b: Shape3D, options?: BooleanOptions) -> Result<Shape3D>
|
|
40
|
-
* 桥接:defineOp({ brep: __own_fuseBrep })——core 直连 occt 引擎(§5.4
|
|
41
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
44
|
+
* 桥接:defineOp({ brep: __own_fuseBrep })——core 直连 occt 引擎(§5.4),
|
|
45
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
42
46
|
*/
|
|
43
47
|
export const fuse = defineOp({
|
|
44
48
|
brep: __own_fuseBrep,
|
|
45
49
|
name: 'fuse', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, engines: ["occt"],
|
|
46
50
|
});
|
|
47
51
|
/**
|
|
48
|
-
* getBounds — 查询(core
|
|
49
|
-
* (shape: Shape) -> BrepBoundingBox(core
|
|
50
|
-
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2
|
|
52
|
+
* getBounds — 查询(core,生成文件,勿手改;来源 api/surface/arg-spec.ts)。
|
|
53
|
+
* (shape: Shape) -> BrepBoundingBox(core)
|
|
54
|
+
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无来源实现中转。
|
|
51
55
|
*
|
|
52
56
|
* @param shape - 可形状参数(原样透传)
|
|
53
57
|
* @returns { xmin: number; ymin: number; zmin: number; xmax: number; ymax: number; zmax: number } — 纯数据结果(非 Shape)。
|
|
@@ -59,8 +63,8 @@ export function getBounds(shape) {
|
|
|
59
63
|
/**
|
|
60
64
|
* ellipsoid — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
61
65
|
* ellipsoid(rx: number, ry: number, rz: number, options?: EllipsoidOptions): Shape
|
|
62
|
-
* 桥接:defineOp({ brep: __own_ellipsoidBrep })——core 直连 occt 引擎(§5.4
|
|
63
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
66
|
+
* 桥接:defineOp({ brep: __own_ellipsoidBrep })——core 直连 occt 引擎(§5.4),
|
|
67
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
64
68
|
*/
|
|
65
69
|
export const ellipsoid = defineOp({
|
|
66
70
|
brep: __own_ellipsoidBrep,
|
|
@@ -69,8 +73,8 @@ export const ellipsoid = defineOp({
|
|
|
69
73
|
/**
|
|
70
74
|
* rotate — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
71
75
|
* rotate(shape: Shape, angle: number, options?: { at?, axis? }): Shape
|
|
72
|
-
* 桥接:defineOp({ brep: __own_rotateBrep })——core 直连 occt 引擎(§5.4
|
|
73
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
76
|
+
* 桥接:defineOp({ brep: __own_rotateBrep })——core 直连 occt 引擎(§5.4),
|
|
77
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
74
78
|
*/
|
|
75
79
|
export const rotate = defineOp({
|
|
76
80
|
brep: __own_rotateBrep,
|
|
@@ -79,8 +83,8 @@ export const rotate = defineOp({
|
|
|
79
83
|
/**
|
|
80
84
|
* mirror — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
81
85
|
* mirror(shape: Shape, options?: MirrorOptions): Shape
|
|
82
|
-
* 桥接:defineOp({ brep: __own_mirrorBrep })——core 直连 occt 引擎(§5.4
|
|
83
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
86
|
+
* 桥接:defineOp({ brep: __own_mirrorBrep })——core 直连 occt 引擎(§5.4),
|
|
87
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
84
88
|
*/
|
|
85
89
|
export const mirror = defineOp({
|
|
86
90
|
brep: __own_mirrorBrep,
|
|
@@ -89,8 +93,8 @@ export const mirror = defineOp({
|
|
|
89
93
|
/**
|
|
90
94
|
* clone — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
91
95
|
* clone(shape: Shape): Shape
|
|
92
|
-
* 桥接:defineOp({ brep: __own_cloneBrep })——core 直连 occt 引擎(§5.4
|
|
93
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
96
|
+
* 桥接:defineOp({ brep: __own_cloneBrep })——core 直连 occt 引擎(§5.4),
|
|
97
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
94
98
|
*/
|
|
95
99
|
export const clone = defineOp({
|
|
96
100
|
brep: __own_cloneBrep,
|
|
@@ -99,8 +103,8 @@ export const clone = defineOp({
|
|
|
99
103
|
/**
|
|
100
104
|
* applyMatrix — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
101
105
|
* applyMatrix(shape: Shape, matrix: unknown): Shape
|
|
102
|
-
* 桥接:defineOp({ brep: __own_applyMatrixBrep })——core 直连 occt 引擎(§5.4
|
|
103
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
106
|
+
* 桥接:defineOp({ brep: __own_applyMatrixBrep })——core 直连 occt 引擎(§5.4),
|
|
107
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
104
108
|
*/
|
|
105
109
|
export const applyMatrix = defineOp({
|
|
106
110
|
brep: __own_applyMatrixBrep,
|
|
@@ -109,8 +113,8 @@ export const applyMatrix = defineOp({
|
|
|
109
113
|
/**
|
|
110
114
|
* locate — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
111
115
|
* locate(shape: Shape, placement: unknown): Shape
|
|
112
|
-
* 桥接:defineOp({ brep: __own_locateBrep })——core 直连 occt 引擎(§5.4
|
|
113
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
116
|
+
* 桥接:defineOp({ brep: __own_locateBrep })——core 直连 occt 引擎(§5.4),
|
|
117
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
114
118
|
*/
|
|
115
119
|
export const locate = defineOp({
|
|
116
120
|
brep: __own_locateBrep,
|
|
@@ -119,8 +123,8 @@ export const locate = defineOp({
|
|
|
119
123
|
/**
|
|
120
124
|
* section — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
121
125
|
* section(shape: Shape, plane: PlaneInput): Shape
|
|
122
|
-
* 桥接:defineOp({ brep: __own_sectionBrep })——core 直连 occt 引擎(§5.4
|
|
123
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
126
|
+
* 桥接:defineOp({ brep: __own_sectionBrep })——core 直连 occt 引擎(§5.4),
|
|
127
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
124
128
|
*/
|
|
125
129
|
export const section = defineOp({
|
|
126
130
|
brep: __own_sectionBrep,
|
|
@@ -129,8 +133,8 @@ export const section = defineOp({
|
|
|
129
133
|
/**
|
|
130
134
|
* split — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
131
135
|
* split(shape: Shape, tools: Shape[]): Shape
|
|
132
|
-
* 桥接:defineOp({ brep: __own_splitBrep })——core 直连 occt 引擎(§5.4
|
|
133
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
136
|
+
* 桥接:defineOp({ brep: __own_splitBrep })——core 直连 occt 引擎(§5.4),
|
|
137
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
134
138
|
*/
|
|
135
139
|
export const split = defineOp({
|
|
136
140
|
brep: __own_splitBrep,
|
|
@@ -139,8 +143,8 @@ export const split = defineOp({
|
|
|
139
143
|
/**
|
|
140
144
|
* shell — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
141
145
|
* shell(shape: Shape, faces?: Shape[], thickness: number): Shape
|
|
142
|
-
* 桥接:defineOp({ brep: __own_shellBrep })——core 直连 occt 引擎(§5.4
|
|
143
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
146
|
+
* 桥接:defineOp({ brep: __own_shellBrep })——core 直连 occt 引擎(§5.4),
|
|
147
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
144
148
|
*/
|
|
145
149
|
export const shell = defineOp({
|
|
146
150
|
brep: __own_shellBrep,
|
|
@@ -149,8 +153,8 @@ export const shell = defineOp({
|
|
|
149
153
|
/**
|
|
150
154
|
* offset — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
151
155
|
* offset(shape: Shape, distance: number): Shape
|
|
152
|
-
* 桥接:defineOp({ brep: __own_offsetBrep })——core 直连 occt 引擎(§5.4
|
|
153
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
156
|
+
* 桥接:defineOp({ brep: __own_offsetBrep })——core 直连 occt 引擎(§5.4),
|
|
157
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
154
158
|
*/
|
|
155
159
|
export const offset = defineOp({
|
|
156
160
|
brep: __own_offsetBrep,
|
|
@@ -159,8 +163,8 @@ export const offset = defineOp({
|
|
|
159
163
|
/**
|
|
160
164
|
* heal — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
161
165
|
* heal(shape: Shape): Shape
|
|
162
|
-
* 桥接:defineOp({ brep: __own_healBrep })——core 直连 occt 引擎(§5.4
|
|
163
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
166
|
+
* 桥接:defineOp({ brep: __own_healBrep })——core 直连 occt 引擎(§5.4),
|
|
167
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
164
168
|
*/
|
|
165
169
|
export const heal = defineOp({
|
|
166
170
|
brep: __own_healBrep,
|
|
@@ -169,17 +173,17 @@ export const heal = defineOp({
|
|
|
169
173
|
/**
|
|
170
174
|
* simplify — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
171
175
|
* simplify(shape: Shape): Shape
|
|
172
|
-
* 桥接:defineOp({ brep: __own_simplifyBrep })——core 直连 occt 引擎(§5.4
|
|
173
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
176
|
+
* 桥接:defineOp({ brep: __own_simplifyBrep })——core 直连 occt 引擎(§5.4),
|
|
177
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
174
178
|
*/
|
|
175
179
|
export const simplify = defineOp({
|
|
176
180
|
brep: __own_simplifyBrep,
|
|
177
181
|
name: 'simplify', naming: { "kind": "kernel", "newFaces": { "via": "byAdjacency" } }, engines: ["occt"],
|
|
178
182
|
});
|
|
179
183
|
/**
|
|
180
|
-
* isValid — 查询(core
|
|
181
|
-
* isValid(shape: Shape): boolean(core
|
|
182
|
-
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2
|
|
184
|
+
* isValid — 查询(core,生成文件,勿手改;来源 api/surface/arg-spec.ts)。
|
|
185
|
+
* isValid(shape: Shape): boolean(core)
|
|
186
|
+
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无来源实现中转。
|
|
183
187
|
*
|
|
184
188
|
* @param shape - 可形状参数(原样透传)
|
|
185
189
|
* @returns boolean — 纯数据结果(非 Shape)。
|
|
@@ -189,9 +193,9 @@ export function isValid(shape) {
|
|
|
189
193
|
return getBrepApi().isValid(h0);
|
|
190
194
|
}
|
|
191
195
|
/**
|
|
192
|
-
* isSameShape — 查询(core
|
|
193
|
-
* isSameShape(a: Shape, b: Shape): boolean(core
|
|
194
|
-
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2
|
|
196
|
+
* isSameShape — 查询(core,生成文件,勿手改;来源 api/surface/arg-spec.ts)。
|
|
197
|
+
* isSameShape(a: Shape, b: Shape): boolean(core)
|
|
198
|
+
* 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无来源实现中转。
|
|
195
199
|
*
|
|
196
200
|
* @param a - 可形状参数(第一个被比较形状)
|
|
197
201
|
* @param b - 可形状参数(第二个被比较形状)
|
|
@@ -205,8 +209,8 @@ export function isSameShape(a, b) {
|
|
|
205
209
|
/**
|
|
206
210
|
* autoHeal — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
207
211
|
* autoHeal(shape: Shape, options?: AutoHealOptions): { shape: Shape, report }
|
|
208
|
-
* 桥接:defineOp({ brep: __own_autoHealBrep })——core 直连 occt 引擎(§5.4
|
|
209
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
212
|
+
* 桥接:defineOp({ brep: __own_autoHealBrep })——core 直连 occt 引擎(§5.4),
|
|
213
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
210
214
|
*/
|
|
211
215
|
export const autoHeal = defineOp({
|
|
212
216
|
brep: __own_autoHealBrep,
|
|
@@ -215,8 +219,8 @@ export const autoHeal = defineOp({
|
|
|
215
219
|
/**
|
|
216
220
|
* fixShape — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
217
221
|
* fixShape(shape: Shape): Shape
|
|
218
|
-
* 桥接:defineOp({ brep: __own_fixShapeBrep })——core 直连 occt 引擎(§5.4
|
|
219
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
222
|
+
* 桥接:defineOp({ brep: __own_fixShapeBrep })——core 直连 occt 引擎(§5.4),
|
|
223
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
220
224
|
*/
|
|
221
225
|
export const fixShape = defineOp({
|
|
222
226
|
brep: __own_fixShapeBrep,
|
|
@@ -225,8 +229,8 @@ export const fixShape = defineOp({
|
|
|
225
229
|
/**
|
|
226
230
|
* healSolid — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
227
231
|
* healSolid(solid: Shape): Shape
|
|
228
|
-
* 桥接:defineOp({ brep: __own_healSolidBrep })——core 直连 occt 引擎(§5.4
|
|
229
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
232
|
+
* 桥接:defineOp({ brep: __own_healSolidBrep })——core 直连 occt 引擎(§5.4),
|
|
233
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
230
234
|
*/
|
|
231
235
|
export const healSolid = defineOp({
|
|
232
236
|
brep: __own_healSolidBrep,
|
|
@@ -235,8 +239,8 @@ export const healSolid = defineOp({
|
|
|
235
239
|
/**
|
|
236
240
|
* fixSelfIntersection — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。
|
|
237
241
|
* fixSelfIntersection(shape: Shape): Shape
|
|
238
|
-
* 桥接:defineOp({ brep: __own_fixSelfIntersectionBrep })——core 直连 occt 引擎(§5.4
|
|
239
|
-
* D11 归一在自有实现内部完成(api/brep-
|
|
242
|
+
* 桥接:defineOp({ brep: __own_fixSelfIntersectionBrep })——core 直连 occt 引擎(§5.4),
|
|
243
|
+
* D11 归一在自有实现内部完成(api/brep-operations/)。
|
|
240
244
|
*/
|
|
241
245
|
export const fixSelfIntersection = defineOp({
|
|
242
246
|
brep: __own_fixSelfIntersectionBrep,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"topology.js","sourceRoot":"","sources":["../../../src/api/generated/topology.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAGrD,OAAO,EAAE,SAAS,IAAI,eAAe,EAA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,YAAY,EAAE,CAAC,WAAW,CAAC;CAC3G,CAAC,CAAA;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC;IAC1C,IAAI,EAAE,6BAA6B;IACnC,IAAI,EAAE,qBAAqB,EAAE,MAAM,EAAE,EAAC,MAAM,EAAC,QAAQ,EAAC,UAAU,EAAC,EAAC,KAAK,EAAC,aAAa,EAAC,EAAC,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC;CAC3G,CAAC,CAAA","sourcesContent":["/**\n * generated/topology.ts — 生成文件,勿手改。\n * 由 packages/core/scripts/gen-l3-surface.ts 依据 api/surface/arg-spec.ts 生成(E5/P14 分片)。\n * topology 模块:21 个投影符号;另有 281 个 skip 登记。\n */\nimport { defineOp } from '../../define-op'\nimport { brepOf } from '../../shape'\nimport { getBrepApi } from '../../brep/handle-bridge'\nimport type { BrepHandle } from '../../brep/engine/types'\nimport type { Shape } from '../../mesh/types'\nimport { torusBrep as __own_torusBrep } from '../brep-mirror/primitiveFns'\nimport { fuseBrep as __own_fuseBrep } from '../brep-mirror/booleanFns'\nimport { ellipsoidBrep as __own_ellipsoidBrep } from '../brep-mirror/primitiveFns'\nimport { rotateBrep as __own_rotateBrep } from '../brep-mirror/topologyFns'\nimport { mirrorBrep as __own_mirrorBrep } from '../brep-mirror/topologyFns'\nimport { cloneBrep as __own_cloneBrep } from '../brep-mirror/topologyFns'\nimport { applyMatrixBrep as __own_applyMatrixBrep } from '../brep-mirror/topologyFns'\nimport { locateBrep as __own_locateBrep } from '../brep-mirror/topologyFns'\nimport { sectionBrep as __own_sectionBrep } from '../brep-mirror/booleanFns'\nimport { splitBrep as __own_splitBrep } from '../brep-mirror/booleanFns'\nimport { shellBrep as __own_shellBrep } from '../brep-mirror/topologyFns'\nimport { offsetBrep as __own_offsetBrep } from '../brep-mirror/topologyFns'\nimport { healBrep as __own_healBrep } from '../brep-mirror/healingFns'\nimport { simplifyBrep as __own_simplifyBrep } from '../brep-mirror/healingFns'\nimport { autoHealBrep as __own_autoHealBrep } from '../brep-mirror/healingFns'\nimport { fixShapeBrep as __own_fixShapeBrep } from '../brep-mirror/healingFns'\nimport { healSolidBrep as __own_healSolidBrep } from '../brep-mirror/healingFns'\nimport { fixSelfIntersectionBrep as __own_fixSelfIntersectionBrep } from '../brep-mirror/healingFns'\n\n/**\n * torus — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * (majorRadius: number, minorRadius: number, options?: TorusOptions)\n * 桥接:defineOp({ brep: __own_torusBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const torus = defineOp({\n brep: __own_torusBrep,\n name: 'torus', naming: {\"kind\":\"unmodeled\",\"reason\":\"construct vocabulary pending Phase 3\"}, capabilities: [\"dispose\",\"makeTorus\"],\n})\n\n/**\n * fuse — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * (a: Shape3D, b: Shape3D, options?: BooleanOptions) -> Result<Shape3D>\n * 桥接:defineOp({ brep: __own_fuseBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const fuse = defineOp({\n brep: __own_fuseBrep,\n name: 'fuse', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * getBounds — 查询(core selfhost,生成文件,勿手改;来源 api/surface/arg-spec.ts)。\n * (shape: Shape) -> BrepBoundingBox(core selfhost)\n * 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无 vendored 借入/调用。\n *\n * @param shape - 可形状参数(原样透传)\n * @returns { xmin: number; ymin: number; zmin: number; xmax: number; ymax: number; zmax: number } — 纯数据结果(非 Shape)。\n */\nexport function getBounds(shape: Shape): { xmin: number; ymin: number; zmin: number; xmax: number; ymax: number; zmax: number } {\n const h0 = brepOf(shape as Shape) as BrepHandle\n return getBrepApi().getBoundingBox(h0)\n}\n\n/**\n * ellipsoid — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * ellipsoid(rx: number, ry: number, rz: number, options?: EllipsoidOptions): Shape\n * 桥接:defineOp({ brep: __own_ellipsoidBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const ellipsoid = defineOp({\n brep: __own_ellipsoidBrep,\n name: 'ellipsoid', naming: {\"kind\":\"unmodeled\",\"reason\":\"construct vocabulary pending Phase 3\"}, capabilities: [\"makeEllipsoid\",\"translate\"],\n})\n\n/**\n * rotate — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * rotate(shape: Shape, angle: number, options?: { at?, axis? }): Shape\n * 桥接:defineOp({ brep: __own_rotateBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const rotate = defineOp({\n brep: __own_rotateBrep,\n name: 'rotate', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"transform\"],\n})\n\n/**\n * mirror — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * mirror(shape: Shape, options?: MirrorOptions): Shape\n * 桥接:defineOp({ brep: __own_mirrorBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const mirror = defineOp({\n brep: __own_mirrorBrep,\n name: 'mirror', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"mirror\"],\n})\n\n/**\n * clone — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * clone(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_cloneBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const clone = defineOp({\n brep: __own_cloneBrep,\n name: 'clone', naming: {\"kind\":\"identity\"}, capabilities: [\"copyShape\"],\n})\n\n/**\n * applyMatrix — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * applyMatrix(shape: Shape, matrix: unknown): Shape\n * 桥接:defineOp({ brep: __own_applyMatrixBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const applyMatrix = defineOp({\n brep: __own_applyMatrixBrep,\n name: 'applyMatrix', naming: {\"kind\":\"identity\"}, capabilities: [\"transform\",\"generalTransform\"],\n})\n\n/**\n * locate — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * locate(shape: Shape, placement: unknown): Shape\n * 桥接:defineOp({ brep: __own_locateBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const locate = defineOp({\n brep: __own_locateBrep,\n name: 'locate', naming: {\"kind\":\"identity\"}, capabilities: [\"composeTransform\",\"dispose\",\"hashCode\",\"locate\"],\n})\n\n/**\n * section — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * section(shape: Shape, plane: PlaneInput): Shape\n * 桥接:defineOp({ brep: __own_sectionBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const section = defineOp({\n brep: __own_sectionBrep,\n name: 'section', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"sectionByPlane\",\"makeCompound\"],\n})\n\n/**\n * split — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * split(shape: Shape, tools: Shape[]): Shape\n * 桥接:defineOp({ brep: __own_splitBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const split = defineOp({\n brep: __own_splitBrep,\n name: 'split', naming: {\"kind\":\"subdivide\"}, engines: [\"occt\"],\n})\n\n/**\n * shell — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * shell(shape: Shape, faces?: Shape[], thickness: number): Shape\n * 桥接:defineOp({ brep: __own_shellBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const shell = defineOp({\n brep: __own_shellBrep,\n name: 'shell', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * offset — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * offset(shape: Shape, distance: number): Shape\n * 桥接:defineOp({ brep: __own_offsetBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const offset = defineOp({\n brep: __own_offsetBrep,\n name: 'offset', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * heal — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * heal(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_healBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const heal = defineOp({\n brep: __own_healBrep,\n name: 'heal', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * simplify — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * simplify(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_simplifyBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const simplify = defineOp({\n brep: __own_simplifyBrep,\n name: 'simplify', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * isValid — 查询(core selfhost,生成文件,勿手改;来源 api/surface/arg-spec.ts)。\n * isValid(shape: Shape): boolean(core selfhost)\n * 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无 vendored 借入/调用。\n *\n * @param shape - 可形状参数(原样透传)\n * @returns boolean — 纯数据结果(非 Shape)。\n */\nexport function isValid(shape: Shape): boolean {\n const h0 = brepOf(shape as Shape) as BrepHandle\n return getBrepApi().isValid(h0)\n}\n\n/**\n * isSameShape — 查询(core selfhost,生成文件,勿手改;来源 api/surface/arg-spec.ts)。\n * isSameShape(a: Shape, b: Shape): boolean(core selfhost)\n * 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无 vendored 借入/调用。\n *\n * @param a - 可形状参数(第一个被比较形状)\n * @param b - 可形状参数(第二个被比较形状)\n * @returns boolean — 纯数据结果(非 Shape)。\n */\nexport function isSameShape(a: Shape, b: Shape): boolean {\n const h0 = brepOf(a as Shape) as BrepHandle\n const h1 = brepOf(b as Shape) as BrepHandle\n return getBrepApi().isSame(h0, h1)\n}\n\n/**\n * autoHeal — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * autoHeal(shape: Shape, options?: AutoHealOptions): { shape: Shape, report }\n * 桥接:defineOp({ brep: __own_autoHealBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const autoHeal = defineOp({\n brep: __own_autoHealBrep,\n name: 'autoHeal', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"], outputs: [\"shape\"],\n})\n\n/**\n * fixShape — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * fixShape(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_fixShapeBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const fixShape = defineOp({\n brep: __own_fixShapeBrep,\n name: 'fixShape', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"fixShape\"],\n})\n\n/**\n * healSolid — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * healSolid(solid: Shape): Shape\n * 桥接:defineOp({ brep: __own_healSolidBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const healSolid = defineOp({\n brep: __own_healSolidBrep,\n name: 'healSolid', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"healSolid\"],\n})\n\n/**\n * fixSelfIntersection — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * fixSelfIntersection(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_fixSelfIntersectionBrep })——core 直连 occt 引擎(§5.4 selfhost),\n * D11 归一在自有实现内部完成(api/brep-mirror/)。\n */\nexport const fixSelfIntersection = defineOp({\n brep: __own_fixSelfIntersectionBrep,\n name: 'fixSelfIntersection', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n"]}
|
|
1
|
+
{"version":3,"file":"topology.js","sourceRoot":"","sources":["../../../src/api/generated/topology.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAGrD,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,iCAAiC,CAAA;AAC9E,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAC1E,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AACtF,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAC/E,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,gC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E,OAAO,EAAE,CAAC,MAAM,CAAC;CAC3G,CAAC,CAAA","sourcesContent":["/**\n * generated/topology.ts — 生成文件,勿手改。\n * 由 packages/core/scripts/gen-l3-surface.ts 依据 api/surface/arg-spec.ts 生成(E5/P14 分片)。\n * topology 模块:21 个投影符号;另有 281 个 skip 登记。\n * A6(2026-10-06)口径指认:本文件是 brepjs 投影面的**增量**清单;脚本面全集的\n * 权威来源是 generated/script-face.ts + gen-symbol-table 产物\n * lang/symbol-table.generated.ts(cad 脚本面 95 op)。两个清单回答不同问题,\n * 互不为超集——禁止用本文件的名字反推脚本面能力。\n */\nimport { defineOp } from '../../define-op'\nimport { brepOf } from '../../shape'\nimport { getBrepApi } from '../../brep/handle-bridge'\nimport type { BrepHandle } from '../../brep/engine/types'\nimport type { Shape } from '../../mesh/types'\nimport { torusBrep as __own_torusBrep } from '../brep-operations/primitiveFns'\nimport { fuseBrep as __own_fuseBrep } from '../brep-operations/booleanFns'\nimport { ellipsoidBrep as __own_ellipsoidBrep } from '../brep-operations/primitiveFns'\nimport { rotateBrep as __own_rotateBrep } from '../brep-operations/topologyFns'\nimport { mirrorBrep as __own_mirrorBrep } from '../brep-operations/topologyFns'\nimport { cloneBrep as __own_cloneBrep } from '../brep-operations/topologyFns'\nimport { applyMatrixBrep as __own_applyMatrixBrep } from '../brep-operations/topologyFns'\nimport { locateBrep as __own_locateBrep } from '../brep-operations/topologyFns'\nimport { sectionBrep as __own_sectionBrep } from '../brep-operations/booleanFns'\nimport { splitBrep as __own_splitBrep } from '../brep-operations/booleanFns'\nimport { shellBrep as __own_shellBrep } from '../brep-operations/topologyFns'\nimport { offsetBrep as __own_offsetBrep } from '../brep-operations/topologyFns'\nimport { healBrep as __own_healBrep } from '../brep-operations/healingFns'\nimport { simplifyBrep as __own_simplifyBrep } from '../brep-operations/healingFns'\nimport { autoHealBrep as __own_autoHealBrep } from '../brep-operations/healingFns'\nimport { fixShapeBrep as __own_fixShapeBrep } from '../brep-operations/healingFns'\nimport { healSolidBrep as __own_healSolidBrep } from '../brep-operations/healingFns'\nimport { fixSelfIntersectionBrep as __own_fixSelfIntersectionBrep } from '../brep-operations/healingFns'\n\n/**\n * torus — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * (majorRadius: number, minorRadius: number, options?: TorusOptions)\n * 桥接:defineOp({ brep: __own_torusBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const torus = defineOp({\n brep: __own_torusBrep,\n name: 'torus', naming: {\"kind\":\"unmodeled\",\"reason\":\"construct vocabulary pending Phase 3\"}, capabilities: [\"dispose\",\"makeTorus\"],\n})\n\n/**\n * fuse — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * (a: Shape3D, b: Shape3D, options?: BooleanOptions) -> Result<Shape3D>\n * 桥接:defineOp({ brep: __own_fuseBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const fuse = defineOp({\n brep: __own_fuseBrep,\n name: 'fuse', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * getBounds — 查询(core,生成文件,勿手改;来源 api/surface/arg-spec.ts)。\n * (shape: Shape) -> BrepBoundingBox(core)\n * 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无来源实现中转。\n *\n * @param shape - 可形状参数(原样透传)\n * @returns { xmin: number; ymin: number; zmin: number; xmax: number; ymax: number; zmax: number } — 纯数据结果(非 Shape)。\n */\nexport function getBounds(shape: Shape): { xmin: number; ymin: number; zmin: number; xmax: number; ymax: number; zmax: number } {\n const h0 = brepOf(shape as Shape) as BrepHandle\n return getBrepApi().getBoundingBox(h0)\n}\n\n/**\n * ellipsoid — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * ellipsoid(rx: number, ry: number, rz: number, options?: EllipsoidOptions): Shape\n * 桥接:defineOp({ brep: __own_ellipsoidBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const ellipsoid = defineOp({\n brep: __own_ellipsoidBrep,\n name: 'ellipsoid', naming: {\"kind\":\"unmodeled\",\"reason\":\"construct vocabulary pending Phase 3\"}, capabilities: [\"makeEllipsoid\",\"translate\"],\n})\n\n/**\n * rotate — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * rotate(shape: Shape, angle: number, options?: { at?, axis? }): Shape\n * 桥接:defineOp({ brep: __own_rotateBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const rotate = defineOp({\n brep: __own_rotateBrep,\n name: 'rotate', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"transform\"],\n})\n\n/**\n * mirror — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * mirror(shape: Shape, options?: MirrorOptions): Shape\n * 桥接:defineOp({ brep: __own_mirrorBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const mirror = defineOp({\n brep: __own_mirrorBrep,\n name: 'mirror', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"mirror\"],\n})\n\n/**\n * clone — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * clone(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_cloneBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const clone = defineOp({\n brep: __own_cloneBrep,\n name: 'clone', naming: {\"kind\":\"identity\"}, capabilities: [\"copyShape\"],\n})\n\n/**\n * applyMatrix — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * applyMatrix(shape: Shape, matrix: unknown): Shape\n * 桥接:defineOp({ brep: __own_applyMatrixBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const applyMatrix = defineOp({\n brep: __own_applyMatrixBrep,\n name: 'applyMatrix', naming: {\"kind\":\"identity\"}, capabilities: [\"transform\",\"generalTransform\"],\n})\n\n/**\n * locate — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * locate(shape: Shape, placement: unknown): Shape\n * 桥接:defineOp({ brep: __own_locateBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const locate = defineOp({\n brep: __own_locateBrep,\n name: 'locate', naming: {\"kind\":\"identity\"}, capabilities: [\"composeTransform\",\"dispose\",\"hashCode\",\"locate\"],\n})\n\n/**\n * section — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * section(shape: Shape, plane: PlaneInput): Shape\n * 桥接:defineOp({ brep: __own_sectionBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const section = defineOp({\n brep: __own_sectionBrep,\n name: 'section', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"sectionByPlane\",\"makeCompound\"],\n})\n\n/**\n * split — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * split(shape: Shape, tools: Shape[]): Shape\n * 桥接:defineOp({ brep: __own_splitBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const split = defineOp({\n brep: __own_splitBrep,\n name: 'split', naming: {\"kind\":\"subdivide\"}, engines: [\"occt\"],\n})\n\n/**\n * shell — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * shell(shape: Shape, faces?: Shape[], thickness: number): Shape\n * 桥接:defineOp({ brep: __own_shellBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const shell = defineOp({\n brep: __own_shellBrep,\n name: 'shell', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * offset — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * offset(shape: Shape, distance: number): Shape\n * 桥接:defineOp({ brep: __own_offsetBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const offset = defineOp({\n brep: __own_offsetBrep,\n name: 'offset', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * heal — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * heal(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_healBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const heal = defineOp({\n brep: __own_healBrep,\n name: 'heal', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * simplify — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * simplify(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_simplifyBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const simplify = defineOp({\n brep: __own_simplifyBrep,\n name: 'simplify', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n\n/**\n * isValid — 查询(core,生成文件,勿手改;来源 api/surface/arg-spec.ts)。\n * isValid(shape: Shape): boolean(core)\n * 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无来源实现中转。\n *\n * @param shape - 可形状参数(原样透传)\n * @returns boolean — 纯数据结果(非 Shape)。\n */\nexport function isValid(shape: Shape): boolean {\n const h0 = brepOf(shape as Shape) as BrepHandle\n return getBrepApi().isValid(h0)\n}\n\n/**\n * isSameShape — 查询(core,生成文件,勿手改;来源 api/surface/arg-spec.ts)。\n * isSameShape(a: Shape, b: Shape): boolean(core)\n * 桥接:getBrepApi().* 直连 occt 引擎(§5.5 第 2 条)——无来源实现中转。\n *\n * @param a - 可形状参数(第一个被比较形状)\n * @param b - 可形状参数(第二个被比较形状)\n * @returns boolean — 纯数据结果(非 Shape)。\n */\nexport function isSameShape(a: Shape, b: Shape): boolean {\n const h0 = brepOf(a as Shape) as BrepHandle\n const h1 = brepOf(b as Shape) as BrepHandle\n return getBrepApi().isSame(h0, h1)\n}\n\n/**\n * autoHeal — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * autoHeal(shape: Shape, options?: AutoHealOptions): { shape: Shape, report }\n * 桥接:defineOp({ brep: __own_autoHealBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const autoHeal = defineOp({\n brep: __own_autoHealBrep,\n name: 'autoHeal', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"], outputs: [\"shape\"],\n})\n\n/**\n * fixShape — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * fixShape(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_fixShapeBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const fixShape = defineOp({\n brep: __own_fixShapeBrep,\n name: 'fixShape', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"fixShape\"],\n})\n\n/**\n * healSolid — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * healSolid(solid: Shape): Shape\n * 桥接:defineOp({ brep: __own_healSolidBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const healSolid = defineOp({\n brep: __own_healSolidBrep,\n name: 'healSolid', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, capabilities: [\"healSolid\"],\n})\n\n/**\n * fixSelfIntersection — core 自有实现(生成文件,禁手改;来源 api/surface/arg-spec.ts)。\n * fixSelfIntersection(shape: Shape): Shape\n * 桥接:defineOp({ brep: __own_fixSelfIntersectionBrep })——core 直连 occt 引擎(§5.4),\n * D11 归一在自有实现内部完成(api/brep-operations/)。\n */\nexport const fixSelfIntersection = defineOp({\n brep: __own_fixSelfIntersectionBrep,\n name: 'fixSelfIntersection', naming: {\"kind\":\"kernel\",\"newFaces\":{\"via\":\"byAdjacency\"}}, engines: [\"occt\"],\n})\n"]}
|