brepjs 20.1.3 → 20.1.4

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/{adjacencyFns-CQbGZ_2h.js → adjacencyFns-A1SikG3N.js} +2 -2
  4. package/dist/{adjacencyFns-CP2OX1wX.cjs → adjacencyFns-C_ZNyZRx.cjs} +2 -2
  5. package/dist/{blueprint-_txOm7TL.cjs → blueprint-BsaJ4TJW.cjs} +5 -5
  6. package/dist/{blueprint-BYuKXzzD.js → blueprint-CAg8eRRu.js} +5 -5
  7. package/dist/{blueprintFns-D6o4nmi0.js → blueprintFns-BRXgJCA2.js} +2 -2
  8. package/dist/{blueprintFns-B-9bOOcx.cjs → blueprintFns-CCVf2Yat.cjs} +2 -2
  9. package/dist/{blueprintSketcher-CTYqcxF3.js → blueprintSketcher-CNbOLihr.js} +3 -3
  10. package/dist/{blueprintSketcher-CfQ4pYrf.cjs → blueprintSketcher-DobJgYX3.cjs} +3 -3
  11. package/dist/{boolean2D-Bi_wd9ni.js → boolean2D-C-TdmZUJ.js} +4 -4
  12. package/dist/{boolean2D-jm7siiyd.cjs → boolean2D-CB3xwM21.cjs} +4 -4
  13. package/dist/brepjs.cjs +28 -28
  14. package/dist/brepjs.js +28 -28
  15. package/dist/{cameraFns-DC-D-2Nj.cjs → cameraFns-BSHErz3i.cjs} +3 -3
  16. package/dist/{cameraFns-Cg-IlB_i.js → cameraFns-CdtviYur.js} +3 -3
  17. package/dist/core.cjs +2 -2
  18. package/dist/core.js +2 -2
  19. package/dist/{cornerFinder-DDIemdb_.cjs → cornerFinder-BdK6e9T-.cjs} +1 -1
  20. package/dist/{cornerFinder-G9xscVA8.js → cornerFinder-DCXsZzIe.js} +1 -1
  21. package/dist/{curveFns-Cq9dnU5h.cjs → curveFns-BXGE1xHa.cjs} +1 -1
  22. package/dist/{curveFns-BBt0SKrW.js → curveFns-D_xfC1HQ.js} +1 -1
  23. package/dist/{drawFns-wFCClDmo.cjs → drawFns-B9JThnjT.cjs} +12 -12
  24. package/dist/{drawFns-B7TZp--v.js → drawFns-CIfCWrWw.js} +12 -12
  25. package/dist/{faceFns-BntwAhgy.cjs → faceFns-CGXvMjno.cjs} +2 -2
  26. package/dist/{faceFns-BqGbnP1I.js → faceFns-CwweiLRC.js} +2 -2
  27. package/dist/{healingFns-BDJVHsX9.cjs → healingFns-D8_IZ8LC.cjs} +4 -4
  28. package/dist/{healingFns-DI8ZIWEx.js → healingFns-DVH0JBpC.js} +4 -4
  29. package/dist/{helpers-nS6yGxVL.cjs → helpers-BjKe6-M-.cjs} +6 -6
  30. package/dist/{helpers-BakyQOOb.js → helpers-jV94RJf1.js} +6 -6
  31. package/dist/{importFns-CgFHapBh.js → importFns-8OY0H66Q.js} +2 -2
  32. package/dist/{importFns-4uQMraDq.cjs → importFns-C0WKTbbQ.cjs} +2 -2
  33. package/dist/io.cjs +2 -2
  34. package/dist/io.js +2 -2
  35. package/dist/kernel/brepkit/helpers.d.ts +6 -0
  36. package/dist/{loftFns-Cz0hiYvm.cjs → loftFns-B3aEz87L.cjs} +1 -1
  37. package/dist/{loftFns-D0MrtUvr.js → loftFns-CS0JYNr4.js} +1 -1
  38. package/dist/{measureFns-BslnipRT.cjs → measureFns-CyU-fOaZ.cjs} +3 -3
  39. package/dist/{measureFns-BHkSTDdS.js → measureFns-LkW9r9Dm.js} +3 -3
  40. package/dist/measurement.cjs +1 -1
  41. package/dist/measurement.js +1 -1
  42. package/dist/{meshFns-DFYksePu.js → meshFns-BI_fEj-T.js} +3 -3
  43. package/dist/{meshFns-2hU8QTZc.cjs → meshFns-vO9xsIlB.cjs} +3 -3
  44. package/dist/operations.cjs +2 -2
  45. package/dist/operations.js +2 -2
  46. package/dist/{originTrackingFns-oJzy7VBM.js → originTrackingFns-BTBemULp.js} +2 -2
  47. package/dist/{originTrackingFns-8N_kXeHM.cjs → originTrackingFns-CuCeiMNZ.cjs} +2 -2
  48. package/dist/{primitiveFns-DZ2ngaTC.js → primitiveFns-CfxGT0nf.js} +4 -4
  49. package/dist/{primitiveFns-DbcOFbos.cjs → primitiveFns-DSUL72Md.cjs} +4 -4
  50. package/dist/projection.cjs +1 -1
  51. package/dist/projection.js +1 -1
  52. package/dist/query.cjs +2 -2
  53. package/dist/query.js +2 -2
  54. package/dist/{refResolveFns-B_M_5uXc.cjs → refResolveFns-BleIGUVN.cjs} +6 -6
  55. package/dist/{refResolveFns-D2hMK-N5.js → refResolveFns-BuS72b11.js} +6 -6
  56. package/dist/{shapeFns-sQmmlt3o.cjs → shapeFns-BsuUPJR3.cjs} +2 -2
  57. package/dist/{shapeFns-D7432Duf.js → shapeFns-DTZ96dTc.js} +2 -2
  58. package/dist/shapeRef.cjs +1 -1
  59. package/dist/shapeRef.js +1 -1
  60. package/dist/{shapeTypes-F-mWiDNM.cjs → shapeTypes-CACpB7r3.cjs} +56 -31
  61. package/dist/{shapeTypes-CvqVeaBF.js → shapeTypes-CEFHrXNb.js} +56 -31
  62. package/dist/sketching.cjs +3 -3
  63. package/dist/sketching.js +3 -3
  64. package/dist/{solidBuilders-P5QqU58X.cjs → solidBuilders-BdKU5bQ9.cjs} +5 -5
  65. package/dist/{solidBuilders-BtN0SoYt.js → solidBuilders-De11-Gp-.js} +5 -5
  66. package/dist/{surfaceBuilders-LFqrn_Wg.cjs → surfaceBuilders-BaVNAtRf.cjs} +3 -3
  67. package/dist/{surfaceBuilders-CPMPPA3X.js → surfaceBuilders-QGhgel6X.js} +3 -3
  68. package/dist/text.cjs +2 -2
  69. package/dist/text.js +2 -2
  70. package/dist/{textBlueprints-hlaGJFxM.cjs → textBlueprints-BHOADZSh.cjs} +7 -7
  71. package/dist/{textBlueprints-DUUEvFW5.js → textBlueprints-B_yfJn3S.js} +7 -7
  72. package/dist/{textMetrics-lG93PueS.js → textMetrics-C4I5t9jZ.js} +1 -1
  73. package/dist/{textMetrics-DUBMeAN5.cjs → textMetrics-DHWYuTUK.cjs} +1 -1
  74. package/dist/{threadFns-hV6THl4w.js → threadFns-BVwQUwRJ.js} +7 -7
  75. package/dist/{threadFns-DSaO6lQn.cjs → threadFns-P682L-Kg.cjs} +7 -7
  76. package/dist/topology.cjs +9 -9
  77. package/dist/topology.js +9 -9
  78. package/dist/{topologyQueryFns-Cg6xYBbL.js → topologyQueryFns-CFfTw0pA.js} +1 -1
  79. package/dist/{topologyQueryFns-67PWHI8a.cjs → topologyQueryFns-Cp390rTF.cjs} +1 -1
  80. package/dist/{validityTypes-2teHsjZJ.js → validityTypes-Biiyb5lR.js} +1 -1
  81. package/dist/{validityTypes-Q3qk10P8.cjs → validityTypes-DtfxKjGs.cjs} +1 -1
  82. package/package.json +1 -1
@@ -5393,6 +5393,16 @@ function unwrap$1(shape, expected) {
5393
5393
  function toArray(ids) {
5394
5394
  return Array.from(ids);
5395
5395
  }
5396
+ /**
5397
+ * Solid ids inside a compound. A synthetic compound exists JS-side only, so the
5398
+ * kernel rejects its id as an invalid handle; its solid children are read from
5399
+ * `syntheticCompounds` instead.
5400
+ */
5401
+ function compoundSolidIds(bk, id) {
5402
+ const synthetic = syntheticCompounds.get(id);
5403
+ if (synthetic) return synthetic.filter((h) => h.type === "solid").map((h) => h.id);
5404
+ return toArray(bk.getCompoundSolids(id));
5405
+ }
5396
5406
  /** Unwrap a shape that must be a solid, with a descriptive error naming the method. */
5397
5407
  function unwrapSolidOrThrow(shape, methodName) {
5398
5408
  if (!isBrepkitHandle(shape)) throw new Error("brepkit: expected a BrepkitHandle, got " + typeof shape);
@@ -5408,7 +5418,7 @@ function unwrapSolidsForExport(bk, shape, methodName) {
5408
5418
  if (!isBrepkitHandle(shape)) throw new Error("brepkit: expected a BrepkitHandle, got " + typeof shape);
5409
5419
  if (shape.type === "solid") return [shape.id];
5410
5420
  if (shape.type === "compound") {
5411
- const ids = toArray(bk.getCompoundSolids(shape.id));
5421
+ const ids = compoundSolidIds(bk, shape.id);
5412
5422
  if (ids.length > 0) return ids;
5413
5423
  throw new Error(`brepkit: ${methodName} received a compound with no solids.`);
5414
5424
  }
@@ -6578,7 +6588,7 @@ function isEmptyBooleanError(e) {
6578
6588
  }
6579
6589
  function isEmptyCompound(bk, h) {
6580
6590
  if (h.type !== "compound") return false;
6581
- return toArray(bk.getCompoundSolids(h.id)).length === 0;
6591
+ return compoundSolidIds(bk, h.id).length === 0;
6582
6592
  }
6583
6593
  function emptyCompound(bk) {
6584
6594
  return compoundHandle(bk.makeCompound([]));
@@ -6609,7 +6619,7 @@ function warnCompoundBaseSimplify(options, op) {
6609
6619
  */
6610
6620
  function solidIdsOf(bk, shape, methodName) {
6611
6621
  const h = shape;
6612
- if (isBrepkitHandle(shape) && h.type === "compound") return toArray(bk.getCompoundSolids(h.id));
6622
+ if (isBrepkitHandle(shape) && h.type === "compound") return compoundSolidIds(bk, h.id);
6613
6623
  return [unwrapSolidOrThrow(shape, methodName)];
6614
6624
  }
6615
6625
  function fuse(bk, shape, tool, _options) {
@@ -6627,7 +6637,7 @@ function fuse(bk, shape, tool, _options) {
6627
6637
  const baseId = unwrapSolidOrThrow(shape, "fuse");
6628
6638
  const toolHandle = tool;
6629
6639
  if (toolHandle.type === "compound") {
6630
- const toolSolidIds = toArray(bk.getCompoundSolids(toolHandle.id));
6640
+ const toolSolidIds = compoundSolidIds(bk, toolHandle.id);
6631
6641
  let currentId = baseId;
6632
6642
  for (const toolSolidId of toolSolidIds) currentId = kernelBoolean(bk, "fuse", currentId, toolSolidId, _options);
6633
6643
  return solidHandle(currentId);
@@ -6643,7 +6653,7 @@ function cut(bk, shape, tool, _options) {
6643
6653
  warnCompoundBaseSimplify(_options, "cut");
6644
6654
  const toolIds = solidIdsOf(bk, tool, "cut");
6645
6655
  const survivors = [];
6646
- for (const childId of toArray(bk.getCompoundSolids(cutBase.id))) try {
6656
+ for (const childId of compoundSolidIds(bk, cutBase.id)) try {
6647
6657
  survivors.push(bk.compoundCut(childId, new Uint32Array(toolIds)));
6648
6658
  } catch (e) {
6649
6659
  if (!isEmptyBooleanError(e)) throw e;
@@ -6654,7 +6664,7 @@ function cut(bk, shape, tool, _options) {
6654
6664
  const baseId = unwrapSolidOrThrow(shape, "cut");
6655
6665
  const toolHandle = tool;
6656
6666
  if (toolHandle.type === "compound") {
6657
- const toolSolidIds = toArray(bk.getCompoundSolids(toolHandle.id));
6667
+ const toolSolidIds = compoundSolidIds(bk, toolHandle.id);
6658
6668
  let currentId = baseId;
6659
6669
  for (const toolSolidId of toolSolidIds) try {
6660
6670
  currentId = kernelBoolean(bk, "cut", currentId, toolSolidId, _options);
@@ -6720,14 +6730,14 @@ function cutAll(bk, shape, tools, options) {
6720
6730
  const toolIds = [];
6721
6731
  for (const tool of tools) {
6722
6732
  const h = tool;
6723
- if (h.type === "compound") toolIds.push(...toArray(bk.getCompoundSolids(h.id)));
6733
+ if (h.type === "compound") toolIds.push(...compoundSolidIds(bk, h.id));
6724
6734
  else toolIds.push(unwrapSolidOrThrow(tool, "cutAll"));
6725
6735
  }
6726
6736
  if (toolIds.length === 0) return shape;
6727
6737
  const baseHandle = shape;
6728
6738
  if (isBrepkitHandle(shape) && baseHandle.type === "compound") {
6729
6739
  const survivors = [];
6730
- for (const childId of toArray(bk.getCompoundSolids(baseHandle.id))) try {
6740
+ for (const childId of compoundSolidIds(bk, baseHandle.id)) try {
6731
6741
  survivors.push(bk.compoundCut(childId, toolIds));
6732
6742
  } catch (e) {
6733
6743
  if (!isEmptyBooleanError(e)) throw e;
@@ -8020,35 +8030,42 @@ function mergeCompoundChildStep(result, accum) {
8020
8030
  }
8021
8031
  }
8022
8032
  /**
8023
- * Iteratively apply native evolution for each solid in a compound tool, chaining
8024
- * evolution maps so the original input face hashes resolve to final output hashes
8025
- * rather than intermediates.
8033
+ * Iteratively apply native evolution for each tool solid, chaining evolution
8034
+ * maps so the original input face hashes resolve to final output hashes rather
8035
+ * than intermediates.
8026
8036
  */
8027
- function applyCompoundBooleanWithHistory(bk, shape, compoundToolId, inputFaceHashes, hashUpperBound, nativeFn) {
8028
- const childSolidIds = toArray(bk.getCompoundSolids(compoundToolId));
8037
+ function applyCompoundBooleanWithHistory(shape, toolSolidIds, accum, hashUpperBound, nativeFn) {
8029
8038
  let currentShape = shape;
8030
- const accum = {
8031
- combinedModified: /* @__PURE__ */ new Map(),
8032
- combinedGenerated: /* @__PURE__ */ new Map(),
8033
- combinedDeleted: /* @__PURE__ */ new Set(),
8034
- inputFaceHashSet: new Set(inputFaceHashes)
8035
- };
8036
- for (const childId of childSolidIds) {
8039
+ for (const childId of toolSolidIds) {
8037
8040
  const ch = currentShape;
8038
8041
  if (ch.type !== "solid") break;
8039
8042
  const result = parseNativeEvolution(nativeFn(ch.id, childId), hashUpperBound);
8040
8043
  currentShape = result.shape;
8041
8044
  mergeCompoundChildStep(result, accum);
8042
8045
  }
8043
- return {
8044
- shape: currentShape,
8045
- accum
8046
- };
8046
+ return currentShape;
8047
+ }
8048
+ /**
8049
+ * The union of a tool's solids, fused one at a time with history folded into
8050
+ * `accum`, so the tool's own faces still resolve to the faces they become.
8051
+ * `undefined` once a fuse leaves no single solid.
8052
+ */
8053
+ function fuseToolWithHistory(bk, toolSolidIds, accum, hashUpperBound) {
8054
+ let union = toolSolidIds[0];
8055
+ for (const id of toolSolidIds.slice(1)) {
8056
+ if (union === void 0) return void 0;
8057
+ const step = parseNativeEvolution(bk.fuseWithEvolution(union, id), hashUpperBound);
8058
+ const fused = step.shape;
8059
+ if (fused.type !== "solid") return void 0;
8060
+ mergeCompoundChildStep(step, accum);
8061
+ union = fused.id;
8062
+ }
8063
+ return union;
8047
8064
  }
8048
8065
  /**
8049
8066
  * Shared implementation for boolean-with-history operations (fuse, cut, intersect).
8050
8067
  */
8051
- function booleanWithHistoryImpl(bk, shape, tool, inputFaceHashes, hashUpperBound, options, nativeFn, fallbackFn, _label) {
8068
+ function booleanWithHistoryImpl(bk, shape, tool, inputFaceHashes, hashUpperBound, options, nativeFn, fallbackFn, op) {
8052
8069
  const noDiagnostics = {
8053
8070
  hasErrors: false,
8054
8071
  hasWarnings: false,
@@ -8065,10 +8082,18 @@ function booleanWithHistoryImpl(bk, shape, tool, inputFaceHashes, hashUpperBound
8065
8082
  } catch (e) {
8066
8083
  if (!isEmptyBooleanError(e)) throw e;
8067
8084
  }
8068
- if (th.type === "compound") {
8069
- const { shape: resultShape, accum } = applyCompoundBooleanWithHistory(bk, shape, th.id, inputFaceHashes, hashUpperBound, nativeFn);
8085
+ const toolSolidIds = th.type === "compound" ? compoundSolidIds(bk, th.id) : [];
8086
+ if (toolSolidIds.length > 0) {
8087
+ const accum = {
8088
+ combinedModified: /* @__PURE__ */ new Map(),
8089
+ combinedGenerated: /* @__PURE__ */ new Map(),
8090
+ combinedDeleted: /* @__PURE__ */ new Set(),
8091
+ inputFaceHashSet: new Set(inputFaceHashes)
8092
+ };
8093
+ let steps = toolSolidIds;
8094
+ if (op === "intersect" && toolSolidIds.length > 1) steps = [fuseToolWithHistory(bk, toolSolidIds, accum, hashUpperBound) ?? bk.fuseAll(toolSolidIds)];
8070
8095
  return {
8071
- shape: resultShape,
8096
+ shape: applyCompoundBooleanWithHistory(shape, steps, accum, hashUpperBound, nativeFn),
8072
8097
  evolution: {
8073
8098
  modified: accum.combinedModified,
8074
8099
  generated: accum.combinedGenerated,
@@ -8099,13 +8124,13 @@ function generalTransformWithHistory(bk, shape, linear, translation, isOrthogona
8099
8124
  return buildEvolution(bk, generalTransform$1(bk, shape, linear, translation, isOrthogonal), inputFaceHashes, hashUpperBound, true);
8100
8125
  }
8101
8126
  function fuseWithHistory(bk, shape, tool, inputFaceHashes, hashUpperBound, options) {
8102
- return booleanWithHistoryImpl(bk, shape, tool, inputFaceHashes, hashUpperBound, options, (a, b) => bk.fuseWithEvolution(a, b), (s, t, o) => fuse(bk, s, t, o), "fuseWithHistory");
8127
+ return booleanWithHistoryImpl(bk, shape, tool, inputFaceHashes, hashUpperBound, options, (a, b) => bk.fuseWithEvolution(a, b), (s, t, o) => fuse(bk, s, t, o), "fuse");
8103
8128
  }
8104
8129
  function cutWithHistory(bk, shape, tool, inputFaceHashes, hashUpperBound, options) {
8105
- return booleanWithHistoryImpl(bk, shape, tool, inputFaceHashes, hashUpperBound, options, (a, b) => bk.cutWithEvolution(a, b), (s, t, o) => cut(bk, s, t, o), "cutWithHistory");
8130
+ return booleanWithHistoryImpl(bk, shape, tool, inputFaceHashes, hashUpperBound, options, (a, b) => bk.cutWithEvolution(a, b), (s, t, o) => cut(bk, s, t, o), "cut");
8106
8131
  }
8107
8132
  function intersectWithHistory(bk, shape, tool, inputFaceHashes, hashUpperBound, options) {
8108
- return booleanWithHistoryImpl(bk, shape, tool, inputFaceHashes, hashUpperBound, options, (a, b) => bk.intersectWithEvolution(a, b), (s, t, o) => intersect(bk, s, t, o), "intersectWithHistory");
8133
+ return booleanWithHistoryImpl(bk, shape, tool, inputFaceHashes, hashUpperBound, options, (a, b) => bk.intersectWithEvolution(a, b), (s, t, o) => intersect(bk, s, t, o), "intersect");
8109
8134
  }
8110
8135
  function filletWithHistory(bk, shape, edges, radius, inputFaceHashes, hashUpperBound) {
8111
8136
  return buildEvolution(bk, fillet(bk, shape, edges, radius), inputFaceHashes, hashUpperBound, false, shape);
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_blueprintSketcher = require("./blueprintSketcher-CfQ4pYrf.cjs");
3
- const require_drawFns = require("./drawFns-wFCClDmo.cjs");
4
- const require_textBlueprints = require("./textBlueprints-hlaGJFxM.cjs");
2
+ const require_blueprintSketcher = require("./blueprintSketcher-DobJgYX3.cjs");
3
+ const require_drawFns = require("./drawFns-B9JThnjT.cjs");
4
+ const require_textBlueprints = require("./textBlueprints-BHOADZSh.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-CTYqcxF3.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-B7TZp--v.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-DUUEvFW5.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-CNbOLihr.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-CIfCWrWw.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-B_yfJn3S.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
- const require_shapeTypes = require("./shapeTypes-F-mWiDNM.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CACpB7r3.cjs");
2
2
  const require_errors = require("./errors-DWezb9DI.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-67PWHI8a.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-Cp390rTF.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-CpupTCRM.cjs");
7
- const require_faceFns = require("./faceFns-BntwAhgy.cjs");
8
- const require_originTrackingFns = require("./originTrackingFns-8N_kXeHM.cjs");
7
+ const require_faceFns = require("./faceFns-CGXvMjno.cjs");
8
+ const require_originTrackingFns = require("./originTrackingFns-CuCeiMNZ.cjs");
9
9
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
10
- const require_surfaceBuilders = require("./surfaceBuilders-LFqrn_Wg.cjs");
10
+ const require_surfaceBuilders = require("./surfaceBuilders-BaVNAtRf.cjs");
11
11
  //#region src/topology/metadata/faceTagFns.ts
12
12
  var shapeTagStore = /* @__PURE__ */ new WeakMap();
13
13
  var tagMetadataStore = /* @__PURE__ */ new WeakMap();
@@ -1,13 +1,13 @@
1
- import { C as isSolid, D as getShapeKind, E as GeometryCleanupError, G as _usingCtx, S as isShell, d as createSolid, f as createVertex, h as disposeResultShape, n as castResultShape, q as getKernel, s as createCompound, x as isShape3D } from "./shapeTypes-CvqVeaBF.js";
1
+ import { C as isSolid, D as getShapeKind, E as GeometryCleanupError, G as _usingCtx, S as isShell, d as createSolid, f as createVertex, h as disposeResultShape, n as castResultShape, q as getKernel, s as createCompound, x as isShape3D } from "./shapeTypes-CEFHrXNb.js";
2
2
  import { E as ok, P as unwrap, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, m as andThen, t as BrepErrorCode } from "./errors-CTn8i3lY.js";
3
- import { S as subShapeHashes, c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-Cg6xYBbL.js";
3
+ import { S as subShapeHashes, c as getFaces, f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-CFfTw0pA.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
5
5
  import { a as vecDot, g as vecSub, h as vecScale, t as vecAdd } from "./vecOps-SKPRvPH-.js";
6
6
  import { o as resolvePlane } from "./planeOps-CkpMeheg.js";
7
- import { _ as cast, y as downcast } from "./faceFns-BqGbnP1I.js";
8
- import { n as propagateOriginsByHash, r as propagateOriginsFromEvolution, t as getFaceOrigins } from "./originTrackingFns-oJzy7VBM.js";
7
+ import { _ as cast, y as downcast } from "./faceFns-CwweiLRC.js";
8
+ import { n as propagateOriginsByHash, r as propagateOriginsFromEvolution, t as getFaceOrigins } from "./originTrackingFns-BTBemULp.js";
9
9
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
10
- import { r as makeFace } from "./surfaceBuilders-CPMPPA3X.js";
10
+ import { r as makeFace } from "./surfaceBuilders-QGhgel6X.js";
11
11
  //#region src/topology/metadata/faceTagFns.ts
12
12
  var shapeTagStore = /* @__PURE__ */ new WeakMap();
13
13
  var tagMetadataStore = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-F-mWiDNM.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CACpB7r3.cjs");
2
2
  const require_errors = require("./errors-DWezb9DI.cjs");
3
- const require_validityTypes = require("./validityTypes-Q3qk10P8.cjs");
4
- const require_faceFns = require("./faceFns-BntwAhgy.cjs");
3
+ const require_validityTypes = require("./validityTypes-DtfxKjGs.cjs");
4
+ const require_faceFns = require("./faceFns-CGXvMjno.cjs");
5
5
  //#region src/utils/range.ts
6
6
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
7
7
  function range(len) {
@@ -1,7 +1,7 @@
1
- import { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel, y as isFace } from "./shapeTypes-CvqVeaBF.js";
1
+ import { G as _usingCtx, N as DisposalScope, c as createEdge, l as createFace, p as createWire, q as getKernel, y as isFace } from "./shapeTypes-CEFHrXNb.js";
2
2
  import { E as ok, d as validationError, g as err, i as kernelError, m as andThen } from "./errors-CTn8i3lY.js";
3
- import { a as isPlanarFace } from "./validityTypes-2teHsjZJ.js";
4
- import { _ as cast, u as outerWire } from "./faceFns-BqGbnP1I.js";
3
+ import { a as isPlanarFace } from "./validityTypes-Biiyb5lR.js";
4
+ import { _ as cast, u as outerWire } from "./faceFns-CwweiLRC.js";
5
5
  //#region src/utils/range.ts
6
6
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
7
7
  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-hlaGJFxM.cjs");
3
- const require_textMetrics = require("./textMetrics-DUBMeAN5.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BHOADZSh.cjs");
3
+ const require_textMetrics = require("./textMetrics-DHWYuTUK.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-DUUEvFW5.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-lG93PueS.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-B_yfJn3S.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-C4I5t9jZ.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
@@ -1,17 +1,17 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-C0BPl7ul.cjs");
2
- const require_shapeTypes = require("./shapeTypes-F-mWiDNM.cjs");
2
+ const require_shapeTypes = require("./shapeTypes-CACpB7r3.cjs");
3
3
  const require_bug = require("./bug-O02CsAmt.cjs");
4
4
  const require_errors = require("./errors-DWezb9DI.cjs");
5
5
  const require_types = require("./types-KjA8tY4Y.cjs");
6
6
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
7
7
  const require_planeOps = require("./planeOps-CpupTCRM.cjs");
8
- const require_faceFns = require("./faceFns-BntwAhgy.cjs");
9
- const require_solidBuilders = require("./solidBuilders-P5QqU58X.cjs");
10
- const require_curveFns = require("./curveFns-Cq9dnU5h.cjs");
8
+ const require_faceFns = require("./faceFns-CGXvMjno.cjs");
9
+ const require_solidBuilders = require("./solidBuilders-BdKU5bQ9.cjs");
10
+ const require_curveFns = require("./curveFns-BXGE1xHa.cjs");
11
11
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
12
- const require_surfaceBuilders = require("./surfaceBuilders-LFqrn_Wg.cjs");
13
- const require_blueprintSketcher = require("./blueprintSketcher-CfQ4pYrf.cjs");
14
- const require_loftFns = require("./loftFns-Cz0hiYvm.cjs");
12
+ const require_surfaceBuilders = require("./surfaceBuilders-BaVNAtRf.cjs");
13
+ const require_blueprintSketcher = require("./blueprintSketcher-DobJgYX3.cjs");
14
+ const require_loftFns = require("./loftFns-B3aEz87L.cjs");
15
15
  let opentype_js = require("opentype.js");
16
16
  opentype_js = require_rolldown_runtime.__toESM(opentype_js, 1);
17
17
  //#region src/operations/extrudeFns.ts
@@ -1,16 +1,16 @@
1
- import { d as createSolid, h as disposeResultShape, l as createFace, m as disposeDowncastSource, n as castResultShape, p as createWire, q as getKernel, x as isShape3D } from "./shapeTypes-CvqVeaBF.js";
1
+ import { d as createSolid, h as disposeResultShape, l as createFace, m as disposeDowncastSource, n as castResultShape, p as createWire, q as getKernel, x as isShape3D } from "./shapeTypes-CEFHrXNb.js";
2
2
  import { n as bug } from "./bug-BdOHwn_e.js";
3
3
  import { E as ok, P as unwrap, d as validationError, g as err, i as kernelError, l as typeCastError, r as ioError, t as BrepErrorCode } from "./errors-CTn8i3lY.js";
4
4
  import { r as toVec3 } from "./types-D24Y27N0.js";
5
5
  import { c as vecLength, d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-SKPRvPH-.js";
6
6
  import { n as createPlane } from "./planeOps-CkpMeheg.js";
7
- import { v as copyShape } from "./faceFns-BqGbnP1I.js";
8
- import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-BtN0SoYt.js";
9
- import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-BBt0SKrW.js";
7
+ import { v as copyShape } from "./faceFns-CwweiLRC.js";
8
+ import { o as makeSolid, p as cutAll, t as makeCompound } from "./solidBuilders-De11-Gp-.js";
9
+ import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-D_xfC1HQ.js";
10
10
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
11
- import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-CPMPPA3X.js";
12
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-CTYqcxF3.js";
13
- import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-D0MrtUvr.js";
11
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-QGhgel6X.js";
12
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-CNbOLihr.js";
13
+ import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-CS0JYNr4.js";
14
14
  import opentype from "opentype.js";
15
15
  //#region src/operations/extrudeFns.ts
16
16
  /**
@@ -1,5 +1,5 @@
1
1
  import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-CTn8i3lY.js";
2
- import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-DUUEvFW5.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-B_yfJn3S.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,5 +1,5 @@
1
1
  const require_errors = require("./errors-DWezb9DI.cjs");
2
- const require_textBlueprints = require("./textBlueprints-hlaGJFxM.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-BHOADZSh.cjs");
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,12 +1,12 @@
1
- import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-CvqVeaBF.js";
1
+ import { F as createKernelHandle, G as _usingCtx, N as DisposalScope, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-CEFHrXNb.js";
2
2
  import { E as ok, d as validationError, g as err, n as computationError, r as ioError, t as BrepErrorCode, x as isOk } from "./errors-CTn8i3lY.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.js";
4
- import { b as fromBREP } from "./faceFns-BqGbnP1I.js";
5
- import { h as fuseAll } from "./solidBuilders-BtN0SoYt.js";
6
- import { E as wire, h as line } from "./primitiveFns-DZ2ngaTC.js";
7
- import { s as toBREP } from "./shapeFns-D7432Duf.js";
8
- import { t as loft } from "./loftFns-D0MrtUvr.js";
9
- import { c as resolveRefParams } from "./refResolveFns-D2hMK-N5.js";
4
+ import { b as fromBREP } from "./faceFns-CwweiLRC.js";
5
+ import { h as fuseAll } from "./solidBuilders-De11-Gp-.js";
6
+ import { E as wire, h as line } from "./primitiveFns-CfxGT0nf.js";
7
+ import { s as toBREP } from "./shapeFns-DTZ96dTc.js";
8
+ import { t as loft } from "./loftFns-CS0JYNr4.js";
9
+ import { c as resolveRefParams } from "./refResolveFns-BuS72b11.js";
10
10
  //#region src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
@@ -1,12 +1,12 @@
1
- const require_shapeTypes = require("./shapeTypes-F-mWiDNM.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CACpB7r3.cjs");
2
2
  const require_errors = require("./errors-DWezb9DI.cjs");
3
3
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
4
- const require_faceFns = require("./faceFns-BntwAhgy.cjs");
5
- const require_solidBuilders = require("./solidBuilders-P5QqU58X.cjs");
6
- const require_primitiveFns = require("./primitiveFns-DbcOFbos.cjs");
7
- const require_shapeFns = require("./shapeFns-sQmmlt3o.cjs");
8
- const require_loftFns = require("./loftFns-Cz0hiYvm.cjs");
9
- const require_refResolveFns = require("./refResolveFns-B_M_5uXc.cjs");
4
+ const require_faceFns = require("./faceFns-CGXvMjno.cjs");
5
+ const require_solidBuilders = require("./solidBuilders-BdKU5bQ9.cjs");
6
+ const require_primitiveFns = require("./primitiveFns-DSUL72Md.cjs");
7
+ const require_shapeFns = require("./shapeFns-BsuUPJR3.cjs");
8
+ const require_loftFns = require("./loftFns-B3aEz87L.cjs");
9
+ const require_refResolveFns = require("./refResolveFns-BleIGUVN.cjs");
10
10
  //#region src/utils/uuid.ts
11
11
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
12
12
  function uuidv() {
package/dist/topology.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-67PWHI8a.cjs");
3
- const require_faceFns = require("./faceFns-BntwAhgy.cjs");
4
- const require_solidBuilders = require("./solidBuilders-P5QqU58X.cjs");
5
- const require_primitiveFns = require("./primitiveFns-DbcOFbos.cjs");
6
- const require_shapeFns = require("./shapeFns-sQmmlt3o.cjs");
7
- const require_curveFns = require("./curveFns-Cq9dnU5h.cjs");
8
- const require_meshFns = require("./meshFns-2hU8QTZc.cjs");
9
- const require_healingFns = require("./healingFns-BDJVHsX9.cjs");
10
- const require_adjacencyFns = require("./adjacencyFns-CP2OX1wX.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-Cp390rTF.cjs");
3
+ const require_faceFns = require("./faceFns-CGXvMjno.cjs");
4
+ const require_solidBuilders = require("./solidBuilders-BdKU5bQ9.cjs");
5
+ const require_primitiveFns = require("./primitiveFns-DSUL72Md.cjs");
6
+ const require_shapeFns = require("./shapeFns-BsuUPJR3.cjs");
7
+ const require_curveFns = require("./curveFns-BXGE1xHa.cjs");
8
+ const require_meshFns = require("./meshFns-vO9xsIlB.cjs");
9
+ const require_healingFns = require("./healingFns-D8_IZ8LC.cjs");
10
+ const require_adjacencyFns = require("./adjacencyFns-C_ZNyZRx.cjs");
11
11
  exports.addHoles = require_primitiveFns.addHoles;
12
12
  exports.adjacentFaces = require_adjacencyFns.adjacentFaces;
13
13
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,10 +1,10 @@
1
- import { C 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-Cg6xYBbL.js";
2
- import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-BqGbnP1I.js";
3
- import { h as fuseAll, p as cutAll } from "./solidBuilders-BtN0SoYt.js";
4
- import { C as threePointArc, D as wireLoop, E as wire, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere, c as cylinder, d as ellipsoid, f as face, g as offsetFace, h as line, i as bsplineApprox, l as ellipse, m as helix, n as bezier, o as compound, p as filledFace, r as box, s as cone, t as addHoles, u as ellipseArc, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-DZ2ngaTC.js";
5
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-D7432Duf.js";
6
- import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as getCurveType, h as offsetWire2D, i as curveIsClosed, l as curveStartPoint, m as interpolateCurve, n as curveAxis, o as curveLength, p as getOrientation, r as curveEndPoint, s as curvePeriod, t as approximateCurve, u as curveTangentAt } from "./curveFns-BBt0SKrW.js";
7
- import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-DFYksePu.js";
8
- import { A as toBufferGeometryData, P as toLineGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toGroupedBufferGeometryData, k as variableFillet, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns-DI8ZIWEx.js";
9
- import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-CQbGZ_2h.js";
1
+ import { C 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-CFfTw0pA.js";
2
+ import { C as shapeType, S as iterTopo, _ as cast, a as faceOrientation, b as fromBREP, c as innerWires, d as pointOnSurface, f as projectPointOnFace, g as asTopo, h as uvCoordinates, i as faceGeomType, l as normalAt, m as uvBounds, n as faceAxis, o as flipFaceOrientation, r as faceCenter, s as getSurfaceType, t as classifyPointOnFace, u as outerWire, x as isCompSolid, y as downcast } from "./faceFns-CwweiLRC.js";
3
+ import { h as fuseAll, p as cutAll } from "./solidBuilders-De11-Gp-.js";
4
+ import { C as threePointArc, D as wireLoop, E as wire, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere, c as cylinder, d as ellipsoid, f as face, g as offsetFace, h as line, i as bsplineApprox, l as ellipse, m as helix, n as bezier, o as compound, p as filledFace, r as box, s as cone, t as addHoles, u as ellipseArc, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-CfxGT0nf.js";
5
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-DTZ96dTc.js";
6
+ import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as getCurveType, h as offsetWire2D, i as curveIsClosed, l as curveStartPoint, m as interpolateCurve, n as curveAxis, o as curveLength, p as getOrientation, r as curveEndPoint, s as curvePeriod, t as approximateCurve, u as curveTangentAt } from "./curveFns-D_xfC1HQ.js";
7
+ import { d as clearMeshCache, f as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-BI_fEj-T.js";
8
+ import { A as toBufferGeometryData, P as toLineGeometryData, S as chamferDistAngle, _ as checkBoolean, a as healFace, b as getNurbsCurveData, d as chamferWithEvolution, f as cutWithEvolution, g as shellWithEvolution, h as intersectWithEvolution, j as toGroupedBufferGeometryData, k as variableFillet, l as solidFromShell, m as fuseWithEvolution, n as fixSelfIntersection, o as healSolid, p as filletWithEvolution, r as fixShape, s as healWire, t as autoHeal, u as positionOnCurve, v as cutAllBisect, x as getNurbsSurfaceData, y as fuseAllBisect } from "./healingFns-DVH0JBpC.js";
9
+ import { i as facesOfEdge, l as wiresOfFace, n as adjacentFaces, o as sharedEdges, r as edgesOfFace, s as verticesOfEdge } from "./adjacencyFns-A1SikG3N.js";
10
10
  export { addHoles, adjacentFaces, approximateCurve, asTopo, autoHeal, bezier, box, bsplineApprox, cast, chamferDistAngle as chamferDistAngleShape, chamferWithEvolution, checkBoolean, circle, classifyPointOnFace, clearMeshCache, compound, cone, createMeshCache, curveAxis, curveEndPoint, curveIsClosed, curveIsPeriodic, curveLength, curvePeriod, curvePointAt, curveStartPoint, curveTangentAt, cutAll, cutAllBisect, cutWithEvolution, cylinder, fromBREP as deserializeShape, downcast, edgesOfFace, ellipse, ellipseArc, ellipsoid, exportIGES, exportSTEP, exportSTL, face, faceAxis, 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 };
@@ -1,4 +1,4 @@
1
- import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-CvqVeaBF.js";
1
+ import { G as _usingCtx, N as DisposalScope, O as getOrQueryType, n as castResultShape, q as getKernel, r as castResultShapeWithKnownType } from "./shapeTypes-CEFHrXNb.js";
2
2
  import { E as ok, g as err } from "./errors-CTn8i3lY.js";
3
3
  import { n as HASH_CODE_MAX } from "./constants-ITRzCnCp.js";
4
4
  //#region src/core/kernelErrorTranslation.ts
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-F-mWiDNM.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CACpB7r3.cjs");
2
2
  const require_errors = require("./errors-DWezb9DI.cjs");
3
3
  const require_constants = require("./constants-BOVyEYGH.cjs");
4
4
  //#region src/core/kernelErrorTranslation.ts
@@ -1,4 +1,4 @@
1
- import { q as getKernel } from "./shapeTypes-CvqVeaBF.js";
1
+ import { q as getKernel } from "./shapeTypes-CEFHrXNb.js";
2
2
  import { E as ok, g as err } from "./errors-CTn8i3lY.js";
3
3
  //#region src/core/validityTypes.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-F-mWiDNM.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CACpB7r3.cjs");
2
2
  const require_errors = require("./errors-DWezb9DI.cjs");
3
3
  //#region src/core/validityTypes.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "20.1.3",
3
+ "version": "20.1.4",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",