@faicad/faijs 0.31.1 → 0.32.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/api-namespace.d.ts.map +1 -1
- package/dist/api/api-namespace.js +9 -3
- package/dist/api/api-namespace.js.map +1 -1
- package/dist/api/boolean-op/index.d.ts.map +1 -1
- package/dist/api/boolean-op/index.js +1 -0
- package/dist/api/boolean-op/index.js.map +1 -1
- package/dist/api/boolean.d.ts.map +1 -1
- package/dist/api/boolean.js +4 -0
- package/dist/api/boolean.js.map +1 -1
- package/dist/api/brep-operations/joinery-brep.js +10 -10
- package/dist/api/brep-operations/joinery-brep.js.map +1 -1
- package/dist/api/chamfer.d.ts.map +1 -1
- package/dist/api/chamfer.js +1 -0
- package/dist/api/chamfer.js.map +1 -1
- package/dist/api/curve-sketch/index.d.ts.map +1 -1
- package/dist/api/curve-sketch/index.js +3 -0
- package/dist/api/curve-sketch/index.js.map +1 -1
- package/dist/api/draft.d.ts.map +1 -1
- package/dist/api/draft.js +1 -0
- package/dist/api/draft.js.map +1 -1
- package/dist/api/engrave.d.ts.map +1 -1
- package/dist/api/engrave.js +1 -0
- package/dist/api/engrave.js.map +1 -1
- package/dist/api/extrude.d.ts.map +1 -1
- package/dist/api/extrude.js +18 -17
- package/dist/api/extrude.js.map +1 -1
- package/dist/api/feature-repair.d.ts.map +1 -1
- package/dist/api/feature-repair.js +6 -0
- package/dist/api/feature-repair.js.map +1 -1
- package/dist/api/fillet-variable.d.ts.map +1 -1
- package/dist/api/fillet-variable.js +1 -0
- package/dist/api/fillet-variable.js.map +1 -1
- package/dist/api/fillet.d.ts.map +1 -1
- package/dist/api/fillet.js +1 -0
- package/dist/api/fillet.js.map +1 -1
- package/dist/api/generated/operations.js +16 -16
- package/dist/api/generated/operations.js.map +1 -1
- package/dist/api/generated/sketching.js +1 -1
- package/dist/api/generated/sketching.js.map +1 -1
- package/dist/api/generated/topology.js +18 -18
- package/dist/api/generated/topology.js.map +1 -1
- package/dist/api/helix.d.ts.map +1 -1
- package/dist/api/helix.js +1 -0
- package/dist/api/helix.js.map +1 -1
- package/dist/api/import-brep.d.ts.map +1 -1
- package/dist/api/import-brep.js +1 -0
- package/dist/api/import-brep.js.map +1 -1
- package/dist/api/import-step.d.ts.map +1 -1
- package/dist/api/import-step.js +1 -0
- package/dist/api/import-step.js.map +1 -1
- package/dist/api/index.d.ts +5 -2
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +3 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/loft-advanced.d.ts +66 -0
- package/dist/api/loft-advanced.d.ts.map +1 -0
- package/dist/api/loft-advanced.js +112 -0
- package/dist/api/loft-advanced.js.map +1 -0
- package/dist/api/loft.d.ts +16 -23
- package/dist/api/loft.d.ts.map +1 -1
- package/dist/api/loft.js +22 -40
- package/dist/api/loft.js.map +1 -1
- package/dist/api/measure-query/index.d.ts.map +1 -1
- package/dist/api/measure-query/index.js +2 -0
- package/dist/api/measure-query/index.js.map +1 -1
- package/dist/api/pattern.d.ts.map +1 -1
- package/dist/api/pattern.js +1 -0
- package/dist/api/pattern.js.map +1 -1
- package/dist/api/place.d.ts.map +1 -1
- package/dist/api/place.js +1 -0
- package/dist/api/place.js.map +1 -1
- package/dist/api/profile.d.ts.map +1 -1
- package/dist/api/profile.js +1 -0
- package/dist/api/profile.js.map +1 -1
- package/dist/api/punch-hole.d.ts.map +1 -1
- package/dist/api/punch-hole.js +1 -0
- package/dist/api/punch-hole.js.map +1 -1
- package/dist/api/replicate.d.ts.map +1 -1
- package/dist/api/replicate.js +6 -0
- package/dist/api/replicate.js.map +1 -1
- package/dist/api/revolve.d.ts.map +1 -1
- package/dist/api/revolve.js +1 -0
- package/dist/api/revolve.js.map +1 -1
- package/dist/api/screw.d.ts.map +1 -1
- package/dist/api/screw.js +1 -0
- package/dist/api/screw.js.map +1 -1
- package/dist/api/sdf.d.ts.map +1 -1
- package/dist/api/sdf.js +1 -0
- package/dist/api/sdf.js.map +1 -1
- package/dist/api/shell.d.ts.map +1 -1
- package/dist/api/shell.js +1 -0
- package/dist/api/shell.js.map +1 -1
- package/dist/api/sketch-on-face.d.ts +34 -30
- package/dist/api/sketch-on-face.d.ts.map +1 -1
- package/dist/api/sketch-on-face.js +41 -31
- package/dist/api/sketch-on-face.js.map +1 -1
- package/dist/api/sketch-on-plane.d.ts.map +1 -1
- package/dist/api/sketch-on-plane.js +1 -0
- package/dist/api/sketch-on-plane.js.map +1 -1
- package/dist/api/sketch-on-surface.d.ts +76 -0
- package/dist/api/sketch-on-surface.d.ts.map +1 -0
- package/dist/api/sketch-on-surface.js +99 -0
- package/dist/api/sketch-on-surface.js.map +1 -0
- package/dist/api/solid-offset/index.d.ts.map +1 -1
- package/dist/api/solid-offset/index.js +1 -0
- package/dist/api/solid-offset/index.js.map +1 -1
- package/dist/api/split.d.ts.map +1 -1
- package/dist/api/split.js +1 -0
- package/dist/api/split.js.map +1 -1
- package/dist/api/surface/arg-spec.d.ts +5 -4
- package/dist/api/surface/arg-spec.d.ts.map +1 -1
- package/dist/api/surface/arg-spec.js +2 -2
- package/dist/api/surface/arg-spec.js.map +1 -1
- package/dist/api/surface-face/index.d.ts.map +1 -1
- package/dist/api/surface-face/index.js +5 -0
- package/dist/api/surface-face/index.js.map +1 -1
- package/dist/api/surface.d.ts.map +1 -1
- package/dist/api/surface.js +1 -0
- package/dist/api/surface.js.map +1 -1
- package/dist/api/sweep-advanced.d.ts +117 -0
- package/dist/api/sweep-advanced.d.ts.map +1 -0
- package/dist/api/sweep-advanced.js +94 -0
- package/dist/api/sweep-advanced.js.map +1 -0
- package/dist/api/sweep.d.ts +18 -88
- package/dist/api/sweep.d.ts.map +1 -1
- package/dist/api/sweep.js +27 -30
- package/dist/api/sweep.js.map +1 -1
- package/dist/api/thicken.d.ts.map +1 -1
- package/dist/api/thicken.js +1 -0
- package/dist/api/thicken.js.map +1 -1
- package/dist/api/transform.d.ts.map +1 -1
- package/dist/api/transform.js +2 -0
- package/dist/api/transform.js.map +1 -1
- package/dist/api/wire.d.ts.map +1 -1
- package/dist/api/wire.js +1 -0
- package/dist/api/wire.js.map +1 -1
- package/dist/boolean/cross-section.d.ts +7 -6
- package/dist/boolean/cross-section.d.ts.map +1 -1
- package/dist/boolean/cross-section.js +38 -27
- package/dist/boolean/cross-section.js.map +1 -1
- package/dist/boolean/deriveNormals.d.ts +5 -5
- package/dist/boolean/deriveNormals.d.ts.map +1 -1
- package/dist/boolean/deriveNormals.js +18 -18
- package/dist/boolean/deriveNormals.js.map +1 -1
- package/dist/boolean/extrude-helpers.d.ts +6 -6
- package/dist/boolean/extrude-helpers.d.ts.map +1 -1
- package/dist/boolean/extrude-helpers.js +6 -6
- package/dist/boolean/extrude-helpers.js.map +1 -1
- package/dist/boolean/geo-convert.d.ts +11 -8
- package/dist/boolean/geo-convert.d.ts.map +1 -1
- package/dist/boolean/geo-convert.js +17 -73
- package/dist/boolean/geo-convert.js.map +1 -1
- package/dist/boolean/index.js.map +1 -1
- package/dist/brep/brep-ops.d.ts +5 -5
- package/dist/brep/brep-ops.d.ts.map +1 -1
- package/dist/brep/brep-ops.js +42 -42
- package/dist/brep/brep-ops.js.map +1 -1
- package/dist/brep/engine/adapters/brep-mock.d.ts.map +1 -1
- package/dist/brep/engine/adapters/brep-mock.js +24 -0
- package/dist/brep/engine/adapters/brep-mock.js.map +1 -1
- package/dist/brep/engine/primitives.d.ts +30 -0
- package/dist/brep/engine/primitives.d.ts.map +1 -1
- package/dist/brep/engine/primitives.js.map +1 -1
- package/dist/brepkit-kernel/brepkitKernel.d.ts.map +1 -1
- package/dist/brepkit-kernel/brepkitKernel.js +138 -0
- package/dist/brepkit-kernel/brepkitKernel.js.map +1 -1
- package/dist/cad-runtime/runtime.d.ts.map +1 -1
- package/dist/cad-runtime/runtime.js +5 -2
- package/dist/cad-runtime/runtime.js.map +1 -1
- package/dist/define-op.d.ts +16 -7
- package/dist/define-op.d.ts.map +1 -1
- package/dist/define-op.js +2 -0
- package/dist/define-op.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/lang/codegen.d.ts +14 -3
- package/dist/lang/codegen.d.ts.map +1 -1
- package/dist/lang/codegen.js +80 -5
- package/dist/lang/codegen.js.map +1 -1
- package/dist/lang/metadata-extractor.d.ts +10 -3
- package/dist/lang/metadata-extractor.d.ts.map +1 -1
- package/dist/lang/metadata-extractor.js +160 -65
- package/dist/lang/metadata-extractor.js.map +1 -1
- package/dist/lang/symbol-table.generated.d.ts +3 -0
- package/dist/lang/symbol-table.generated.d.ts.map +1 -1
- package/dist/lang/symbol-table.generated.js +3 -0
- package/dist/lang/symbol-table.generated.js.map +1 -1
- package/dist/math3d/Box3.d.ts +86 -0
- package/dist/math3d/Box3.d.ts.map +1 -0
- package/dist/math3d/Box3.js +149 -0
- package/dist/math3d/Box3.js.map +1 -0
- package/dist/math3d/Euler.d.ts +64 -0
- package/dist/math3d/Euler.d.ts.map +1 -0
- package/dist/math3d/Euler.js +94 -0
- package/dist/math3d/Euler.js.map +1 -0
- package/dist/math3d/Mat4.d.ts +196 -0
- package/dist/math3d/Mat4.d.ts.map +1 -0
- package/dist/math3d/Mat4.js +518 -0
- package/dist/math3d/Mat4.js.map +1 -0
- package/dist/math3d/Plane.d.ts +67 -0
- package/dist/math3d/Plane.d.ts.map +1 -0
- package/dist/math3d/Plane.js +90 -0
- package/dist/math3d/Plane.js.map +1 -0
- package/dist/math3d/Quat.d.ts +163 -0
- package/dist/math3d/Quat.d.ts.map +1 -0
- package/dist/math3d/Quat.js +408 -0
- package/dist/math3d/Quat.js.map +1 -0
- package/dist/math3d/Vec2.d.ts +185 -0
- package/dist/math3d/Vec2.d.ts.map +1 -0
- package/dist/math3d/Vec2.js +276 -0
- package/dist/math3d/Vec2.js.map +1 -0
- package/dist/math3d/Vec3.d.ts +326 -0
- package/dist/math3d/Vec3.d.ts.map +1 -0
- package/dist/math3d/Vec3.js +521 -0
- package/dist/math3d/Vec3.js.map +1 -0
- package/dist/math3d/index.d.ts +19 -0
- package/dist/math3d/index.d.ts.map +1 -0
- package/dist/math3d/index.js +19 -0
- package/dist/math3d/index.js.map +1 -0
- package/dist/mesh/decoration-provider.d.ts +2 -2
- package/dist/mesh/decoration-provider.d.ts.map +1 -1
- package/dist/mesh/decoration-provider.js.map +1 -1
- package/dist/mesh/engrave.d.ts.map +1 -1
- package/dist/mesh/engrave.js +36 -37
- package/dist/mesh/engrave.js.map +1 -1
- package/dist/mesh/io.d.ts.map +1 -1
- package/dist/mesh/io.js +6 -7
- package/dist/mesh/io.js.map +1 -1
- package/dist/mesh/knurl/KnurlGenerator.d.ts +8 -7
- package/dist/mesh/knurl/KnurlGenerator.d.ts.map +1 -1
- package/dist/mesh/knurl/KnurlGenerator.js +9 -9
- package/dist/mesh/knurl/KnurlGenerator.js.map +1 -1
- package/dist/mesh/knurl/displacement.d.ts +7 -6
- package/dist/mesh/knurl/displacement.d.ts.map +1 -1
- package/dist/mesh/knurl/displacement.js +29 -29
- package/dist/mesh/knurl/displacement.js.map +1 -1
- package/dist/mesh/knurl/subdivision.d.ts +3 -3
- package/dist/mesh/knurl/subdivision.d.ts.map +1 -1
- package/dist/mesh/knurl/subdivision.js +21 -15
- package/dist/mesh/knurl/subdivision.js.map +1 -1
- package/dist/mesh/knurl/textureLoader.d.ts +3 -3
- package/dist/mesh/knurl/textureLoader.d.ts.map +1 -1
- package/dist/mesh/knurl/textureLoader.js.map +1 -1
- package/dist/mesh/meshdata/index.d.ts +12 -0
- package/dist/mesh/meshdata/index.d.ts.map +1 -0
- package/dist/mesh/meshdata/index.js +12 -0
- package/dist/mesh/meshdata/index.js.map +1 -0
- package/dist/mesh/meshdata/ops.d.ts +62 -0
- package/dist/mesh/meshdata/ops.d.ts.map +1 -0
- package/dist/mesh/meshdata/ops.js +160 -0
- package/dist/mesh/meshdata/ops.js.map +1 -0
- package/dist/mesh/meshdata/parametric.d.ts +70 -0
- package/dist/mesh/meshdata/parametric.d.ts.map +1 -0
- package/dist/mesh/meshdata/parametric.js +213 -0
- package/dist/mesh/meshdata/parametric.js.map +1 -0
- package/dist/mesh/meshdata/weld.d.ts +21 -0
- package/dist/mesh/meshdata/weld.d.ts.map +1 -0
- package/dist/mesh/meshdata/weld.js +50 -0
- package/dist/mesh/meshdata/weld.js.map +1 -0
- package/dist/mesh/primitives.d.ts +1 -1
- package/dist/mesh/primitives.d.ts.map +1 -1
- package/dist/mesh/primitives.js +38 -39
- package/dist/mesh/primitives.js.map +1 -1
- package/dist/mesh/query.js +11 -11
- package/dist/mesh/query.js.map +1 -1
- package/dist/mesh/stl-loader.d.ts +7 -7
- package/dist/mesh/stl-loader.d.ts.map +1 -1
- package/dist/mesh/stl-loader.js +12 -24
- package/dist/mesh/stl-loader.js.map +1 -1
- package/dist/mesh/threemf-view.d.ts +11 -11
- package/dist/mesh/threemf-view.d.ts.map +1 -1
- package/dist/mesh/threemf-view.js +10 -10
- package/dist/mesh/threemf-view.js.map +1 -1
- package/dist/mesh/transform.d.ts +14 -8
- package/dist/mesh/transform.d.ts.map +1 -1
- package/dist/mesh/transform.js +18 -13
- package/dist/mesh/transform.js.map +1 -1
- package/dist/mesh/types.d.ts +2 -0
- package/dist/mesh/types.d.ts.map +1 -1
- package/dist/mesh/types.js.map +1 -1
- package/dist/occt-kernel/occt-primitives.d.ts.map +1 -1
- package/dist/occt-kernel/occt-primitives.js +20 -0
- package/dist/occt-kernel/occt-primitives.js.map +1 -1
- package/dist/primitives/brep-primitives.d.ts +8 -12
- package/dist/primitives/brep-primitives.d.ts.map +1 -1
- package/dist/primitives/brep-primitives.js +10 -28
- package/dist/primitives/brep-primitives.js.map +1 -1
- package/dist/primitives/index.js.map +1 -1
- package/dist/primitives/mesh-primitives.d.ts +10 -10
- package/dist/primitives/mesh-primitives.d.ts.map +1 -1
- package/dist/primitives/mesh-primitives.js +29 -76
- package/dist/primitives/mesh-primitives.js.map +1 -1
- package/dist/primitives/screw/screw.d.ts +3 -3
- package/dist/primitives/screw/screw.d.ts.map +1 -1
- package/dist/primitives/screw/screw.js +10 -9
- package/dist/primitives/screw/screw.js.map +1 -1
- package/dist/sdf/index.js.map +1 -1
- package/dist/units.d.ts +40 -0
- package/dist/units.d.ts.map +1 -1
- package/dist/units.js.map +1 -1
- package/package.json +15 -5
- package/dist/api/brep-mirror/booleanFns.d.ts +0 -40
- package/dist/api/brep-mirror/booleanFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/booleanFns.js +0 -104
- package/dist/api/brep-mirror/booleanFns.js.map +0 -1
- package/dist/api/brep-mirror/brepHelpers.d.ts +0 -55
- package/dist/api/brep-mirror/brepHelpers.d.ts.map +0 -1
- package/dist/api/brep-mirror/brepHelpers.js +0 -131
- package/dist/api/brep-mirror/brepHelpers.js.map +0 -1
- package/dist/api/brep-mirror/compoundFns.d.ts +0 -47
- package/dist/api/brep-mirror/compoundFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/compoundFns.js +0 -300
- package/dist/api/brep-mirror/compoundFns.js.map +0 -1
- package/dist/api/brep-mirror/healingFns.d.ts +0 -78
- package/dist/api/brep-mirror/healingFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/healingFns.js +0 -294
- package/dist/api/brep-mirror/healingFns.js.map +0 -1
- package/dist/api/brep-mirror/hullFns.d.ts +0 -20
- package/dist/api/brep-mirror/hullFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/hullFns.js +0 -46
- package/dist/api/brep-mirror/hullFns.js.map +0 -1
- package/dist/api/brep-mirror/joinery-brep.d.ts +0 -172
- package/dist/api/brep-mirror/joinery-brep.d.ts.map +0 -1
- package/dist/api/brep-mirror/joinery-brep.js +0 -463
- package/dist/api/brep-mirror/joinery-brep.js.map +0 -1
- package/dist/api/brep-mirror/patternFns.d.ts +0 -43
- package/dist/api/brep-mirror/patternFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/patternFns.js +0 -178
- package/dist/api/brep-mirror/patternFns.js.map +0 -1
- package/dist/api/brep-mirror/primitiveFns.d.ts +0 -42
- package/dist/api/brep-mirror/primitiveFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/primitiveFns.js +0 -104
- package/dist/api/brep-mirror/primitiveFns.js.map +0 -1
- package/dist/api/brep-mirror/roofFns.d.ts +0 -24
- package/dist/api/brep-mirror/roofFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/roofFns.js +0 -229
- package/dist/api/brep-mirror/roofFns.js.map +0 -1
- package/dist/api/brep-mirror/straightSkeleton.d.ts +0 -36
- package/dist/api/brep-mirror/straightSkeleton.d.ts.map +0 -1
- package/dist/api/brep-mirror/straightSkeleton.js +0 -443
- package/dist/api/brep-mirror/straightSkeleton.js.map +0 -1
- package/dist/api/brep-mirror/sweepFns.d.ts +0 -55
- package/dist/api/brep-mirror/sweepFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/sweepFns.js +0 -200
- package/dist/api/brep-mirror/sweepFns.js.map +0 -1
- package/dist/api/brep-mirror/threadFns.d.ts +0 -83
- package/dist/api/brep-mirror/threadFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/threadFns.js +0 -138
- package/dist/api/brep-mirror/threadFns.js.map +0 -1
- package/dist/api/brep-mirror/topologyFns.d.ts +0 -74
- package/dist/api/brep-mirror/topologyFns.d.ts.map +0 -1
- package/dist/api/brep-mirror/topologyFns.js +0 -276
- package/dist/api/brep-mirror/topologyFns.js.map +0 -1
- package/dist/api/brepjs-compat/constants.d.ts +0 -11
- package/dist/api/brepjs-compat/constants.d.ts.map +0 -1
- package/dist/api/brepjs-compat/constants.js +0 -11
- package/dist/api/brepjs-compat/constants.js.map +0 -1
- package/dist/api/brepjs-compat/index.d.ts +0 -21
- package/dist/api/brepjs-compat/index.d.ts.map +0 -1
- package/dist/api/brepjs-compat/index.js +0 -22
- package/dist/api/brepjs-compat/index.js.map +0 -1
- package/dist/api/brepjs-compat/planeOps.d.ts +0 -98
- package/dist/api/brepjs-compat/planeOps.d.ts.map +0 -1
- package/dist/api/brepjs-compat/planeOps.js +0 -170
- package/dist/api/brepjs-compat/planeOps.js.map +0 -1
- package/dist/api/brepjs-compat/planeTypes.d.ts +0 -24
- package/dist/api/brepjs-compat/planeTypes.d.ts.map +0 -1
- package/dist/api/brepjs-compat/planeTypes.js +0 -8
- package/dist/api/brepjs-compat/planeTypes.js.map +0 -1
- package/dist/api/brepjs-compat/types.d.ts +0 -64
- package/dist/api/brepjs-compat/types.d.ts.map +0 -1
- package/dist/api/brepjs-compat/types.js +0 -48
- package/dist/api/brepjs-compat/types.js.map +0 -1
- package/dist/api/brepjs-compat/vecOps.d.ts +0 -124
- package/dist/api/brepjs-compat/vecOps.d.ts.map +0 -1
- package/dist/api/brepjs-compat/vecOps.js +0 -202
- package/dist/api/brepjs-compat/vecOps.js.map +0 -1
- package/dist/api/generated/brepjs/index.d.ts +0 -310
- package/dist/api/generated/brepjs/index.d.ts.map +0 -1
- package/dist/api/generated/brepjs/index.js +0 -195
- package/dist/api/generated/brepjs/index.js.map +0 -1
- package/dist/api/generated/cad/script-face.d.ts +0 -12
- package/dist/api/generated/cad/script-face.d.ts.map +0 -1
- package/dist/api/generated/cad/script-face.js +0 -146
- package/dist/api/generated/cad/script-face.js.map +0 -1
- package/dist/api/internal/compat-projection.d.ts +0 -55
- package/dist/api/internal/compat-projection.d.ts.map +0 -1
- package/dist/api/internal/compat-projection.js +0 -75
- package/dist/api/internal/compat-projection.js.map +0 -1
- package/dist/api/occt-kernel-bridge.d.ts +0 -118
- package/dist/api/occt-kernel-bridge.d.ts.map +0 -1
- package/dist/api/occt-kernel-bridge.js +0 -283
- package/dist/api/occt-kernel-bridge.js.map +0 -1
- package/dist/api/sketch.d.ts +0 -80
- package/dist/api/sketch.d.ts.map +0 -1
- package/dist/api/sketch.js +0 -155
- package/dist/api/sketch.js.map +0 -1
- package/dist/api/surface/projection-overrides.d.ts +0 -38
- package/dist/api/surface/projection-overrides.d.ts.map +0 -1
- package/dist/api/surface/projection-overrides.js +0 -169
- package/dist/api/surface/projection-overrides.js.map +0 -1
- package/dist/brepjs-compat.d.ts +0 -20
- package/dist/brepjs-compat.d.ts.map +0 -1
- package/dist/brepjs-compat.js +0 -20
- package/dist/brepjs-compat.js.map +0 -1
- package/dist/cad-runtime/createRuntimeWithCad.d.ts +0 -22
- package/dist/cad-runtime/createRuntimeWithCad.d.ts.map +0 -1
- package/dist/cad-runtime/createRuntimeWithCad.js +0 -29
- package/dist/cad-runtime/createRuntimeWithCad.js.map +0 -1
- package/dist/fcstd/attachment.d.ts +0 -72
- package/dist/fcstd/attachment.d.ts.map +0 -1
- package/dist/fcstd/attachment.js +0 -93
- package/dist/fcstd/attachment.js.map +0 -1
- package/dist/fcstd/build-fai-zip.d.ts +0 -40
- package/dist/fcstd/build-fai-zip.d.ts.map +0 -1
- package/dist/fcstd/build-fai-zip.js +0 -111
- package/dist/fcstd/build-fai-zip.js.map +0 -1
- package/dist/fcstd/cli.d.ts +0 -3
- package/dist/fcstd/cli.d.ts.map +0 -1
- package/dist/fcstd/cli.js +0 -37
- package/dist/fcstd/cli.js.map +0 -1
- package/dist/fcstd/codegen.d.ts +0 -79
- package/dist/fcstd/codegen.d.ts.map +0 -1
- package/dist/fcstd/codegen.js +0 -605
- package/dist/fcstd/codegen.js.map +0 -1
- package/dist/fcstd/container.d.ts +0 -75
- package/dist/fcstd/container.d.ts.map +0 -1
- package/dist/fcstd/container.js +0 -36
- package/dist/fcstd/container.js.map +0 -1
- package/dist/fcstd/contour.d.ts +0 -43
- package/dist/fcstd/contour.d.ts.map +0 -1
- package/dist/fcstd/contour.js +0 -96
- package/dist/fcstd/contour.js.map +0 -1
- package/dist/fcstd/convert.d.ts +0 -63
- package/dist/fcstd/convert.d.ts.map +0 -1
- package/dist/fcstd/convert.js +0 -274
- package/dist/fcstd/convert.js.map +0 -1
- package/dist/fcstd/document.d.ts +0 -48
- package/dist/fcstd/document.d.ts.map +0 -1
- package/dist/fcstd/document.js +0 -140
- package/dist/fcstd/document.js.map +0 -1
- package/dist/fcstd/expressions.d.ts +0 -74
- package/dist/fcstd/expressions.d.ts.map +0 -1
- package/dist/fcstd/expressions.js +0 -157
- package/dist/fcstd/expressions.js.map +0 -1
- package/dist/fcstd/external-geo.d.ts +0 -49
- package/dist/fcstd/external-geo.d.ts.map +0 -1
- package/dist/fcstd/external-geo.js +0 -140
- package/dist/fcstd/external-geo.js.map +0 -1
- package/dist/fcstd/feature-translate.d.ts +0 -189
- package/dist/fcstd/feature-translate.d.ts.map +0 -1
- package/dist/fcstd/feature-translate.js +0 -968
- package/dist/fcstd/feature-translate.js.map +0 -1
- package/dist/fcstd/index.d.ts +0 -23
- package/dist/fcstd/index.d.ts.map +0 -1
- package/dist/fcstd/index.js +0 -19
- package/dist/fcstd/index.js.map +0 -1
- package/dist/fcstd/placement.d.ts +0 -93
- package/dist/fcstd/placement.d.ts.map +0 -1
- package/dist/fcstd/placement.js +0 -117
- package/dist/fcstd/placement.js.map +0 -1
- package/dist/fcstd/planegcs-backend.d.ts +0 -34
- package/dist/fcstd/planegcs-backend.d.ts.map +0 -1
- package/dist/fcstd/planegcs-backend.js +0 -626
- package/dist/fcstd/planegcs-backend.js.map +0 -1
- package/dist/fcstd/sketch-parse.d.ts +0 -181
- package/dist/fcstd/sketch-parse.d.ts.map +0 -1
- package/dist/fcstd/sketch-parse.js +0 -227
- package/dist/fcstd/sketch-parse.js.map +0 -1
- package/dist/fcstd/sketch-solver.d.ts +0 -63
- package/dist/fcstd/sketch-solver.d.ts.map +0 -1
- package/dist/fcstd/sketch-solver.js +0 -28
- package/dist/fcstd/sketch-solver.js.map +0 -1
- package/dist/fcstd/sketch-verify.d.ts +0 -43
- package/dist/fcstd/sketch-verify.d.ts.map +0 -1
- package/dist/fcstd/sketch-verify.js +0 -62
- package/dist/fcstd/sketch-verify.js.map +0 -1
- package/dist/fcstd/structural-types.d.ts +0 -83
- package/dist/fcstd/structural-types.d.ts.map +0 -1
- package/dist/fcstd/structural-types.js +0 -121
- package/dist/fcstd/structural-types.js.map +0 -1
- package/dist/fcstd/unpack.d.ts +0 -44
- package/dist/fcstd/unpack.d.ts.map +0 -1
- package/dist/fcstd/unpack.js +0 -64
- package/dist/fcstd/unpack.js.map +0 -1
- package/dist/fcstd-convert.d.ts +0 -30
- package/dist/fcstd-convert.d.ts.map +0 -1
- package/dist/fcstd-convert.js +0 -27
- package/dist/fcstd-convert.js.map +0 -1
- package/dist/mesh/creased-normals.d.ts +0 -50
- package/dist/mesh/creased-normals.d.ts.map +0 -1
- package/dist/mesh/creased-normals.js +0 -114
- package/dist/mesh/creased-normals.js.map +0 -1
- package/dist/occt-kernel/generated/occtPlatform.generated.d.ts +0 -260
- package/dist/occt-kernel/generated/occtPlatform.generated.d.ts.map +0 -1
- package/dist/occt-kernel/generated/occtPlatform.generated.js +0 -875
- package/dist/occt-kernel/generated/occtPlatform.generated.js.map +0 -1
- package/dist/occt-kernel/stepMetaParser.d.ts +0 -44
- package/dist/occt-kernel/stepMetaParser.d.ts.map +0 -1
- package/dist/occt-kernel/stepMetaParser.js +0 -166
- package/dist/occt-kernel/stepMetaParser.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/baseSketcher2d.d.ts +0 -106
- package/dist/vendored/brepjs/2d/blueprints/baseSketcher2d.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/baseSketcher2d.js +0 -341
- package/dist/vendored/brepjs/2d/blueprints/baseSketcher2d.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprint.d.ts +0 -185
- package/dist/vendored/brepjs/2d/blueprints/blueprint.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprint.js +0 -361
- package/dist/vendored/brepjs/2d/blueprints/blueprint.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintApproximations.d.ts +0 -15
- package/dist/vendored/brepjs/2d/blueprints/blueprintApproximations.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintApproximations.js +0 -28
- package/dist/vendored/brepjs/2d/blueprints/blueprintApproximations.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintCustomCorners.d.ts +0 -29
- package/dist/vendored/brepjs/2d/blueprints/blueprintCustomCorners.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintCustomCorners.js +0 -86
- package/dist/vendored/brepjs/2d/blueprints/blueprintCustomCorners.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintFns.d.ts +0 -57
- package/dist/vendored/brepjs/2d/blueprints/blueprintFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintFns.js +0 -92
- package/dist/vendored/brepjs/2d/blueprints/blueprintFns.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintOffset.d.ts +0 -58
- package/dist/vendored/brepjs/2d/blueprints/blueprintOffset.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintOffset.js +0 -346
- package/dist/vendored/brepjs/2d/blueprints/blueprintOffset.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintSketcher.d.ts +0 -30
- package/dist/vendored/brepjs/2d/blueprints/blueprintSketcher.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprintSketcher.js +0 -45
- package/dist/vendored/brepjs/2d/blueprints/blueprintSketcher.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprints.d.ts +0 -68
- package/dist/vendored/brepjs/2d/blueprints/blueprints.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/blueprints.js +0 -116
- package/dist/vendored/brepjs/2d/blueprints/blueprints.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/boolean2D.d.ts +0 -68
- package/dist/vendored/brepjs/2d/blueprints/boolean2D.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/boolean2D.js +0 -362
- package/dist/vendored/brepjs/2d/blueprints/boolean2D.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/booleanHelpers.d.ts +0 -34
- package/dist/vendored/brepjs/2d/blueprints/booleanHelpers.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/booleanHelpers.js +0 -176
- package/dist/vendored/brepjs/2d/blueprints/booleanHelpers.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/booleanOperations.d.ts +0 -55
- package/dist/vendored/brepjs/2d/blueprints/booleanOperations.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/booleanOperations.js +0 -110
- package/dist/vendored/brepjs/2d/blueprints/booleanOperations.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/cannedBlueprints.d.ts +0 -41
- package/dist/vendored/brepjs/2d/blueprints/cannedBlueprints.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/cannedBlueprints.js +0 -90
- package/dist/vendored/brepjs/2d/blueprints/cannedBlueprints.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/compoundBlueprint.d.ts +0 -85
- package/dist/vendored/brepjs/2d/blueprints/compoundBlueprint.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/compoundBlueprint.js +0 -136
- package/dist/vendored/brepjs/2d/blueprints/compoundBlueprint.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/ellipseUtils.d.ts +0 -48
- package/dist/vendored/brepjs/2d/blueprints/ellipseUtils.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/ellipseUtils.js +0 -154
- package/dist/vendored/brepjs/2d/blueprints/ellipseUtils.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/genericSketcher.d.ts +0 -342
- package/dist/vendored/brepjs/2d/blueprints/genericSketcher.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/genericSketcher.js +0 -32
- package/dist/vendored/brepjs/2d/blueprints/genericSketcher.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/index.d.ts +0 -16
- package/dist/vendored/brepjs/2d/blueprints/index.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/index.js +0 -13
- package/dist/vendored/brepjs/2d/blueprints/index.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/intersectionSegments.d.ts +0 -18
- package/dist/vendored/brepjs/2d/blueprints/intersectionSegments.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/intersectionSegments.js +0 -230
- package/dist/vendored/brepjs/2d/blueprints/intersectionSegments.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/lib.d.ts +0 -73
- package/dist/vendored/brepjs/2d/blueprints/lib.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/lib.js +0 -103
- package/dist/vendored/brepjs/2d/blueprints/lib.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/segmentAssembly.d.ts +0 -31
- package/dist/vendored/brepjs/2d/blueprints/segmentAssembly.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/segmentAssembly.js +0 -226
- package/dist/vendored/brepjs/2d/blueprints/segmentAssembly.js.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/svg.d.ts +0 -22
- package/dist/vendored/brepjs/2d/blueprints/svg.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/blueprints/svg.js +0 -30
- package/dist/vendored/brepjs/2d/blueprints/svg.js.map +0 -1
- package/dist/vendored/brepjs/2d/curve2dGeometryFns.d.ts +0 -124
- package/dist/vendored/brepjs/2d/curve2dGeometryFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/curve2dGeometryFns.js +0 -235
- package/dist/vendored/brepjs/2d/curve2dGeometryFns.js.map +0 -1
- package/dist/vendored/brepjs/2d/curves.d.ts +0 -45
- package/dist/vendored/brepjs/2d/curves.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/curves.js +0 -139
- package/dist/vendored/brepjs/2d/curves.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/approximations.d.ts +0 -47
- package/dist/vendored/brepjs/2d/lib/approximations.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/approximations.js +0 -82
- package/dist/vendored/brepjs/2d/lib/approximations.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/boundingBox2d.d.ts +0 -39
- package/dist/vendored/brepjs/2d/lib/boundingBox2d.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/boundingBox2d.js +0 -88
- package/dist/vendored/brepjs/2d/lib/boundingBox2d.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/curve2D.d.ts +0 -82
- package/dist/vendored/brepjs/2d/lib/curve2D.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/curve2D.js +0 -258
- package/dist/vendored/brepjs/2d/lib/curve2D.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/curve2dFns.d.ts +0 -53
- package/dist/vendored/brepjs/2d/lib/curve2dFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/curve2dFns.js +0 -69
- package/dist/vendored/brepjs/2d/lib/curve2dFns.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/customCorners.d.ts +0 -29
- package/dist/vendored/brepjs/2d/lib/customCorners.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/customCorners.js +0 -237
- package/dist/vendored/brepjs/2d/lib/customCorners.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/definitions.d.ts +0 -12
- package/dist/vendored/brepjs/2d/lib/definitions.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/definitions.js +0 -19
- package/dist/vendored/brepjs/2d/lib/definitions.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/ellipseArcFlags.d.ts +0 -21
- package/dist/vendored/brepjs/2d/lib/ellipseArcFlags.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/ellipseArcFlags.js +0 -71
- package/dist/vendored/brepjs/2d/lib/ellipseArcFlags.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/index.d.ts +0 -14
- package/dist/vendored/brepjs/2d/lib/index.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/index.js +0 -14
- package/dist/vendored/brepjs/2d/lib/index.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/intersections.d.ts +0 -34
- package/dist/vendored/brepjs/2d/lib/intersections.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/intersections.js +0 -77
- package/dist/vendored/brepjs/2d/lib/intersections.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/makeCurves.d.ts +0 -63
- package/dist/vendored/brepjs/2d/lib/makeCurves.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/makeCurves.js +0 -117
- package/dist/vendored/brepjs/2d/lib/makeCurves.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/offset.d.ts +0 -30
- package/dist/vendored/brepjs/2d/lib/offset.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/offset.js +0 -109
- package/dist/vendored/brepjs/2d/lib/offset.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/precision.d.ts +0 -12
- package/dist/vendored/brepjs/2d/lib/precision.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/precision.js +0 -12
- package/dist/vendored/brepjs/2d/lib/precision.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/stitching.d.ts +0 -15
- package/dist/vendored/brepjs/2d/lib/stitching.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/stitching.js +0 -67
- package/dist/vendored/brepjs/2d/lib/stitching.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/svgPath.d.ts +0 -4
- package/dist/vendored/brepjs/2d/lib/svgPath.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/svgPath.js +0 -114
- package/dist/vendored/brepjs/2d/lib/svgPath.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/utils.d.ts +0 -11
- package/dist/vendored/brepjs/2d/lib/utils.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/utils.js +0 -24
- package/dist/vendored/brepjs/2d/lib/utils.js.map +0 -1
- package/dist/vendored/brepjs/2d/lib/vectorOperations.d.ts +0 -19
- package/dist/vendored/brepjs/2d/lib/vectorOperations.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d/lib/vectorOperations.js +0 -26
- package/dist/vendored/brepjs/2d/lib/vectorOperations.js.map +0 -1
- package/dist/vendored/brepjs/2d.d.ts +0 -26
- package/dist/vendored/brepjs/2d.d.ts.map +0 -1
- package/dist/vendored/brepjs/2d.js +0 -33
- package/dist/vendored/brepjs/2d.js.map +0 -1
- package/dist/vendored/brepjs/core/constants.d.ts +0 -7
- package/dist/vendored/brepjs/core/constants.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/constants.js +0 -7
- package/dist/vendored/brepjs/core/constants.js.map +0 -1
- package/dist/vendored/brepjs/core/curve2dHandle.d.ts +0 -35
- package/dist/vendored/brepjs/core/curve2dHandle.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/curve2dHandle.js +0 -48
- package/dist/vendored/brepjs/core/curve2dHandle.js.map +0 -1
- package/dist/vendored/brepjs/core/dimensionTypes.d.ts +0 -61
- package/dist/vendored/brepjs/core/dimensionTypes.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/dimensionTypes.js +0 -54
- package/dist/vendored/brepjs/core/dimensionTypes.js.map +0 -1
- package/dist/vendored/brepjs/core/disposal.d.ts +0 -136
- package/dist/vendored/brepjs/core/disposal.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/disposal.js +0 -441
- package/dist/vendored/brepjs/core/disposal.js.map +0 -1
- package/dist/vendored/brepjs/core/errors.d.ts +0 -191
- package/dist/vendored/brepjs/core/errors.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/errors.js +0 -238
- package/dist/vendored/brepjs/core/errors.js.map +0 -1
- package/dist/vendored/brepjs/core/kernelBoundary.d.ts +0 -40
- package/dist/vendored/brepjs/core/kernelBoundary.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/kernelBoundary.js +0 -99
- package/dist/vendored/brepjs/core/kernelBoundary.js.map +0 -1
- package/dist/vendored/brepjs/core/kernelCall.d.ts +0 -48
- package/dist/vendored/brepjs/core/kernelCall.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/kernelCall.js +0 -154
- package/dist/vendored/brepjs/core/kernelCall.js.map +0 -1
- package/dist/vendored/brepjs/core/kernelErrorTranslation.d.ts +0 -17
- package/dist/vendored/brepjs/core/kernelErrorTranslation.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/kernelErrorTranslation.js +0 -98
- package/dist/vendored/brepjs/core/kernelErrorTranslation.js.map +0 -1
- package/dist/vendored/brepjs/core/planeOps.d.ts +0 -62
- package/dist/vendored/brepjs/core/planeOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/planeOps.js +0 -148
- package/dist/vendored/brepjs/core/planeOps.js.map +0 -1
- package/dist/vendored/brepjs/core/planeTypes.d.ts +0 -22
- package/dist/vendored/brepjs/core/planeTypes.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/planeTypes.js +0 -6
- package/dist/vendored/brepjs/core/planeTypes.js.map +0 -1
- package/dist/vendored/brepjs/core/result.d.ts +0 -85
- package/dist/vendored/brepjs/core/result.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/result.js +0 -212
- package/dist/vendored/brepjs/core/result.js.map +0 -1
- package/dist/vendored/brepjs/core/shapeTypeCache.d.ts +0 -27
- package/dist/vendored/brepjs/core/shapeTypeCache.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/shapeTypeCache.js +0 -40
- package/dist/vendored/brepjs/core/shapeTypeCache.js.map +0 -1
- package/dist/vendored/brepjs/core/shapeTypes.d.ts +0 -199
- package/dist/vendored/brepjs/core/shapeTypes.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/shapeTypes.js +0 -267
- package/dist/vendored/brepjs/core/shapeTypes.js.map +0 -1
- package/dist/vendored/brepjs/core/typeDiscriminants.d.ts +0 -25
- package/dist/vendored/brepjs/core/typeDiscriminants.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/typeDiscriminants.js +0 -50
- package/dist/vendored/brepjs/core/typeDiscriminants.js.map +0 -1
- package/dist/vendored/brepjs/core/types.d.ts +0 -51
- package/dist/vendored/brepjs/core/types.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/types.js +0 -35
- package/dist/vendored/brepjs/core/types.js.map +0 -1
- package/dist/vendored/brepjs/core/validityTypes.d.ts +0 -143
- package/dist/vendored/brepjs/core/validityTypes.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/validityTypes.js +0 -174
- package/dist/vendored/brepjs/core/validityTypes.js.map +0 -1
- package/dist/vendored/brepjs/core/vecOps.d.ts +0 -53
- package/dist/vendored/brepjs/core/vecOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/core/vecOps.js +0 -131
- package/dist/vendored/brepjs/core/vecOps.js.map +0 -1
- package/dist/vendored/brepjs/core.d.ts +0 -17
- package/dist/vendored/brepjs/core.d.ts.map +0 -1
- package/dist/vendored/brepjs/core.js +0 -13
- package/dist/vendored/brepjs/core.js.map +0 -1
- package/dist/vendored/brepjs/gear/gearFns.d.ts +0 -148
- package/dist/vendored/brepjs/gear/gearFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/gear/gearFns.js +0 -479
- package/dist/vendored/brepjs/gear/gearFns.js.map +0 -1
- package/dist/vendored/brepjs/gear/gearMath.d.ts +0 -89
- package/dist/vendored/brepjs/gear/gearMath.d.ts.map +0 -1
- package/dist/vendored/brepjs/gear/gearMath.js +0 -195
- package/dist/vendored/brepjs/gear/gearMath.js.map +0 -1
- package/dist/vendored/brepjs/gear/gearProfile.d.ts +0 -17
- package/dist/vendored/brepjs/gear/gearProfile.d.ts.map +0 -1
- package/dist/vendored/brepjs/gear/gearProfile.js +0 -159
- package/dist/vendored/brepjs/gear/gearProfile.js.map +0 -1
- package/dist/vendored/brepjs/gear/index.d.ts +0 -4
- package/dist/vendored/brepjs/gear/index.d.ts.map +0 -1
- package/dist/vendored/brepjs/gear/index.js +0 -4
- package/dist/vendored/brepjs/gear/index.js.map +0 -1
- package/dist/vendored/brepjs/index.d.ts +0 -152
- package/dist/vendored/brepjs/index.d.ts.map +0 -1
- package/dist/vendored/brepjs/index.js +0 -195
- package/dist/vendored/brepjs/index.js.map +0 -1
- package/dist/vendored/brepjs/io/dxfExportFns.d.ts +0 -74
- package/dist/vendored/brepjs/io/dxfExportFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/dxfExportFns.js +0 -134
- package/dist/vendored/brepjs/io/dxfExportFns.js.map +0 -1
- package/dist/vendored/brepjs/io/dxfImportFns.d.ts +0 -20
- package/dist/vendored/brepjs/io/dxfImportFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/dxfImportFns.js +0 -132
- package/dist/vendored/brepjs/io/dxfImportFns.js.map +0 -1
- package/dist/vendored/brepjs/io/gltfExportFns.d.ts +0 -97
- package/dist/vendored/brepjs/io/gltfExportFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/gltfExportFns.js +0 -460
- package/dist/vendored/brepjs/io/gltfExportFns.js.map +0 -1
- package/dist/vendored/brepjs/io/gltfImportFns.d.ts +0 -21
- package/dist/vendored/brepjs/io/gltfImportFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/gltfImportFns.js +0 -33
- package/dist/vendored/brepjs/io/gltfImportFns.js.map +0 -1
- package/dist/vendored/brepjs/io/importFns.d.ts +0 -56
- package/dist/vendored/brepjs/io/importFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/importFns.js +0 -108
- package/dist/vendored/brepjs/io/importFns.js.map +0 -1
- package/dist/vendored/brepjs/io/ioUtils.d.ts +0 -22
- package/dist/vendored/brepjs/io/ioUtils.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/ioUtils.js +0 -56
- package/dist/vendored/brepjs/io/ioUtils.js.map +0 -1
- package/dist/vendored/brepjs/io/objExportFns.d.ts +0 -23
- package/dist/vendored/brepjs/io/objExportFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/objExportFns.js +0 -67
- package/dist/vendored/brepjs/io/objExportFns.js.map +0 -1
- package/dist/vendored/brepjs/io/objImportFns.d.ts +0 -26
- package/dist/vendored/brepjs/io/objImportFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/objImportFns.js +0 -96
- package/dist/vendored/brepjs/io/objImportFns.js.map +0 -1
- package/dist/vendored/brepjs/io/stepConfigFns.d.ts +0 -30
- package/dist/vendored/brepjs/io/stepConfigFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/stepConfigFns.js +0 -30
- package/dist/vendored/brepjs/io/stepConfigFns.js.map +0 -1
- package/dist/vendored/brepjs/io/svgImportFns.d.ts +0 -58
- package/dist/vendored/brepjs/io/svgImportFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/svgImportFns.js +0 -394
- package/dist/vendored/brepjs/io/svgImportFns.js.map +0 -1
- package/dist/vendored/brepjs/io/threemfExportFns.d.ts +0 -48
- package/dist/vendored/brepjs/io/threemfExportFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/threemfExportFns.js +0 -345
- package/dist/vendored/brepjs/io/threemfExportFns.js.map +0 -1
- package/dist/vendored/brepjs/io/threemfImportFns.d.ts +0 -22
- package/dist/vendored/brepjs/io/threemfImportFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/io/threemfImportFns.js +0 -350
- package/dist/vendored/brepjs/io/threemfImportFns.js.map +0 -1
- package/dist/vendored/brepjs/io.d.ts +0 -17
- package/dist/vendored/brepjs/io.d.ts.map +0 -1
- package/dist/vendored/brepjs/io.js +0 -20
- package/dist/vendored/brepjs/io.js.map +0 -1
- package/dist/vendored/brepjs/kernel/capabilities.d.ts +0 -36
- package/dist/vendored/brepjs/kernel/capabilities.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/capabilities.js +0 -35
- package/dist/vendored/brepjs/kernel/capabilities.js.map +0 -1
- package/dist/vendored/brepjs/kernel/geometry2d.d.ts +0 -96
- package/dist/vendored/brepjs/kernel/geometry2d.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/geometry2d.js +0 -885
- package/dist/vendored/brepjs/kernel/geometry2d.js.map +0 -1
- package/dist/vendored/brepjs/kernel/hullGeometry.d.ts +0 -23
- package/dist/vendored/brepjs/kernel/hullGeometry.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/hullGeometry.js +0 -312
- package/dist/vendored/brepjs/kernel/hullGeometry.js.map +0 -1
- package/dist/vendored/brepjs/kernel/index.d.ts +0 -73
- package/dist/vendored/brepjs/kernel/index.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/index.js +0 -161
- package/dist/vendored/brepjs/kernel/index.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/booleanOps.d.ts +0 -44
- package/dist/vendored/brepjs/kernel/interfaces/booleanOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/booleanOps.js +0 -11
- package/dist/vendored/brepjs/kernel/interfaces/booleanOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/builderOps.d.ts +0 -67
- package/dist/vendored/brepjs/kernel/interfaces/builderOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/builderOps.js +0 -12
- package/dist/vendored/brepjs/kernel/interfaces/builderOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/core.d.ts +0 -46
- package/dist/vendored/brepjs/kernel/interfaces/core.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/core.js +0 -11
- package/dist/vendored/brepjs/kernel/interfaces/core.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/curveOps.d.ts +0 -53
- package/dist/vendored/brepjs/kernel/interfaces/curveOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/curveOps.js +0 -12
- package/dist/vendored/brepjs/kernel/interfaces/curveOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/evolutionOps.d.ts +0 -32
- package/dist/vendored/brepjs/kernel/interfaces/evolutionOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/evolutionOps.js +0 -14
- package/dist/vendored/brepjs/kernel/interfaces/evolutionOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/index.d.ts +0 -43
- package/dist/vendored/brepjs/kernel/interfaces/index.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/index.js +0 -12
- package/dist/vendored/brepjs/kernel/interfaces/index.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/ioOps.d.ts +0 -65
- package/dist/vendored/brepjs/kernel/interfaces/ioOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/ioOps.js +0 -9
- package/dist/vendored/brepjs/kernel/interfaces/ioOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/measureOps.d.ts +0 -55
- package/dist/vendored/brepjs/kernel/interfaces/measureOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/measureOps.js +0 -9
- package/dist/vendored/brepjs/kernel/interfaces/measureOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/meshOps.d.ts +0 -25
- package/dist/vendored/brepjs/kernel/interfaces/meshOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/meshOps.js +0 -8
- package/dist/vendored/brepjs/kernel/interfaces/meshOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/modifierOps.d.ts +0 -53
- package/dist/vendored/brepjs/kernel/interfaces/modifierOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/modifierOps.js +0 -10
- package/dist/vendored/brepjs/kernel/interfaces/modifierOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/primitiveOps.d.ts +0 -22
- package/dist/vendored/brepjs/kernel/interfaces/primitiveOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/primitiveOps.js +0 -11
- package/dist/vendored/brepjs/kernel/interfaces/primitiveOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/repairOps.d.ts +0 -43
- package/dist/vendored/brepjs/kernel/interfaces/repairOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/repairOps.js +0 -9
- package/dist/vendored/brepjs/kernel/interfaces/repairOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/surfaceOps.d.ts +0 -72
- package/dist/vendored/brepjs/kernel/interfaces/surfaceOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/surfaceOps.js +0 -13
- package/dist/vendored/brepjs/kernel/interfaces/surfaceOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/sweepOps.d.ts +0 -73
- package/dist/vendored/brepjs/kernel/interfaces/sweepOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/sweepOps.js +0 -11
- package/dist/vendored/brepjs/kernel/interfaces/sweepOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/topologyOps.d.ts +0 -62
- package/dist/vendored/brepjs/kernel/interfaces/topologyOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/topologyOps.js +0 -9
- package/dist/vendored/brepjs/kernel/interfaces/topologyOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/transformOps.d.ts +0 -80
- package/dist/vendored/brepjs/kernel/interfaces/transformOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/interfaces/transformOps.js +0 -11
- package/dist/vendored/brepjs/kernel/interfaces/transformOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/kernel2dTypes.d.ts +0 -145
- package/dist/vendored/brepjs/kernel/kernel2dTypes.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/kernel2dTypes.js +0 -18
- package/dist/vendored/brepjs/kernel/kernel2dTypes.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occt/wasmTypes/externals.d.ts +0 -41
- package/dist/vendored/brepjs/kernel/occt/wasmTypes/externals.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occt/wasmTypes/externals.js +0 -2
- package/dist/vendored/brepjs/kernel/occt/wasmTypes/externals.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/adapterShims.d.ts +0 -17
- package/dist/vendored/brepjs/kernel/occtWasm/adapterShims.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/adapterShims.js +0 -75
- package/dist/vendored/brepjs/kernel/occtWasm/adapterShims.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/booleanOps.d.ts +0 -36
- package/dist/vendored/brepjs/kernel/occtWasm/booleanOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/booleanOps.js +0 -116
- package/dist/vendored/brepjs/kernel/occtWasm/booleanOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/constructionOps.d.ts +0 -43
- package/dist/vendored/brepjs/kernel/occtWasm/constructionOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/constructionOps.js +0 -292
- package/dist/vendored/brepjs/kernel/occtWasm/constructionOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/curveOps.d.ts +0 -34
- package/dist/vendored/brepjs/kernel/occtWasm/curveOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/curveOps.js +0 -164
- package/dist/vendored/brepjs/kernel/occtWasm/curveOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/evolutionOps.d.ts +0 -26
- package/dist/vendored/brepjs/kernel/occtWasm/evolutionOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/evolutionOps.js +0 -256
- package/dist/vendored/brepjs/kernel/occtWasm/evolutionOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/helpers.d.ts +0 -42
- package/dist/vendored/brepjs/kernel/occtWasm/helpers.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/helpers.js +0 -146
- package/dist/vendored/brepjs/kernel/occtWasm/helpers.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/hullOps.d.ts +0 -17
- package/dist/vendored/brepjs/kernel/occtWasm/hullOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/hullOps.js +0 -55
- package/dist/vendored/brepjs/kernel/occtWasm/hullOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/ioOps.d.ts +0 -58
- package/dist/vendored/brepjs/kernel/occtWasm/ioOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/ioOps.js +0 -303
- package/dist/vendored/brepjs/kernel/occtWasm/ioOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/kernel2dOps.d.ts +0 -113
- package/dist/vendored/brepjs/kernel/occtWasm/kernel2dOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/kernel2dOps.js +0 -731
- package/dist/vendored/brepjs/kernel/occtWasm/kernel2dOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/measureOps.d.ts +0 -62
- package/dist/vendored/brepjs/kernel/occtWasm/measureOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/measureOps.js +0 -338
- package/dist/vendored/brepjs/kernel/occtWasm/measureOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/meshOps.d.ts +0 -12
- package/dist/vendored/brepjs/kernel/occtWasm/meshOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/meshOps.js +0 -120
- package/dist/vendored/brepjs/kernel/occtWasm/meshOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/modifierOps.d.ts +0 -20
- package/dist/vendored/brepjs/kernel/occtWasm/modifierOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/modifierOps.js +0 -187
- package/dist/vendored/brepjs/kernel/occtWasm/modifierOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/occtWasmAdapter.d.ts +0 -513
- package/dist/vendored/brepjs/kernel/occtWasm/occtWasmAdapter.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/occtWasmAdapter.js +0 -1016
- package/dist/vendored/brepjs/kernel/occtWasm/occtWasmAdapter.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/occtWasmTypes.d.ts +0 -332
- package/dist/vendored/brepjs/kernel/occtWasm/occtWasmTypes.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/occtWasmTypes.js +0 -10
- package/dist/vendored/brepjs/kernel/occtWasm/occtWasmTypes.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/primitiveOps.d.ts +0 -16
- package/dist/vendored/brepjs/kernel/occtWasm/primitiveOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/primitiveOps.js +0 -64
- package/dist/vendored/brepjs/kernel/occtWasm/primitiveOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/repairOps.d.ts +0 -16
- package/dist/vendored/brepjs/kernel/occtWasm/repairOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/repairOps.js +0 -38
- package/dist/vendored/brepjs/kernel/occtWasm/repairOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/surfaceOps.d.ts +0 -56
- package/dist/vendored/brepjs/kernel/occtWasm/surfaceOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/surfaceOps.js +0 -247
- package/dist/vendored/brepjs/kernel/occtWasm/surfaceOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/sweepOps.d.ts +0 -56
- package/dist/vendored/brepjs/kernel/occtWasm/sweepOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/sweepOps.js +0 -235
- package/dist/vendored/brepjs/kernel/occtWasm/sweepOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/topologyOps.d.ts +0 -25
- package/dist/vendored/brepjs/kernel/occtWasm/topologyOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/topologyOps.js +0 -127
- package/dist/vendored/brepjs/kernel/occtWasm/topologyOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/transformOps.d.ts +0 -40
- package/dist/vendored/brepjs/kernel/occtWasm/transformOps.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/occtWasm/transformOps.js +0 -275
- package/dist/vendored/brepjs/kernel/occtWasm/transformOps.js.map +0 -1
- package/dist/vendored/brepjs/kernel/quality.d.ts +0 -28
- package/dist/vendored/brepjs/kernel/quality.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/quality.js +0 -40
- package/dist/vendored/brepjs/kernel/quality.js.map +0 -1
- package/dist/vendored/brepjs/kernel/solverAdapter.d.ts +0 -50
- package/dist/vendored/brepjs/kernel/solverAdapter.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/solverAdapter.js +0 -330
- package/dist/vendored/brepjs/kernel/solverAdapter.js.map +0 -1
- package/dist/vendored/brepjs/kernel/stlBuilder.d.ts +0 -21
- package/dist/vendored/brepjs/kernel/stlBuilder.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/stlBuilder.js +0 -106
- package/dist/vendored/brepjs/kernel/stlBuilder.js.map +0 -1
- package/dist/vendored/brepjs/kernel/types.d.ts +0 -214
- package/dist/vendored/brepjs/kernel/types.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/types.js +0 -22
- package/dist/vendored/brepjs/kernel/types.js.map +0 -1
- package/dist/vendored/brepjs/kernel/unsupported.d.ts +0 -15
- package/dist/vendored/brepjs/kernel/unsupported.d.ts.map +0 -1
- package/dist/vendored/brepjs/kernel/unsupported.js +0 -25
- package/dist/vendored/brepjs/kernel/unsupported.js.map +0 -1
- package/dist/vendored/brepjs/measurement/interferenceFns.d.ts +0 -68
- package/dist/vendored/brepjs/measurement/interferenceFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/measurement/interferenceFns.js +0 -102
- package/dist/vendored/brepjs/measurement/interferenceFns.js.map +0 -1
- package/dist/vendored/brepjs/measurement/measureCache.d.ts +0 -20
- package/dist/vendored/brepjs/measurement/measureCache.d.ts.map +0 -1
- package/dist/vendored/brepjs/measurement/measureCache.js +0 -28
- package/dist/vendored/brepjs/measurement/measureCache.js.map +0 -1
- package/dist/vendored/brepjs/measurement/measureFns.d.ts +0 -92
- package/dist/vendored/brepjs/measurement/measureFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/measurement/measureFns.js +0 -239
- package/dist/vendored/brepjs/measurement/measureFns.js.map +0 -1
- package/dist/vendored/brepjs/measurement/measureTypes.d.ts +0 -35
- package/dist/vendored/brepjs/measurement/measureTypes.d.ts.map +0 -1
- package/dist/vendored/brepjs/measurement/measureTypes.js +0 -7
- package/dist/vendored/brepjs/measurement/measureTypes.js.map +0 -1
- package/dist/vendored/brepjs/measurement.d.ts +0 -5
- package/dist/vendored/brepjs/measurement.d.ts.map +0 -1
- package/dist/vendored/brepjs/measurement.js +0 -5
- package/dist/vendored/brepjs/measurement.js.map +0 -1
- package/dist/vendored/brepjs/ns/booleans.d.ts +0 -11
- package/dist/vendored/brepjs/ns/booleans.d.ts.map +0 -1
- package/dist/vendored/brepjs/ns/booleans.js +0 -11
- package/dist/vendored/brepjs/ns/booleans.js.map +0 -1
- package/dist/vendored/brepjs/ns/construction.d.ts +0 -10
- package/dist/vendored/brepjs/ns/construction.d.ts.map +0 -1
- package/dist/vendored/brepjs/ns/construction.js +0 -10
- package/dist/vendored/brepjs/ns/construction.js.map +0 -1
- package/dist/vendored/brepjs/ns/ioNs.d.ts +0 -18
- package/dist/vendored/brepjs/ns/ioNs.d.ts.map +0 -1
- package/dist/vendored/brepjs/ns/ioNs.js +0 -20
- package/dist/vendored/brepjs/ns/ioNs.js.map +0 -1
- package/dist/vendored/brepjs/ns/measurement.d.ts +0 -6
- package/dist/vendored/brepjs/ns/measurement.d.ts.map +0 -1
- package/dist/vendored/brepjs/ns/measurement.js +0 -6
- package/dist/vendored/brepjs/ns/measurement.js.map +0 -1
- package/dist/vendored/brepjs/ns/modifiers.d.ts +0 -6
- package/dist/vendored/brepjs/ns/modifiers.d.ts.map +0 -1
- package/dist/vendored/brepjs/ns/modifiers.js +0 -6
- package/dist/vendored/brepjs/ns/modifiers.js.map +0 -1
- package/dist/vendored/brepjs/ns/patterns.d.ts +0 -5
- package/dist/vendored/brepjs/ns/patterns.d.ts.map +0 -1
- package/dist/vendored/brepjs/ns/patterns.js +0 -5
- package/dist/vendored/brepjs/ns/patterns.js.map +0 -1
- package/dist/vendored/brepjs/ns/primitives.d.ts +0 -7
- package/dist/vendored/brepjs/ns/primitives.d.ts.map +0 -1
- package/dist/vendored/brepjs/ns/primitives.js +0 -7
- package/dist/vendored/brepjs/ns/primitives.js.map +0 -1
- package/dist/vendored/brepjs/ns/query.d.ts +0 -6
- package/dist/vendored/brepjs/ns/query.d.ts.map +0 -1
- package/dist/vendored/brepjs/ns/query.js +0 -6
- package/dist/vendored/brepjs/ns/query.js.map +0 -1
- package/dist/vendored/brepjs/ns/transforms.d.ts +0 -5
- package/dist/vendored/brepjs/ns/transforms.d.ts.map +0 -1
- package/dist/vendored/brepjs/ns/transforms.js +0 -5
- package/dist/vendored/brepjs/ns/transforms.js.map +0 -1
- package/dist/vendored/brepjs/operations/api.d.ts +0 -39
- package/dist/vendored/brepjs/operations/api.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/api.js +0 -41
- package/dist/vendored/brepjs/operations/api.js.map +0 -1
- package/dist/vendored/brepjs/operations/assemblyFns.d.ts +0 -54
- package/dist/vendored/brepjs/operations/assemblyFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/assemblyFns.js +0 -91
- package/dist/vendored/brepjs/operations/assemblyFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/compoundOpsFns.d.ts +0 -43
- package/dist/vendored/brepjs/operations/compoundOpsFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/compoundOpsFns.js +0 -368
- package/dist/vendored/brepjs/operations/compoundOpsFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/convexHullFns.d.ts +0 -27
- package/dist/vendored/brepjs/operations/convexHullFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/convexHullFns.js +0 -50
- package/dist/vendored/brepjs/operations/convexHullFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/dhFns.d.ts +0 -47
- package/dist/vendored/brepjs/operations/dhFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/dhFns.js +0 -53
- package/dist/vendored/brepjs/operations/dhFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/exporterFns.d.ts +0 -47
- package/dist/vendored/brepjs/operations/exporterFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/exporterFns.js +0 -66
- package/dist/vendored/brepjs/operations/exporterFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/exporterUtils.d.ts +0 -6
- package/dist/vendored/brepjs/operations/exporterUtils.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/exporterUtils.js +0 -5
- package/dist/vendored/brepjs/operations/exporterUtils.js.map +0 -1
- package/dist/vendored/brepjs/operations/exporters.d.ts +0 -59
- package/dist/vendored/brepjs/operations/exporters.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/exporters.js +0 -74
- package/dist/vendored/brepjs/operations/exporters.js.map +0 -1
- package/dist/vendored/brepjs/operations/extrudeFns.d.ts +0 -47
- package/dist/vendored/brepjs/operations/extrudeFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/extrudeFns.js +0 -119
- package/dist/vendored/brepjs/operations/extrudeFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/extrudeUtils.d.ts +0 -63
- package/dist/vendored/brepjs/operations/extrudeUtils.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/extrudeUtils.js +0 -33
- package/dist/vendored/brepjs/operations/extrudeUtils.js.map +0 -1
- package/dist/vendored/brepjs/operations/guidedSweepFns.d.ts +0 -6
- package/dist/vendored/brepjs/operations/guidedSweepFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/guidedSweepFns.js +0 -6
- package/dist/vendored/brepjs/operations/guidedSweepFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/historyFns.d.ts +0 -83
- package/dist/vendored/brepjs/operations/historyFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/historyFns.js +0 -256
- package/dist/vendored/brepjs/operations/historyFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/ikFns.d.ts +0 -74
- package/dist/vendored/brepjs/operations/ikFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/ikFns.js +0 -320
- package/dist/vendored/brepjs/operations/ikFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/instanceFns.d.ts +0 -76
- package/dist/vendored/brepjs/operations/instanceFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/instanceFns.js +0 -128
- package/dist/vendored/brepjs/operations/instanceFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/jointFns.d.ts +0 -176
- package/dist/vendored/brepjs/operations/jointFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/jointFns.js +0 -298
- package/dist/vendored/brepjs/operations/jointFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/loftFns.d.ts +0 -60
- package/dist/vendored/brepjs/operations/loftFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/loftFns.js +0 -112
- package/dist/vendored/brepjs/operations/loftFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/mateFns.d.ts +0 -53
- package/dist/vendored/brepjs/operations/mateFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/mateFns.js +0 -142
- package/dist/vendored/brepjs/operations/mateFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/multiSweepFns.d.ts +0 -6
- package/dist/vendored/brepjs/operations/multiSweepFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/multiSweepFns.js +0 -6
- package/dist/vendored/brepjs/operations/multiSweepFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/patternFns.d.ts +0 -46
- package/dist/vendored/brepjs/operations/patternFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/patternFns.js +0 -126
- package/dist/vendored/brepjs/operations/patternFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/roofFns.d.ts +0 -25
- package/dist/vendored/brepjs/operations/roofFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/roofFns.js +0 -250
- package/dist/vendored/brepjs/operations/roofFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/straightSkeleton.d.ts +0 -29
- package/dist/vendored/brepjs/operations/straightSkeleton.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/straightSkeleton.js +0 -440
- package/dist/vendored/brepjs/operations/straightSkeleton.js.map +0 -1
- package/dist/vendored/brepjs/operations/sweepFns.d.ts +0 -121
- package/dist/vendored/brepjs/operations/sweepFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/sweepFns.js +0 -438
- package/dist/vendored/brepjs/operations/sweepFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/threadFns.d.ts +0 -57
- package/dist/vendored/brepjs/operations/threadFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/threadFns.js +0 -145
- package/dist/vendored/brepjs/operations/threadFns.js.map +0 -1
- package/dist/vendored/brepjs/operations/urdfFns.d.ts +0 -48
- package/dist/vendored/brepjs/operations/urdfFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations/urdfFns.js +0 -171
- package/dist/vendored/brepjs/operations/urdfFns.js.map +0 -1
- package/dist/vendored/brepjs/operations.d.ts +0 -20
- package/dist/vendored/brepjs/operations.d.ts.map +0 -1
- package/dist/vendored/brepjs/operations.js +0 -26
- package/dist/vendored/brepjs/operations.js.map +0 -1
- package/dist/vendored/brepjs/projection/cameraFns.d.ts +0 -63
- package/dist/vendored/brepjs/projection/cameraFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/projection/cameraFns.js +0 -89
- package/dist/vendored/brepjs/projection/cameraFns.js.map +0 -1
- package/dist/vendored/brepjs/projection/makeProjectedEdges.d.ts +0 -14
- package/dist/vendored/brepjs/projection/makeProjectedEdges.d.ts.map +0 -1
- package/dist/vendored/brepjs/projection/makeProjectedEdges.js +0 -111
- package/dist/vendored/brepjs/projection/makeProjectedEdges.js.map +0 -1
- package/dist/vendored/brepjs/projection/projectionPlanes.d.ts +0 -18
- package/dist/vendored/brepjs/projection/projectionPlanes.d.ts.map +0 -1
- package/dist/vendored/brepjs/projection/projectionPlanes.js +0 -23
- package/dist/vendored/brepjs/projection/projectionPlanes.js.map +0 -1
- package/dist/vendored/brepjs/projection.d.ts +0 -12
- package/dist/vendored/brepjs/projection.d.ts.map +0 -1
- package/dist/vendored/brepjs/projection.js +0 -12
- package/dist/vendored/brepjs/projection.js.map +0 -1
- package/dist/vendored/brepjs/query/cornerFinder.d.ts +0 -54
- package/dist/vendored/brepjs/query/cornerFinder.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/cornerFinder.js +0 -73
- package/dist/vendored/brepjs/query/cornerFinder.js.map +0 -1
- package/dist/vendored/brepjs/query/directionUtils.d.ts +0 -9
- package/dist/vendored/brepjs/query/directionUtils.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/directionUtils.js +0 -18
- package/dist/vendored/brepjs/query/directionUtils.js.map +0 -1
- package/dist/vendored/brepjs/query/edgeFinder.d.ts +0 -5
- package/dist/vendored/brepjs/query/edgeFinder.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/edgeFinder.js +0 -5
- package/dist/vendored/brepjs/query/edgeFinder.js.map +0 -1
- package/dist/vendored/brepjs/query/faceFinder.d.ts +0 -5
- package/dist/vendored/brepjs/query/faceFinder.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/faceFinder.js +0 -5
- package/dist/vendored/brepjs/query/faceFinder.js.map +0 -1
- package/dist/vendored/brepjs/query/finderCore.d.ts +0 -49
- package/dist/vendored/brepjs/query/finderCore.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/finderCore.js +0 -120
- package/dist/vendored/brepjs/query/finderCore.js.map +0 -1
- package/dist/vendored/brepjs/query/finderFns.d.ts +0 -25
- package/dist/vendored/brepjs/query/finderFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/finderFns.js +0 -25
- package/dist/vendored/brepjs/query/finderFns.js.map +0 -1
- package/dist/vendored/brepjs/query/helpers.d.ts +0 -11
- package/dist/vendored/brepjs/query/helpers.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/helpers.js +0 -17
- package/dist/vendored/brepjs/query/helpers.js.map +0 -1
- package/dist/vendored/brepjs/query/shapeDistanceFilter.d.ts +0 -15
- package/dist/vendored/brepjs/query/shapeDistanceFilter.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/shapeDistanceFilter.js +0 -21
- package/dist/vendored/brepjs/query/shapeDistanceFilter.js.map +0 -1
- package/dist/vendored/brepjs/query/shapeFinders.d.ts +0 -39
- package/dist/vendored/brepjs/query/shapeFinders.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/shapeFinders.js +0 -82
- package/dist/vendored/brepjs/query/shapeFinders.js.map +0 -1
- package/dist/vendored/brepjs/query/vertexFinder.d.ts +0 -19
- package/dist/vendored/brepjs/query/vertexFinder.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/vertexFinder.js +0 -73
- package/dist/vendored/brepjs/query/vertexFinder.js.map +0 -1
- package/dist/vendored/brepjs/query/wireFinder.d.ts +0 -5
- package/dist/vendored/brepjs/query/wireFinder.d.ts.map +0 -1
- package/dist/vendored/brepjs/query/wireFinder.js +0 -5
- package/dist/vendored/brepjs/query/wireFinder.js.map +0 -1
- package/dist/vendored/brepjs/query.d.ts +0 -6
- package/dist/vendored/brepjs/query.d.ts.map +0 -1
- package/dist/vendored/brepjs/query.js +0 -6
- package/dist/vendored/brepjs/query.js.map +0 -1
- package/dist/vendored/brepjs/result.d.ts +0 -7
- package/dist/vendored/brepjs/result.d.ts.map +0 -1
- package/dist/vendored/brepjs/result.js +0 -7
- package/dist/vendored/brepjs/result.js.map +0 -1
- package/dist/vendored/brepjs/shapeRef.d.ts +0 -13
- package/dist/vendored/brepjs/shapeRef.d.ts.map +0 -1
- package/dist/vendored/brepjs/shapeRef.js +0 -13
- package/dist/vendored/brepjs/shapeRef.js.map +0 -1
- package/dist/vendored/brepjs/sketching/cannedSketches.d.ts +0 -144
- package/dist/vendored/brepjs/sketching/cannedSketches.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/cannedSketches.js +0 -327
- package/dist/vendored/brepjs/sketching/cannedSketches.js.map +0 -1
- package/dist/vendored/brepjs/sketching/compoundSketch.d.ts +0 -70
- package/dist/vendored/brepjs/sketching/compoundSketch.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/compoundSketch.js +0 -87
- package/dist/vendored/brepjs/sketching/compoundSketch.js.map +0 -1
- package/dist/vendored/brepjs/sketching/draw3d.d.ts +0 -22
- package/dist/vendored/brepjs/sketching/draw3d.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/draw3d.js +0 -150
- package/dist/vendored/brepjs/sketching/draw3d.js.map +0 -1
- package/dist/vendored/brepjs/sketching/drawFns.d.ts +0 -122
- package/dist/vendored/brepjs/sketching/drawFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/drawFns.js +0 -129
- package/dist/vendored/brepjs/sketching/drawFns.js.map +0 -1
- package/dist/vendored/brepjs/sketching/drawing.d.ts +0 -128
- package/dist/vendored/brepjs/sketching/drawing.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/drawing.js +0 -275
- package/dist/vendored/brepjs/sketching/drawing.js.map +0 -1
- package/dist/vendored/brepjs/sketching/drawingFactories.d.ts +0 -95
- package/dist/vendored/brepjs/sketching/drawingFactories.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/drawingFactories.js +0 -125
- package/dist/vendored/brepjs/sketching/drawingFactories.js.map +0 -1
- package/dist/vendored/brepjs/sketching/drawingPen.d.ts +0 -35
- package/dist/vendored/brepjs/sketching/drawingPen.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/drawingPen.js +0 -57
- package/dist/vendored/brepjs/sketching/drawingPen.js.map +0 -1
- package/dist/vendored/brepjs/sketching/faceSketcher.d.ts +0 -53
- package/dist/vendored/brepjs/sketching/faceSketcher.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/faceSketcher.js +0 -167
- package/dist/vendored/brepjs/sketching/faceSketcher.js.map +0 -1
- package/dist/vendored/brepjs/sketching/shortcuts.d.ts +0 -16
- package/dist/vendored/brepjs/sketching/shortcuts.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/shortcuts.js +0 -24
- package/dist/vendored/brepjs/sketching/shortcuts.js.map +0 -1
- package/dist/vendored/brepjs/sketching/sketch.d.ts +0 -157
- package/dist/vendored/brepjs/sketching/sketch.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/sketch.js +0 -151
- package/dist/vendored/brepjs/sketching/sketch.js.map +0 -1
- package/dist/vendored/brepjs/sketching/sketchFns.d.ts +0 -89
- package/dist/vendored/brepjs/sketching/sketchFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/sketchFns.js +0 -266
- package/dist/vendored/brepjs/sketching/sketchFns.js.map +0 -1
- package/dist/vendored/brepjs/sketching/sketcher.d.ts +0 -70
- package/dist/vendored/brepjs/sketching/sketcher.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/sketcher.js +0 -181
- package/dist/vendored/brepjs/sketching/sketcher.js.map +0 -1
- package/dist/vendored/brepjs/sketching/sketches.d.ts +0 -70
- package/dist/vendored/brepjs/sketching/sketches.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching/sketches.js +0 -91
- package/dist/vendored/brepjs/sketching/sketches.js.map +0 -1
- package/dist/vendored/brepjs/sketching.d.ts +0 -28
- package/dist/vendored/brepjs/sketching.d.ts.map +0 -1
- package/dist/vendored/brepjs/sketching.js +0 -30
- package/dist/vendored/brepjs/sketching.js.map +0 -1
- package/dist/vendored/brepjs/text/fontRegistry.d.ts +0 -23
- package/dist/vendored/brepjs/text/fontRegistry.d.ts.map +0 -1
- package/dist/vendored/brepjs/text/fontRegistry.js +0 -61
- package/dist/vendored/brepjs/text/fontRegistry.js.map +0 -1
- package/dist/vendored/brepjs/text/sketchText.d.ts +0 -31
- package/dist/vendored/brepjs/text/sketchText.d.ts.map +0 -1
- package/dist/vendored/brepjs/text/sketchText.js +0 -30
- package/dist/vendored/brepjs/text/sketchText.js.map +0 -1
- package/dist/vendored/brepjs/text/textBlueprints.d.ts +0 -19
- package/dist/vendored/brepjs/text/textBlueprints.d.ts.map +0 -1
- package/dist/vendored/brepjs/text/textBlueprints.js +0 -61
- package/dist/vendored/brepjs/text/textBlueprints.js.map +0 -1
- package/dist/vendored/brepjs/text/textMetrics.d.ts +0 -40
- package/dist/vendored/brepjs/text/textMetrics.d.ts.map +0 -1
- package/dist/vendored/brepjs/text/textMetrics.js +0 -43
- package/dist/vendored/brepjs/text/textMetrics.js.map +0 -1
- package/dist/vendored/brepjs/text.d.ts +0 -13
- package/dist/vendored/brepjs/text.d.ts.map +0 -1
- package/dist/vendored/brepjs/text.js +0 -13
- package/dist/vendored/brepjs/text.js.map +0 -1
- package/dist/vendored/brepjs/topology/adjacencyFns.d.ts +0 -89
- package/dist/vendored/brepjs/topology/adjacencyFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/adjacencyFns.js +0 -411
- package/dist/vendored/brepjs/topology/adjacencyFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/api.d.ts +0 -145
- package/dist/vendored/brepjs/topology/api.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/api.js +0 -282
- package/dist/vendored/brepjs/topology/api.js.map +0 -1
- package/dist/vendored/brepjs/topology/apiTypes.d.ts +0 -135
- package/dist/vendored/brepjs/topology/apiTypes.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/apiTypes.js +0 -24
- package/dist/vendored/brepjs/topology/apiTypes.js.map +0 -1
- package/dist/vendored/brepjs/topology/booleanBatchFns.d.ts +0 -52
- package/dist/vendored/brepjs/topology/booleanBatchFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/booleanBatchFns.js +0 -164
- package/dist/vendored/brepjs/topology/booleanBatchFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/booleanDiagnosticFns.d.ts +0 -21
- package/dist/vendored/brepjs/topology/booleanDiagnosticFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/booleanDiagnosticFns.js +0 -23
- package/dist/vendored/brepjs/topology/booleanDiagnosticFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/booleanFns.d.ts +0 -155
- package/dist/vendored/brepjs/topology/booleanFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/booleanFns.js +0 -600
- package/dist/vendored/brepjs/topology/booleanFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/cast.d.ts +0 -48
- package/dist/vendored/brepjs/topology/cast.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/cast.js +0 -113
- package/dist/vendored/brepjs/topology/cast.js.map +0 -1
- package/dist/vendored/brepjs/topology/chamferAngleFns.d.ts +0 -24
- package/dist/vendored/brepjs/topology/chamferAngleFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/chamferAngleFns.js +0 -64
- package/dist/vendored/brepjs/topology/chamferAngleFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/compoundOpsFns.d.ts +0 -6
- package/dist/vendored/brepjs/topology/compoundOpsFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/compoundOpsFns.js +0 -6
- package/dist/vendored/brepjs/topology/compoundOpsFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/curveBuilders.d.ts +0 -90
- package/dist/vendored/brepjs/topology/curveBuilders.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/curveBuilders.js +0 -125
- package/dist/vendored/brepjs/topology/curveBuilders.js.map +0 -1
- package/dist/vendored/brepjs/topology/curveFns.d.ts +0 -96
- package/dist/vendored/brepjs/topology/curveFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/curveFns.js +0 -191
- package/dist/vendored/brepjs/topology/curveFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/evolutionFns.d.ts +0 -78
- package/dist/vendored/brepjs/topology/evolutionFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/evolutionFns.js +0 -271
- package/dist/vendored/brepjs/topology/evolutionFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/faceFns.d.ts +0 -86
- package/dist/vendored/brepjs/topology/faceFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/faceFns.js +0 -169
- package/dist/vendored/brepjs/topology/faceFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/healingFns.d.ts +0 -98
- package/dist/vendored/brepjs/topology/healingFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/healingFns.js +0 -338
- package/dist/vendored/brepjs/topology/healingFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/hullFns.d.ts +0 -21
- package/dist/vendored/brepjs/topology/hullFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/hullFns.js +0 -60
- package/dist/vendored/brepjs/topology/hullFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/index.d.ts +0 -14
- package/dist/vendored/brepjs/topology/index.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/index.js +0 -17
- package/dist/vendored/brepjs/topology/index.js.map +0 -1
- package/dist/vendored/brepjs/topology/meshCache.d.ts +0 -68
- package/dist/vendored/brepjs/topology/meshCache.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/meshCache.js +0 -117
- package/dist/vendored/brepjs/topology/meshCache.js.map +0 -1
- package/dist/vendored/brepjs/topology/meshFns.d.ts +0 -179
- package/dist/vendored/brepjs/topology/meshFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/meshFns.js +0 -393
- package/dist/vendored/brepjs/topology/meshFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/metadata/colorFns.d.ts +0 -41
- package/dist/vendored/brepjs/topology/metadata/colorFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/metadata/colorFns.js +0 -128
- package/dist/vendored/brepjs/topology/metadata/colorFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/metadata/faceTagFns.d.ts +0 -44
- package/dist/vendored/brepjs/topology/metadata/faceTagFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/metadata/faceTagFns.js +0 -168
- package/dist/vendored/brepjs/topology/metadata/faceTagFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/metadata/metadataPropagation.d.ts +0 -59
- package/dist/vendored/brepjs/topology/metadata/metadataPropagation.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/metadata/metadataPropagation.js +0 -109
- package/dist/vendored/brepjs/topology/metadata/metadataPropagation.js.map +0 -1
- package/dist/vendored/brepjs/topology/metadata/originTrackingFns.d.ts +0 -43
- package/dist/vendored/brepjs/topology/metadata/originTrackingFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/metadata/originTrackingFns.js +0 -270
- package/dist/vendored/brepjs/topology/metadata/originTrackingFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/minkowskiFns.d.ts +0 -26
- package/dist/vendored/brepjs/topology/minkowskiFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/minkowskiFns.js +0 -136
- package/dist/vendored/brepjs/topology/minkowskiFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/modifierFns.d.ts +0 -87
- package/dist/vendored/brepjs/topology/modifierFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/modifierFns.js +0 -446
- package/dist/vendored/brepjs/topology/modifierFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/nurbsFns.d.ts +0 -13
- package/dist/vendored/brepjs/topology/nurbsFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/nurbsFns.js +0 -22
- package/dist/vendored/brepjs/topology/nurbsFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/polyhedronFns.d.ts +0 -11
- package/dist/vendored/brepjs/topology/polyhedronFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/polyhedronFns.js +0 -47
- package/dist/vendored/brepjs/topology/polyhedronFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/positionFns.d.ts +0 -18
- package/dist/vendored/brepjs/topology/positionFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/positionFns.js +0 -34
- package/dist/vendored/brepjs/topology/positionFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/primitiveFns.d.ts +0 -244
- package/dist/vendored/brepjs/topology/primitiveFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/primitiveFns.js +0 -361
- package/dist/vendored/brepjs/topology/primitiveFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeBooleans.d.ts +0 -14
- package/dist/vendored/brepjs/topology/shapeBooleans.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeBooleans.js +0 -24
- package/dist/vendored/brepjs/topology/shapeBooleans.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeFns.d.ts +0 -30
- package/dist/vendored/brepjs/topology/shapeFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeFns.js +0 -50
- package/dist/vendored/brepjs/topology/shapeFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeHelpers.d.ts +0 -9
- package/dist/vendored/brepjs/topology/shapeHelpers.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeHelpers.js +0 -14
- package/dist/vendored/brepjs/topology/shapeHelpers.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeModifiers.d.ts +0 -33
- package/dist/vendored/brepjs/topology/shapeModifiers.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeModifiers.js +0 -28
- package/dist/vendored/brepjs/topology/shapeModifiers.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/derivedFaceRefFns.d.ts +0 -29
- package/dist/vendored/brepjs/topology/shapeRef/derivedFaceRefFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/derivedFaceRefFns.js +0 -135
- package/dist/vendored/brepjs/topology/shapeRef/derivedFaceRefFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/edgeRefFns.d.ts +0 -25
- package/dist/vendored/brepjs/topology/shapeRef/edgeRefFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/edgeRefFns.js +0 -123
- package/dist/vendored/brepjs/topology/shapeRef/edgeRefFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/index.d.ts +0 -11
- package/dist/vendored/brepjs/topology/shapeRef/index.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/index.js +0 -10
- package/dist/vendored/brepjs/topology/shapeRef/index.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/refResolveFns.d.ts +0 -66
- package/dist/vendored/brepjs/topology/shapeRef/refResolveFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/refResolveFns.js +0 -128
- package/dist/vendored/brepjs/topology/shapeRef/refResolveFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/roleLookup.d.ts +0 -18
- package/dist/vendored/brepjs/topology/shapeRef/roleLookup.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/roleLookup.js +0 -51
- package/dist/vendored/brepjs/topology/shapeRef/roleLookup.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/scoring.d.ts +0 -20
- package/dist/vendored/brepjs/topology/shapeRef/scoring.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/scoring.js +0 -65
- package/dist/vendored/brepjs/topology/shapeRef/scoring.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/shapeRefFns.d.ts +0 -59
- package/dist/vendored/brepjs/topology/shapeRef/shapeRefFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/shapeRefFns.js +0 -266
- package/dist/vendored/brepjs/topology/shapeRef/shapeRefFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/shapeRefTypes.d.ts +0 -153
- package/dist/vendored/brepjs/topology/shapeRef/shapeRefTypes.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/shapeRefTypes.js +0 -6
- package/dist/vendored/brepjs/topology/shapeRef/shapeRefTypes.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/vertexRefFns.d.ts +0 -24
- package/dist/vendored/brepjs/topology/shapeRef/vertexRefFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeRef/vertexRefFns.js +0 -128
- package/dist/vendored/brepjs/topology/shapeRef/vertexRefFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/shapeUtils.d.ts +0 -16
- package/dist/vendored/brepjs/topology/shapeUtils.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/shapeUtils.js +0 -28
- package/dist/vendored/brepjs/topology/shapeUtils.js.map +0 -1
- package/dist/vendored/brepjs/topology/solidBuilders.d.ts +0 -74
- package/dist/vendored/brepjs/topology/solidBuilders.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/solidBuilders.js +0 -173
- package/dist/vendored/brepjs/topology/solidBuilders.js.map +0 -1
- package/dist/vendored/brepjs/topology/surfaceBuilders.d.ts +0 -47
- package/dist/vendored/brepjs/topology/surfaceBuilders.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/surfaceBuilders.js +0 -162
- package/dist/vendored/brepjs/topology/surfaceBuilders.js.map +0 -1
- package/dist/vendored/brepjs/topology/surfaceFns.d.ts +0 -41
- package/dist/vendored/brepjs/topology/surfaceFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/surfaceFns.js +0 -178
- package/dist/vendored/brepjs/topology/surfaceFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/threeHelpers.d.ts +0 -124
- package/dist/vendored/brepjs/topology/threeHelpers.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/threeHelpers.js +0 -118
- package/dist/vendored/brepjs/topology/threeHelpers.js.map +0 -1
- package/dist/vendored/brepjs/topology/topologyQueryFns.d.ts +0 -100
- package/dist/vendored/brepjs/topology/topologyQueryFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/topologyQueryFns.js +0 -307
- package/dist/vendored/brepjs/topology/topologyQueryFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/transformFns.d.ts +0 -69
- package/dist/vendored/brepjs/topology/transformFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/transformFns.js +0 -235
- package/dist/vendored/brepjs/topology/transformFns.js.map +0 -1
- package/dist/vendored/brepjs/topology/wrapperFns.d.ts +0 -169
- package/dist/vendored/brepjs/topology/wrapperFns.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology/wrapperFns.js +0 -291
- package/dist/vendored/brepjs/topology/wrapperFns.js.map +0 -1
- package/dist/vendored/brepjs/topology.d.ts +0 -28
- package/dist/vendored/brepjs/topology.d.ts.map +0 -1
- package/dist/vendored/brepjs/topology.js +0 -39
- package/dist/vendored/brepjs/topology.js.map +0 -1
- package/dist/vendored/brepjs/utils/arrayAccess.d.ts +0 -12
- package/dist/vendored/brepjs/utils/arrayAccess.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/arrayAccess.js +0 -25
- package/dist/vendored/brepjs/utils/arrayAccess.js.map +0 -1
- package/dist/vendored/brepjs/utils/bug.d.ts +0 -15
- package/dist/vendored/brepjs/utils/bug.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/bug.js +0 -21
- package/dist/vendored/brepjs/utils/bug.js.map +0 -1
- package/dist/vendored/brepjs/utils/ioFilename.d.ts +0 -3
- package/dist/vendored/brepjs/utils/ioFilename.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/ioFilename.js +0 -7
- package/dist/vendored/brepjs/utils/ioFilename.js.map +0 -1
- package/dist/vendored/brepjs/utils/precisionRound.d.ts +0 -11
- package/dist/vendored/brepjs/utils/precisionRound.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/precisionRound.js +0 -19
- package/dist/vendored/brepjs/utils/precisionRound.js.map +0 -1
- package/dist/vendored/brepjs/utils/quaternion.d.ts +0 -18
- package/dist/vendored/brepjs/utils/quaternion.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/quaternion.js +0 -68
- package/dist/vendored/brepjs/utils/quaternion.js.map +0 -1
- package/dist/vendored/brepjs/utils/range.d.ts +0 -3
- package/dist/vendored/brepjs/utils/range.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/range.js +0 -5
- package/dist/vendored/brepjs/utils/range.js.map +0 -1
- package/dist/vendored/brepjs/utils/uuid.d.ts +0 -3
- package/dist/vendored/brepjs/utils/uuid.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/uuid.js +0 -7
- package/dist/vendored/brepjs/utils/uuid.js.map +0 -1
- package/dist/vendored/brepjs/utils/vec2d.d.ts +0 -62
- package/dist/vendored/brepjs/utils/vec2d.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/vec2d.js +0 -107
- package/dist/vendored/brepjs/utils/vec2d.js.map +0 -1
- package/dist/vendored/brepjs/utils/vec3.d.ts +0 -32
- package/dist/vendored/brepjs/utils/vec3.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/vec3.js +0 -35
- package/dist/vendored/brepjs/utils/vec3.js.map +0 -1
- package/dist/vendored/brepjs/utils/zip.d.ts +0 -5
- package/dist/vendored/brepjs/utils/zip.d.ts.map +0 -1
- package/dist/vendored/brepjs/utils/zip.js +0 -8
- package/dist/vendored/brepjs/utils/zip.js.map +0 -1
- package/dist/vendored/brepjs/vectors.d.ts +0 -11
- package/dist/vendored/brepjs/vectors.d.ts.map +0 -1
- package/dist/vendored/brepjs/vectors.js +0 -9
- package/dist/vendored/brepjs/vectors.js.map +0 -1
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Standalone functions for Blueprint operations.
|
|
3
|
-
*
|
|
4
|
-
* Each function wraps the corresponding {@link Blueprint} class method as a
|
|
5
|
-
* pure function, enabling a functional programming style.
|
|
6
|
-
*
|
|
7
|
-
* @see {@link Blueprint} for the OOP equivalent.
|
|
8
|
-
*/
|
|
9
|
-
import type { Point2D, BoundingBox2d } from '../../2d/lib/index.js';
|
|
10
|
-
import type Blueprint from './blueprint.js';
|
|
11
|
-
import type CompoundBlueprint from './compoundBlueprint.js';
|
|
12
|
-
import type { PointInput } from '../../core/types.js';
|
|
13
|
-
import type { Plane, PlaneName } from '../../core/planeTypes.js';
|
|
14
|
-
import type { Face } from '../../core/shapeTypes.js';
|
|
15
|
-
import type { ScaleMode } from '../../2d/curves.js';
|
|
16
|
-
import { type Result } from '../../core/result.js';
|
|
17
|
-
/**
|
|
18
|
-
* Create a new Blueprint from an ordered array of 2D curves.
|
|
19
|
-
*
|
|
20
|
-
* Returns a `Result` — use `unwrap()` in tests or `isOk()`/`match()` in
|
|
21
|
-
* production code.
|
|
22
|
-
*
|
|
23
|
-
* @see {@link Blueprint} constructor.
|
|
24
|
-
*/
|
|
25
|
-
export declare function createBlueprint(curves: Blueprint['curves']): Result<Blueprint>;
|
|
26
|
-
/**
|
|
27
|
-
* Create a CompoundBlueprint from an outer boundary and optional holes.
|
|
28
|
-
*
|
|
29
|
-
* The first element of `blueprints` is the outer boundary; subsequent
|
|
30
|
-
* elements are subtracted as holes.
|
|
31
|
-
*
|
|
32
|
-
* @see {@link CompoundBlueprint} constructor.
|
|
33
|
-
*/
|
|
34
|
-
export declare function createCompoundBlueprint(blueprints: Blueprint[]): Result<CompoundBlueprint>;
|
|
35
|
-
/** Get the axis-aligned bounding box of a 2D blueprint. */
|
|
36
|
-
export declare function getBounds2D(bp: Blueprint): BoundingBox2d;
|
|
37
|
-
/** Get the winding direction of a 2D blueprint. */
|
|
38
|
-
export declare function getOrientation2D(bp: Blueprint): 'clockwise' | 'counterClockwise';
|
|
39
|
-
/** Test whether a 2D point lies strictly inside a blueprint. */
|
|
40
|
-
export declare function isInside2D(bp: Blueprint, point: Point2D): boolean;
|
|
41
|
-
/** Convert a 2D blueprint to an SVG path d attribute string. */
|
|
42
|
-
export declare function toSVGPathD(bp: Blueprint): string;
|
|
43
|
-
/** Translate a 2D blueprint by the given x and y distances. */
|
|
44
|
-
export declare function translate2D(bp: Blueprint, dx: number, dy: number): Blueprint;
|
|
45
|
-
/** Rotate a 2D blueprint by the given angle in degrees. */
|
|
46
|
-
export declare function rotate2D(bp: Blueprint, angle: number, center?: Point2D): Blueprint;
|
|
47
|
-
/** Uniformly scale a 2D blueprint by a factor around a center point. */
|
|
48
|
-
export declare function scale2D(bp: Blueprint, factor: number, center?: Point2D): Blueprint;
|
|
49
|
-
/** Mirror a 2D blueprint across a point or plane. */
|
|
50
|
-
export declare function mirror2D(bp: Blueprint, centerOrDirection: Point2D, origin?: Point2D, mode?: 'center' | 'plane'): Blueprint;
|
|
51
|
-
/** Stretch a 2D blueprint along a direction by a given ratio. */
|
|
52
|
-
export declare function stretch2D(bp: Blueprint, ratio: number, direction: Point2D, origin?: Point2D): Blueprint;
|
|
53
|
-
/** Project a blueprint onto a 3D plane, producing sketch data. */
|
|
54
|
-
export declare function sketchOnPlane2D(bp: Blueprint, inputPlane?: PlaneName | Plane, origin?: PointInput | number): any;
|
|
55
|
-
/** Map a blueprint onto a 3D face's UV surface, producing sketch data. */
|
|
56
|
-
export declare function sketchOnFace2D(bp: Blueprint, face: Face, scaleMode?: ScaleMode): any;
|
|
57
|
-
//# sourceMappingURL=blueprintFns.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprintFns.d.ts","sourceRoot":"","sources":["../../../../../src/vendored/brepjs/2d/blueprints/blueprintFns.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEpE,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,OAAO,KAAK,iBAAiB,MAAM,wBAAwB,CAAC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C,EAAE,OAAO,GAAG,SAAS,CAElF;AAED,qDAAqD;AACrD,wBAAgB,QAAQ,CACtB,EAAE,EAAE,SAAS,EACb,iBAAiB,EAAE,OAAO,EAC1B,MAAM,CAAC,EAAE,OAAO,EAChB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GACxB,SAAS,CAEX;AAED,iEAAiE;AACjE,wBAAgB,SAAS,CACvB,EAAE,EAAE,SAAS,EACb,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,OAAO,EAClB,MAAM,CAAC,EAAE,OAAO,GACf,SAAS,CAEX;AAID,kEAAkE;AAClE,wBAAgB,eAAe,CAC7B,EAAE,EAAE,SAAS,EACb,UAAU,CAAC,EAAE,SAAS,GAAG,KAAK,EAC9B,MAAM,CAAC,EAAE,UAAU,GAAG,MAAM,GAE3B,GAAG,CAEL;AAED,0EAA0E;AAC1E,wBAAgB,cAAc,CAC5B,EAAE,EAAE,SAAS,EACb,IAAI,EAAE,IAAI,EACV,SAAS,CAAC,EAAE,SAAS,GAEpB,GAAG,CAEL"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Standalone functions for Blueprint operations.
|
|
3
|
-
*
|
|
4
|
-
* Each function wraps the corresponding {@link Blueprint} class method as a
|
|
5
|
-
* pure function, enabling a functional programming style.
|
|
6
|
-
*
|
|
7
|
-
* @see {@link Blueprint} for the OOP equivalent.
|
|
8
|
-
*/
|
|
9
|
-
import BlueprintClass from './blueprint.js';
|
|
10
|
-
import CompoundBlueprintClass from './compoundBlueprint.js';
|
|
11
|
-
import { ok, err } from '../../core/result.js';
|
|
12
|
-
import { validationError, BrepErrorCode } from '../../core/errors.js';
|
|
13
|
-
/**
|
|
14
|
-
* Create a new Blueprint from an ordered array of 2D curves.
|
|
15
|
-
*
|
|
16
|
-
* Returns a `Result` — use `unwrap()` in tests or `isOk()`/`match()` in
|
|
17
|
-
* production code.
|
|
18
|
-
*
|
|
19
|
-
* @see {@link Blueprint} constructor.
|
|
20
|
-
*/
|
|
21
|
-
export function createBlueprint(curves) {
|
|
22
|
-
if (curves.length === 0) {
|
|
23
|
-
return err(validationError(BrepErrorCode.BLUEPRINT_EMPTY_CURVES, 'createBlueprint: at least one curve is required'));
|
|
24
|
-
}
|
|
25
|
-
return ok(new BlueprintClass(curves));
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Create a CompoundBlueprint from an outer boundary and optional holes.
|
|
29
|
-
*
|
|
30
|
-
* The first element of `blueprints` is the outer boundary; subsequent
|
|
31
|
-
* elements are subtracted as holes.
|
|
32
|
-
*
|
|
33
|
-
* @see {@link CompoundBlueprint} constructor.
|
|
34
|
-
*/
|
|
35
|
-
export function createCompoundBlueprint(blueprints) {
|
|
36
|
-
if (blueprints.length === 0) {
|
|
37
|
-
return err(validationError(BrepErrorCode.COMPOUND_BLUEPRINT_EMPTY, 'createCompoundBlueprint: at least one blueprint (outer boundary) is required'));
|
|
38
|
-
}
|
|
39
|
-
return ok(new CompoundBlueprintClass(blueprints));
|
|
40
|
-
}
|
|
41
|
-
// ── Utility Functions (Clean 2D API) ──
|
|
42
|
-
/** Get the axis-aligned bounding box of a 2D blueprint. */
|
|
43
|
-
export function getBounds2D(bp) {
|
|
44
|
-
return bp.boundingBox;
|
|
45
|
-
}
|
|
46
|
-
/** Get the winding direction of a 2D blueprint. */
|
|
47
|
-
export function getOrientation2D(bp) {
|
|
48
|
-
return bp.orientation;
|
|
49
|
-
}
|
|
50
|
-
/** Test whether a 2D point lies strictly inside a blueprint. */
|
|
51
|
-
export function isInside2D(bp, point) {
|
|
52
|
-
return bp.isInside(point);
|
|
53
|
-
}
|
|
54
|
-
/** Convert a 2D blueprint to an SVG path d attribute string. */
|
|
55
|
-
export function toSVGPathD(bp) {
|
|
56
|
-
return bp.toSVGPathD();
|
|
57
|
-
}
|
|
58
|
-
// ── Transform Functions (Clean 2D API) ──
|
|
59
|
-
/** Translate a 2D blueprint by the given x and y distances. */
|
|
60
|
-
export function translate2D(bp, dx, dy) {
|
|
61
|
-
return bp.translate(dx, dy);
|
|
62
|
-
}
|
|
63
|
-
/** Rotate a 2D blueprint by the given angle in degrees. */
|
|
64
|
-
export function rotate2D(bp, angle, center) {
|
|
65
|
-
return bp.rotate(angle, center);
|
|
66
|
-
}
|
|
67
|
-
/** Uniformly scale a 2D blueprint by a factor around a center point. */
|
|
68
|
-
export function scale2D(bp, factor, center) {
|
|
69
|
-
return bp.scale(factor, center);
|
|
70
|
-
}
|
|
71
|
-
/** Mirror a 2D blueprint across a point or plane. */
|
|
72
|
-
export function mirror2D(bp, centerOrDirection, origin, mode) {
|
|
73
|
-
return bp.mirror(centerOrDirection, origin, mode);
|
|
74
|
-
}
|
|
75
|
-
/** Stretch a 2D blueprint along a direction by a given ratio. */
|
|
76
|
-
export function stretch2D(bp, ratio, direction, origin) {
|
|
77
|
-
return bp.stretch(ratio, direction, origin);
|
|
78
|
-
}
|
|
79
|
-
// ── Sketching Functions (Clean 2D API) ──
|
|
80
|
-
/** Project a blueprint onto a 3D plane, producing sketch data. */
|
|
81
|
-
export function sketchOnPlane2D(bp, inputPlane, origin
|
|
82
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Sketch type not yet ported
|
|
83
|
-
) {
|
|
84
|
-
return bp.sketchOnPlane(inputPlane, origin);
|
|
85
|
-
}
|
|
86
|
-
/** Map a blueprint onto a 3D face's UV surface, producing sketch data. */
|
|
87
|
-
export function sketchOnFace2D(bp, face, scaleMode
|
|
88
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Sketch types not yet ported
|
|
89
|
-
) {
|
|
90
|
-
return bp.sketchOnFace(face, scaleMode);
|
|
91
|
-
}
|
|
92
|
-
//# sourceMappingURL=blueprintFns.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprintFns.js","sourceRoot":"","sources":["../../../../../src/vendored/brepjs/2d/blueprints/blueprintFns.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG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ueprint operations.\n *\n * Each function wraps the corresponding {@link Blueprint} class method as a\n * pure function, enabling a functional programming style.\n *\n * @see {@link Blueprint} for the OOP equivalent.\n */\n\nimport type { Point2D, BoundingBox2d } from '../../2d/lib/index.js';\nimport BlueprintClass from './blueprint.js';\nimport type Blueprint from './blueprint.js';\nimport CompoundBlueprintClass from './compoundBlueprint.js';\nimport type CompoundBlueprint from './compoundBlueprint.js';\nimport type { PointInput } from '../../core/types.js';\nimport type { Plane, PlaneName } from '../../core/planeTypes.js';\nimport type { Face } from '../../core/shapeTypes.js';\nimport type { ScaleMode } from '../../2d/curves.js';\nimport { type Result, ok, err } from '../../core/result.js';\nimport { validationError, BrepErrorCode } from '../../core/errors.js';\n\n/**\n * Create a new Blueprint from an ordered array of 2D curves.\n *\n * Returns a `Result` — use `unwrap()` in tests or `isOk()`/`match()` in\n * production code.\n *\n * @see {@link Blueprint} constructor.\n */\nexport function createBlueprint(curves: Blueprint['curves']): Result<Blueprint> {\n if (curves.length === 0) {\n return err(\n validationError(\n BrepErrorCode.BLUEPRINT_EMPTY_CURVES,\n 'createBlueprint: at least one curve is required'\n )\n );\n }\n return ok(new BlueprintClass(curves));\n}\n\n/**\n * Create a CompoundBlueprint from an outer boundary and optional holes.\n *\n * The first element of `blueprints` is the outer boundary; subsequent\n * elements are subtracted as holes.\n *\n * @see {@link CompoundBlueprint} constructor.\n */\nexport function createCompoundBlueprint(blueprints: Blueprint[]): Result<CompoundBlueprint> {\n if (blueprints.length === 0) {\n return err(\n validationError(\n BrepErrorCode.COMPOUND_BLUEPRINT_EMPTY,\n 'createCompoundBlueprint: at least one blueprint (outer boundary) is required'\n )\n );\n }\n return ok(new CompoundBlueprintClass(blueprints));\n}\n\n// ── Utility Functions (Clean 2D API) ──\n\n/** Get the axis-aligned bounding box of a 2D blueprint. */\nexport function getBounds2D(bp: Blueprint): BoundingBox2d {\n return bp.boundingBox;\n}\n\n/** Get the winding direction of a 2D blueprint. */\nexport function getOrientation2D(bp: Blueprint): 'clockwise' | 'counterClockwise' {\n return bp.orientation;\n}\n\n/** Test whether a 2D point lies strictly inside a blueprint. */\nexport function isInside2D(bp: Blueprint, point: Point2D): boolean {\n return bp.isInside(point);\n}\n\n/** Convert a 2D blueprint to an SVG path d attribute string. */\nexport function toSVGPathD(bp: Blueprint): string {\n return bp.toSVGPathD();\n}\n\n// ── Transform Functions (Clean 2D API) ──\n\n/** Translate a 2D blueprint by the given x and y distances. */\nexport function translate2D(bp: Blueprint, dx: number, dy: number): Blueprint {\n return bp.translate(dx, dy);\n}\n\n/** Rotate a 2D blueprint by the given angle in degrees. */\nexport function rotate2D(bp: Blueprint, angle: number, center?: Point2D): Blueprint {\n return bp.rotate(angle, center);\n}\n\n/** Uniformly scale a 2D blueprint by a factor around a center point. */\nexport function scale2D(bp: Blueprint, factor: number, center?: Point2D): Blueprint {\n return bp.scale(factor, center);\n}\n\n/** Mirror a 2D blueprint across a point or plane. */\nexport function mirror2D(\n bp: Blueprint,\n centerOrDirection: Point2D,\n origin?: Point2D,\n mode?: 'center' | 'plane'\n): Blueprint {\n return bp.mirror(centerOrDirection, origin, mode);\n}\n\n/** Stretch a 2D blueprint along a direction by a given ratio. */\nexport function stretch2D(\n bp: Blueprint,\n ratio: number,\n direction: Point2D,\n origin?: Point2D\n): Blueprint {\n return bp.stretch(ratio, direction, origin);\n}\n\n// ── Sketching Functions (Clean 2D API) ──\n\n/** Project a blueprint onto a 3D plane, producing sketch data. */\nexport function sketchOnPlane2D(\n bp: Blueprint,\n inputPlane?: PlaneName | Plane,\n origin?: PointInput | number\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Sketch type not yet ported\n): any {\n return bp.sketchOnPlane(inputPlane, origin);\n}\n\n/** Map a blueprint onto a 3D face's UV surface, producing sketch data. */\nexport function sketchOnFace2D(\n bp: Blueprint,\n face: Face,\n scaleMode?: ScaleMode\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Sketch types not yet ported\n): any {\n return bp.sketchOnFace(face, scaleMode);\n}\n"]}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Curve2D } from '../../2d/lib/index.js';
|
|
2
|
-
import Blueprint from './blueprint.js';
|
|
3
|
-
import type { Shape2D } from './boolean2D.js';
|
|
4
|
-
/**
|
|
5
|
-
* Compute raw offset curves for a single blueprint without self-intersection cleanup.
|
|
6
|
-
*
|
|
7
|
-
* Offsets each curve individually, then joins adjacent offset curves using the
|
|
8
|
-
* configured line-join strategy (round, bevel, or miter).
|
|
9
|
-
*
|
|
10
|
-
* @param blueprint - The blueprint to offset.
|
|
11
|
-
* @param offset - Offset distance (positive = outward, negative = inward).
|
|
12
|
-
* @param offsetConfig - Join style configuration.
|
|
13
|
-
* @returns Array of offset curves (may contain self-intersections).
|
|
14
|
-
*
|
|
15
|
-
* @remarks This is the low-level building block used by {@link offsetBlueprint}.
|
|
16
|
-
* Most callers should prefer {@link offset} instead.
|
|
17
|
-
*/
|
|
18
|
-
export declare function rawOffsets(blueprint: Blueprint, offset: number, offsetConfig?: Offset2DConfig): Curve2D[];
|
|
19
|
-
/** Configuration for 2D offset operations. */
|
|
20
|
-
export interface Offset2DConfig {
|
|
21
|
-
/** Corner join style when offset curves diverge (default: `'round'`). */
|
|
22
|
-
lineJoinType?: 'miter' | 'bevel' | 'round';
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Offset a single blueprint, resolving self-intersections and pruning invalid segments.
|
|
26
|
-
*
|
|
27
|
-
* Produces a new shape whose boundary is at a constant distance from the input
|
|
28
|
-
* blueprint. Self-intersections introduced by the offset are resolved using
|
|
29
|
-
* spatial indexing and curve splitting, following the
|
|
30
|
-
* {@link https://github.com/jbuckmccready/CavalierContours | Cavalier Contours} algorithm.
|
|
31
|
-
*
|
|
32
|
-
* @param blueprint - The source blueprint.
|
|
33
|
-
* @param offset - Offset distance (positive = outward, negative = inward).
|
|
34
|
-
* @param offsetConfig - Join style configuration.
|
|
35
|
-
* @returns The offset shape, or `null` if the offset collapses the blueprint.
|
|
36
|
-
*
|
|
37
|
-
* @see {@link offset} for the polymorphic version that handles all Shape2D types.
|
|
38
|
-
*/
|
|
39
|
-
export declare function offsetBlueprint(blueprint: Blueprint, offset: number, offsetConfig?: Offset2DConfig): Shape2D;
|
|
40
|
-
/**
|
|
41
|
-
* Offset any 2D shape (Blueprint, CompoundBlueprint, or Blueprints) by a distance.
|
|
42
|
-
*
|
|
43
|
-
* Dispatches to {@link offsetBlueprint} for simple blueprints and recursively
|
|
44
|
-
* handles compound and multi-blueprint shapes.
|
|
45
|
-
*
|
|
46
|
-
* @param bp - The shape to offset.
|
|
47
|
-
* @param offsetDistance - Offset distance (positive = outward, negative = inward).
|
|
48
|
-
* @param offsetConfig - Join style configuration.
|
|
49
|
-
* @returns The offset shape, or `null` if the offset collapses entirely.
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* ```ts
|
|
53
|
-
* const expanded = offset(blueprint, 2);
|
|
54
|
-
* const shrunk = offset(blueprint, -1, { lineJoinType: 'miter' });
|
|
55
|
-
* ```
|
|
56
|
-
*/
|
|
57
|
-
export default function offset(bp: Shape2D, offsetDistance: number, offsetConfig?: Offset2DConfig): Shape2D;
|
|
58
|
-
//# sourceMappingURL=blueprintOffset.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprintOffset.d.ts","sourceRoot":"","sources":["../../../../../src/vendored/brepjs/2d/blueprints/blueprintOffset.ts"],"names":[],"mappings":"AAMA,OAAO,EAIL,OAAO,EAQR,MAAM,uBAAuB,CAAC;AAC/B,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAGvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAiO9C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,UAAU,CACxB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,YAAY,GAAE,cAAmB,GAChC,OAAO,EAAE,CAgGX;AAOD,8CAA8C;AAC9C,MAAM,WAAW,cAAc;IAC7B,yEAAyE;IACzE,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;CAC5C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC7B,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,YAAY,GAAE,cAAmB,GAChC,OAAO,CA4DT;AAUD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAC5B,EAAE,EAAE,OAAO,EACX,cAAc,EAAE,MAAM,EACtB,YAAY,GAAE,cAAmB,GAChC,OAAO,CAeT"}
|
|
@@ -1,346 +0,0 @@
|
|
|
1
|
-
import Flatbush from 'flatbush';
|
|
2
|
-
import { bug, safeIndex } from '../../core/errors.js';
|
|
3
|
-
import { unwrap } from '../../core/result.js';
|
|
4
|
-
import { wasmIndex } from '../../utils/vec3.js';
|
|
5
|
-
import { intersectCurves, stitchCurves, make2dOffset, Curve2D, samePoint as defaultSamePoint, make2dSegmentCurve, squareDistance2d, make2dArcFromCenter, add2d, subtract2d, PRECISION_OFFSET, } from '../../2d/lib/index.js';
|
|
6
|
-
import Blueprint from './blueprint.js';
|
|
7
|
-
import Blueprints from './blueprints.js';
|
|
8
|
-
import CompoundBlueprint from './compoundBlueprint.js';
|
|
9
|
-
import { fuse2D, cut2D } from './boolean2D.js';
|
|
10
|
-
const samePoint = (x, y) => defaultSamePoint(x, y, PRECISION_OFFSET * 100);
|
|
11
|
-
const getIntersectionPoint = (line1Start, line1End, line2Start, line2End) => {
|
|
12
|
-
// Pre-compute direction differences (det([[a,1],[b,1]]) = a - b)
|
|
13
|
-
const dx1 = line1Start[0] - line1End[0];
|
|
14
|
-
const dy1 = line1Start[1] - line1End[1];
|
|
15
|
-
const dx2 = line2Start[0] - line2End[0];
|
|
16
|
-
const dy2 = line2Start[1] - line2End[1];
|
|
17
|
-
// Denominator: det([[dx1, dy1], [dx2, dy2]])
|
|
18
|
-
const denom = dx1 * dy2 - dy1 * dx2;
|
|
19
|
-
if (Math.abs(denom) < 1e-12)
|
|
20
|
-
return null;
|
|
21
|
-
// Cross products for the line equations
|
|
22
|
-
const cross1 = line1Start[0] * line1End[1] - line1Start[1] * line1End[0];
|
|
23
|
-
const cross2 = line2Start[0] * line2End[1] - line2Start[1] * line2End[0];
|
|
24
|
-
// Intersection point using Cramer's rule
|
|
25
|
-
const x = (cross1 * dx2 - cross2 * dx1) / denom;
|
|
26
|
-
const y = (cross1 * dy2 - cross2 * dy1) / denom;
|
|
27
|
-
return [x, y];
|
|
28
|
-
};
|
|
29
|
-
function joinRound(appendCurve, previousLastPoint, firstPoint, previousCurve, _curve) {
|
|
30
|
-
const arcJoiner = make2dArcFromCenter(previousLastPoint, firstPoint, previousCurve.original.lastPoint);
|
|
31
|
-
appendCurve(previousCurve);
|
|
32
|
-
appendCurve(arcJoiner);
|
|
33
|
-
}
|
|
34
|
-
function joinBevel(appendCurve, previousLastPoint, firstPoint, previousCurve, _curve) {
|
|
35
|
-
const bevelJoiner = make2dSegmentCurve(previousLastPoint, firstPoint);
|
|
36
|
-
appendCurve(previousCurve);
|
|
37
|
-
appendCurve(bevelJoiner);
|
|
38
|
-
}
|
|
39
|
-
function joinMiter(appendCurve, previousLastPoint, firstPoint, previousCurve, curve) {
|
|
40
|
-
const previousOtherPoint = previousCurve.offset instanceof Curve2D
|
|
41
|
-
? subtract2d(previousLastPoint, previousCurve.offset.tangentAt(1))
|
|
42
|
-
: previousCurve.offset.firstPoint;
|
|
43
|
-
const nextOtherPoint = curve.offset instanceof Curve2D
|
|
44
|
-
? add2d(firstPoint, curve.offset.tangentAt(0))
|
|
45
|
-
: curve.offset.lastPoint;
|
|
46
|
-
const offsetIntersectionPoint = getIntersectionPoint(previousOtherPoint, previousLastPoint, firstPoint, nextOtherPoint);
|
|
47
|
-
if (!offsetIntersectionPoint) {
|
|
48
|
-
// Lines are parallel — fall back to bevel join
|
|
49
|
-
const bevelJoiner = make2dSegmentCurve(previousLastPoint, firstPoint);
|
|
50
|
-
appendCurve(previousCurve);
|
|
51
|
-
appendCurve(bevelJoiner);
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
const midpoint = [
|
|
55
|
-
(previousLastPoint[0] + firstPoint[0]) / 2,
|
|
56
|
-
(previousLastPoint[1] + firstPoint[1]) / 2,
|
|
57
|
-
];
|
|
58
|
-
const miterDist = squareDistance2d(midpoint, offsetIntersectionPoint);
|
|
59
|
-
const endpointDist = squareDistance2d(previousLastPoint, firstPoint);
|
|
60
|
-
if (endpointDist < 1e-18 || miterDist > 16 * endpointDist) {
|
|
61
|
-
const bevelJoiner = make2dSegmentCurve(previousLastPoint, firstPoint);
|
|
62
|
-
appendCurve(previousCurve);
|
|
63
|
-
appendCurve(bevelJoiner);
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
const miterJoiner1 = make2dSegmentCurve(previousLastPoint, offsetIntersectionPoint);
|
|
67
|
-
const miterJoiner2 = make2dSegmentCurve(offsetIntersectionPoint, firstPoint);
|
|
68
|
-
appendCurve(previousCurve);
|
|
69
|
-
appendCurve(miterJoiner1);
|
|
70
|
-
appendCurve(miterJoiner2);
|
|
71
|
-
}
|
|
72
|
-
const OFFSET_JOINERS = {
|
|
73
|
-
round: joinRound,
|
|
74
|
-
bevel: joinBevel,
|
|
75
|
-
miter: joinMiter,
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Handle the case where adjacent offset curves intersect: split both at
|
|
79
|
-
* the closest intersection and return updated previous/current curves.
|
|
80
|
-
*/
|
|
81
|
-
function splitAtIntersection(previousCurve, curve, intersections) {
|
|
82
|
-
const intersection = intersections.length === 1
|
|
83
|
-
? safeIndex(intersections, 0, 'rawOffsets')
|
|
84
|
-
: selectClosestIntersection(intersections, previousCurve.original.lastPoint);
|
|
85
|
-
const splitPreviousCurve = safeIndex(previousCurve.offset.splitAt([intersection], PRECISION_OFFSET), 0, 'rawOffsets');
|
|
86
|
-
const splitCurve = curve.offset.splitAt([intersection], PRECISION_OFFSET).at(-1);
|
|
87
|
-
if (!splitCurve)
|
|
88
|
-
bug('offset.rawOffsets', 'Split produced no trailing curve segment');
|
|
89
|
-
return {
|
|
90
|
-
splitPrevious: { offset: splitPreviousCurve, original: previousCurve.original },
|
|
91
|
-
splitCurrent: { offset: splitCurve, original: curve.original },
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* From an array of candidate intersection points, select the one closest to
|
|
96
|
-
* a reference point (the original curve endpoint).
|
|
97
|
-
*/
|
|
98
|
-
function selectClosestIntersection(intersections, referencePoint) {
|
|
99
|
-
let closest = safeIndex(intersections, 0, 'selectClosestIntersection');
|
|
100
|
-
let minDist = squareDistance2d(closest, referencePoint);
|
|
101
|
-
for (let i = 1; i < intersections.length; i++) {
|
|
102
|
-
const point = safeIndex(intersections, i, 'selectClosestIntersection');
|
|
103
|
-
const d = squareDistance2d(point, referencePoint);
|
|
104
|
-
if (d < minDist) {
|
|
105
|
-
minDist = d;
|
|
106
|
-
closest = point;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
return closest;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Build a map of self-intersection points per curve index using a spatial
|
|
113
|
-
* index over offset-curve bounding boxes.
|
|
114
|
-
*/
|
|
115
|
-
function findSelfIntersections(offsettedArray) {
|
|
116
|
-
const allIntersections = new Map();
|
|
117
|
-
const updateIntersections = (index, newPoints) => {
|
|
118
|
-
const intersections = allIntersections.get(index) || [];
|
|
119
|
-
allIntersections.set(index, [...intersections, ...newPoints]);
|
|
120
|
-
};
|
|
121
|
-
// Build spatial index of curve bounding boxes for O(n log n) intersection filtering
|
|
122
|
-
const spatialIndex = new Flatbush(offsettedArray.length);
|
|
123
|
-
for (const curve of offsettedArray) {
|
|
124
|
-
const [[xMin, yMin], [xMax, yMax]] = curve.boundingBox.bounds;
|
|
125
|
-
spatialIndex.add(xMin, yMin, xMax, yMax);
|
|
126
|
-
}
|
|
127
|
-
spatialIndex.finish();
|
|
128
|
-
// Use spatial index to find candidate pairs, avoiding O(n²) comparisons
|
|
129
|
-
offsettedArray.forEach((firstCurve, firstIndex) => {
|
|
130
|
-
const [[xMin, yMin], [xMax, yMax]] = firstCurve.boundingBox.bounds;
|
|
131
|
-
const candidates = spatialIndex.search(xMin, yMin, xMax, yMax);
|
|
132
|
-
for (const secondIndex of candidates) {
|
|
133
|
-
// Only test pairs where secondIndex > firstIndex to avoid duplicates
|
|
134
|
-
if (secondIndex <= firstIndex)
|
|
135
|
-
continue;
|
|
136
|
-
const secondCurve = safeIndex(offsettedArray, secondIndex, 'offsetBlueprint');
|
|
137
|
-
const { intersections: rawIntersections, commonSegmentsPoints } = unwrap(intersectCurves(firstCurve, secondCurve, PRECISION_OFFSET));
|
|
138
|
-
const intersections = [...rawIntersections, ...commonSegmentsPoints].filter((intersection) => {
|
|
139
|
-
const onFirstCurveExtremity = samePoint(intersection, firstCurve.firstPoint) ||
|
|
140
|
-
samePoint(intersection, firstCurve.lastPoint);
|
|
141
|
-
const onSecondCurveExtremity = samePoint(intersection, secondCurve.firstPoint) ||
|
|
142
|
-
samePoint(intersection, secondCurve.lastPoint);
|
|
143
|
-
return !(onFirstCurveExtremity && onSecondCurveExtremity);
|
|
144
|
-
});
|
|
145
|
-
if (!intersections.length)
|
|
146
|
-
continue;
|
|
147
|
-
updateIntersections(firstIndex, intersections);
|
|
148
|
-
updateIntersections(secondIndex, intersections);
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
return allIntersections;
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Compute raw offset curves for a single blueprint without self-intersection cleanup.
|
|
155
|
-
*
|
|
156
|
-
* Offsets each curve individually, then joins adjacent offset curves using the
|
|
157
|
-
* configured line-join strategy (round, bevel, or miter).
|
|
158
|
-
*
|
|
159
|
-
* @param blueprint - The blueprint to offset.
|
|
160
|
-
* @param offset - Offset distance (positive = outward, negative = inward).
|
|
161
|
-
* @param offsetConfig - Join style configuration.
|
|
162
|
-
* @returns Array of offset curves (may contain self-intersections).
|
|
163
|
-
*
|
|
164
|
-
* @remarks This is the low-level building block used by {@link offsetBlueprint}.
|
|
165
|
-
* Most callers should prefer {@link offset} instead.
|
|
166
|
-
*/
|
|
167
|
-
export function rawOffsets(blueprint, offset, offsetConfig = {}) {
|
|
168
|
-
const correctedOffset = blueprint.orientation === 'clockwise' ? -offset : offset;
|
|
169
|
-
const offsetCurves = blueprint.curves.map((c) => ({
|
|
170
|
-
offset: make2dOffset(c, correctedOffset),
|
|
171
|
-
original: c,
|
|
172
|
-
}));
|
|
173
|
-
// Ideally we would use the length of the curve to make sure it is
|
|
174
|
-
// not only a point, but the algo we have access to are a bit to
|
|
175
|
-
// convoluted to be usable here
|
|
176
|
-
const offsettedArray = [];
|
|
177
|
-
let savedLastCurve = null;
|
|
178
|
-
let previousCurve = offsetCurves.at(-1);
|
|
179
|
-
// We have no offset curves
|
|
180
|
-
if (!previousCurve)
|
|
181
|
-
return [];
|
|
182
|
-
function appendCurve(curve) {
|
|
183
|
-
// There are different ways to build the array of offsetted curves.
|
|
184
|
-
// This should build the array of offsetted curves depending on the shape of
|
|
185
|
-
// what we are offsetting.
|
|
186
|
-
// if the curve is a Curve2D we just push it
|
|
187
|
-
if (curve instanceof Curve2D) {
|
|
188
|
-
offsettedArray.push(curve);
|
|
189
|
-
return;
|
|
190
|
-
}
|
|
191
|
-
if (!savedLastCurve) {
|
|
192
|
-
// we make the first curve we append available to wrap when iterating
|
|
193
|
-
savedLastCurve = curve;
|
|
194
|
-
}
|
|
195
|
-
else if (curve.offset instanceof Curve2D) {
|
|
196
|
-
// if we have an offset curve that is a Curve2D we push it
|
|
197
|
-
offsettedArray.push(curve.offset);
|
|
198
|
-
}
|
|
199
|
-
else if (!samePoint(curve.offset.firstPoint, curve.offset.lastPoint)) {
|
|
200
|
-
// if the offset curve is collapsed we push a segment curve
|
|
201
|
-
offsettedArray.push(make2dSegmentCurve(curve.offset.firstPoint, curve.offset.lastPoint));
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
const iterateOffsetCurves = function* () {
|
|
205
|
-
for (const curve of offsetCurves.slice(0, -1)) {
|
|
206
|
-
yield curve;
|
|
207
|
-
}
|
|
208
|
-
// This should never happen
|
|
209
|
-
if (!savedLastCurve)
|
|
210
|
-
bug('offset.rawOffsets', 'No saved curve after iterating offset segments');
|
|
211
|
-
yield savedLastCurve;
|
|
212
|
-
};
|
|
213
|
-
for (const curve of iterateOffsetCurves()) {
|
|
214
|
-
const previousLastPoint = previousCurve.offset.lastPoint;
|
|
215
|
-
const firstPoint = curve.offset.firstPoint;
|
|
216
|
-
// When the offset curves do still touch we do nothing
|
|
217
|
-
if (samePoint(previousLastPoint, firstPoint)) {
|
|
218
|
-
appendCurve(previousCurve);
|
|
219
|
-
previousCurve = curve;
|
|
220
|
-
continue;
|
|
221
|
-
}
|
|
222
|
-
let intersections = [];
|
|
223
|
-
if (previousCurve.offset instanceof Curve2D && curve.offset instanceof Curve2D) {
|
|
224
|
-
// When the offset curves intersect we cut them and save them at
|
|
225
|
-
const { intersections: pointIntersections, commonSegmentsPoints } = unwrap(intersectCurves(previousCurve.offset, curve.offset, PRECISION_OFFSET / 100));
|
|
226
|
-
intersections = [...pointIntersections, ...commonSegmentsPoints];
|
|
227
|
-
}
|
|
228
|
-
if (intersections.length > 0) {
|
|
229
|
-
// Pick the intersection closest to the original curve endpoint
|
|
230
|
-
// (following https://github.com/jbuckmccready/cavalier_contours/)
|
|
231
|
-
const { splitPrevious, splitCurrent } = splitAtIntersection(previousCurve, curve, intersections);
|
|
232
|
-
appendCurve(splitPrevious);
|
|
233
|
-
previousCurve = splitCurrent;
|
|
234
|
-
continue;
|
|
235
|
-
}
|
|
236
|
-
// When the offset curves do not intersect we link them with an offset
|
|
237
|
-
// joiner
|
|
238
|
-
const joiner = OFFSET_JOINERS[offsetConfig.lineJoinType ?? 'round'];
|
|
239
|
-
joiner(appendCurve, previousLastPoint, firstPoint, previousCurve, curve);
|
|
240
|
-
previousCurve = curve;
|
|
241
|
-
}
|
|
242
|
-
appendCurve(previousCurve);
|
|
243
|
-
return offsettedArray;
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* Offset a single blueprint, resolving self-intersections and pruning invalid segments.
|
|
247
|
-
*
|
|
248
|
-
* Produces a new shape whose boundary is at a constant distance from the input
|
|
249
|
-
* blueprint. Self-intersections introduced by the offset are resolved using
|
|
250
|
-
* spatial indexing and curve splitting, following the
|
|
251
|
-
* {@link https://github.com/jbuckmccready/CavalierContours | Cavalier Contours} algorithm.
|
|
252
|
-
*
|
|
253
|
-
* @param blueprint - The source blueprint.
|
|
254
|
-
* @param offset - Offset distance (positive = outward, negative = inward).
|
|
255
|
-
* @param offsetConfig - Join style configuration.
|
|
256
|
-
* @returns The offset shape, or `null` if the offset collapses the blueprint.
|
|
257
|
-
*
|
|
258
|
-
* @see {@link offset} for the polymorphic version that handles all Shape2D types.
|
|
259
|
-
*/
|
|
260
|
-
export function offsetBlueprint(blueprint, offset, offsetConfig = {}) {
|
|
261
|
-
const offsettedArray = rawOffsets(blueprint, offset, offsetConfig);
|
|
262
|
-
if (offsettedArray.length < 2)
|
|
263
|
-
return null;
|
|
264
|
-
// We remove the self intersections with the use the the algorithm as described in https://github.com/jbuckmccready/CavalierContours#offset-algorithm-and-stepwise-example
|
|
265
|
-
const allIntersections = findSelfIntersections(offsettedArray);
|
|
266
|
-
if (!allIntersections.size) {
|
|
267
|
-
const offsettedBlueprint = new Blueprint(offsettedArray);
|
|
268
|
-
if (!blueprint.intersects(offsettedBlueprint))
|
|
269
|
-
return offsettedBlueprint;
|
|
270
|
-
return null;
|
|
271
|
-
}
|
|
272
|
-
const splitCurves = offsettedArray.flatMap((curve, index) => {
|
|
273
|
-
if (!allIntersections.has(index))
|
|
274
|
-
return curve;
|
|
275
|
-
const intersections = allIntersections.get(index) || [];
|
|
276
|
-
const splitCurves = curve.splitAt(intersections, PRECISION_OFFSET * 100);
|
|
277
|
-
return splitCurves;
|
|
278
|
-
});
|
|
279
|
-
// We remove all the segments that are closer to the original curve than the offset
|
|
280
|
-
const originalIndex = new Flatbush(blueprint.curves.length);
|
|
281
|
-
for (const c of blueprint.curves) {
|
|
282
|
-
const [[xMin, yMin], [xMax, yMax]] = c.boundingBox.bounds;
|
|
283
|
-
originalIndex.add(xMin, yMin, xMax, yMax);
|
|
284
|
-
}
|
|
285
|
-
originalIndex.finish();
|
|
286
|
-
const absOffset = Math.abs(offset);
|
|
287
|
-
const prunedCurves = splitCurves.filter((curve) => {
|
|
288
|
-
const [[xMin, yMin], [xMax, yMax]] = curve.boundingBox.bounds;
|
|
289
|
-
const candidates = originalIndex.search(xMin - absOffset, yMin - absOffset, xMax + absOffset, yMax + absOffset);
|
|
290
|
-
return !candidates.some((idx) => {
|
|
291
|
-
const c = wasmIndex(blueprint.curves, idx);
|
|
292
|
-
return c.distanceFrom(curve) < absOffset - PRECISION_OFFSET;
|
|
293
|
-
});
|
|
294
|
-
});
|
|
295
|
-
if (!prunedCurves.length)
|
|
296
|
-
return null;
|
|
297
|
-
const curvesGrouped = stitchCurves(prunedCurves);
|
|
298
|
-
const blueprints = curvesGrouped
|
|
299
|
-
.filter((c) => c.length > 1)
|
|
300
|
-
.map((c) => new Blueprint(c))
|
|
301
|
-
.filter((b) => b.isClosed());
|
|
302
|
-
if (!blueprints.length)
|
|
303
|
-
return null;
|
|
304
|
-
if (blueprints.length === 1) {
|
|
305
|
-
return safeIndex(blueprints, 0, 'offsetBlueprint');
|
|
306
|
-
}
|
|
307
|
-
return new Blueprints(blueprints);
|
|
308
|
-
}
|
|
309
|
-
const fuseAll = (blueprints) => {
|
|
310
|
-
let fused = safeIndex(blueprints, 0, 'fuseAll');
|
|
311
|
-
for (let i = 1; i < blueprints.length; i++) {
|
|
312
|
-
fused = fuse2D(fused, safeIndex(blueprints, i, 'fuseAll'));
|
|
313
|
-
}
|
|
314
|
-
return fused;
|
|
315
|
-
};
|
|
316
|
-
/**
|
|
317
|
-
* Offset any 2D shape (Blueprint, CompoundBlueprint, or Blueprints) by a distance.
|
|
318
|
-
*
|
|
319
|
-
* Dispatches to {@link offsetBlueprint} for simple blueprints and recursively
|
|
320
|
-
* handles compound and multi-blueprint shapes.
|
|
321
|
-
*
|
|
322
|
-
* @param bp - The shape to offset.
|
|
323
|
-
* @param offsetDistance - Offset distance (positive = outward, negative = inward).
|
|
324
|
-
* @param offsetConfig - Join style configuration.
|
|
325
|
-
* @returns The offset shape, or `null` if the offset collapses entirely.
|
|
326
|
-
*
|
|
327
|
-
* @example
|
|
328
|
-
* ```ts
|
|
329
|
-
* const expanded = offset(blueprint, 2);
|
|
330
|
-
* const shrunk = offset(blueprint, -1, { lineJoinType: 'miter' });
|
|
331
|
-
* ```
|
|
332
|
-
*/
|
|
333
|
-
export default function offset(bp, offsetDistance, offsetConfig = {}) {
|
|
334
|
-
if (bp instanceof Blueprint) {
|
|
335
|
-
return offsetBlueprint(bp, offsetDistance, offsetConfig);
|
|
336
|
-
}
|
|
337
|
-
else if (bp instanceof Blueprints) {
|
|
338
|
-
return fuseAll(bp.blueprints.map((b) => offset(b, offsetDistance, offsetConfig)));
|
|
339
|
-
}
|
|
340
|
-
else if (bp instanceof CompoundBlueprint) {
|
|
341
|
-
const innerShape = fuseAll(bp.blueprints.slice(1).map((b) => offset(b, -offsetDistance, offsetConfig)));
|
|
342
|
-
return cut2D(offset(safeIndex(bp.blueprints, 0, 'offset'), offsetDistance, offsetConfig), innerShape);
|
|
343
|
-
}
|
|
344
|
-
return null;
|
|
345
|
-
}
|
|
346
|
-
//# sourceMappingURL=blueprintOffset.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blueprintOffset.js","sourceRoot":"","sources":["../../../../../src/vendored/brepjs/2d/blueprints/blueprintOffset.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,GAAG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D,OAAO,IAAI,CAAC;AACd,CAAC","sourcesContent":["import Flatbush from 'flatbush';\n\nimport { bug, safeIndex } from '../../core/errors.js';\nimport { unwrap } from '../../core/result.js';\nimport { wasmIndex } from '../../utils/vec3.js';\nimport type { Point2D } from '../../2d/lib/index.js';\nimport {\n intersectCurves,\n stitchCurves,\n make2dOffset,\n Curve2D,\n samePoint as defaultSamePoint,\n make2dSegmentCurve,\n squareDistance2d,\n make2dArcFromCenter,\n add2d,\n subtract2d,\n PRECISION_OFFSET,\n} from '../../2d/lib/index.js';\nimport Blueprint from './blueprint.js';\nimport Blueprints from './blueprints.js';\nimport CompoundBlueprint from './compoundBlueprint.js';\nimport type { Shape2D } from './boolean2D.js';\nimport { fuse2D, cut2D } from './boolean2D.js';\n\nconst samePoint = (x: Point2D, y: Point2D) => defaultSamePoint(x, y, PRECISION_OFFSET * 100);\n\nconst getIntersectionPoint = (\n line1Start: Point2D,\n line1End: Point2D,\n line2Start: Point2D,\n line2End: Point2D\n): Point2D | null => {\n // Pre-compute direction differences (det([[a,1],[b,1]]) = a - b)\n const dx1 = line1Start[0] - line1End[0];\n const dy1 = line1Start[1] - line1End[1];\n const dx2 = line2Start[0] - line2End[0];\n const dy2 = line2Start[1] - line2End[1];\n\n // Denominator: det([[dx1, dy1], [dx2, dy2]])\n const denom = dx1 * dy2 - dy1 * dx2;\n if (Math.abs(denom) < 1e-12) return null;\n\n // Cross products for the line equations\n const cross1 = line1Start[0] * line1End[1] - line1Start[1] * line1End[0];\n const cross2 = line2Start[0] * line2End[1] - line2Start[1] * line2End[0];\n\n // Intersection point using Cramer's rule\n const x = (cross1 * dx2 - cross2 * dx1) / denom;\n const y = (cross1 * dy2 - cross2 * dy1) / denom;\n\n return [x, y] as Point2D;\n};\n\nfunction joinRound(\n appendCurve: (curve: OffsetCurvePair | Curve2D) => void,\n previousLastPoint: Point2D,\n firstPoint: Point2D,\n previousCurve: OffsetCurvePair,\n _curve: OffsetCurvePair\n) {\n const arcJoiner = make2dArcFromCenter(\n previousLastPoint,\n firstPoint,\n previousCurve.original.lastPoint\n );\n\n appendCurve(previousCurve);\n appendCurve(arcJoiner);\n}\n\nfunction joinBevel(\n appendCurve: (curve: OffsetCurvePair | Curve2D) => void,\n previousLastPoint: Point2D,\n firstPoint: Point2D,\n previousCurve: OffsetCurvePair,\n _curve: OffsetCurvePair\n) {\n const bevelJoiner = make2dSegmentCurve(previousLastPoint, firstPoint);\n\n appendCurve(previousCurve);\n appendCurve(bevelJoiner);\n}\n\nfunction joinMiter(\n appendCurve: (curve: OffsetCurvePair | Curve2D) => void,\n previousLastPoint: Point2D,\n firstPoint: Point2D,\n previousCurve: OffsetCurvePair,\n curve: OffsetCurvePair\n) {\n const previousOtherPoint =\n previousCurve.offset instanceof Curve2D\n ? subtract2d(previousLastPoint, previousCurve.offset.tangentAt(1))\n : previousCurve.offset.firstPoint;\n const nextOtherPoint =\n curve.offset instanceof Curve2D\n ? add2d(firstPoint, curve.offset.tangentAt(0))\n : curve.offset.lastPoint;\n\n const offsetIntersectionPoint = getIntersectionPoint(\n previousOtherPoint,\n previousLastPoint,\n firstPoint,\n nextOtherPoint\n );\n\n if (!offsetIntersectionPoint) {\n // Lines are parallel — fall back to bevel join\n const bevelJoiner = make2dSegmentCurve(previousLastPoint, firstPoint);\n appendCurve(previousCurve);\n appendCurve(bevelJoiner);\n return;\n }\n\n const midpoint: Point2D = [\n (previousLastPoint[0] + firstPoint[0]) / 2,\n (previousLastPoint[1] + firstPoint[1]) / 2,\n ];\n const miterDist = squareDistance2d(midpoint, offsetIntersectionPoint);\n const endpointDist = squareDistance2d(previousLastPoint, firstPoint);\n if (endpointDist < 1e-18 || miterDist > 16 * endpointDist) {\n const bevelJoiner = make2dSegmentCurve(previousLastPoint, firstPoint);\n appendCurve(previousCurve);\n appendCurve(bevelJoiner);\n return;\n }\n\n const miterJoiner1 = make2dSegmentCurve(previousLastPoint, offsetIntersectionPoint);\n const miterJoiner2 = make2dSegmentCurve(offsetIntersectionPoint, firstPoint);\n\n appendCurve(previousCurve);\n appendCurve(miterJoiner1);\n appendCurve(miterJoiner2);\n}\n\nconst OFFSET_JOINERS = {\n round: joinRound,\n bevel: joinBevel,\n miter: joinMiter,\n} as const;\n\n/**\n * Handle the case where adjacent offset curves intersect: split both at\n * the closest intersection and return updated previous/current curves.\n */\nfunction splitAtIntersection(\n previousCurve: OffsetCurvePair,\n curve: OffsetCurvePair,\n intersections: Point2D[]\n): { splitPrevious: OffsetCurvePair; splitCurrent: OffsetCurvePair } {\n const intersection: Point2D =\n intersections.length === 1\n ? safeIndex(intersections, 0, 'rawOffsets')\n : selectClosestIntersection(intersections, previousCurve.original.lastPoint);\n\n const splitPreviousCurve: Curve2D = safeIndex(\n (previousCurve.offset as Curve2D).splitAt([intersection], PRECISION_OFFSET),\n 0,\n 'rawOffsets'\n );\n const splitCurve = (curve.offset as Curve2D).splitAt([intersection], PRECISION_OFFSET).at(-1);\n\n if (!splitCurve) bug('offset.rawOffsets', 'Split produced no trailing curve segment');\n\n return {\n splitPrevious: { offset: splitPreviousCurve, original: previousCurve.original },\n splitCurrent: { offset: splitCurve, original: curve.original },\n };\n}\n\n/**\n * From an array of candidate intersection points, select the one closest to\n * a reference point (the original curve endpoint).\n */\nfunction selectClosestIntersection(intersections: Point2D[], referencePoint: Point2D): Point2D {\n let closest = safeIndex(intersections, 0, 'selectClosestIntersection');\n let minDist = squareDistance2d(closest, referencePoint);\n for (let i = 1; i < intersections.length; i++) {\n const point = safeIndex(intersections, i, 'selectClosestIntersection');\n const d = squareDistance2d(point, referencePoint);\n if (d < minDist) {\n minDist = d;\n closest = point;\n }\n }\n return closest;\n}\n\n/**\n * Build a map of self-intersection points per curve index using a spatial\n * index over offset-curve bounding boxes.\n */\nfunction findSelfIntersections(offsettedArray: Curve2D[]): Map<number, Point2D[]> {\n const allIntersections: Map<number, Point2D[]> = new Map();\n const updateIntersections = (index: number, newPoints: Point2D[]) => {\n const intersections = allIntersections.get(index) || [];\n allIntersections.set(index, [...intersections, ...newPoints]);\n };\n\n // Build spatial index of curve bounding boxes for O(n log n) intersection filtering\n const spatialIndex = new Flatbush(offsettedArray.length);\n for (const curve of offsettedArray) {\n const [[xMin, yMin], [xMax, yMax]] = curve.boundingBox.bounds;\n spatialIndex.add(xMin, yMin, xMax, yMax);\n }\n spatialIndex.finish();\n\n // Use spatial index to find candidate pairs, avoiding O(n²) comparisons\n offsettedArray.forEach((firstCurve, firstIndex) => {\n const [[xMin, yMin], [xMax, yMax]] = firstCurve.boundingBox.bounds;\n const candidates = spatialIndex.search(xMin, yMin, xMax, yMax);\n\n for (const secondIndex of candidates) {\n // Only test pairs where secondIndex > firstIndex to avoid duplicates\n if (secondIndex <= firstIndex) continue;\n\n const secondCurve = safeIndex(offsettedArray, secondIndex, 'offsetBlueprint');\n\n const { intersections: rawIntersections, commonSegmentsPoints } = unwrap(\n intersectCurves(firstCurve, secondCurve, PRECISION_OFFSET)\n );\n\n const intersections = [...rawIntersections, ...commonSegmentsPoints].filter(\n (intersection) => {\n const onFirstCurveExtremity =\n samePoint(intersection, firstCurve.firstPoint) ||\n samePoint(intersection, firstCurve.lastPoint);\n\n const onSecondCurveExtremity =\n samePoint(intersection, secondCurve.firstPoint) ||\n samePoint(intersection, secondCurve.lastPoint);\n\n return !(onFirstCurveExtremity && onSecondCurveExtremity);\n }\n );\n\n if (!intersections.length) continue;\n\n updateIntersections(firstIndex, intersections);\n updateIntersections(secondIndex, intersections);\n }\n });\n\n return allIntersections;\n}\n\n/**\n * Compute raw offset curves for a single blueprint without self-intersection cleanup.\n *\n * Offsets each curve individually, then joins adjacent offset curves using the\n * configured line-join strategy (round, bevel, or miter).\n *\n * @param blueprint - The blueprint to offset.\n * @param offset - Offset distance (positive = outward, negative = inward).\n * @param offsetConfig - Join style configuration.\n * @returns Array of offset curves (may contain self-intersections).\n *\n * @remarks This is the low-level building block used by {@link offsetBlueprint}.\n * Most callers should prefer {@link offset} instead.\n */\nexport function rawOffsets(\n blueprint: Blueprint,\n offset: number,\n offsetConfig: Offset2DConfig = {}\n): Curve2D[] {\n const correctedOffset = blueprint.orientation === 'clockwise' ? -offset : offset;\n const offsetCurves: OffsetCurvePair[] = blueprint.curves.map((c) => ({\n offset: make2dOffset(c, correctedOffset),\n original: c,\n }));\n\n // Ideally we would use the length of the curve to make sure it is\n // not only a point, but the algo we have access to are a bit to\n // convoluted to be usable here\n\n const offsettedArray: Curve2D[] = [];\n\n let savedLastCurve: null | OffsetCurvePair = null;\n\n let previousCurve = offsetCurves.at(-1);\n\n // We have no offset curves\n if (!previousCurve) return [];\n\n function appendCurve(curve: OffsetCurvePair | Curve2D) {\n // There are different ways to build the array of offsetted curves.\n // This should build the array of offsetted curves depending on the shape of\n // what we are offsetting.\n\n // if the curve is a Curve2D we just push it\n if (curve instanceof Curve2D) {\n offsettedArray.push(curve);\n return;\n }\n\n if (!savedLastCurve) {\n // we make the first curve we append available to wrap when iterating\n savedLastCurve = curve;\n } else if (curve.offset instanceof Curve2D) {\n // if we have an offset curve that is a Curve2D we push it\n offsettedArray.push(curve.offset);\n } else if (!samePoint(curve.offset.firstPoint, curve.offset.lastPoint)) {\n // if the offset curve is collapsed we push a segment curve\n offsettedArray.push(make2dSegmentCurve(curve.offset.firstPoint, curve.offset.lastPoint));\n }\n }\n\n const iterateOffsetCurves = function* (): Generator<OffsetCurvePair> {\n for (const curve of offsetCurves.slice(0, -1)) {\n yield curve;\n }\n // This should never happen\n if (!savedLastCurve) bug('offset.rawOffsets', 'No saved curve after iterating offset segments');\n yield savedLastCurve;\n };\n\n for (const curve of iterateOffsetCurves()) {\n const previousLastPoint = previousCurve.offset.lastPoint;\n const firstPoint = curve.offset.firstPoint;\n\n // When the offset curves do still touch we do nothing\n if (samePoint(previousLastPoint, firstPoint)) {\n appendCurve(previousCurve);\n previousCurve = curve;\n continue;\n }\n\n let intersections: Point2D[] = [];\n\n if (previousCurve.offset instanceof Curve2D && curve.offset instanceof Curve2D) {\n // When the offset curves intersect we cut them and save them at\n const { intersections: pointIntersections, commonSegmentsPoints } = unwrap(\n intersectCurves(previousCurve.offset, curve.offset, PRECISION_OFFSET / 100)\n );\n intersections = [...pointIntersections, ...commonSegmentsPoints];\n }\n\n if (intersections.length > 0) {\n // Pick the intersection closest to the original curve endpoint\n // (following https://github.com/jbuckmccready/cavalier_contours/)\n const { splitPrevious, splitCurrent } = splitAtIntersection(\n previousCurve,\n curve,\n intersections\n );\n appendCurve(splitPrevious);\n previousCurve = splitCurrent;\n continue;\n }\n\n // When the offset curves do not intersect we link them with an offset\n // joiner\n const joiner = OFFSET_JOINERS[offsetConfig.lineJoinType ?? 'round'];\n joiner(appendCurve, previousLastPoint, firstPoint, previousCurve, curve);\n\n previousCurve = curve;\n }\n\n appendCurve(previousCurve);\n return offsettedArray;\n}\n\ninterface OffsetCurvePair {\n offset: Curve2D | { collapsed: true; firstPoint: Point2D; lastPoint: Point2D };\n original: Curve2D;\n}\n\n/** Configuration for 2D offset operations. */\nexport interface Offset2DConfig {\n /** Corner join style when offset curves diverge (default: `'round'`). */\n lineJoinType?: 'miter' | 'bevel' | 'round';\n}\n\n/**\n * Offset a single blueprint, resolving self-intersections and pruning invalid segments.\n *\n * Produces a new shape whose boundary is at a constant distance from the input\n * blueprint. Self-intersections introduced by the offset are resolved using\n * spatial indexing and curve splitting, following the\n * {@link https://github.com/jbuckmccready/CavalierContours | Cavalier Contours} algorithm.\n *\n * @param blueprint - The source blueprint.\n * @param offset - Offset distance (positive = outward, negative = inward).\n * @param offsetConfig - Join style configuration.\n * @returns The offset shape, or `null` if the offset collapses the blueprint.\n *\n * @see {@link offset} for the polymorphic version that handles all Shape2D types.\n */\nexport function offsetBlueprint(\n blueprint: Blueprint,\n offset: number,\n offsetConfig: Offset2DConfig = {}\n): Shape2D {\n const offsettedArray = rawOffsets(blueprint, offset, offsetConfig);\n\n if (offsettedArray.length < 2) return null;\n\n // We remove the self intersections with the use the the algorithm as described in https://github.com/jbuckmccready/CavalierContours#offset-algorithm-and-stepwise-example\n\n const allIntersections = findSelfIntersections(offsettedArray);\n\n if (!allIntersections.size) {\n const offsettedBlueprint = new Blueprint(offsettedArray);\n if (!blueprint.intersects(offsettedBlueprint)) return offsettedBlueprint;\n return null;\n }\n\n const splitCurves = offsettedArray.flatMap((curve, index) => {\n if (!allIntersections.has(index)) return curve;\n\n const intersections = allIntersections.get(index) || [];\n const splitCurves = curve.splitAt(intersections, PRECISION_OFFSET * 100);\n return splitCurves;\n });\n\n // We remove all the segments that are closer to the original curve than the offset\n const originalIndex = new Flatbush(blueprint.curves.length);\n for (const c of blueprint.curves) {\n const [[xMin, yMin], [xMax, yMax]] = c.boundingBox.bounds;\n originalIndex.add(xMin, yMin, xMax, yMax);\n }\n originalIndex.finish();\n\n const absOffset = Math.abs(offset);\n const prunedCurves = splitCurves.filter((curve) => {\n const [[xMin, yMin], [xMax, yMax]] = curve.boundingBox.bounds;\n const candidates = originalIndex.search(\n xMin - absOffset,\n yMin - absOffset,\n xMax + absOffset,\n yMax + absOffset\n );\n return !candidates.some((idx) => {\n const c = wasmIndex(blueprint.curves, idx);\n return c.distanceFrom(curve) < absOffset - PRECISION_OFFSET;\n });\n });\n\n if (!prunedCurves.length) return null;\n\n const curvesGrouped = stitchCurves(prunedCurves);\n\n const blueprints = curvesGrouped\n .filter((c) => c.length > 1)\n .map((c) => new Blueprint(c))\n .filter((b) => b.isClosed());\n\n if (!blueprints.length) return null;\n if (blueprints.length === 1) {\n return safeIndex(blueprints, 0, 'offsetBlueprint');\n }\n return new Blueprints(blueprints);\n}\n\nconst fuseAll = (blueprints: Shape2D[]): Shape2D => {\n let fused: Shape2D = safeIndex(blueprints, 0, 'fuseAll');\n for (let i = 1; i < blueprints.length; i++) {\n fused = fuse2D(fused, safeIndex(blueprints, i, 'fuseAll'));\n }\n return fused;\n};\n\n/**\n * Offset any 2D shape (Blueprint, CompoundBlueprint, or Blueprints) by a distance.\n *\n * Dispatches to {@link offsetBlueprint} for simple blueprints and recursively\n * handles compound and multi-blueprint shapes.\n *\n * @param bp - The shape to offset.\n * @param offsetDistance - Offset distance (positive = outward, negative = inward).\n * @param offsetConfig - Join style configuration.\n * @returns The offset shape, or `null` if the offset collapses entirely.\n *\n * @example\n * ```ts\n * const expanded = offset(blueprint, 2);\n * const shrunk = offset(blueprint, -1, { lineJoinType: 'miter' });\n * ```\n */\nexport default function offset(\n bp: Shape2D,\n offsetDistance: number,\n offsetConfig: Offset2DConfig = {}\n): Shape2D {\n if (bp instanceof Blueprint) {\n return offsetBlueprint(bp, offsetDistance, offsetConfig);\n } else if (bp instanceof Blueprints) {\n return fuseAll(bp.blueprints.map((b) => offset(b, offsetDistance, offsetConfig)));\n } else if (bp instanceof CompoundBlueprint) {\n const innerShape = fuseAll(\n bp.blueprints.slice(1).map((b) => offset(b, -offsetDistance, offsetConfig))\n );\n return cut2D(\n offset(safeIndex(bp.blueprints, 0, 'offset'), offsetDistance, offsetConfig),\n innerShape\n );\n }\n return null;\n}\n"]}
|