brepjs 15.1.8 → 15.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/2d/blueprints/blueprint.d.ts.map +1 -1
  2. package/dist/2d/blueprints/blueprintOffset.d.ts.map +1 -1
  3. package/dist/2d/curves.d.ts.map +1 -1
  4. package/dist/2d/lib/curve2D.d.ts +4 -2
  5. package/dist/2d/lib/curve2D.d.ts.map +1 -1
  6. package/dist/2d/lib/offset.d.ts.map +1 -1
  7. package/dist/2d/lib/stitching.d.ts.map +1 -1
  8. package/dist/2d.cjs +5 -5
  9. package/dist/2d.js +5 -5
  10. package/dist/{blueprint-CjWjaFBx.cjs → blueprint-BqfmnE-a.cjs} +41 -26
  11. package/dist/{blueprint-BOICL-YA.js → blueprint-TAP5VKvS.js} +41 -26
  12. package/dist/{blueprintFns-PEdKpSH9.cjs → blueprintFns-CBw4356y.cjs} +2 -2
  13. package/dist/{blueprintFns-DIDr-6k3.js → blueprintFns-CjV2S9wl.js} +2 -2
  14. package/dist/{boolean2D-rza7Dzie.js → boolean2D-BqZa2eCz.js} +26 -15
  15. package/dist/{boolean2D-DIrXfRsK.cjs → boolean2D-DC81hlIZ.cjs} +26 -15
  16. package/dist/{booleanFns-CrxLrhiY.js → booleanFns-D1kEkLvp.js} +4 -4
  17. package/dist/{booleanFns-BnuuzsmS.cjs → booleanFns-Y3xwUQYq.cjs} +4 -4
  18. package/dist/brepjs.cjs +19 -19
  19. package/dist/brepjs.js +19 -19
  20. package/dist/core.cjs +1 -1
  21. package/dist/core.js +1 -1
  22. package/dist/{cornerFinder-lvtKN6D-.cjs → cornerFinder-Ct8gd2nn.cjs} +1 -1
  23. package/dist/{cornerFinder-BqBKxpw9.js → cornerFinder-QAC3VdiI.js} +1 -1
  24. package/dist/{curveFns-ZfTMJwOX.js → curveFns-DkM157b8.js} +1 -1
  25. package/dist/{curveFns-BAYdU9o3.cjs → curveFns-xOx617Vs.cjs} +1 -1
  26. package/dist/{drawFns-DecOOibJ.js → drawFns-DtC9rW-f.js} +21 -18
  27. package/dist/{drawFns-Be2-GMV1.cjs → drawFns-JPBjBePH.cjs} +21 -18
  28. package/dist/{extrudeFns-r4z8JjXR.cjs → extrudeFns-Bzsx_rmn.cjs} +1 -1
  29. package/dist/{extrudeFns-BayH4aST.js → extrudeFns-DtHg7Uao.js} +1 -1
  30. package/dist/{faceFns-B0abunWd.js → faceFns-C7_zbEch.js} +1 -1
  31. package/dist/{faceFns-D3Ge4FIP.cjs → faceFns-DLQ0-OBU.cjs} +1 -1
  32. package/dist/{helpers-D4PQ7xhP.js → helpers-BTv-yY8r.js} +5 -5
  33. package/dist/{helpers-BKiwf-pE.cjs → helpers-DU_FI6Oh.cjs} +5 -5
  34. package/dist/{historyFns-DUIQaLVi.cjs → historyFns-BtesqCmL.cjs} +4 -4
  35. package/dist/{historyFns-BoRzKlCs.js → historyFns-CY-46Ivn.js} +4 -4
  36. package/dist/{importFns-C3q2BF1x.cjs → importFns-DCru75oa.cjs} +2 -2
  37. package/dist/{importFns-BUO0pwJ6.js → importFns-DVMhnD9T.js} +2 -2
  38. package/dist/io.cjs +2 -2
  39. package/dist/io.js +2 -2
  40. package/dist/kernel/occt/kernel2dOps.d.ts.map +1 -1
  41. package/dist/{measureFns-CEBFLLb5.cjs → measureFns-5TTtVcT9.cjs} +2 -2
  42. package/dist/{measureFns-_58_x_YA.js → measureFns-BcRXbP7I.js} +2 -2
  43. package/dist/measurement.cjs +1 -1
  44. package/dist/measurement.js +1 -1
  45. package/dist/{meshFns-Df6b-fuz.js → meshFns-B2T-lpvP.js} +2 -2
  46. package/dist/{meshFns-crHPkhoE.cjs → meshFns-ULSYlg76.cjs} +2 -2
  47. package/dist/operations.cjs +2 -2
  48. package/dist/operations.js +2 -2
  49. package/dist/{primitiveFns-D4h33-Zc.cjs → primitiveFns-7P5Hf3WY.cjs} +5 -5
  50. package/dist/{primitiveFns-BpSN8ikw.js → primitiveFns-VqIM41Rz.js} +5 -5
  51. package/dist/query.cjs +2 -2
  52. package/dist/query.js +2 -2
  53. package/dist/{shapeFns-DFey0u1e.cjs → shapeFns-BXaKHIQ3.cjs} +2 -2
  54. package/dist/{shapeFns-CU69rY5c.js → shapeFns-C_RXS-bz.js} +2 -2
  55. package/dist/shapeRef.cjs +1 -1
  56. package/dist/shapeRef.js +1 -1
  57. package/dist/{shapeRefFns-BXfiUUBm.js → shapeRefFns-BJNRYexW.js} +3 -3
  58. package/dist/{shapeRefFns-KTeGJjhQ.cjs → shapeRefFns-DvwSQrkl.cjs} +3 -3
  59. package/dist/{shapeTypes-Ct7hPC-B.js → shapeTypes-cnUTQRbe.js} +7 -2
  60. package/dist/{shapeTypes-DhdxzErV.cjs → shapeTypes-rKIgWjDk.cjs} +8 -2
  61. package/dist/sketching.cjs +2 -2
  62. package/dist/sketching.js +2 -2
  63. package/dist/{solidBuilders-etpPzJCP.js → solidBuilders-Ca7lRUxh.js} +2 -2
  64. package/dist/{solidBuilders-QEzWeF-_.cjs → solidBuilders-D687wjsQ.cjs} +2 -2
  65. package/dist/{surfaceBuilders-Bret7wF4.cjs → surfaceBuilders-CuTfdkEc.cjs} +2 -2
  66. package/dist/{surfaceBuilders-DyR1Pdu_.js → surfaceBuilders-Dd49hsUf.js} +2 -2
  67. package/dist/topology.cjs +6 -6
  68. package/dist/topology.js +6 -6
  69. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"blueprint.d.ts","sourceRoot":"","sources":["../../../src/2d/blueprints/blueprint.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAYhD,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAQzE,OAAO,KAAK,EAAE,QAAQ,EAAc,SAAS,EAAE,IAAI,EAAoB,MAAM,sBAAsB,CAAC;AASpG,OAAO,KAAK,EAAE,KAAK,EAA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IAAI,SAAS,IAAI,OAAO,CAEvB;IAED;;;;;;;;OAQG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAiCjC,gFAAgF;IAChF,QAAQ;IAIR;;;;OAIG;IACH,UAAU,CAAC,KAAK,EAAE,SAAS;CAc5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"blueprintOffset.d.ts","sourceRoot":"","sources":["../../../src/2d/blueprints/blueprintOffset.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,OAAO,EAQR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAGvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AA0N9C;;;;;;;;;;;;;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,CA6CT;AAUD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAC5B,EAAE,EAAE,OAAO,EACX,cAAc,EAAE,MAAM,EACtB,YAAY,GAAE,cAAmB,GAChC,OAAO,CAeT"}
1
+ {"version":3,"file":"blueprintOffset.d.ts","sourceRoot":"","sources":["../../../src/2d/blueprints/blueprintOffset.ts"],"names":[],"mappings":"AAKA,OAAO,EAIL,OAAO,EAQR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAGvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM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Q,OAAgB,KAAG,gBAE3E,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,gBAAgB,GAC3B,aAAa,MAAM,EACnB,SAAQ,OAAgB,KACvB,gBAEF,CAAC;AAEF,0EAA0E;AAC1E,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEzD;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,OAAO,EAAE,EACjB,IAAI,EAAE,IAAI,EACV,KAAK,GAAE,SAAsB,GAC5B,MAAM,CAAC,IAAI,EAAE,CAAC,CAoEhB;AAED,sEAAsE;AACtE,wBAAgB,WAAW,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,GAAG,OAAO,CAQxD"}
@@ -21,6 +21,8 @@ export declare class Curve2D {
21
21
  _boundingBox: null | BoundingBox2d;
22
22
  private _firstPoint;
23
23
  private _lastPoint;
24
+ private _firstParameter;
25
+ private _lastParameter;
24
26
  constructor(handle: KernelType);
25
27
  get wrapped(): KernelType;
26
28
  delete(): void;
@@ -37,9 +39,9 @@ export declare class Curve2D {
37
39
  get firstPoint(): Point2D;
38
40
  /** Return the point at the end of the curve (cached after first access). */
39
41
  get lastPoint(): Point2D;
40
- /** Return the parameter value at the start of the curve. */
42
+ /** Return the parameter value at the start of the curve (cached after first access). */
41
43
  get firstParameter(): number;
42
- /** Return the parameter value at the end of the curve. */
44
+ /** Return the parameter value at the end of the curve (cached after first access). */
43
45
  get lastParameter(): number;
44
46
  /** Return the geometric type of this curve (e.g. `LINE`, `CIRCLE`, `BSPLINE_CURVE`). */
45
47
  get geomType(): CurveType;
@@ -1 +1 @@
1
- {"version":3,"file":"curve2D.d.ts","sourceRoot":"","sources":["../../../src/2d/lib/curve2D.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC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;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,YAAY,GACvB,OAAO,OAAO,EACd,QAAQ,MAAM,KACb,OAAO,GAAG;IAAE,SAAS,EAAE,IAAI,CAAC;IAAC,UAAU,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CA4EtE,CAAC"}
1
+ {"version":3,"file":"offset.d.ts","sourceRoot":"","sources":["../../../src/2d/lib/offset.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAmBhD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,YAAY,GACvB,OAAO,OAAO,EACd,QAAQ,MAAM,KACb,OAAO,GAAG;IAAE,SAAS,EAAE,IAAI,CAAC;IAAC,UAAU,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAoFtE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"stitching.d.ts","sourceRoot":"","sources":["../../../src/2d/lib/stitching.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,OAAO,EAAE,EAAE,kBAAgB,KAAG,OAAO,EAAE,EAwE3E,CAAC"}
1
+ {"version":3,"file":"stitching.d.ts","sourceRoot":"","sources":["../../../src/2d/lib/stitching.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,OAAO,EAAE,EAAE,kBAAgB,KAAG,OAAO,EAAE,EAqE3E,CAAC"}
package/dist/2d.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeTypes = require("./shapeTypes-DhdxzErV.cjs");
2
+ const require_shapeTypes = require("./shapeTypes-rKIgWjDk.cjs");
3
3
  const require_errors = require("./errors-CXRNVCec.cjs");
4
- const require_faceFns = require("./faceFns-D3Ge4FIP.cjs");
5
- const require_boolean2D = require("./boolean2D-DIrXfRsK.cjs");
6
- const require_blueprint = require("./blueprint-CjWjaFBx.cjs");
7
- const require_blueprintFns = require("./blueprintFns-PEdKpSH9.cjs");
4
+ const require_faceFns = require("./faceFns-DLQ0-OBU.cjs");
5
+ const require_boolean2D = require("./boolean2D-DC81hlIZ.cjs");
6
+ const require_blueprint = require("./blueprint-BqfmnE-a.cjs");
7
+ const require_blueprintFns = require("./blueprintFns-CBw4356y.cjs");
8
8
  //#region src/core/curve2dHandle.ts
9
9
  /**
10
10
  * Wrap a raw kernel 2D curve handle with brand + disposal tracking.
package/dist/2d.js CHANGED
@@ -1,9 +1,9 @@
1
- import { B as createKernelHandle, Z as getKernel2D, a as createEdge } from "./shapeTypes-Ct7hPC-B.js";
1
+ import { B as createKernelHandle, Z as getKernel2D, a as createEdge } from "./shapeTypes-cnUTQRbe.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DboJwVCf.js";
3
- import { B as kernelCallRaw } from "./faceFns-B0abunWd.js";
4
- import { _ as Blueprints, a as fuseBlueprints, c as roundedRectangleBlueprint, g as CompoundBlueprint, h as organiseBlueprints, i as cutBlueprints, n as fuse2D, o as intersectBlueprints, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-rza7Dzie.js";
5
- import { _ as Curve2D, t as Blueprint, y as BoundingBox2d } from "./blueprint-BOICL-YA.js";
6
- import { S as reverseCurve, _ as curve2dIsOnCurve, a as isInside2D, b as curve2dSplitAt, c as scale2D, d as stretch2D, f as toSVGPathD, g as curve2dFirstPoint, h as curve2dDistanceFrom, i as getOrientation2D, l as sketchOnFace2D, m as curve2dBoundingBox, o as mirror2D, p as translate2D, r as getBounds2D, s as rotate2D, t as createBlueprint, u as sketchOnPlane2D, v as curve2dLastPoint, x as curve2dTangentAt, y as curve2dParameter } from "./blueprintFns-DIDr-6k3.js";
3
+ import { B as kernelCallRaw } from "./faceFns-C7_zbEch.js";
4
+ import { _ as Blueprints, a as fuseBlueprints, c as roundedRectangleBlueprint, g as CompoundBlueprint, h as organiseBlueprints, i as cutBlueprints, n as fuse2D, o as intersectBlueprints, r as intersect2D, s as polysidesBlueprint, t as cut2D } from "./boolean2D-BqZa2eCz.js";
5
+ import { _ as Curve2D, t as Blueprint, y as BoundingBox2d } from "./blueprint-TAP5VKvS.js";
6
+ import { S as reverseCurve, _ as curve2dIsOnCurve, a as isInside2D, b as curve2dSplitAt, c as scale2D, d as stretch2D, f as toSVGPathD, g as curve2dFirstPoint, h as curve2dDistanceFrom, i as getOrientation2D, l as sketchOnFace2D, m as curve2dBoundingBox, o as mirror2D, p as translate2D, r as getBounds2D, s as rotate2D, t as createBlueprint, u as sketchOnPlane2D, v as curve2dLastPoint, x as curve2dTangentAt, y as curve2dParameter } from "./blueprintFns-CjV2S9wl.js";
7
7
  //#region src/core/curve2dHandle.ts
8
8
  /**
9
9
  * Wrap a raw kernel 2D curve handle with brand + disposal tracking.
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-DhdxzErV.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-rKIgWjDk.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-D3Ge4FIP.cjs");
3
+ const require_faceFns = require("./faceFns-DLQ0-OBU.cjs");
4
4
  const require_types = require("./types-hXSlplF3.cjs");
5
5
  const require_planeOps = require("./planeOps-DoTESDTM.cjs");
6
- const require_curveFns = require("./curveFns-BAYdU9o3.cjs");
6
+ const require_curveFns = require("./curveFns-xOx617Vs.cjs");
7
7
  const require_arrayAccess = require("./arrayAccess-CmulMesb.cjs");
8
- const require_surfaceBuilders = require("./surfaceBuilders-Bret7wF4.cjs");
9
- const require_helpers = require("./helpers-BKiwf-pE.cjs");
8
+ const require_surfaceBuilders = require("./surfaceBuilders-CuTfdkEc.cjs");
9
+ const require_helpers = require("./helpers-DU_FI6Oh.cjs");
10
10
  //#region src/2d/lib/definitions.ts
11
11
  /** Type guard that checks whether a value is a `Point2D`. */
12
12
  function isPoint2D(point) {
@@ -152,6 +152,8 @@ var Curve2D = class Curve2D {
152
152
  _boundingBox;
153
153
  _firstPoint = null;
154
154
  _lastPoint = null;
155
+ _firstParameter = null;
156
+ _lastParameter = null;
155
157
  constructor(handle) {
156
158
  this._wrapped = require_shapeTypes.getKernel().wrapCurve2dHandle(handle);
157
159
  this._boundingBox = null;
@@ -202,13 +204,15 @@ var Curve2D = class Curve2D {
202
204
  if (this._lastPoint === null) this._lastPoint = this.value(this.lastParameter);
203
205
  return this._lastPoint;
204
206
  }
205
- /** Return the parameter value at the start of the curve. */
207
+ /** Return the parameter value at the start of the curve (cached after first access). */
206
208
  get firstParameter() {
207
- return require_shapeTypes.getKernel().getCurve2dBounds(this.wrapped).first;
209
+ if (this._firstParameter === null) this._firstParameter = require_shapeTypes.getKernel().getCurve2dBounds(this.wrapped).first;
210
+ return this._firstParameter;
208
211
  }
209
- /** Return the parameter value at the end of the curve. */
212
+ /** Return the parameter value at the end of the curve (cached after first access). */
210
213
  get lastParameter() {
211
- return require_shapeTypes.getKernel().getCurve2dBounds(this.wrapped).last;
214
+ if (this._lastParameter === null) this._lastParameter = require_shapeTypes.getKernel().getCurve2dBounds(this.wrapped).last;
215
+ return this._lastParameter;
212
216
  }
213
217
  /** Return the geometric type of this curve (e.g. `LINE`, `CIRCLE`, `BSPLINE_CURVE`). */
214
218
  get geomType() {
@@ -219,14 +223,19 @@ var Curve2D = class Curve2D {
219
223
  const cloned = new Curve2D(require_shapeTypes.getKernel().copyCurve2d(this.wrapped));
220
224
  cloned._firstPoint = this._firstPoint;
221
225
  cloned._lastPoint = this._lastPoint;
226
+ cloned._firstParameter = this._firstParameter;
227
+ cloned._lastParameter = this._lastParameter;
222
228
  return cloned;
223
229
  }
224
230
  /** Reverse the orientation of this curve in place. */
225
231
  reverse() {
226
232
  require_shapeTypes.getKernel().reverseCurve2d(this.wrapped);
227
- const tmp = this._firstPoint;
233
+ const tmpPt = this._firstPoint;
228
234
  this._firstPoint = this._lastPoint;
229
- this._lastPoint = tmp;
235
+ this._lastPoint = tmpPt;
236
+ const tmpParam = this._firstParameter;
237
+ this._firstParameter = this._lastParameter;
238
+ this._lastParameter = tmpParam;
230
239
  }
231
240
  distanceFromPoint(point) {
232
241
  const proj = require_shapeTypes.getKernel().projectPointOnCurve2d(this.wrapped, point[0], point[1]);
@@ -616,8 +625,6 @@ function curvesAsEdgesOnFace(curves, face, scale = "original") {
616
625
  transformation = stretchTransform2d(1 / cylData.radius, [0, 1]);
617
626
  }
618
627
  if (scale === "bounds") {
619
- const uAxis = kernel.createAxis2d(0, 0, 0, 1);
620
- const vAxis = kernel.createAxis2d(0, 0, 1, 0);
621
628
  transformation = kernel.createIdentityGTrsf2d();
622
629
  kernel.setGTrsf2dTranslationPart(transformation, 0, 0);
623
630
  const uAffinity = kernel.createAffinityGTrsf2d(0, 0, 0, 1, bounds.uMax - bounds.uMin);
@@ -625,7 +632,7 @@ function curvesAsEdgesOnFace(curves, face, scale = "original") {
625
632
  uAffinity.delete();
626
633
  if (bounds.uMin !== 0) {
627
634
  const trans = kernel.createIdentityGTrsf2d();
628
- kernel.setGTrsf2dTranslationPart(trans, 0, -bounds.uMin);
635
+ kernel.setGTrsf2dTranslationPart(trans, -bounds.uMin, 0);
629
636
  kernel.multiplyGTrsf2d(transformation, trans);
630
637
  trans.delete();
631
638
  }
@@ -638,8 +645,6 @@ function curvesAsEdgesOnFace(curves, face, scale = "original") {
638
645
  kernel.multiplyGTrsf2d(transformation, trans);
639
646
  trans.delete();
640
647
  }
641
- uAxis.delete();
642
- vAxis.delete();
643
648
  }
644
649
  const edges = curvesAsEdgesOnSurface(transformCurves(curves, transformation), geomSurf);
645
650
  if (transformation) transformation.delete();
@@ -849,9 +854,10 @@ var Blueprint = class Blueprint {
849
854
  const kernel = require_shapeTypes.getKernel();
850
855
  const wire = assembleWire(require_errors.unwrap(curvesAsEdgesOnFace(this.curves, face, scaleMode)));
851
856
  kernel.buildCurves3d(wire.wrapped);
852
- kernel.fixWireOnFace(wire.wrapped, face.wrapped, 1e-9);
857
+ const fixedWire = kernel.fixWireOnFace(wire.wrapped, face.wrapped, 1e-9);
858
+ wire.delete();
853
859
  return {
854
- wire,
860
+ wire: require_shapeTypes.createWire(fixedWire),
855
861
  baseFace: face
856
862
  };
857
863
  }
@@ -936,14 +942,23 @@ var Blueprint = class Blueprint {
936
942
  if (!this.boundingBox.containsPoint(point)) return false;
937
943
  const kernel = require_shapeTypes.getKernel();
938
944
  const segment = make2dSegmentCurve(point, this.boundingBox.outsidePoint());
939
- let crossCounts = 0;
940
- if (this.curves.find((c) => c.isOnCurve(point))) return false;
941
- this.curves.forEach((c) => {
942
- if (c.boundingBox.isOut(segment.boundingBox)) return;
943
- const result = kernel.intersectCurves2d(segment.wrapped, c.wrapped, 1e-9);
944
- crossCounts += result.points.length;
945
- });
946
- return !!(crossCounts % 2);
945
+ try {
946
+ if (this.curves.find((c) => c.isOnCurve(point))) return false;
947
+ const seen = [];
948
+ let crossCounts = 0;
949
+ this.curves.forEach((c) => {
950
+ if (c.boundingBox.isOut(segment.boundingBox)) return;
951
+ const result = kernel.intersectCurves2d(segment.wrapped, c.wrapped, 1e-9);
952
+ for (const pt of result.points) if (!seen.some((s) => require_helpers.samePoint(s, pt, 1e-9))) {
953
+ seen.push(pt);
954
+ crossCounts++;
955
+ }
956
+ for (const seg of result.segments) seg.delete();
957
+ });
958
+ return !!(crossCounts % 2);
959
+ } finally {
960
+ segment.delete();
961
+ }
947
962
  }
948
963
  /** Check whether the first and last points coincide (the profile is closed). */
949
964
  isClosed() {
@@ -1,12 +1,12 @@
1
- import { G as unregisterFromCleanup, U as registerForCleanup, X as getKernel, Z as getKernel2D, a as createEdge, u as createWire } from "./shapeTypes-Ct7hPC-B.js";
1
+ import { G as unregisterFromCleanup, U as registerForCleanup, X as getKernel, Z as getKernel2D, a as createEdge, u as createWire } from "./shapeTypes-cnUTQRbe.js";
2
2
  import { A as ok, R as unwrap, b as err, d as validationError, h as bug, n as computationError } from "./errors-DboJwVCf.js";
3
- import { N as cast, m as uvCoordinates, n as faceCenter, p as uvBounds, r as faceGeomType } from "./faceFns-B0abunWd.js";
3
+ import { N as cast, m as uvCoordinates, n as faceCenter, p as uvBounds, r as faceGeomType } from "./faceFns-C7_zbEch.js";
4
4
  import { i as DEG2RAD, o as RAD2DEG, r as toVec3 } from "./types-SLY3VwcI.js";
5
5
  import { r as makePlane } from "./planeOps-C94s53Ia.js";
6
- import { f as getOrientation } from "./curveFns-ZfTMJwOX.js";
6
+ import { f as getOrientation } from "./curveFns-DkM157b8.js";
7
7
  import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-xxcB3YNq.js";
8
- import { r as makeFace } from "./surfaceBuilders-DyR1Pdu_.js";
9
- import { _ as samePoint, b as subtract2d, l as add2d, o as normalize2d, p as distance2d, t as getSingleFace, v as scalarMultiply2d } from "./helpers-D4PQ7xhP.js";
8
+ import { r as makeFace } from "./surfaceBuilders-Dd49hsUf.js";
9
+ import { _ as samePoint, b as subtract2d, l as add2d, o as normalize2d, p as distance2d, t as getSingleFace, v as scalarMultiply2d } from "./helpers-BTv-yY8r.js";
10
10
  //#region src/2d/lib/definitions.ts
11
11
  /** Type guard that checks whether a value is a `Point2D`. */
12
12
  function isPoint2D(point) {
@@ -152,6 +152,8 @@ var Curve2D = class Curve2D {
152
152
  _boundingBox;
153
153
  _firstPoint = null;
154
154
  _lastPoint = null;
155
+ _firstParameter = null;
156
+ _lastParameter = null;
155
157
  constructor(handle) {
156
158
  this._wrapped = getKernel().wrapCurve2dHandle(handle);
157
159
  this._boundingBox = null;
@@ -202,13 +204,15 @@ var Curve2D = class Curve2D {
202
204
  if (this._lastPoint === null) this._lastPoint = this.value(this.lastParameter);
203
205
  return this._lastPoint;
204
206
  }
205
- /** Return the parameter value at the start of the curve. */
207
+ /** Return the parameter value at the start of the curve (cached after first access). */
206
208
  get firstParameter() {
207
- return getKernel().getCurve2dBounds(this.wrapped).first;
209
+ if (this._firstParameter === null) this._firstParameter = getKernel().getCurve2dBounds(this.wrapped).first;
210
+ return this._firstParameter;
208
211
  }
209
- /** Return the parameter value at the end of the curve. */
212
+ /** Return the parameter value at the end of the curve (cached after first access). */
210
213
  get lastParameter() {
211
- return getKernel().getCurve2dBounds(this.wrapped).last;
214
+ if (this._lastParameter === null) this._lastParameter = getKernel().getCurve2dBounds(this.wrapped).last;
215
+ return this._lastParameter;
212
216
  }
213
217
  /** Return the geometric type of this curve (e.g. `LINE`, `CIRCLE`, `BSPLINE_CURVE`). */
214
218
  get geomType() {
@@ -219,14 +223,19 @@ var Curve2D = class Curve2D {
219
223
  const cloned = new Curve2D(getKernel().copyCurve2d(this.wrapped));
220
224
  cloned._firstPoint = this._firstPoint;
221
225
  cloned._lastPoint = this._lastPoint;
226
+ cloned._firstParameter = this._firstParameter;
227
+ cloned._lastParameter = this._lastParameter;
222
228
  return cloned;
223
229
  }
224
230
  /** Reverse the orientation of this curve in place. */
225
231
  reverse() {
226
232
  getKernel().reverseCurve2d(this.wrapped);
227
- const tmp = this._firstPoint;
233
+ const tmpPt = this._firstPoint;
228
234
  this._firstPoint = this._lastPoint;
229
- this._lastPoint = tmp;
235
+ this._lastPoint = tmpPt;
236
+ const tmpParam = this._firstParameter;
237
+ this._firstParameter = this._lastParameter;
238
+ this._lastParameter = tmpParam;
230
239
  }
231
240
  distanceFromPoint(point) {
232
241
  const proj = getKernel().projectPointOnCurve2d(this.wrapped, point[0], point[1]);
@@ -616,8 +625,6 @@ function curvesAsEdgesOnFace(curves, face, scale = "original") {
616
625
  transformation = stretchTransform2d(1 / cylData.radius, [0, 1]);
617
626
  }
618
627
  if (scale === "bounds") {
619
- const uAxis = kernel.createAxis2d(0, 0, 0, 1);
620
- const vAxis = kernel.createAxis2d(0, 0, 1, 0);
621
628
  transformation = kernel.createIdentityGTrsf2d();
622
629
  kernel.setGTrsf2dTranslationPart(transformation, 0, 0);
623
630
  const uAffinity = kernel.createAffinityGTrsf2d(0, 0, 0, 1, bounds.uMax - bounds.uMin);
@@ -625,7 +632,7 @@ function curvesAsEdgesOnFace(curves, face, scale = "original") {
625
632
  uAffinity.delete();
626
633
  if (bounds.uMin !== 0) {
627
634
  const trans = kernel.createIdentityGTrsf2d();
628
- kernel.setGTrsf2dTranslationPart(trans, 0, -bounds.uMin);
635
+ kernel.setGTrsf2dTranslationPart(trans, -bounds.uMin, 0);
629
636
  kernel.multiplyGTrsf2d(transformation, trans);
630
637
  trans.delete();
631
638
  }
@@ -638,8 +645,6 @@ function curvesAsEdgesOnFace(curves, face, scale = "original") {
638
645
  kernel.multiplyGTrsf2d(transformation, trans);
639
646
  trans.delete();
640
647
  }
641
- uAxis.delete();
642
- vAxis.delete();
643
648
  }
644
649
  const edges = curvesAsEdgesOnSurface(transformCurves(curves, transformation), geomSurf);
645
650
  if (transformation) transformation.delete();
@@ -849,9 +854,10 @@ var Blueprint = class Blueprint {
849
854
  const kernel = getKernel();
850
855
  const wire = assembleWire(unwrap(curvesAsEdgesOnFace(this.curves, face, scaleMode)));
851
856
  kernel.buildCurves3d(wire.wrapped);
852
- kernel.fixWireOnFace(wire.wrapped, face.wrapped, 1e-9);
857
+ const fixedWire = kernel.fixWireOnFace(wire.wrapped, face.wrapped, 1e-9);
858
+ wire.delete();
853
859
  return {
854
- wire,
860
+ wire: createWire(fixedWire),
855
861
  baseFace: face
856
862
  };
857
863
  }
@@ -936,14 +942,23 @@ var Blueprint = class Blueprint {
936
942
  if (!this.boundingBox.containsPoint(point)) return false;
937
943
  const kernel = getKernel();
938
944
  const segment = make2dSegmentCurve(point, this.boundingBox.outsidePoint());
939
- let crossCounts = 0;
940
- if (this.curves.find((c) => c.isOnCurve(point))) return false;
941
- this.curves.forEach((c) => {
942
- if (c.boundingBox.isOut(segment.boundingBox)) return;
943
- const result = kernel.intersectCurves2d(segment.wrapped, c.wrapped, 1e-9);
944
- crossCounts += result.points.length;
945
- });
946
- return !!(crossCounts % 2);
945
+ try {
946
+ if (this.curves.find((c) => c.isOnCurve(point))) return false;
947
+ const seen = [];
948
+ let crossCounts = 0;
949
+ this.curves.forEach((c) => {
950
+ if (c.boundingBox.isOut(segment.boundingBox)) return;
951
+ const result = kernel.intersectCurves2d(segment.wrapped, c.wrapped, 1e-9);
952
+ for (const pt of result.points) if (!seen.some((s) => samePoint(s, pt, 1e-9))) {
953
+ seen.push(pt);
954
+ crossCounts++;
955
+ }
956
+ for (const seg of result.segments) seg.delete();
957
+ });
958
+ return !!(crossCounts % 2);
959
+ } finally {
960
+ segment.delete();
961
+ }
947
962
  }
948
963
  /** Check whether the first and last points coincide (the profile is closed). */
949
964
  isClosed() {
@@ -1,6 +1,6 @@
1
1
  const require_errors = require("./errors-CXRNVCec.cjs");
2
- const require_boolean2D = require("./boolean2D-DIrXfRsK.cjs");
3
- const require_blueprint = require("./blueprint-CjWjaFBx.cjs");
2
+ const require_boolean2D = require("./boolean2D-DC81hlIZ.cjs");
3
+ const require_blueprint = require("./blueprint-BqfmnE-a.cjs");
4
4
  //#region src/2d/lib/curve2dFns.ts
5
5
  /**
6
6
  * Return a reversed copy of the curve (non-mutating).
@@ -1,6 +1,6 @@
1
1
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DboJwVCf.js";
2
- import { g as CompoundBlueprint } from "./boolean2D-rza7Dzie.js";
3
- import { t as Blueprint } from "./blueprint-BOICL-YA.js";
2
+ import { g as CompoundBlueprint } from "./boolean2D-BqZa2eCz.js";
3
+ import { t as Blueprint } from "./blueprint-TAP5VKvS.js";
4
4
  //#region src/2d/lib/curve2dFns.ts
5
5
  /**
6
6
  * Return a reversed copy of the curve (non-mutating).
@@ -1,15 +1,15 @@
1
- import { R as DisposalScope, X as getKernel, Y as _usingCtx, Z as getKernel2D, a as createEdge, h as isShape3D, o as createFace, t as castShape, u as createWire } from "./shapeTypes-Ct7hPC-B.js";
1
+ import { R as DisposalScope, X as getKernel, Y as _usingCtx, Z as getKernel2D, a as createEdge, h as isShape3D, o as createFace, t as castShape, u as createWire } from "./shapeTypes-cnUTQRbe.js";
2
2
  import { A as ok, R as unwrap, T as isOk, b as err, d as validationError, h as bug, i as kernelError, l as typeCastError, n as computationError, s as safeIndex } from "./errors-DboJwVCf.js";
3
- import { P as downcast, c as normalAt, p as uvBounds, u as pointOnSurface } from "./faceFns-B0abunWd.js";
3
+ import { P as downcast, c as normalAt, p as uvBounds, u as pointOnSurface } from "./faceFns-C7_zbEch.js";
4
4
  import { i as DEG2RAD, o as RAD2DEG, r as toVec3 } from "./types-SLY3VwcI.js";
5
5
  import { d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-D9etjPgV.js";
6
6
  import { n as createPlane } from "./planeOps-C94s53Ia.js";
7
- import { c as curveStartPoint, l as curveTangentAt, r as curveIsClosed } from "./curveFns-ZfTMJwOX.js";
7
+ import { c as curveStartPoint, l as curveTangentAt, r as curveIsClosed } from "./curveFns-DkM157b8.js";
8
8
  import { r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-xxcB3YNq.js";
9
- import { _ as zip, i as makeNewFaceWithinFace, r as makeFace, s as assembleWire } from "./surfaceBuilders-DyR1Pdu_.js";
10
- import { _ as samePoint$1, b as subtract2d, d as cartesianToPolar, f as crossProduct2d, g as rotate2d, h as polarToCartesian, l as add2d, m as polarAngle2d, o as normalize2d, p as distance2d, s as PRECISION_INTERSECTION, v as scalarMultiply2d } from "./helpers-D4PQ7xhP.js";
11
- import { _ as Curve2D, b as removeDuplicatePoints, c as make2dCircle, f as make2dSegmentCurve, h as approximateAsBSpline, m as make2dThreePointArc, n as asSVG, o as make2dArcFromCenter, p as make2dTangentArc, r as viewbox, s as make2dBezierCurve, t as Blueprint, u as make2dEllipseArc, x as isPoint2D, y as BoundingBox2d } from "./blueprint-BOICL-YA.js";
12
- import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-BayH4aST.js";
9
+ import { _ as zip, i as makeNewFaceWithinFace, r as makeFace, s as assembleWire } from "./surfaceBuilders-Dd49hsUf.js";
10
+ import { _ as samePoint$1, b as subtract2d, d as cartesianToPolar, f as crossProduct2d, g as rotate2d, h as polarToCartesian, l as add2d, m as polarAngle2d, o as normalize2d, p as distance2d, s as PRECISION_INTERSECTION, v as scalarMultiply2d } from "./helpers-BTv-yY8r.js";
11
+ import { _ as Curve2D, b as removeDuplicatePoints, c as make2dCircle, f as make2dSegmentCurve, h as approximateAsBSpline, m as make2dThreePointArc, n as asSVG, o as make2dArcFromCenter, p as make2dTangentArc, r as viewbox, s as make2dBezierCurve, t as Blueprint, u as make2dEllipseArc, x as isPoint2D, y as BoundingBox2d } from "./blueprint-TAP5VKvS.js";
12
+ import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-DtHg7Uao.js";
13
13
  //#region node_modules/flatqueue/index.js
14
14
  /** @template T */
15
15
  var FlatQueue = class {
@@ -575,20 +575,31 @@ var make2dOffset = (curve, offset) => {
575
575
  };
576
576
  }
577
577
  const fullCircle = new Curve2D(kernel.makeCircle2d(cx, cy, newRadius, isDirect));
578
- const trimmedHandle = kernel.trimCurve2d(fullCircle.wrapped, curve.firstParameter, curve.lastParameter);
579
- fullCircle.delete();
578
+ let trimmedHandle;
579
+ try {
580
+ trimmedHandle = kernel.trimCurve2d(fullCircle.wrapped, curve.firstParameter, curve.lastParameter);
581
+ } finally {
582
+ fullCircle.delete();
583
+ }
580
584
  return new Curve2D(trimmedHandle);
581
585
  }
582
586
  if (curveType === "LINE") {
583
587
  const { firstPoint, lastPoint } = offsetEndPoints(curve.firstPoint, curve.lastPoint, offset);
584
588
  return make2dSegmentCurve(firstPoint, lastPoint);
585
589
  }
586
- const approximation = approximateAsBSpline(new Curve2D(kernel.offsetCurve2d(curve.wrapped, offset)));
587
- if (unwrap(selfIntersections(approximation)).length) return {
588
- collapsed: true,
589
- firstPoint: approximation.firstPoint,
590
- lastPoint: approximation.lastPoint
591
- };
590
+ const offsetCurve = new Curve2D(kernel.offsetCurve2d(curve.wrapped, offset));
591
+ const approximation = approximateAsBSpline(offsetCurve);
592
+ offsetCurve.delete();
593
+ if (unwrap(selfIntersections(approximation)).length) {
594
+ const firstPoint = approximation.firstPoint;
595
+ const lastPoint = approximation.lastPoint;
596
+ approximation.delete();
597
+ return {
598
+ collapsed: true,
599
+ firstPoint,
600
+ lastPoint
601
+ };
602
+ }
592
603
  return approximation;
593
604
  };
594
605
  //#endregion
@@ -1,15 +1,15 @@
1
- const require_shapeTypes = require("./shapeTypes-DhdxzErV.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-rKIgWjDk.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-D3Ge4FIP.cjs");
3
+ const require_faceFns = require("./faceFns-DLQ0-OBU.cjs");
4
4
  const require_types = require("./types-hXSlplF3.cjs");
5
5
  const require_vecOps = require("./vecOps-BXvBYIor.cjs");
6
6
  const require_planeOps = require("./planeOps-DoTESDTM.cjs");
7
- const require_curveFns = require("./curveFns-BAYdU9o3.cjs");
7
+ const require_curveFns = require("./curveFns-xOx617Vs.cjs");
8
8
  const require_arrayAccess = require("./arrayAccess-CmulMesb.cjs");
9
- const require_surfaceBuilders = require("./surfaceBuilders-Bret7wF4.cjs");
10
- const require_helpers = require("./helpers-BKiwf-pE.cjs");
11
- const require_blueprint = require("./blueprint-CjWjaFBx.cjs");
12
- const require_extrudeFns = require("./extrudeFns-r4z8JjXR.cjs");
9
+ const require_surfaceBuilders = require("./surfaceBuilders-CuTfdkEc.cjs");
10
+ const require_helpers = require("./helpers-DU_FI6Oh.cjs");
11
+ const require_blueprint = require("./blueprint-BqfmnE-a.cjs");
12
+ const require_extrudeFns = require("./extrudeFns-Bzsx_rmn.cjs");
13
13
  //#region node_modules/flatqueue/index.js
14
14
  /** @template T */
15
15
  var FlatQueue = class {
@@ -575,20 +575,31 @@ var make2dOffset = (curve, offset) => {
575
575
  };
576
576
  }
577
577
  const fullCircle = new require_blueprint.Curve2D(kernel.makeCircle2d(cx, cy, newRadius, isDirect));
578
- const trimmedHandle = kernel.trimCurve2d(fullCircle.wrapped, curve.firstParameter, curve.lastParameter);
579
- fullCircle.delete();
578
+ let trimmedHandle;
579
+ try {
580
+ trimmedHandle = kernel.trimCurve2d(fullCircle.wrapped, curve.firstParameter, curve.lastParameter);
581
+ } finally {
582
+ fullCircle.delete();
583
+ }
580
584
  return new require_blueprint.Curve2D(trimmedHandle);
581
585
  }
582
586
  if (curveType === "LINE") {
583
587
  const { firstPoint, lastPoint } = offsetEndPoints(curve.firstPoint, curve.lastPoint, offset);
584
588
  return require_blueprint.make2dSegmentCurve(firstPoint, lastPoint);
585
589
  }
586
- const approximation = require_blueprint.approximateAsBSpline(new require_blueprint.Curve2D(kernel.offsetCurve2d(curve.wrapped, offset)));
587
- if (require_errors.unwrap(selfIntersections(approximation)).length) return {
588
- collapsed: true,
589
- firstPoint: approximation.firstPoint,
590
- lastPoint: approximation.lastPoint
591
- };
590
+ const offsetCurve = new require_blueprint.Curve2D(kernel.offsetCurve2d(curve.wrapped, offset));
591
+ const approximation = require_blueprint.approximateAsBSpline(offsetCurve);
592
+ offsetCurve.delete();
593
+ if (require_errors.unwrap(selfIntersections(approximation)).length) {
594
+ const firstPoint = approximation.firstPoint;
595
+ const lastPoint = approximation.lastPoint;
596
+ approximation.delete();
597
+ return {
598
+ collapsed: true,
599
+ firstPoint,
600
+ lastPoint
601
+ };
602
+ }
592
603
  return approximation;
593
604
  };
594
605
  //#endregion
@@ -1,12 +1,12 @@
1
- import { X as getKernel, h as isShape3D, t as castShape } from "./shapeTypes-Ct7hPC-B.js";
1
+ import { X as getKernel, h as isShape3D, t as castShape } from "./shapeTypes-cnUTQRbe.js";
2
2
  import { A as ok, R as unwrap, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DboJwVCf.js";
3
- import { C as getVertices, b as getEdges, j as getOrQueryHashCode, w as getWires } from "./faceFns-B0abunWd.js";
3
+ import { C as getVertices, b as getEdges, j as getOrQueryHashCode, w as getWires } from "./faceFns-C7_zbEch.js";
4
4
  import { a as HASH_CODE_MAX } from "./types-SLY3VwcI.js";
5
5
  import { h as vecScale, t as vecAdd } from "./vecOps-D9etjPgV.js";
6
6
  import { o as resolvePlane } from "./planeOps-C94s53Ia.js";
7
- import { _ as propagateAllMetadata, g as collectInputFaceHashes, v as propagateMetadataByHash } from "./shapeFns-CU69rY5c.js";
7
+ import { _ as propagateAllMetadata, g as collectInputFaceHashes, v as propagateMetadataByHash } from "./shapeFns-C_RXS-bz.js";
8
8
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-xxcB3YNq.js";
9
- import { r as makeFace } from "./surfaceBuilders-DyR1Pdu_.js";
9
+ import { r as makeFace } from "./surfaceBuilders-Dd49hsUf.js";
10
10
  //#region src/topology/booleanFns.ts
11
11
  /**
12
12
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-DhdxzErV.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-rKIgWjDk.cjs");
2
2
  const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-D3Ge4FIP.cjs");
3
+ const require_faceFns = require("./faceFns-DLQ0-OBU.cjs");
4
4
  const require_types = require("./types-hXSlplF3.cjs");
5
5
  const require_vecOps = require("./vecOps-BXvBYIor.cjs");
6
6
  const require_planeOps = require("./planeOps-DoTESDTM.cjs");
7
- const require_shapeFns = require("./shapeFns-DFey0u1e.cjs");
7
+ const require_shapeFns = require("./shapeFns-BXaKHIQ3.cjs");
8
8
  const require_arrayAccess = require("./arrayAccess-CmulMesb.cjs");
9
- const require_surfaceBuilders = require("./surfaceBuilders-Bret7wF4.cjs");
9
+ const require_surfaceBuilders = require("./surfaceBuilders-CuTfdkEc.cjs");
10
10
  //#region src/topology/booleanFns.ts
11
11
  /**
12
12
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
package/dist/brepjs.cjs CHANGED
@@ -1,29 +1,29 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_drawFns = require("./drawFns-Be2-GMV1.cjs");
3
- const require_shapeTypes = require("./shapeTypes-DhdxzErV.cjs");
2
+ const require_drawFns = require("./drawFns-JPBjBePH.cjs");
3
+ const require_shapeTypes = require("./shapeTypes-rKIgWjDk.cjs");
4
4
  const require_occtWasmAdapter = require("./occtWasmAdapter-DYjViuTQ.cjs");
5
5
  const require_errors = require("./errors-CXRNVCec.cjs");
6
- const require_faceFns = require("./faceFns-D3Ge4FIP.cjs");
6
+ const require_faceFns = require("./faceFns-DLQ0-OBU.cjs");
7
7
  const require_types = require("./types-hXSlplF3.cjs");
8
8
  const require_vecOps = require("./vecOps-BXvBYIor.cjs");
9
9
  const require_planeOps = require("./planeOps-DoTESDTM.cjs");
10
- const require_shapeFns = require("./shapeFns-DFey0u1e.cjs");
11
- const require_curveFns = require("./curveFns-BAYdU9o3.cjs");
12
- const require_meshFns = require("./meshFns-crHPkhoE.cjs");
10
+ const require_shapeFns = require("./shapeFns-BXaKHIQ3.cjs");
11
+ const require_curveFns = require("./curveFns-xOx617Vs.cjs");
12
+ const require_meshFns = require("./meshFns-ULSYlg76.cjs");
13
13
  const require_arrayAccess = require("./arrayAccess-CmulMesb.cjs");
14
- const require_surfaceBuilders = require("./surfaceBuilders-Bret7wF4.cjs");
15
- const require_booleanFns = require("./booleanFns-BnuuzsmS.cjs");
16
- const require_primitiveFns = require("./primitiveFns-D4h33-Zc.cjs");
17
- const require_historyFns = require("./historyFns-DUIQaLVi.cjs");
18
- const require_boolean2D = require("./boolean2D-DIrXfRsK.cjs");
19
- const require_helpers = require("./helpers-BKiwf-pE.cjs");
20
- const require_solidBuilders = require("./solidBuilders-QEzWeF-_.cjs");
21
- const require_measureFns = require("./measureFns-CEBFLLb5.cjs");
22
- const require_cornerFinder = require("./cornerFinder-lvtKN6D-.cjs");
23
- const require_extrudeFns = require("./extrudeFns-r4z8JjXR.cjs");
24
- const require_blueprintFns = require("./blueprintFns-PEdKpSH9.cjs");
25
- const require_importFns = require("./importFns-C3q2BF1x.cjs");
26
- const require_shapeRefFns = require("./shapeRefFns-KTeGJjhQ.cjs");
14
+ const require_surfaceBuilders = require("./surfaceBuilders-CuTfdkEc.cjs");
15
+ const require_booleanFns = require("./booleanFns-Y3xwUQYq.cjs");
16
+ const require_primitiveFns = require("./primitiveFns-7P5Hf3WY.cjs");
17
+ const require_historyFns = require("./historyFns-BtesqCmL.cjs");
18
+ const require_boolean2D = require("./boolean2D-DC81hlIZ.cjs");
19
+ const require_helpers = require("./helpers-DU_FI6Oh.cjs");
20
+ const require_solidBuilders = require("./solidBuilders-D687wjsQ.cjs");
21
+ const require_measureFns = require("./measureFns-5TTtVcT9.cjs");
22
+ const require_cornerFinder = require("./cornerFinder-Ct8gd2nn.cjs");
23
+ const require_extrudeFns = require("./extrudeFns-Bzsx_rmn.cjs");
24
+ const require_blueprintFns = require("./blueprintFns-CBw4356y.cjs");
25
+ const require_importFns = require("./importFns-DCru75oa.cjs");
26
+ const require_shapeRefFns = require("./shapeRefFns-DvwSQrkl.cjs");
27
27
  const require_workerHandler = require("./workerHandler-C-7OUJsa.cjs");
28
28
  //#region src/topology/shapeBooleans.ts
29
29
  var BOPAlgo_GlueShift = 1;