brepjs 18.66.0 → 18.66.1

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 (76) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-B7iZ_BZT.cjs → blueprint-D0HcOCoD.cjs} +5 -5
  4. package/dist/{blueprint-DEtjb9pL.js → blueprint-DUu2ps2h.js} +5 -5
  5. package/dist/{blueprintFns-Bmd98FWr.js → blueprintFns-BoMZHBGl.js} +2 -2
  6. package/dist/{blueprintFns-Bf5TA7pN.cjs → blueprintFns-pq0yw94E.cjs} +2 -2
  7. package/dist/{blueprintSketcher-Bj39XtSt.cjs → blueprintSketcher-CWSesXXR.cjs} +3 -3
  8. package/dist/{blueprintSketcher-nuOhijiI.js → blueprintSketcher-DelJzBzJ.js} +3 -3
  9. package/dist/{boolean2D-BfDgoaT7.cjs → boolean2D-C6xLLzU_.cjs} +4 -4
  10. package/dist/{boolean2D-DWbUmSlH.js → boolean2D-DYjuIlFY.js} +4 -4
  11. package/dist/{booleanFns-CN5sVkm6.js → booleanFns-CLzeqmgT.js} +4 -4
  12. package/dist/{booleanFns-D-wTRioN.cjs → booleanFns-D57G9tJA.cjs} +4 -4
  13. package/dist/brepjs.cjs +24 -24
  14. package/dist/brepjs.js +24 -24
  15. package/dist/{cameraFns-BXAgEEUR.cjs → cameraFns-DSAYGgrz.cjs} +2 -2
  16. package/dist/{cameraFns-BTkg-7od.js → cameraFns-D_UnhA2O.js} +2 -2
  17. package/dist/core.cjs +1 -1
  18. package/dist/core.js +1 -1
  19. package/dist/{cornerFinder-C_w8TN9u.js → cornerFinder-CszkHDW1.js} +1 -1
  20. package/dist/{cornerFinder-0DmLYmdL.cjs → cornerFinder-Dvu2q_-E.cjs} +1 -1
  21. package/dist/{curveFns-BlfkX_gl.cjs → curveFns-BJLQixZw.cjs} +1 -1
  22. package/dist/{curveFns-BIj3b16T.js → curveFns-CLNHpU2N.js} +1 -1
  23. package/dist/{drawFns-CluLvJOJ.cjs → drawFns-BuE0lne3.cjs} +12 -12
  24. package/dist/{drawFns-CNOti33I.js → drawFns-Cw29tkrx.js} +12 -12
  25. package/dist/{extrudeFns-CaBzNeiI.js → extrudeFns-19bOK66L.js} +1 -1
  26. package/dist/{extrudeFns-DYn4rntp.cjs → extrudeFns-BDgqrytA.cjs} +1 -1
  27. package/dist/{faceFns-7g1e493t.cjs → faceFns-BmaS4kkW.cjs} +2 -2
  28. package/dist/{faceFns-Bd3zdzrq.js → faceFns-CWU_70z7.js} +2 -2
  29. package/dist/{helpers-DQ634U2V.js → helpers-CA8uFXQW.js} +6 -6
  30. package/dist/{helpers-qJvSmWhx.cjs → helpers-qkB-gFkC.cjs} +6 -6
  31. package/dist/{historyFns-CyXK3XjV.cjs → historyFns-CDVZ3KM8.cjs} +4 -4
  32. package/dist/{historyFns-C6TSTHV4.js → historyFns-CnUZzNHQ.js} +4 -4
  33. package/dist/{importFns-DK85PN5U.cjs → importFns-B7pbqJhZ.cjs} +2 -2
  34. package/dist/{importFns-DpXocvJY.js → importFns-BBnjqm6T.js} +2 -2
  35. package/dist/io.cjs +2 -2
  36. package/dist/io.js +2 -2
  37. package/dist/kernel/manifold/sweepOps.d.ts +1 -0
  38. package/dist/{measureFns-Pxrwu7Nl.js → measureFns-Bye5UsOe.js} +3 -3
  39. package/dist/{measureFns-LAuiTxIU.cjs → measureFns-HhPPUiRO.cjs} +3 -3
  40. package/dist/measurement.cjs +1 -1
  41. package/dist/measurement.js +1 -1
  42. package/dist/{meshFns-0wmojo6X.cjs → meshFns-B5jxU_H4.cjs} +3 -3
  43. package/dist/{meshFns-BYLqZcfo.js → meshFns-Cog1SKSV.js} +3 -3
  44. package/dist/operations.cjs +2 -2
  45. package/dist/operations.js +2 -2
  46. package/dist/{primitiveFns-BVpOZIFy.cjs → primitiveFns-B_Vhus6h.cjs} +7 -7
  47. package/dist/{primitiveFns-BJ5PwAOM.js → primitiveFns-DTg4kOPD.js} +7 -7
  48. package/dist/projection.cjs +1 -1
  49. package/dist/projection.js +1 -1
  50. package/dist/query.cjs +2 -2
  51. package/dist/query.js +2 -2
  52. package/dist/{shapeFns-Bf3fSMLC.js → shapeFns-CMQD_3Rz.js} +2 -2
  53. package/dist/{shapeFns-B15j-oke.cjs → shapeFns-ClKe2vri.cjs} +2 -2
  54. package/dist/shapeRef.cjs +1 -1
  55. package/dist/shapeRef.js +1 -1
  56. package/dist/{shapeRefFns-Cu3aH-S0.cjs → shapeRefFns-DUt-hIWq.cjs} +4 -4
  57. package/dist/{shapeRefFns-C1nNU4at.js → shapeRefFns-DqmUj3wF.js} +4 -4
  58. package/dist/{shapeTypes-C6gF9fGL.cjs → shapeTypes-CPClTSJn.cjs} +19 -14
  59. package/dist/{shapeTypes-KIrwDkmg.js → shapeTypes-CQscfe8k.js} +19 -14
  60. package/dist/sketching.cjs +3 -3
  61. package/dist/sketching.js +3 -3
  62. package/dist/{solidBuilders-Ii8I669S.cjs → solidBuilders-CtxTfDlu.cjs} +2 -2
  63. package/dist/{solidBuilders-CN91DyTF.js → solidBuilders-U04-5yA1.js} +2 -2
  64. package/dist/{surfaceBuilders-DSgKSrN-.cjs → surfaceBuilders-88vLyzZe.cjs} +2 -2
  65. package/dist/{surfaceBuilders-VOedQa9z.js → surfaceBuilders-GesSUnRk.js} +2 -2
  66. package/dist/text.cjs +2 -2
  67. package/dist/text.js +2 -2
  68. package/dist/{textBlueprints-BROqnpya.cjs → textBlueprints-BRqklfRI.cjs} +7 -7
  69. package/dist/{textBlueprints-k0trqpEg.js → textBlueprints-DP_2uuR2.js} +7 -7
  70. package/dist/{textMetrics-DnOTH1ld.js → textMetrics-BAOyWVzI.js} +1 -1
  71. package/dist/{textMetrics-dS4ldSza.cjs → textMetrics-F2qR-eqQ.cjs} +1 -1
  72. package/dist/topology.cjs +7 -7
  73. package/dist/topology.js +7 -7
  74. package/dist/{topologyQueryFns-Bkr82t7v.js → topologyQueryFns-BuZ2h4o9.js} +1 -1
  75. package/dist/{topologyQueryFns-CseKGFog.cjs → topologyQueryFns-jK9Vpzqr.cjs} +1 -1
  76. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-C6gF9fGL.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
4
- const require_faceFns = require("./faceFns-7g1e493t.cjs");
5
- const require_shapeFns = require("./shapeFns-B15j-oke.cjs");
6
- const require_booleanFns = require("./booleanFns-D-wTRioN.cjs");
4
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
5
+ const require_shapeFns = require("./shapeFns-ClKe2vri.cjs");
6
+ const require_booleanFns = require("./booleanFns-D57G9tJA.cjs");
7
7
  //#region src/utils/uuid.ts
8
8
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
9
9
  function uuidv() {
@@ -1,9 +1,9 @@
1
- import { B as createKernelHandle, Z as getKernel, t as castShape } from "./shapeTypes-KIrwDkmg.js";
1
+ import { B as createKernelHandle, Z as getKernel, t as castShape } from "./shapeTypes-CQscfe8k.js";
2
2
  import { A as ok, b as err, d as validationError, n as computationError, r as ioError } from "./errors-DNWJsfVU.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.js";
4
- import { v as fromBREP } from "./faceFns-Bd3zdzrq.js";
5
- import { s as toBREP } from "./shapeFns-Bf3fSMLC.js";
6
- import { a as fuseAll } from "./booleanFns-CN5sVkm6.js";
4
+ import { v as fromBREP } from "./faceFns-CWU_70z7.js";
5
+ import { s as toBREP } from "./shapeFns-CMQD_3Rz.js";
6
+ import { a as fuseAll } from "./booleanFns-CLzeqmgT.js";
7
7
  //#region src/utils/uuid.ts
8
8
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
9
9
  function uuidv() {
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-C6gF9fGL.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.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-B7iZ_BZT.cjs");
5
+ const require_blueprint = require("./blueprint-D0HcOCoD.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) {
@@ -1,8 +1,8 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-KIrwDkmg.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-CQscfe8k.js";
2
2
  import { n as wasmIndex, t as vec3At$1 } from "./vec3-Dpha8d5k.js";
3
3
  import { A as ok, b as err, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
4
4
  import { n as getAtOrThrow } from "./arrayAccess-DrUGPADn.js";
5
- import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-DEtjb9pL.js";
5
+ import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-DUu2ps2h.js";
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-0wmojo6X.cjs");
3
- const require_importFns = require("./importFns-DK85PN5U.cjs");
2
+ const require_meshFns = require("./meshFns-B5jxU_H4.cjs");
3
+ const require_importFns = require("./importFns-B7pbqJhZ.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-BYLqZcfo.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-DpXocvJY.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-Cog1SKSV.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-BBnjqm6T.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -4,6 +4,7 @@ import { CrossSection, Vec3 } from './approximations.js';
4
4
  type ManifoldOriented = {
5
5
  rotate(r: Vec3): unknown;
6
6
  translate(t: Vec3): unknown;
7
+ transform(m: number[]): unknown;
7
8
  };
8
9
  /**
9
10
  * Place a +Z extrusion so its base sits at the section origin and it grows along
@@ -1,7 +1,7 @@
1
- import { Z as getKernel } from "./shapeTypes-KIrwDkmg.js";
1
+ import { Z as getKernel } from "./shapeTypes-CQscfe8k.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-Bkr82t7v.js";
4
- import { p as uvBounds } from "./faceFns-Bd3zdzrq.js";
3
+ import { w as kernelCallRaw } from "./topologyQueryFns-BuZ2h4o9.js";
4
+ import { p as uvBounds } from "./faceFns-CWU_70z7.js";
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
- const require_shapeTypes = require("./shapeTypes-C6gF9fGL.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-CseKGFog.cjs");
4
- const require_faceFns = require("./faceFns-7g1e493t.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-jK9Vpzqr.cjs");
4
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
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-LAuiTxIU.cjs");
2
+ const require_measureFns = require("./measureFns-HhPPUiRO.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-Pxrwu7Nl.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-Bye5UsOe.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-C6gF9fGL.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-CseKGFog.cjs");
4
- const require_shapeFns = require("./shapeFns-B15j-oke.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-jK9Vpzqr.cjs");
4
+ const require_shapeFns = require("./shapeFns-ClKe2vri.cjs");
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
- import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-KIrwDkmg.js";
1
+ import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-CQscfe8k.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-Bkr82t7v.js";
4
- import { O as getFaceOrigins } from "./shapeFns-Bf3fSMLC.js";
3
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-BuZ2h4o9.js";
4
+ import { O as getFaceOrigins } from "./shapeFns-CMQD_3Rz.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,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_historyFns = require("./historyFns-CyXK3XjV.cjs");
3
- const require_extrudeFns = require("./extrudeFns-DYn4rntp.cjs");
2
+ const require_historyFns = require("./historyFns-CDVZ3KM8.cjs");
3
+ const require_extrudeFns = require("./extrudeFns-BDgqrytA.cjs");
4
4
  exports.addChild = require_historyFns.addChild;
5
5
  exports.addStep = require_historyFns.addStep;
6
6
  exports.circularPattern = require_historyFns.circularPattern;
@@ -1,3 +1,3 @@
1
- import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-C6TSTHV4.js";
2
- import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-CaBzNeiI.js";
1
+ import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-CnUZzNHQ.js";
2
+ import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-19bOK66L.js";
3
3
  export { addChild, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, exportAssemblySTEP, findNode, findStep, getShape as getHistoryShape, gridPattern, linearPattern, modifyStep, registerOperation, registerShape, removeChild, replayFrom, replayHistory, stepCount, stepsFrom, supportExtrude, sweep, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,13 +1,13 @@
1
- const require_shapeTypes = require("./shapeTypes-C6gF9fGL.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-CseKGFog.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-jK9Vpzqr.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
- const require_faceFns = require("./faceFns-7g1e493t.cjs");
6
- const require_shapeFns = require("./shapeFns-B15j-oke.cjs");
5
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
6
+ const require_shapeFns = require("./shapeFns-ClKe2vri.cjs");
7
7
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
8
- const require_surfaceBuilders = require("./surfaceBuilders-DSgKSrN-.cjs");
9
- const require_booleanFns = require("./booleanFns-D-wTRioN.cjs");
10
- const require_solidBuilders = require("./solidBuilders-Ii8I669S.cjs");
8
+ const require_surfaceBuilders = require("./surfaceBuilders-88vLyzZe.cjs");
9
+ const require_booleanFns = require("./booleanFns-D57G9tJA.cjs");
10
+ const require_solidBuilders = require("./solidBuilders-CtxTfDlu.cjs");
11
11
  //#region src/topology/threeHelpers.ts
12
12
  /**
13
13
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,13 +1,13 @@
1
- import { Z as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-KIrwDkmg.js";
1
+ import { Z as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-CQscfe8k.js";
2
2
  import { A as ok, T as isOk, 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 { c as getFaces, i as getCachedIsValid, l as getOrCreateCache, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-Bkr82t7v.js";
3
+ import { c as getFaces, i as getCachedIsValid, l as getOrCreateCache, m as invalidateShapeCache, p as getWires, s as getEdges } from "./topologyQueryFns-BuZ2h4o9.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
- import { _ as downcast } from "./faceFns-Bd3zdzrq.js";
6
- import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-Bf3fSMLC.js";
5
+ import { _ as downcast } from "./faceFns-CWU_70z7.js";
6
+ import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-CMQD_3Rz.js";
7
7
  import { t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
8
- 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-VOedQa9z.js";
9
- import { a as fuseAll, i as fuse, n as cut, r as cutAll } from "./booleanFns-CN5sVkm6.js";
10
- 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-CN91DyTF.js";
8
+ 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-GesSUnRk.js";
9
+ import { a as fuseAll, i as fuse, n as cut, r as cutAll } from "./booleanFns-CLzeqmgT.js";
10
+ 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-U04-5yA1.js";
11
11
  //#region src/topology/threeHelpers.ts
12
12
  /**
13
13
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-BXAgEEUR.cjs");
2
+ const require_cameraFns = require("./cameraFns-DSAYGgrz.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-BTkg-7od.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-D_UnhA2O.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-qJvSmWhx.cjs");
3
- const require_cornerFinder = require("./cornerFinder-0DmLYmdL.cjs");
2
+ const require_helpers = require("./helpers-qkB-gFkC.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-Dvu2q_-E.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-DQ634U2V.js";
2
- import { t as cornerFinder } from "./cornerFinder-C_w8TN9u.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-CA8uFXQW.js";
2
+ import { t as cornerFinder } from "./cornerFinder-CszkHDW1.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-KIrwDkmg.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-CQscfe8k.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-Bkr82t7v.js";
3
+ import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-BuZ2h4o9.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
  /**
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-C6gF9fGL.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-CseKGFog.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-jK9Vpzqr.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
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-Cu3aH-S0.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-DUt-hIWq.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-C1nNU4at.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-DqmUj3wF.js";
2
2
  export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
@@ -1,8 +1,8 @@
1
1
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-CseKGFog.cjs");
3
- const require_faceFns = require("./faceFns-7g1e493t.cjs");
4
- const require_shapeFns = require("./shapeFns-B15j-oke.cjs");
5
- const require_measureFns = require("./measureFns-LAuiTxIU.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-jK9Vpzqr.cjs");
3
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
4
+ const require_shapeFns = require("./shapeFns-ClKe2vri.cjs");
5
+ const require_measureFns = require("./measureFns-HhPPUiRO.cjs");
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
  import { n as wasmIndex } from "./vec3-Dpha8d5k.js";
2
- import { c as getFaces } from "./topologyQueryFns-Bkr82t7v.js";
3
- import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-Bd3zdzrq.js";
4
- import { n as getHashCode } from "./shapeFns-Bf3fSMLC.js";
5
- import { n as measureArea } from "./measureFns-Pxrwu7Nl.js";
2
+ import { c as getFaces } from "./topologyQueryFns-BuZ2h4o9.js";
3
+ import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-CWU_70z7.js";
4
+ import { n as getHashCode } from "./shapeFns-CMQD_3Rz.js";
5
+ import { n as measureArea } from "./measureFns-Bye5UsOe.js";
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -11501,23 +11501,28 @@ function spineNodeOrSynthetic(spine) {
11501
11501
  * exact and otherwise re-bases onto the section frame.
11502
11502
  */
11503
11503
  function orientExtrusion(solid, section, dir) {
11504
- let placed = solid;
11505
- if (!(Math.abs(dir[0]) < 1e-9 && Math.abs(dir[1]) < 1e-9 && dir[2] > 0)) {
11506
- const pitch = Math.atan2(Math.hypot(dir[0], dir[1]), dir[2]) * (180 / Math.PI);
11507
- const yaw = Math.atan2(dir[1], dir[0]) * (180 / Math.PI);
11508
- placed = placed.rotate([
11509
- 0,
11510
- pitch,
11511
- yaw
11512
- ]);
11513
- }
11504
+ const x = section.xAxis;
11505
+ const y = section.yAxis;
11514
11506
  const o = section.origin;
11515
- if (o[0] !== 0 || o[1] !== 0 || o[2] !== 0) placed = placed.translate([
11507
+ const matrix = [
11508
+ x[0],
11509
+ x[1],
11510
+ x[2],
11511
+ 0,
11512
+ y[0],
11513
+ y[1],
11514
+ y[2],
11515
+ 0,
11516
+ dir[0],
11517
+ dir[1],
11518
+ dir[2],
11519
+ 0,
11516
11520
  o[0],
11517
11521
  o[1],
11518
- o[2]
11519
- ]);
11520
- return placed;
11522
+ o[2],
11523
+ 1
11524
+ ];
11525
+ return solid.transform(matrix);
11521
11526
  }
11522
11527
  /**
11523
11528
  * Express the section outline as (radius, axialOffset) pairs relative to the
@@ -11493,23 +11493,28 @@ function spineNodeOrSynthetic(spine) {
11493
11493
  * exact and otherwise re-bases onto the section frame.
11494
11494
  */
11495
11495
  function orientExtrusion(solid, section, dir) {
11496
- let placed = solid;
11497
- if (!(Math.abs(dir[0]) < 1e-9 && Math.abs(dir[1]) < 1e-9 && dir[2] > 0)) {
11498
- const pitch = Math.atan2(Math.hypot(dir[0], dir[1]), dir[2]) * (180 / Math.PI);
11499
- const yaw = Math.atan2(dir[1], dir[0]) * (180 / Math.PI);
11500
- placed = placed.rotate([
11501
- 0,
11502
- pitch,
11503
- yaw
11504
- ]);
11505
- }
11496
+ const x = section.xAxis;
11497
+ const y = section.yAxis;
11506
11498
  const o = section.origin;
11507
- if (o[0] !== 0 || o[1] !== 0 || o[2] !== 0) placed = placed.translate([
11499
+ const matrix = [
11500
+ x[0],
11501
+ x[1],
11502
+ x[2],
11503
+ 0,
11504
+ y[0],
11505
+ y[1],
11506
+ y[2],
11507
+ 0,
11508
+ dir[0],
11509
+ dir[1],
11510
+ dir[2],
11511
+ 0,
11508
11512
  o[0],
11509
11513
  o[1],
11510
- o[2]
11511
- ]);
11512
- return placed;
11514
+ o[2],
11515
+ 1
11516
+ ];
11517
+ return solid.transform(matrix);
11513
11518
  }
11514
11519
  /**
11515
11520
  * Express the section outline as (radius, axialOffset) pairs relative to the
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-BROqnpya.cjs");
3
- const require_blueprintSketcher = require("./blueprintSketcher-Bj39XtSt.cjs");
4
- const require_drawFns = require("./drawFns-CluLvJOJ.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BRqklfRI.cjs");
3
+ const require_blueprintSketcher = require("./blueprintSketcher-CWSesXXR.cjs");
4
+ const require_drawFns = require("./drawFns-BuE0lne3.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-nuOhijiI.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-CNOti33I.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-k0trqpEg.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-DelJzBzJ.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-Cw29tkrx.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-DP_2uuR2.js";
4
4
  //#region src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-C6gF9fGL.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-7g1e493t.cjs");
3
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
4
4
  //#region src/topology/shapeUtils.ts
5
5
  /**
6
6
  * Shape assembly utilities — welding and sewing operations.
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-KIrwDkmg.js";
1
+ import { Z as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-CQscfe8k.js";
2
2
  import { A as ok, R as unwrap, b as err, l as typeCastError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { _ as downcast, g as cast } from "./faceFns-Bd3zdzrq.js";
3
+ import { _ as downcast, g as cast } from "./faceFns-CWU_70z7.js";
4
4
  //#region src/topology/shapeUtils.ts
5
5
  /**
6
6
  * Shape assembly utilities — welding and sewing operations.
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-C6gF9fGL.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-7g1e493t.cjs");
3
+ const require_faceFns = require("./faceFns-BmaS4kkW.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-KIrwDkmg.js";
1
+ import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-CQscfe8k.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 { g as cast, l as outerWire } from "./faceFns-Bd3zdzrq.js";
3
+ import { g as cast, l as outerWire } from "./faceFns-CWU_70z7.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-BROqnpya.cjs");
3
- const require_textMetrics = require("./textMetrics-dS4ldSza.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BRqklfRI.cjs");
3
+ const require_textMetrics = require("./textMetrics-F2qR-eqQ.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-k0trqpEg.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-DnOTH1ld.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-DP_2uuR2.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-BAOyWVzI.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
@@ -29,18 +29,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  enumerable: true
30
30
  }) : target, mod));
31
31
  //#endregion
32
- const require_shapeTypes = require("./shapeTypes-C6gF9fGL.cjs");
32
+ const require_shapeTypes = require("./shapeTypes-CPClTSJn.cjs");
33
33
  const require_errors = require("./errors-CXJtc4I7.cjs");
34
34
  const require_types = require("./types-KjA8tY4Y.cjs");
35
35
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
36
36
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
37
- const require_faceFns = require("./faceFns-7g1e493t.cjs");
38
- const require_curveFns = require("./curveFns-BlfkX_gl.cjs");
37
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
38
+ const require_curveFns = require("./curveFns-BJLQixZw.cjs");
39
39
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
40
- const require_surfaceBuilders = require("./surfaceBuilders-DSgKSrN-.cjs");
41
- const require_blueprintSketcher = require("./blueprintSketcher-Bj39XtSt.cjs");
42
- const require_solidBuilders = require("./solidBuilders-Ii8I669S.cjs");
43
- const require_extrudeFns = require("./extrudeFns-DYn4rntp.cjs");
40
+ const require_surfaceBuilders = require("./surfaceBuilders-88vLyzZe.cjs");
41
+ const require_blueprintSketcher = require("./blueprintSketcher-CWSesXXR.cjs");
42
+ const require_solidBuilders = require("./solidBuilders-CtxTfDlu.cjs");
43
+ const require_extrudeFns = require("./extrudeFns-BDgqrytA.cjs");
44
44
  let opentype_js = require("opentype.js");
45
45
  opentype_js = __toESM(opentype_js, 1);
46
46
  //#region src/operations/loftFns.ts
@@ -1,15 +1,15 @@
1
- import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-KIrwDkmg.js";
1
+ import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-CQscfe8k.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, 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 { _ as downcast, g as cast } from "./faceFns-Bd3zdzrq.js";
7
- import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-BIj3b16T.js";
6
+ import { _ as downcast, g as cast } from "./faceFns-CWU_70z7.js";
7
+ import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-CLNHpU2N.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-VOedQa9z.js";
10
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-nuOhijiI.js";
11
- import { o as makeSolid, t as makeCompound } from "./solidBuilders-CN91DyTF.js";
12
- import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-CaBzNeiI.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-GesSUnRk.js";
10
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-DelJzBzJ.js";
11
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-U04-5yA1.js";
12
+ import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-19bOK66L.js";
13
13
  import opentype from "opentype.js";
14
14
  //#region src/operations/loftFns.ts
15
15
  /**
@@ -1,5 +1,5 @@
1
1
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
2
- import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-k0trqpEg.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-DP_2uuR2.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-BROqnpya.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-BRqklfRI.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  //#region src/text/sketchText.ts
4
4
  /**
package/dist/topology.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-CseKGFog.cjs");
3
- const require_faceFns = require("./faceFns-7g1e493t.cjs");
4
- const require_shapeFns = require("./shapeFns-B15j-oke.cjs");
5
- const require_curveFns = require("./curveFns-BlfkX_gl.cjs");
6
- const require_meshFns = require("./meshFns-0wmojo6X.cjs");
7
- const require_booleanFns = require("./booleanFns-D-wTRioN.cjs");
8
- const require_primitiveFns = require("./primitiveFns-BVpOZIFy.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-jK9Vpzqr.cjs");
3
+ const require_faceFns = require("./faceFns-BmaS4kkW.cjs");
4
+ const require_shapeFns = require("./shapeFns-ClKe2vri.cjs");
5
+ const require_curveFns = require("./curveFns-BJLQixZw.cjs");
6
+ const require_meshFns = require("./meshFns-B5jxU_H4.cjs");
7
+ const require_booleanFns = require("./booleanFns-D57G9tJA.cjs");
8
+ const require_primitiveFns = require("./primitiveFns-B_Vhus6h.cjs");
9
9
  exports.addHoles = require_primitiveFns.addHoles;
10
10
  exports.adjacentFaces = require_primitiveFns.adjacentFaces;
11
11
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,8 +1,8 @@
1
- import { S as vertexPosition, _ as iterFaces, b as iterVertices, c as getFaces, f as getVertices, g as iterEdges, m as invalidateShapeCache, n as getBounds, p as getWires, s as getEdges, x as iterWires } from "./topologyQueryFns-Bkr82t7v.js";
2
- import { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-Bd3zdzrq.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-Bf3fSMLC.js";
4
- import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-BIj3b16T.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-BYLqZcfo.js";
6
- import { a as fuseAll, r as cutAll } from "./booleanFns-CN5sVkm6.js";
7
- import { $ as fuseAllBisect, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as cutAllBisect, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-BJ5PwAOM.js";
1
+ import { S as vertexPosition, _ as iterFaces, b as iterVertices, c as getFaces, f as getVertices, g as iterEdges, m as invalidateShapeCache, n as getBounds, p as getWires, s as getEdges, x as iterWires } from "./topologyQueryFns-BuZ2h4o9.js";
2
+ import { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-CWU_70z7.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-CMQD_3Rz.js";
4
+ import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-CLNHpU2N.js";
5
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-Cog1SKSV.js";
6
+ import { a as fuseAll, r as cutAll } from "./booleanFns-CLzeqmgT.js";
7
+ import { $ as fuseAllBisect, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as cutAllBisect, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-DTg4kOPD.js";
8
8
  export { addHoles, adjacentFaces, approximateCurve, asTopo, autoHeal, bezier, box, bsplineApprox, cast, chamferDistAngle as chamferDistAngleShape, chamferWithEvolution, checkBoolean, circle, classifyPointOnFace, clearMeshCache, compound, cone, createMeshCache, curveEndPoint, curveIsClosed, curveIsPeriodic, curveLength, curvePeriod, curvePointAt, curveStartPoint, curveTangentAt, cutAll, cutAllBisect, cutWithEvolution, cylinder, fromBREP as deserializeShape, downcast, edgesOfFace, ellipse, ellipseArc, ellipsoid, exportIGES, exportSTEP, exportSTL, face, faceCenter, faceGeomType, faceOrientation, facesOfEdge, filledFace, filletWithEvolution, fixSelfIntersection, fixShape, flipFaceOrientation, flipOrientation, fuseAll, fuseAllBisect, fuseWithEvolution, getBounds, getCurveType, getEdges, getFaces, getHashCode, getNurbsCurveData, getNurbsSurfaceData, getOrientation, getSurfaceType, getVertices, getWires, healFace, healSolid, healWire, helix, innerWires, interpolateCurve, intersectWithEvolution, invalidateShapeCache, isCompSolid, isEqualShape, isSameShape, iterEdges, iterFaces, iterTopo, iterVertices, iterWires, line, normalAt, offsetFace, offsetWire2D, outerWire, pointOnSurface, polygon, positionOnCurve, projectPointOnFace, sewShells, shapeType, sharedEdges, shellWithEvolution, solid, solidFromShell, sphere, subFace, tangentArc, threePointArc, toBufferGeometryData, toGroupedBufferGeometryData, toLineGeometryData, torus, uvBounds, uvCoordinates, variableFillet, vertex, vertexPosition, verticesOfEdge, wire, wireLoop, wiresOfFace };