brepjs 12.2.12 → 12.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/dist/2d/blueprints/Blueprint.d.ts +1 -1
  2. package/dist/2d/blueprints/Blueprint.d.ts.map +1 -1
  3. package/dist/2d.cjs +2 -2
  4. package/dist/2d.js +3 -3
  5. package/dist/{Blueprint-CX2oh-NE.cjs → Blueprint-CoFJDAQd.cjs} +6 -6
  6. package/dist/{Blueprint-BWAzjtvF.js → Blueprint-CtuUvzex.js} +6 -6
  7. package/dist/{boolean2D-G9edb4Pw.cjs → boolean2D-Dk-vLBdl.cjs} +8 -8
  8. package/dist/{boolean2D-B17ZPZ63.js → boolean2D-x2irapGj.js} +8 -8
  9. package/dist/{booleanFns-DQj7i7qb.cjs → booleanFns-BJjYqwJ5.cjs} +3 -3
  10. package/dist/{booleanFns-EsNGs4Zu.js → booleanFns-DtOkwLHI.js} +3 -3
  11. package/dist/brepjs.cjs +343 -35
  12. package/dist/brepjs.js +383 -75
  13. package/dist/core.cjs +1 -1
  14. package/dist/core.js +1 -1
  15. package/dist/{cornerFinder-NbeO5KWC.cjs → cornerFinder-BESZIitp.cjs} +2 -2
  16. package/dist/{cornerFinder-57qxNypG.js → cornerFinder-FY38t0zq.js} +2 -2
  17. package/dist/{curveFns-BN9bWCIl.cjs → curveFns-Ch87sD5O.cjs} +1 -1
  18. package/dist/{curveFns-DRb_8jyd.js → curveFns-LRNGcHXh.js} +1 -1
  19. package/dist/{drawFns-Br57GZWI.cjs → drawFns-BEeoD1yO.cjs} +16 -16
  20. package/dist/{drawFns-DWTCgzlb.js → drawFns-D8QyY7cg.js} +16 -16
  21. package/dist/{faceFns-Dka8xvYk.js → faceFns-B6ebRh5I.js} +6 -2
  22. package/dist/{faceFns-Cfvj4nxx.cjs → faceFns-BLTEPBKq.cjs} +5 -1
  23. package/dist/{helpers-Cu_7Qo9J.cjs → helpers-DNzVfe-Z.cjs} +4 -4
  24. package/dist/{helpers-10HaneKK.js → helpers-DeFPsrcI.js} +4 -4
  25. package/dist/index.d.ts +3 -3
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/io.cjs +3 -3
  28. package/dist/io.js +3 -3
  29. package/dist/kernel/advancedOps.d.ts +2 -0
  30. package/dist/kernel/advancedOps.d.ts.map +1 -1
  31. package/dist/kernel/brepkitAdapter.d.ts +59 -0
  32. package/dist/kernel/brepkitAdapter.d.ts.map +1 -1
  33. package/dist/kernel/brepkitWasmTypes.d.ts +2 -2
  34. package/dist/kernel/brepkitWasmTypes.d.ts.map +1 -1
  35. package/dist/kernel/defaultAdapter.d.ts +35 -0
  36. package/dist/kernel/defaultAdapter.d.ts.map +1 -1
  37. package/dist/kernel/index.d.ts +2 -2
  38. package/dist/kernel/index.d.ts.map +1 -1
  39. package/dist/kernel/types.d.ts +85 -0
  40. package/dist/kernel/types.d.ts.map +1 -1
  41. package/dist/{loft-BDnb8toT.cjs → loft-DR1UN5uN.cjs} +4 -4
  42. package/dist/{loft-DTFP5fVL.js → loft-DsVv4yxU.js} +4 -4
  43. package/dist/{measurement-ypLLNq5y.cjs → measurement-DoYXRaKI.cjs} +2 -2
  44. package/dist/{measurement-9v764TRE.js → measurement-oWvhSVZG.js} +2 -2
  45. package/dist/measurement.cjs +1 -1
  46. package/dist/measurement.js +1 -1
  47. package/dist/{meshFns-xWim4bEU.cjs → meshFns-BU2l_yOm.cjs} +2 -2
  48. package/dist/{meshFns-B1FRGCo4.js → meshFns-HNwWuM4v.js} +2 -2
  49. package/dist/{operations-CLaaoj2N.cjs → operations-D-gTZNtM.cjs} +6 -6
  50. package/dist/{operations-C0597E2p.js → operations-D_3rrfrE.js} +6 -6
  51. package/dist/operations.cjs +2 -2
  52. package/dist/operations.js +2 -2
  53. package/dist/query.cjs +4 -4
  54. package/dist/query.js +5 -5
  55. package/dist/{shapeFns-Dim8UTHh.js → shapeFns-CbXxLvV_.js} +2 -2
  56. package/dist/{shapeFns-ZbzAD8yC.cjs → shapeFns-DHlLNHTn.cjs} +2 -2
  57. package/dist/{shapeTypes-BQGbhdgi.cjs → shapeTypes-7xEam9Ri.cjs} +124 -0
  58. package/dist/{shapeTypes-ByN4-0Hp.js → shapeTypes-CpSaBLDv.js} +124 -0
  59. package/dist/sketching.cjs +2 -2
  60. package/dist/sketching.js +2 -2
  61. package/dist/{solidBuilders-Bc6kgqJ9.js → solidBuilders-BXhh5hP2.js} +2 -2
  62. package/dist/{solidBuilders-CYEEZgiP.cjs → solidBuilders-BzfRBizW.cjs} +2 -2
  63. package/dist/{surfaceBuilders-CXarnCh8.cjs → surfaceBuilders-Be_ENWSA.cjs} +2 -2
  64. package/dist/{surfaceBuilders-Bdn7iqv5.js → surfaceBuilders-D7ZH2QNS.js} +2 -2
  65. package/dist/topology/adjacencyFns.d.ts.map +1 -1
  66. package/dist/topology/faceFns.d.ts +5 -0
  67. package/dist/topology/faceFns.d.ts.map +1 -1
  68. package/dist/{topology-CPYjaISY.cjs → topology-BHnY7Szr.cjs} +8 -8
  69. package/dist/{topology-Cq1j_bp1.js → topology-C1eZ86dI.js} +8 -8
  70. package/dist/topology.cjs +6 -6
  71. package/dist/topology.js +7 -7
  72. package/package.json +4 -4
@@ -123,7 +123,7 @@ export default class Blueprint implements DrawingInterface {
123
123
  * @param origin - Optional UV origin offset (defaults to the face center).
124
124
  * @returns A new Face bounded by the blueprint's profile.
125
125
  */
126
- subFace(face: Face, origin?: PointInput | null): Face;
126
+ private subFace;
127
127
  /**
128
128
  * Cut a prism-shaped hole through a solid along a face using this blueprint.
129
129
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Blueprint.d.ts","sourceRoot":"","sources":["../../../src/2d/blueprints/Blueprint.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAY9C,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAQvE,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AM,SAAI;IAIhB,8CAA8C;IAC9C,IAAI,UAAU,IAAI,OAAO,CAGxB;IAED,2CAA2C;IAC3C,IAAI,SAAS,IAAI,OAAO,CAGvB;IAED;;;;;;;;OAQG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAmBjC,gFAAgF;IAChF,QAAQ;IAIR;;;;OAIG;IACH,UAAU,CAAC,KAAK,EAAE,SAAS;CAc5B"}
package/dist/2d.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const Blueprint = require("./Blueprint-CX2oh-NE.cjs");
4
- const boolean2D = require("./boolean2D-G9edb4Pw.cjs");
3
+ const Blueprint = require("./Blueprint-CoFJDAQd.cjs");
4
+ const boolean2D = require("./boolean2D-Dk-vLBdl.cjs");
5
5
  function reverseCurve(curve) {
6
6
  const cloned = curve.clone();
7
7
  cloned.reverse();
package/dist/2d.js CHANGED
@@ -1,6 +1,6 @@
1
- import { B as Blueprint } from "./Blueprint-BWAzjtvF.js";
2
- import { d, C } from "./Blueprint-BWAzjtvF.js";
3
- import { e, C as C2, f, l, g, n, k, q, o, p, r } from "./boolean2D-B17ZPZ63.js";
1
+ import { B as Blueprint } from "./Blueprint-CtuUvzex.js";
2
+ import { d, C } from "./Blueprint-CtuUvzex.js";
3
+ import { e, C as C2, f, l, g, n, k, q, o, p, r } from "./boolean2D-x2irapGj.js";
4
4
  function reverseCurve(curve) {
5
5
  const cloned = curve.clone();
6
6
  cloned.reverse();
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  const vectors = require("./vectors-TlfO1hu2.cjs");
3
3
  const types = require("./types-CA_xrgDq.cjs");
4
- const shapeTypes = require("./shapeTypes-BQGbhdgi.cjs");
5
- const faceFns = require("./faceFns-Cfvj4nxx.cjs");
6
- const curveFns = require("./curveFns-BN9bWCIl.cjs");
4
+ const shapeTypes = require("./shapeTypes-7xEam9Ri.cjs");
5
+ const faceFns = require("./faceFns-BLTEPBKq.cjs");
6
+ const curveFns = require("./curveFns-Ch87sD5O.cjs");
7
7
  const errors = require("./errors-9fDehDNc.cjs");
8
- const helpers = require("./helpers-Cu_7Qo9J.cjs");
8
+ const helpers = require("./helpers-DNzVfe-Z.cjs");
9
9
  const vecOps = require("./vecOps-CjRL1jau.cjs");
10
- const surfaceBuilders = require("./surfaceBuilders-CXarnCh8.cjs");
10
+ const surfaceBuilders = require("./surfaceBuilders-Be_ENWSA.cjs");
11
11
  const result = require("./result.cjs");
12
12
  function makePlane(plane, origin) {
13
13
  if (plane && typeof plane !== "string") {
@@ -340,7 +340,7 @@ class Curve2D {
340
340
  if (Math.abs(parameters[0] - firstParam) < precision * 100) parameters = parameters.slice(1);
341
341
  if (!parameters.length) return [this];
342
342
  if (
343
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
343
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- parameters is non-empty
344
344
  Math.abs(parameters[parameters.length - 1] - lastParam) < precision * 100
345
345
  )
346
346
  parameters = parameters.slice(0, -1);
@@ -1,12 +1,12 @@
1
1
  import { r as resolvePlane } from "./vectors-cec8p8NQ.js";
2
2
  import { a as toVec3 } from "./types-CWDdqcrq.js";
3
- import { B as getKernel, J as getKernel2D, K as registerForCleanup, L as unregisterFromCleanup, H as createEdge, G as createWire } from "./shapeTypes-ByN4-0Hp.js";
4
- import { u as uvBounds, f as faceGeomType, e as faceCenter, h as uvCoordinates, c as cast } from "./faceFns-Dka8xvYk.js";
5
- import { g as getOrientation } from "./curveFns-DRb_8jyd.js";
3
+ import { B as getKernel, J as getKernel2D, K as registerForCleanup, L as unregisterFromCleanup, H as createEdge, G as createWire } from "./shapeTypes-CpSaBLDv.js";
4
+ import { u as uvBounds, f as faceGeomType, e as faceCenter, h as uvCoordinates, c as cast } from "./faceFns-B6ebRh5I.js";
5
+ import { g as getOrientation } from "./curveFns-LRNGcHXh.js";
6
6
  import { o as ok, e as err, b as computationError, r as unwrap, y as validationError } from "./errors-B7kgv0cd.js";
7
- import { d as distance2d, s as samePoint, b as scalarMultiply2d, c as add2d, e as subtract2d, g as getSingleFace } from "./helpers-10HaneKK.js";
7
+ import { d as distance2d, s as samePoint, b as scalarMultiply2d, c as add2d, e as subtract2d, g as getSingleFace } from "./helpers-DeFPsrcI.js";
8
8
  import { R as RAD2DEG, D as DEG2RAD } from "./vecOps-ZDdZWbwT.js";
9
- import { m as makeFace } from "./surfaceBuilders-Bdn7iqv5.js";
9
+ import { m as makeFace } from "./surfaceBuilders-D7ZH2QNS.js";
10
10
  import { bug } from "./result.js";
11
11
  function makePlane(plane, origin) {
12
12
  if (plane && typeof plane !== "string") {
@@ -339,7 +339,7 @@ class Curve2D {
339
339
  if (Math.abs(parameters[0] - firstParam) < precision * 100) parameters = parameters.slice(1);
340
340
  if (!parameters.length) return [this];
341
341
  if (
342
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
342
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- parameters is non-empty
343
343
  Math.abs(parameters[parameters.length - 1] - lastParam) < precision * 100
344
344
  )
345
345
  parameters = parameters.slice(0, -1);
@@ -46,16 +46,16 @@ var __callDispose = (stack, error, hasError) => {
46
46
  };
47
47
  const vectors = require("./vectors-TlfO1hu2.cjs");
48
48
  const errors = require("./errors-9fDehDNc.cjs");
49
- const faceFns = require("./faceFns-Cfvj4nxx.cjs");
49
+ const faceFns = require("./faceFns-BLTEPBKq.cjs");
50
50
  const types = require("./types-CA_xrgDq.cjs");
51
51
  const vecOps = require("./vecOps-CjRL1jau.cjs");
52
- const loft = require("./loft-BDnb8toT.cjs");
53
- const shapeTypes = require("./shapeTypes-BQGbhdgi.cjs");
54
- const curveFns = require("./curveFns-BN9bWCIl.cjs");
55
- const surfaceBuilders = require("./surfaceBuilders-CXarnCh8.cjs");
52
+ const loft = require("./loft-DR1UN5uN.cjs");
53
+ const shapeTypes = require("./shapeTypes-7xEam9Ri.cjs");
54
+ const curveFns = require("./curveFns-Ch87sD5O.cjs");
55
+ const surfaceBuilders = require("./surfaceBuilders-Be_ENWSA.cjs");
56
56
  const result = require("./result.cjs");
57
- const helpers = require("./helpers-Cu_7Qo9J.cjs");
58
- const Blueprint = require("./Blueprint-CX2oh-NE.cjs");
57
+ const helpers = require("./helpers-DNzVfe-Z.cjs");
58
+ const Blueprint = require("./Blueprint-CoFJDAQd.cjs");
59
59
  const intersectCurves = (first, second, precision = 1e-9) => {
60
60
  if (first.boundingBox.isOut(second.boundingBox))
61
61
  return errors.ok({ intersections: [], commonSegments: [], commonSegmentsPoints: [] });
@@ -704,7 +704,7 @@ class CompoundBlueprint {
704
704
  return [
705
705
  "Compound Blueprints",
706
706
  "-- Outline",
707
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
707
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- compound always has outer boundary
708
708
  this.blueprints[0].repr,
709
709
  "-- Holes",
710
710
  ...this.blueprints.slice(1).map((b) => b.repr)
@@ -45,16 +45,16 @@ var __callDispose = (stack, error, hasError) => {
45
45
  };
46
46
  import { a as createPlane } from "./vectors-cec8p8NQ.js";
47
47
  import { o as ok, e as err, b as computationError, r as unwrap, g as isOk } from "./errors-B7kgv0cd.js";
48
- import { d as downcast, u as uvBounds, p as pointOnSurface, n as normalAt } from "./faceFns-Dka8xvYk.js";
48
+ import { d as downcast, u as uvBounds, p as pointOnSurface, n as normalAt } from "./faceFns-B6ebRh5I.js";
49
49
  import { a as toVec3 } from "./types-CWDdqcrq.js";
50
50
  import { n as vecScale, j as vecNormalize, b as vecCross, D as DEG2RAD, R as RAD2DEG } from "./vecOps-ZDdZWbwT.js";
51
- import { r as revolution, c as complexExtrude, t as twistExtrude, b as basicFaceExtrusion, g as genericSweep, l as loft } from "./loft-DTFP5fVL.js";
52
- import { J as getKernel2D, I as createFace, G as createWire, B as getKernel, H as createEdge, D as DisposalScope } from "./shapeTypes-ByN4-0Hp.js";
53
- import { d as curveStartPoint, c as curveTangentAt, e as curveIsClosed } from "./curveFns-DRb_8jyd.js";
54
- import { m as makeFace, l as makeNewFaceWithinFace, b as assembleWire, z as zip } from "./surfaceBuilders-Bdn7iqv5.js";
51
+ import { r as revolution, c as complexExtrude, t as twistExtrude, b as basicFaceExtrusion, g as genericSweep, l as loft } from "./loft-DsVv4yxU.js";
52
+ import { J as getKernel2D, I as createFace, G as createWire, B as getKernel, H as createEdge, D as DisposalScope } from "./shapeTypes-CpSaBLDv.js";
53
+ import { d as curveStartPoint, c as curveTangentAt, e as curveIsClosed } from "./curveFns-LRNGcHXh.js";
54
+ import { m as makeFace, l as makeNewFaceWithinFace, b as assembleWire, z as zip } from "./surfaceBuilders-D7ZH2QNS.js";
55
55
  import { bug } from "./result.js";
56
- import { s as samePoint$1, e as subtract2d, c as add2d, i as crossProduct2d, b as scalarMultiply2d, f as polarToCartesian, r as rotate2d, j as cartesianToPolar, d as distance2d, p as polarAngle2d, k as PRECISION_INTERSECTION } from "./helpers-10HaneKK.js";
57
- import { C as Curve2D, a as make2dSegmentCurve, j as approximateAsBSpline, n as normalize2d, b as make2dArcFromCenter, k as isPoint2D, g as make2dCircle, l as make2dThreePointArc, d as BoundingBox2d, v as viewbox, o as asSVG, B as Blueprint, p as make2dEllipseArc, q as make2dTangentArc, r as make2dBezierCurve, s as removeDuplicatePoints } from "./Blueprint-BWAzjtvF.js";
56
+ import { s as samePoint$1, e as subtract2d, c as add2d, i as crossProduct2d, b as scalarMultiply2d, f as polarToCartesian, r as rotate2d, j as cartesianToPolar, d as distance2d, p as polarAngle2d, k as PRECISION_INTERSECTION } from "./helpers-DeFPsrcI.js";
57
+ import { C as Curve2D, a as make2dSegmentCurve, j as approximateAsBSpline, n as normalize2d, b as make2dArcFromCenter, k as isPoint2D, g as make2dCircle, l as make2dThreePointArc, d as BoundingBox2d, v as viewbox, o as asSVG, B as Blueprint, p as make2dEllipseArc, q as make2dTangentArc, r as make2dBezierCurve, s as removeDuplicatePoints } from "./Blueprint-CtuUvzex.js";
58
58
  const intersectCurves = (first, second, precision = 1e-9) => {
59
59
  if (first.boundingBox.isOut(second.boundingBox))
60
60
  return ok({ intersections: [], commonSegments: [], commonSegmentsPoints: [] });
@@ -703,7 +703,7 @@ class CompoundBlueprint {
703
703
  return [
704
704
  "Compound Blueprints",
705
705
  "-- Outline",
706
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
706
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- compound always has outer boundary
707
707
  this.blueprints[0].repr,
708
708
  "-- Holes",
709
709
  ...this.blueprints.slice(1).map((b) => b.repr)
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
- const shapeTypes = require("./shapeTypes-BQGbhdgi.cjs");
2
+ const shapeTypes = require("./shapeTypes-7xEam9Ri.cjs");
3
3
  const errors = require("./errors-9fDehDNc.cjs");
4
4
  const vectors = require("./vectors-TlfO1hu2.cjs");
5
5
  const vecOps = require("./vecOps-CjRL1jau.cjs");
6
- const shapeFns = require("./shapeFns-ZbzAD8yC.cjs");
7
- const surfaceBuilders = require("./surfaceBuilders-CXarnCh8.cjs");
6
+ const shapeFns = require("./shapeFns-DHlLNHTn.cjs");
7
+ const surfaceBuilders = require("./surfaceBuilders-Be_ENWSA.cjs");
8
8
  const shapeTagStore = /* @__PURE__ */ new WeakMap();
9
9
  const tagMetadataStore = /* @__PURE__ */ new WeakMap();
10
10
  function hasFaceTags(shape) {
@@ -1,9 +1,9 @@
1
- import { B as getKernel, c as castShape, p as isShape3D } from "./shapeTypes-ByN4-0Hp.js";
1
+ import { B as getKernel, c as castShape, p as isShape3D } from "./shapeTypes-CpSaBLDv.js";
2
2
  import { o as ok, d as isErr, e as err, y as validationError, B as BrepErrorCode, p as typeCastError, k as kernelError } from "./errors-B7kgv0cd.js";
3
3
  import { r as resolvePlane } from "./vectors-cec8p8NQ.js";
4
4
  import { H as HASH_CODE_MAX, n as vecScale, v as vecAdd } from "./vecOps-ZDdZWbwT.js";
5
- import { a as getFaces, p as propagateOriginsByHash, b as propagateOriginsFromEvolution, c as getWires, d as getEdges, e as getVertices, g as getFaceOrigins } from "./shapeFns-Dim8UTHh.js";
6
- import { m as makeFace } from "./surfaceBuilders-Bdn7iqv5.js";
5
+ import { a as getFaces, p as propagateOriginsByHash, b as propagateOriginsFromEvolution, c as getWires, d as getEdges, e as getVertices, g as getFaceOrigins } from "./shapeFns-CbXxLvV_.js";
6
+ import { m as makeFace } from "./surfaceBuilders-D7ZH2QNS.js";
7
7
  const shapeTagStore = /* @__PURE__ */ new WeakMap();
8
8
  const tagMetadataStore = /* @__PURE__ */ new WeakMap();
9
9
  function hasFaceTags(shape) {