brepjs 18.83.4 → 18.84.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 (82) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-BbY5RgQ5.cjs → blueprint-TE6QbbrL.cjs} +5 -5
  4. package/dist/{blueprint-B8qBtYPi.js → blueprint-krPp-yxy.js} +5 -5
  5. package/dist/{blueprintFns-B1RbKo8t.cjs → blueprintFns-BHzvNR9P.cjs} +2 -2
  6. package/dist/{blueprintFns-CpHkr0_e.js → blueprintFns-Cnx8Pwsc.js} +2 -2
  7. package/dist/{blueprintSketcher-B3NEgpV4.js → blueprintSketcher-BgJ92ofq.js} +3 -3
  8. package/dist/{blueprintSketcher-2YCz_yJD.cjs → blueprintSketcher-BgQ4HUQS.cjs} +3 -3
  9. package/dist/{boolean2D-CjPwTVhG.cjs → boolean2D-Bm57seK7.cjs} +4 -4
  10. package/dist/{boolean2D-PTxVG3Uc.js → boolean2D-C5RQKxsG.js} +4 -4
  11. package/dist/brepjs.cjs +25 -25
  12. package/dist/brepjs.js +25 -25
  13. package/dist/{cameraFns-bjDJPmOS.cjs → cameraFns-CyH0eFkv.cjs} +2 -2
  14. package/dist/{cameraFns-nYbmENvw.js → cameraFns-Dr6husIP.js} +2 -2
  15. package/dist/core.cjs +1 -1
  16. package/dist/core.js +1 -1
  17. package/dist/{cornerFinder-CjVy6U82.js → cornerFinder-CEbdh48G.js} +1 -1
  18. package/dist/{cornerFinder-B8elxmnw.cjs → cornerFinder-DXhDNSVO.cjs} +1 -1
  19. package/dist/{curveFns-BIQl4iLB.js → curveFns-BMvOjgAe.js} +1 -1
  20. package/dist/{curveFns-Bvk5DVw_.cjs → curveFns-ZfGUUd8h.cjs} +1 -1
  21. package/dist/{drawFns-9cTIgqNj.cjs → drawFns-DwxukBbB.cjs} +12 -12
  22. package/dist/{drawFns-sRqFaa31.js → drawFns-NN_2dIb7.js} +12 -12
  23. package/dist/{faceFns-vTqhxmcB.cjs → faceFns-CEhhzLpI.cjs} +2 -2
  24. package/dist/{faceFns-2bhJpSMB.js → faceFns-CfCwtCKM.js} +2 -2
  25. package/dist/{healingFns-CDVwFu2k.cjs → healingFns-4FJFU89Q.cjs} +5 -5
  26. package/dist/{healingFns-BmlUR01v.js → healingFns-Db0sWtJD.js} +5 -5
  27. package/dist/{helpers-D6ukO4SV.js → helpers-BMg3VK6f.js} +6 -6
  28. package/dist/{helpers-CHmo2ZG7.cjs → helpers-BsPWHGEz.cjs} +6 -6
  29. package/dist/{importFns-D1kfM4rA.js → importFns-DAxR2wFw.js} +2 -2
  30. package/dist/{importFns-CIs4W-gk.cjs → importFns-YD2jjXSP.cjs} +2 -2
  31. package/dist/io.cjs +2 -2
  32. package/dist/io.js +2 -2
  33. package/dist/kernel/occtWasm/curveOps.d.ts +5 -0
  34. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  35. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +5 -5
  36. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  37. package/dist/kernel/occtWasm/occtWasmTypes.d.ts +4 -0
  38. package/dist/{loftFns-CHs03MbK.js → loftFns-BLwuVjwA.js} +1 -1
  39. package/dist/{loftFns-DNw-fv6j.cjs → loftFns-D4xbMwPh.cjs} +1 -1
  40. package/dist/{measureFns-6P_25eFL.cjs → measureFns-Bsu3HKAh.cjs} +3 -3
  41. package/dist/{measureFns-CkGGGmto.js → measureFns-DcU_ZNtw.js} +3 -3
  42. package/dist/measurement.cjs +1 -1
  43. package/dist/measurement.js +1 -1
  44. package/dist/{meshFns-CkBq181n.js → meshFns-4yXoFw_7.js} +3 -3
  45. package/dist/{meshFns-BbKHr7Sw.cjs → meshFns-C_r1wsG-.cjs} +3 -3
  46. package/dist/{occtWasmAdapter-DQ4QncJq.cjs → occtWasmAdapter-Bv2OTOX9.cjs} +37 -10
  47. package/dist/{occtWasmAdapter-B76LgEfN.js → occtWasmAdapter-D7mOxU0Q.js} +37 -10
  48. package/dist/operations.cjs +2 -2
  49. package/dist/operations.js +2 -2
  50. package/dist/{primitiveFns-BEnhrLwJ.js → primitiveFns-Cbg94cAE.js} +4 -4
  51. package/dist/{primitiveFns-D-lMqIXD.cjs → primitiveFns-CdBx3Q-K.cjs} +4 -4
  52. package/dist/projection.cjs +1 -1
  53. package/dist/projection.js +1 -1
  54. package/dist/query.cjs +2 -2
  55. package/dist/query.js +2 -2
  56. package/dist/{shapeFns-BpVEDh-c.cjs → shapeFns-C00nTg4m.cjs} +2 -2
  57. package/dist/{shapeFns-C0ye1jCN.js → shapeFns-C0K2yQlH.js} +2 -2
  58. package/dist/shapeRef.cjs +1 -1
  59. package/dist/shapeRef.js +1 -1
  60. package/dist/{shapeRefFns-Bcgiuaof.js → shapeRefFns-BEm9-eG3.js} +4 -4
  61. package/dist/{shapeRefFns-CZbnUeFV.cjs → shapeRefFns-DuGh1xIA.cjs} +4 -4
  62. package/dist/{shapeTypes-D6LjwPZo.cjs → shapeTypes-BHoIVN7I.cjs} +1 -1
  63. package/dist/{shapeTypes-D-hZ4cF-.js → shapeTypes-CL5wYLDw.js} +1 -1
  64. package/dist/sketching.cjs +3 -3
  65. package/dist/sketching.js +3 -3
  66. package/dist/{solidBuilders-WCtZo-7R.js → solidBuilders-Bp_Gf3y_.js} +5 -5
  67. package/dist/{solidBuilders-DCvBPoL2.cjs → solidBuilders-C73RAr6j.cjs} +5 -5
  68. package/dist/{surfaceBuilders-C3fFKidc.cjs → surfaceBuilders-7QLWQwje.cjs} +2 -2
  69. package/dist/{surfaceBuilders-KGtKEo_H.js → surfaceBuilders-DObQZa60.js} +2 -2
  70. package/dist/text.cjs +2 -2
  71. package/dist/text.js +2 -2
  72. package/dist/{textBlueprints-BJftbT2i.js → textBlueprints-Dvp_j93V.js} +7 -7
  73. package/dist/{textBlueprints-BYriig4p.cjs → textBlueprints-FGsoRUZ4.cjs} +7 -7
  74. package/dist/{textMetrics-6op4Qu2I.cjs → textMetrics-BZbM75gl.cjs} +1 -1
  75. package/dist/{textMetrics-CkBotEq0.js → textMetrics-rFF3uFYC.js} +1 -1
  76. package/dist/{threadFns-CnG_pnTj.cjs → threadFns-BNidejyc.cjs} +6 -6
  77. package/dist/{threadFns-0T6pj-cl.js → threadFns-CYXs_rE1.js} +6 -6
  78. package/dist/topology.cjs +8 -8
  79. package/dist/topology.js +8 -8
  80. package/dist/{topologyQueryFns-Wc7It_Hq.js → topologyQueryFns-BtyNquQX.js} +1 -1
  81. package/dist/{topologyQueryFns-D5qzuUHY.cjs → topologyQueryFns-CJYc4A0j.cjs} +1 -1
  82. package/package.json +3 -3
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BHoIVN7I.cjs");
2
2
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
3
3
  const require_errors = require("./errors-CXJtc4I7.cjs");
4
4
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
5
- const require_blueprint = require("./blueprint-BbY5RgQ5.cjs");
5
+ const require_blueprint = require("./blueprint-TE6QbbrL.cjs");
6
6
  //#region src/io/objExportFns.ts
7
7
  /** Read a vec3 from a typed array at the given vertex index. */
8
8
  function vec3At(arr, i) {
package/dist/io.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_meshFns = require("./meshFns-BbKHr7Sw.cjs");
3
- const require_importFns = require("./importFns-CIs4W-gk.cjs");
2
+ const require_meshFns = require("./meshFns-C_r1wsG-.cjs");
3
+ const require_importFns = require("./importFns-YD2jjXSP.cjs");
4
4
  exports.blueprintToDXF = require_importFns.blueprintToDXF;
5
5
  exports.exportDXF = require_importFns.exportDXF;
6
6
  exports.exportGlb = require_importFns.exportGlb;
package/dist/io.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-CkBq181n.js";
2
- import { a as importSVG, c as blueprintToDXF, d as exportGltf, f as exportOBJ, i as exportSTEPConfigured, l as exportDXF, n as importSTEP, o as importSVGPathD, r as importSTL, s as exportThreeMF, t as importIGES, u as exportGlb } from "./importFns-D1kfM4rA.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-4yXoFw_7.js";
2
+ import { a as importSVG, c as blueprintToDXF, d as exportGltf, f as exportOBJ, i as exportSTEPConfigured, l as exportDXF, n as importSTEP, o as importSVGPathD, r as importSTL, s as exportThreeMF, t as importIGES, u as exportGlb } from "./importFns-DAxR2wFw.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -20,4 +20,9 @@ export declare function approximatePoints(k: OcctKernelWasm, Module: OcctWasmMod
20
20
  degMax?: number;
21
21
  smoothing?: [number, number, number] | null;
22
22
  }): KernelShape;
23
+ export declare function curveDegreeElevate(k: OcctKernelWasm, edge: KernelShape, elevateBy: number): KernelShape;
24
+ export declare function curveKnotInsert(k: OcctKernelWasm, edge: KernelShape, knot: number, times: number): KernelShape;
25
+ export declare function curveKnotRemove(k: OcctKernelWasm, edge: KernelShape, knot: number, tolerance: number): KernelShape;
26
+ export declare function curveSplit(k: OcctKernelWasm, edge: KernelShape, param: number): [KernelShape, KernelShape];
27
+ export declare function getBezierPenultimatePole(k: OcctKernelWasm, edge: KernelShape): [number, number, number] | null;
23
28
  export declare function getNurbsCurveData(k: OcctKernelWasm, edge: KernelShape): NurbsCurveData | null;
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_occtWasmAdapter = require("../../occtWasmAdapter-DQ4QncJq.cjs");
2
+ const require_occtWasmAdapter = require("../../occtWasmAdapter-Bv2OTOX9.cjs");
3
3
  exports.OcctWasmAdapter = require_occtWasmAdapter.OcctWasmAdapter;
@@ -293,11 +293,11 @@ export declare class OcctWasmAdapter implements KernelAdapter {
293
293
  degMax?: number;
294
294
  smoothing?: [number, number, number] | null;
295
295
  }): KernelShape;
296
- curveDegreeElevate(_edge: KernelShape, _elevateBy: number): KernelShape;
297
- curveKnotInsert(_edge: KernelShape, _knot: number, _times: number): KernelShape;
298
- curveKnotRemove(_edge: KernelShape, _knot: number, _tolerance: number): KernelShape;
299
- curveSplit(_edge: KernelShape, _param: number): [KernelShape, KernelShape];
300
- getBezierPenultimatePole(_edge: KernelShape): [number, number, number] | null;
296
+ curveDegreeElevate(edge: KernelShape, elevateBy: number): KernelShape;
297
+ curveKnotInsert(edge: KernelShape, knot: number, times: number): KernelShape;
298
+ curveKnotRemove(edge: KernelShape, knot: number, tolerance: number): KernelShape;
299
+ curveSplit(edge: KernelShape, param: number): [KernelShape, KernelShape];
300
+ getBezierPenultimatePole(edge: KernelShape): [number, number, number] | null;
301
301
  createCurveAdaptor(_shape: KernelShape): KernelType;
302
302
  vertexPosition(vertex: KernelShape): [number, number, number];
303
303
  surfaceType(face: KernelShape): SurfaceType;
@@ -1,2 +1,2 @@
1
- import { t as OcctWasmAdapter } from "../../occtWasmAdapter-B76LgEfN.js";
1
+ import { t as OcctWasmAdapter } from "../../occtWasmAdapter-D7mOxU0Q.js";
2
2
  export { OcctWasmAdapter };
@@ -231,6 +231,10 @@ export interface OcctKernelWasm {
231
231
  approximatePoints(flatPoints: EmVectorDouble, tolerance: number): number;
232
232
  projectEdges(shapeId: number, ox: number, oy: number, oz: number, dx: number, dy: number, dz: number, xx: number, xy: number, xz: number, hasXAxis: boolean): EmProjectionData;
233
233
  getNurbsCurveData(edgeId: number): EmNurbsCurveData;
234
+ curveDegreeElevate(edgeId: number, elevateBy: number): number;
235
+ curveKnotInsert(edgeId: number, knot: number, times: number): number;
236
+ curveKnotRemove(edgeId: number, knot: number, tolerance: number): number;
237
+ curveSplit(edgeId: number, param: number): EmVectorUint32;
234
238
  liftCurve2dToPlane(flatPoints2d: EmVectorDouble, planeOx: number, planeOy: number, planeOz: number, planeZx: number, planeZy: number, planeZz: number, planeXx: number, planeXy: number, planeXz: number): number;
235
239
  xcafNewDocument(): number;
236
240
  xcafClose(docId: number): void;
@@ -1,4 +1,4 @@
1
- import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-CL5wYLDw.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { c as vecLength, d as vecNormalize, t as vecAdd } from "./vecOps-SKPRvPH-.js";
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BHoIVN7I.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_types = require("./types-KjA8tY4Y.cjs");
4
4
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BHoIVN7I.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
4
- const require_faceFns = require("./faceFns-vTqhxmcB.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-CJYc4A0j.cjs");
4
+ const require_faceFns = require("./faceFns-CEhhzLpI.cjs");
5
5
  //#region src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,7 +1,7 @@
1
- import { Z as getKernel } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel } from "./shapeTypes-CL5wYLDw.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { w as kernelCallRaw } from "./topologyQueryFns-Wc7It_Hq.js";
4
- import { m as uvBounds } from "./faceFns-2bhJpSMB.js";
3
+ import { w as kernelCallRaw } from "./topologyQueryFns-BtyNquQX.js";
4
+ import { m as uvBounds } from "./faceFns-CfCwtCKM.js";
5
5
  //#region src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_measureFns = require("./measureFns-6P_25eFL.cjs");
2
+ const require_measureFns = require("./measureFns-Bsu3HKAh.cjs");
3
3
  exports.createDistanceQuery = require_measureFns.createDistanceQuery;
4
4
  exports.measureArea = require_measureFns.measureArea;
5
5
  exports.measureDistance = require_measureFns.measureDistance;
@@ -1,2 +1,2 @@
1
- import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-CkGGGmto.js";
1
+ import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-DcU_ZNtw.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,7 +1,7 @@
1
- import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-CL5wYLDw.js";
2
2
  import { A as ok, b as err, r as ioError } from "./errors-DNWJsfVU.js";
3
- import { d as getSolids, n as getBounds } from "./topologyQueryFns-Wc7It_Hq.js";
4
- import { O as getFaceOrigins } from "./shapeFns-C0ye1jCN.js";
3
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-BtyNquQX.js";
4
+ import { O as getFaceOrigins } from "./shapeFns-C0K2yQlH.js";
5
5
  //#region src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BHoIVN7I.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
4
- const require_shapeFns = require("./shapeFns-BpVEDh-c.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-CJYc4A0j.cjs");
4
+ const require_shapeFns = require("./shapeFns-C00nTg4m.cjs");
5
5
  //#region src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1681,6 +1681,33 @@ function approximatePoints(k, Module, points, options) {
1681
1681
  vec.delete();
1682
1682
  }
1683
1683
  }
1684
+ function curveDegreeElevate(k, edge, elevateBy) {
1685
+ return handle("edge", k.curveDegreeElevate(unwrap(edge), elevateBy));
1686
+ }
1687
+ function curveKnotInsert(k, edge, knot, times) {
1688
+ return handle("edge", k.curveKnotInsert(unwrap(edge), knot, times));
1689
+ }
1690
+ function curveKnotRemove(k, edge, knot, tolerance) {
1691
+ return handle("edge", k.curveKnotRemove(unwrap(edge), knot, tolerance));
1692
+ }
1693
+ function curveSplit(k, edge, param) {
1694
+ const vec = k.curveSplit(unwrap(edge), param);
1695
+ try {
1696
+ return [handle("edge", vec.get(0)), handle("edge", vec.get(1))];
1697
+ } finally {
1698
+ vec.delete();
1699
+ }
1700
+ }
1701
+ function getBezierPenultimatePole(k, edge) {
1702
+ const data = getNurbsCurveData(k, edge);
1703
+ if (!data || data.poles.length < 2) return null;
1704
+ const pole = data.poles[data.poles.length - 2];
1705
+ return pole ? [
1706
+ pole[0],
1707
+ pole[1],
1708
+ pole[2]
1709
+ ] : null;
1710
+ }
1684
1711
  function getNurbsCurveData(k, edge) {
1685
1712
  try {
1686
1713
  const data = k.getNurbsCurveData(unwrap(edge));
@@ -4906,20 +4933,20 @@ var OcctWasmAdapter = class OcctWasmAdapter {
4906
4933
  approximatePoints(points, options) {
4907
4934
  return approximatePoints(this.k, this.Module, points, options);
4908
4935
  }
4909
- curveDegreeElevate(_edge, _elevateBy) {
4910
- notImplemented("curveDegreeElevate");
4936
+ curveDegreeElevate(edge, elevateBy) {
4937
+ return curveDegreeElevate(this.k, edge, elevateBy);
4911
4938
  }
4912
- curveKnotInsert(_edge, _knot, _times) {
4913
- notImplemented("curveKnotInsert");
4939
+ curveKnotInsert(edge, knot, times) {
4940
+ return curveKnotInsert(this.k, edge, knot, times);
4914
4941
  }
4915
- curveKnotRemove(_edge, _knot, _tolerance) {
4916
- notImplemented("curveKnotRemove");
4942
+ curveKnotRemove(edge, knot, tolerance) {
4943
+ return curveKnotRemove(this.k, edge, knot, tolerance);
4917
4944
  }
4918
- curveSplit(_edge, _param) {
4919
- notImplemented("curveSplit");
4945
+ curveSplit(edge, param) {
4946
+ return curveSplit(this.k, edge, param);
4920
4947
  }
4921
- getBezierPenultimatePole(_edge) {
4922
- notImplemented("getBezierPenultimatePole");
4948
+ getBezierPenultimatePole(edge) {
4949
+ return getBezierPenultimatePole(this.k, edge);
4923
4950
  }
4924
4951
  createCurveAdaptor(_shape) {
4925
4952
  notImplemented("createCurveAdaptor");
@@ -1681,6 +1681,33 @@ function approximatePoints(k, Module, points, options) {
1681
1681
  vec.delete();
1682
1682
  }
1683
1683
  }
1684
+ function curveDegreeElevate(k, edge, elevateBy) {
1685
+ return handle("edge", k.curveDegreeElevate(unwrap(edge), elevateBy));
1686
+ }
1687
+ function curveKnotInsert(k, edge, knot, times) {
1688
+ return handle("edge", k.curveKnotInsert(unwrap(edge), knot, times));
1689
+ }
1690
+ function curveKnotRemove(k, edge, knot, tolerance) {
1691
+ return handle("edge", k.curveKnotRemove(unwrap(edge), knot, tolerance));
1692
+ }
1693
+ function curveSplit(k, edge, param) {
1694
+ const vec = k.curveSplit(unwrap(edge), param);
1695
+ try {
1696
+ return [handle("edge", vec.get(0)), handle("edge", vec.get(1))];
1697
+ } finally {
1698
+ vec.delete();
1699
+ }
1700
+ }
1701
+ function getBezierPenultimatePole(k, edge) {
1702
+ const data = getNurbsCurveData(k, edge);
1703
+ if (!data || data.poles.length < 2) return null;
1704
+ const pole = data.poles[data.poles.length - 2];
1705
+ return pole ? [
1706
+ pole[0],
1707
+ pole[1],
1708
+ pole[2]
1709
+ ] : null;
1710
+ }
1684
1711
  function getNurbsCurveData(k, edge) {
1685
1712
  try {
1686
1713
  const data = k.getNurbsCurveData(unwrap(edge));
@@ -4906,20 +4933,20 @@ var OcctWasmAdapter = class OcctWasmAdapter {
4906
4933
  approximatePoints(points, options) {
4907
4934
  return approximatePoints(this.k, this.Module, points, options);
4908
4935
  }
4909
- curveDegreeElevate(_edge, _elevateBy) {
4910
- notImplemented("curveDegreeElevate");
4936
+ curveDegreeElevate(edge, elevateBy) {
4937
+ return curveDegreeElevate(this.k, edge, elevateBy);
4911
4938
  }
4912
- curveKnotInsert(_edge, _knot, _times) {
4913
- notImplemented("curveKnotInsert");
4939
+ curveKnotInsert(edge, knot, times) {
4940
+ return curveKnotInsert(this.k, edge, knot, times);
4914
4941
  }
4915
- curveKnotRemove(_edge, _knot, _tolerance) {
4916
- notImplemented("curveKnotRemove");
4942
+ curveKnotRemove(edge, knot, tolerance) {
4943
+ return curveKnotRemove(this.k, edge, knot, tolerance);
4917
4944
  }
4918
- curveSplit(_edge, _param) {
4919
- notImplemented("curveSplit");
4945
+ curveSplit(edge, param) {
4946
+ return curveSplit(this.k, edge, param);
4920
4947
  }
4921
- getBezierPenultimatePole(_edge) {
4922
- notImplemented("getBezierPenultimatePole");
4948
+ getBezierPenultimatePole(edge) {
4949
+ return getBezierPenultimatePole(this.k, edge);
4923
4950
  }
4924
4951
  createCurveAdaptor(_shape) {
4925
4952
  notImplemented("createCurveAdaptor");
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-CnG_pnTj.cjs");
3
- const require_loftFns = require("./loftFns-DNw-fv6j.cjs");
2
+ const require_threadFns = require("./threadFns-BNidejyc.cjs");
3
+ const require_loftFns = require("./loftFns-D4xbMwPh.cjs");
4
4
  exports.addChild = require_threadFns.addChild;
5
5
  exports.addJoint = require_threadFns.addJoint;
6
6
  exports.addStep = require_threadFns.addStep;
@@ -1,3 +1,3 @@
1
- import { A as setJointValue, B as findNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as gridPattern, H as updateNode, I as addChild, J as createAssembly, K as linearPattern, L as collectShapes, M as sphericalJoint, O as prismaticJoint, R as countNodes, S as addJoint, T as jointTransform, U as walkAssembly, V as removeChild, W as circularPattern, _ as exportURDF, b as inverseKinematics, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, j as setJointValues, k as revoluteJoint, l as registerOperation, m as stepCount, n as addStep, o as findStep, q as exportAssemblySTEP, r as createHistory, s as getShape, t as thread, u as registerShape, v as importURDF, w as forwardKinematics, x as jointTrajectory, y as jointsFromDH, z as createAssemblyNode } from "./threadFns-0T6pj-cl.js";
2
- import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-CHs03MbK.js";
1
+ import { A as setJointValue, B as findNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, G as gridPattern, H as updateNode, I as addChild, J as createAssembly, K as linearPattern, L as collectShapes, M as sphericalJoint, O as prismaticJoint, R as countNodes, S as addJoint, T as jointTransform, U as walkAssembly, V as removeChild, W as circularPattern, _ as exportURDF, b as inverseKinematics, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, j as setJointValues, k as revoluteJoint, l as registerOperation, m as stepCount, n as addStep, o as findStep, q as exportAssemblySTEP, r as createHistory, s as getShape, t as thread, u as registerShape, v as importURDF, w as forwardKinematics, x as jointTrajectory, y as jointsFromDH, z as createAssemblyNode } from "./threadFns-CYXs_rE1.js";
2
+ import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-BLwuVjwA.js";
3
3
  export { addChild, addJoint, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, cylindricalJoint, exportAssemblySTEP, exportURDF, findNode, findStep, forwardKinematics, getShape as getHistoryShape, gridPattern, importURDF, inverseKinematics, jointTrajectory, jointTransform, jointsFromDH, linearPattern, mechanismDOF, modifyStep, planarJoint, prismaticJoint, registerOperation, registerShape, removeChild, replayFrom, replayHistory, revoluteJoint, setJointValue, setJointValues, sphericalJoint, stepCount, stepsFrom, supportExtrude, sweep, thread, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,9 +1,9 @@
1
- import { Z as getKernel, c as createSolid, x as isClosedWire } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, c as createSolid, x as isClosedWire } from "./shapeTypes-CL5wYLDw.js";
2
2
  import { A as ok, b as err, d as validationError, v as andThen } from "./errors-DNWJsfVU.js";
3
3
  import { t as DEG2RAD } from "./constants-ITRzCnCp.js";
4
- import { h as translate } from "./shapeFns-C0ye1jCN.js";
5
- import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-KGtKEo_H.js";
6
- import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-WCtZo-7R.js";
4
+ import { h as translate } from "./shapeFns-C0K2yQlH.js";
5
+ import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-DObQZa60.js";
6
+ import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-Bp_Gf3y_.js";
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BHoIVN7I.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
- const require_shapeFns = require("./shapeFns-BpVEDh-c.cjs");
5
- const require_surfaceBuilders = require("./surfaceBuilders-C3fFKidc.cjs");
6
- const require_solidBuilders = require("./solidBuilders-DCvBPoL2.cjs");
4
+ const require_shapeFns = require("./shapeFns-C00nTg4m.cjs");
5
+ const require_surfaceBuilders = require("./surfaceBuilders-7QLWQwje.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-C73RAr6j.cjs");
7
7
  //#region src/topology/primitiveFns.ts
8
8
  /**
9
9
  * Create a box with the given dimensions.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-bjDJPmOS.cjs");
2
+ const require_cameraFns = require("./cameraFns-CyH0eFkv.cjs");
3
3
  exports.PROJECTION_PLANES = require_cameraFns.PROJECTION_PLANES;
4
4
  exports.cameraFromPlane = require_cameraFns.cameraFromPlane;
5
5
  exports.cameraLookAt = require_cameraFns.cameraLookAt;
@@ -1,2 +1,2 @@
1
- import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-nYbmENvw.js";
1
+ import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-Dr6husIP.js";
2
2
  export { PROJECTION_PLANES, cameraFromPlane, cameraLookAt, createCamera, isProjectionPlane, makeProjectedEdges, projectEdges };
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-CHmo2ZG7.cjs");
3
- const require_cornerFinder = require("./cornerFinder-B8elxmnw.cjs");
2
+ const require_helpers = require("./helpers-BsPWHGEz.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-DXhDNSVO.cjs");
4
4
  exports.cornerFinder = require_cornerFinder.cornerFinder;
5
5
  exports.edgeFinder = require_helpers.edgeFinder;
6
6
  exports.faceFinder = require_helpers.faceFinder;
package/dist/query.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-D6ukO4SV.js";
2
- import { t as cornerFinder } from "./cornerFinder-CjVy6U82.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-BMg3VK6f.js";
2
+ import { t as cornerFinder } from "./cornerFinder-CEbdh48G.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BHoIVN7I.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-CJYc4A0j.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-CL5wYLDw.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-Wc7It_Hq.js";
3
+ import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-BtyNquQX.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeRefFns = require("./shapeRefFns-CZbnUeFV.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-DuGh1xIA.cjs");
3
3
  exports.assignRoles = require_shapeRefFns.assignRoles;
4
4
  exports.captureHint = require_shapeRefFns.captureHint;
5
5
  exports.createRef = require_shapeRefFns.createRef;
package/dist/shapeRef.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-Bcgiuaof.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-BEm9-eG3.js";
2
2
  export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
@@ -1,8 +1,8 @@
1
1
  import { n as wasmIndex } from "./vec3-Dpha8d5k.js";
2
- import { c as getFaces } from "./topologyQueryFns-Wc7It_Hq.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-2bhJpSMB.js";
4
- import { n as getHashCode } from "./shapeFns-C0ye1jCN.js";
5
- import { n as measureArea } from "./measureFns-CkGGGmto.js";
2
+ import { c as getFaces } from "./topologyQueryFns-BtyNquQX.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-CfCwtCKM.js";
4
+ import { n as getHashCode } from "./shapeFns-C0K2yQlH.js";
5
+ import { n as measureArea } from "./measureFns-DcU_ZNtw.js";
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,8 +1,8 @@
1
1
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
3
- const require_faceFns = require("./faceFns-vTqhxmcB.cjs");
4
- const require_shapeFns = require("./shapeFns-BpVEDh-c.cjs");
5
- const require_measureFns = require("./measureFns-6P_25eFL.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-CJYc4A0j.cjs");
3
+ const require_faceFns = require("./faceFns-CEhhzLpI.cjs");
4
+ const require_shapeFns = require("./shapeFns-C00nTg4m.cjs");
5
+ const require_measureFns = require("./measureFns-Bsu3HKAh.cjs");
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,4 +1,4 @@
1
- const require_occtWasmAdapter = require("./occtWasmAdapter-DQ4QncJq.cjs");
1
+ const require_occtWasmAdapter = require("./occtWasmAdapter-Bv2OTOX9.cjs");
2
2
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
3
3
  const require_errors = require("./errors-CXJtc4I7.cjs");
4
4
  //#region src/kernel/quality.ts
@@ -1,4 +1,4 @@
1
- import { C as translateCurve2d$2, E as EXACT_BREP_CAPABILITIES, S as tangentCurve2d, _ as mirrorAcrossAxis, a as buildBinarySTL, b as scaleCurve2d$2, c as curveBounds, d as evaluateCurve2d$2, f as intersectCurves2dFn, g as makeLine2d$2, h as makeEllipse2d$2, i as buildAsciiSTL, l as curveTypeName, m as makeCircle2d$2, n as DEFAULT_STL_ANGULAR_TOLERANCE, o as addCurveToBBox, p as makeBezier2d$2, r as DEFAULT_STL_TOLERANCE, s as createBBox2d, t as OcctWasmAdapter, u as deserializeCurve2d$2, v as mirrorAtPoint, w as quickHull, x as serializeCurve2d$2, y as rotateCurve2d$2 } from "./occtWasmAdapter-B76LgEfN.js";
1
+ import { C as translateCurve2d$2, E as EXACT_BREP_CAPABILITIES, S as tangentCurve2d, _ as mirrorAcrossAxis, a as buildBinarySTL, b as scaleCurve2d$2, c as curveBounds, d as evaluateCurve2d$2, f as intersectCurves2dFn, g as makeLine2d$2, h as makeEllipse2d$2, i as buildAsciiSTL, l as curveTypeName, m as makeCircle2d$2, n as DEFAULT_STL_ANGULAR_TOLERANCE, o as addCurveToBBox, p as makeBezier2d$2, r as DEFAULT_STL_TOLERANCE, s as createBBox2d, t as OcctWasmAdapter, u as deserializeCurve2d$2, v as mirrorAtPoint, w as quickHull, x as serializeCurve2d$2, y as rotateCurve2d$2 } from "./occtWasmAdapter-D7mOxU0Q.js";
2
2
  import { n as wasmIndex, t as vec3At } from "./vec3-Dpha8d5k.js";
3
3
  import { A as ok, b as err } from "./errors-DNWJsfVU.js";
4
4
  //#region src/kernel/quality.ts
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-BYriig4p.cjs");
3
- const require_blueprintSketcher = require("./blueprintSketcher-2YCz_yJD.cjs");
4
- const require_drawFns = require("./drawFns-9cTIgqNj.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-FGsoRUZ4.cjs");
3
+ const require_blueprintSketcher = require("./blueprintSketcher-BgQ4HUQS.cjs");
4
+ const require_drawFns = require("./drawFns-DwxukBbB.cjs");
5
5
  //#region src/sketching.ts
6
6
  /**
7
7
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
package/dist/sketching.js CHANGED
@@ -1,6 +1,6 @@
1
- import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-B3NEgpV4.js";
2
- import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-sRqFaa31.js";
3
- import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-BJftbT2i.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-BgJ92ofq.js";
2
+ import { A as sketchEllipse, C as DrawingPen, D as makeBaseBox, E as deserializeDrawing, F as sketchRectangle, I as sketchRoundedRectangle, L as FaceSketcher, M as sketchHelix, N as sketchParametricFunction, O as polysideInnerRadius, P as sketchPolysides, R as Sketcher, S as drawText, T as Drawing, _ as drawPolysides, a as drawingIntersect, b as drawSingleCircle, c as rotateDrawing, d as drawFaceOutline, f as drawProjection, g as drawPointsInterpolation, h as drawParametricFunction, i as drawingFuse, j as sketchFaceOffset, k as sketchCircle, l as scaleDrawing, m as drawEllipse, n as drawingCut, o as drawingToSketchOnPlane, p as drawCircle, r as drawingFillet, s as mirrorDrawing, t as drawingChamfer, u as translateDrawing, v as drawRectangle, w as draw, x as drawSingleEllipse, y as drawRoundedRectangle } from "./drawFns-NN_2dIb7.js";
3
+ import { a as Sketch, c as compoundSketchLoft, d as sketchFace, f as sketchLoft, h as sketchWires, i as Sketches, l as compoundSketchRevolve, m as sketchSweep, o as compoundSketchExtrude, p as sketchRevolve, s as compoundSketchFace, u as sketchExtrude, v as CompoundSketch } from "./textBlueprints-Dvp_j93V.js";
4
4
  //#region src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,13 +1,13 @@
1
- import { Z as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex, t as castShape } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex, t as castShape } from "./shapeTypes-CL5wYLDw.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, v as andThen, w as isErr } from "./errors-DNWJsfVU.js";
3
- import { f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Wc7It_Hq.js";
3
+ import { f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-BtyNquQX.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
5
  import { h as vecScale, t as vecAdd } from "./vecOps-SKPRvPH-.js";
6
6
  import { o as resolvePlane } from "./planeOps-DSjjtrjg.js";
7
- import { _ as cast, v as downcast } from "./faceFns-2bhJpSMB.js";
8
- import { _ as propagateAllMetadata, g as collectInputFaceHashes, v as propagateMetadataByHash } from "./shapeFns-C0ye1jCN.js";
7
+ import { _ as cast, v as downcast } from "./faceFns-CfCwtCKM.js";
8
+ import { _ as propagateAllMetadata, g as collectInputFaceHashes, v as propagateMetadataByHash } from "./shapeFns-C0K2yQlH.js";
9
9
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
10
- import { r as makeFace } from "./surfaceBuilders-KGtKEo_H.js";
10
+ import { r as makeFace } from "./surfaceBuilders-DObQZa60.js";
11
11
  //#region src/topology/booleanFns.ts
12
12
  /**
13
13
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
@@ -1,13 +1,13 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BHoIVN7I.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-D5qzuUHY.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-CJYc4A0j.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
6
6
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
7
- const require_faceFns = require("./faceFns-vTqhxmcB.cjs");
8
- const require_shapeFns = require("./shapeFns-BpVEDh-c.cjs");
7
+ const require_faceFns = require("./faceFns-CEhhzLpI.cjs");
8
+ const require_shapeFns = require("./shapeFns-C00nTg4m.cjs");
9
9
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
10
- const require_surfaceBuilders = require("./surfaceBuilders-C3fFKidc.cjs");
10
+ const require_surfaceBuilders = require("./surfaceBuilders-7QLWQwje.cjs");
11
11
  //#region src/topology/booleanFns.ts
12
12
  /**
13
13
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-D6LjwPZo.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BHoIVN7I.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-vTqhxmcB.cjs");
3
+ const require_faceFns = require("./faceFns-CEhhzLpI.cjs");
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  function range(len) {
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-CL5wYLDw.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { _ as cast, u as outerWire } from "./faceFns-2bhJpSMB.js";
3
+ import { _ as cast, u as outerWire } from "./faceFns-CfCwtCKM.js";
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  function range(len) {
package/dist/text.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-BYriig4p.cjs");
3
- const require_textMetrics = require("./textMetrics-6op4Qu2I.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-FGsoRUZ4.cjs");
3
+ const require_textMetrics = require("./textMetrics-BZbM75gl.cjs");
4
4
  exports.fontMetrics = require_textMetrics.fontMetrics;
5
5
  exports.getFont = require_textBlueprints.getFont;
6
6
  exports.loadFont = require_textBlueprints.loadFont;
package/dist/text.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-BJftbT2i.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-CkBotEq0.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-Dvp_j93V.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-rFF3uFYC.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
@@ -1,15 +1,15 @@
1
- import { o as createFace, u as createWire } from "./shapeTypes-D-hZ4cF-.js";
1
+ import { o as createFace, u as createWire } from "./shapeTypes-CL5wYLDw.js";
2
2
  import { A as ok, R as unwrap, b as err, h as bug, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-SKPRvPH-.js";
5
5
  import { n as createPlane } from "./planeOps-DSjjtrjg.js";
6
- import { v as downcast } from "./faceFns-2bhJpSMB.js";
7
- import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-BIQl4iLB.js";
6
+ import { v as downcast } from "./faceFns-CfCwtCKM.js";
7
+ import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-BMvOjgAe.js";
8
8
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
9
- import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-KGtKEo_H.js";
10
- import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-WCtZo-7R.js";
11
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-B3NEgpV4.js";
12
- import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-CHs03MbK.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-DObQZa60.js";
10
+ import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-Bp_Gf3y_.js";
11
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-BgJ92ofq.js";
12
+ import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-BLwuVjwA.js";
13
13
  import opentype from "opentype.js";
14
14
  //#region src/sketching/compoundSketch.ts
15
15
  /**