brepjs 20.12.9 → 20.12.10

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 (92) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{adjacencyFns-CfhGIMeR.cjs → adjacencyFns-CxdCl5WP.cjs} +3 -3
  4. package/dist/{adjacencyFns-1Cmjb2ot.js → adjacencyFns-D5HrKCrU.js} +3 -3
  5. package/dist/{blueprint-BVcuEefs.js → blueprint-BX9jLBWa.js} +5 -5
  6. package/dist/{blueprint-DbJVzU9F.cjs → blueprint-D_T-AYNd.cjs} +5 -5
  7. package/dist/{blueprintFns-DePTHG1I.cjs → blueprintFns-COoax_Qd.cjs} +2 -2
  8. package/dist/{blueprintFns-mD4pDyFP.js → blueprintFns-DD_cM248.js} +2 -2
  9. package/dist/{blueprintSketcher-BrGmq-65.js → blueprintSketcher-DtjZEmgc.js} +3 -3
  10. package/dist/{blueprintSketcher-B5CFmhjg.cjs → blueprintSketcher-wvZPUAlC.cjs} +3 -3
  11. package/dist/{boolean2D-BrHrY60M.js → boolean2D-Bpy4N2Gn.js} +4 -4
  12. package/dist/{boolean2D-CFKg1FJ_.cjs → boolean2D-DX0exPxi.cjs} +4 -4
  13. package/dist/{booleanFns-CKDyqKz0.js → booleanFns-BfHFIGG2.js} +4 -4
  14. package/dist/{booleanFns-C640CeaY.cjs → booleanFns-CJFWBMrz.cjs} +4 -4
  15. package/dist/brepjs.cjs +72 -55
  16. package/dist/brepjs.js +72 -55
  17. package/dist/{cameraFns-DIbua1lC.js → cameraFns-CQr0Z3FY.js} +3 -3
  18. package/dist/{cameraFns-hXUKJkLg.cjs → cameraFns-slop0dGo.cjs} +3 -3
  19. package/dist/core.cjs +2 -2
  20. package/dist/core.js +2 -2
  21. package/dist/{cornerFinder-ByBGU0r7.cjs → cornerFinder-B-odGaqU.cjs} +1 -1
  22. package/dist/{cornerFinder-BYDkloVc.js → cornerFinder-BGktSDIJ.js} +1 -1
  23. package/dist/{curveFns-Cqgtmhr0.cjs → curveFns-B1ZGAua6.cjs} +1 -1
  24. package/dist/{curveFns-DphpaoQ4.js → curveFns-DpAho4sY.js} +1 -1
  25. package/dist/{drawFns-GwVZX47o.cjs → drawFns-BaX0T4YH.cjs} +12 -12
  26. package/dist/{drawFns-Ch3ah8K9.js → drawFns-HPK4VIr4.js} +12 -12
  27. package/dist/{faceFns-D4cDeMRf.js → faceFns-DvnSVq5k.js} +2 -2
  28. package/dist/{faceFns-BDqVGEoB.cjs → faceFns-mca5oNNe.cjs} +2 -2
  29. package/dist/{healingFns-Fu7Xl8fu.cjs → healingFns-BY_IdHbC.cjs} +91 -22
  30. package/dist/{healingFns--vBKh5pa.js → healingFns-DYtkECby.js} +85 -22
  31. package/dist/{helpers-Wnq-YPWv.cjs → helpers-6DyPwHPE.cjs} +6 -6
  32. package/dist/{helpers-CroIo2SI.js → helpers-WdI_vPa4.js} +6 -6
  33. package/dist/{importFns-D5Bt_44J.js → importFns-D7KuHlJx.js} +5 -5
  34. package/dist/{importFns-tHr15Lhm.cjs → importFns-DN5oxh4I.cjs} +5 -5
  35. package/dist/io.cjs +2 -2
  36. package/dist/io.js +2 -2
  37. package/dist/kernel/interfaces/modifierOps.d.ts +12 -0
  38. package/dist/kernel/occtWasm/modifierOps.d.ts +8 -0
  39. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  40. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +5 -0
  41. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  42. package/dist/{loftFns-Bh_RuF7a.js → loftFns-DE21800M.js} +1 -1
  43. package/dist/{loftFns-T0GxcPlB.cjs → loftFns-Udobz6tm.cjs} +1 -1
  44. package/dist/{measureFns-C3TZ5Fj9.js → measureFns-DmL9FRQC.js} +3 -3
  45. package/dist/{measureFns-DGm6ndQY.cjs → measureFns-JNQma34N.cjs} +3 -3
  46. package/dist/measurement.cjs +2 -2
  47. package/dist/measurement.js +2 -2
  48. package/dist/{meshFns-Go1XSyUh.js → meshFns-CqLLizwL.js} +4 -4
  49. package/dist/{meshFns-DDgZ3vpr.cjs → meshFns-CsMwXvw3.cjs} +4 -4
  50. package/dist/{occtWasmAdapter-CZPZnpCe.cjs → occtWasmAdapter-DTEpwXuT.cjs} +29 -4
  51. package/dist/{occtWasmAdapter-EM3EhKwk.js → occtWasmAdapter-Dr70YU4m.js} +29 -4
  52. package/dist/operations.cjs +2 -2
  53. package/dist/operations.js +2 -2
  54. package/dist/{primitiveFns-Dg_XWYtp.cjs → primitiveFns-CE8IsnCc.cjs} +5 -5
  55. package/dist/{primitiveFns-CeRc4Sls.js → primitiveFns-DnzKWigX.js} +5 -5
  56. package/dist/{principalBoxFns-B5zdek3y.cjs → principalBoxFns-D_SbLz4g.cjs} +3 -3
  57. package/dist/{principalBoxFns-BuK-ueAB.js → principalBoxFns-wy3yRjqt.js} +3 -3
  58. package/dist/projection.cjs +1 -1
  59. package/dist/projection.js +1 -1
  60. package/dist/query.cjs +2 -2
  61. package/dist/query.js +2 -2
  62. package/dist/{refResolveFns-CFwsYCKA.cjs → refResolveFns-Bi9CTJ3m.cjs} +6 -6
  63. package/dist/{refResolveFns-WRcvVhV-.js → refResolveFns-Cd_CuhaX.js} +6 -6
  64. package/dist/{shapeFns-DuxfaqTw.cjs → shapeFns-DCiFtMCX.cjs} +2 -2
  65. package/dist/{shapeFns-CYjU8PsF.js → shapeFns-pMt-Oz0f.js} +2 -2
  66. package/dist/shapeRef.cjs +1 -1
  67. package/dist/shapeRef.js +1 -1
  68. package/dist/{shapeTypes--7XBFlOD.cjs → shapeTypes-B9ACN7a8.cjs} +1 -1
  69. package/dist/{shapeTypes-DvzbSivn.js → shapeTypes-Ccp9iVna.js} +1 -1
  70. package/dist/sketching.cjs +3 -3
  71. package/dist/sketching.js +3 -3
  72. package/dist/{solidBuilders-BqSVC4cB.js → solidBuilders-BltNQKqZ.js} +3 -3
  73. package/dist/{solidBuilders-D0bIZX9K.cjs → solidBuilders-DwqlsNW1.cjs} +3 -3
  74. package/dist/{surfaceBuilders-CPQHyL_5.cjs → surfaceBuilders-CYuQfMQj.cjs} +3 -3
  75. package/dist/{surfaceBuilders--HOoTQad.js → surfaceBuilders-CiNyRrC4.js} +3 -3
  76. package/dist/text.cjs +2 -2
  77. package/dist/text.js +2 -2
  78. package/dist/{textBlueprints-plsbHqiI.js → textBlueprints-CHXueg05.js} +8 -8
  79. package/dist/{textBlueprints-B4HzJzZM.cjs → textBlueprints-DiYY758O.cjs} +8 -8
  80. package/dist/{textMetrics-IIS6DUTr.js → textMetrics-C0rVJZVh.js} +1 -1
  81. package/dist/{textMetrics-CBwUIDI7.cjs → textMetrics-DJIhwIPL.cjs} +1 -1
  82. package/dist/{threadFns-CmZFykpi.js → threadFns-B9uxy9ud.js} +7 -7
  83. package/dist/{threadFns-e8_26ZYw.cjs → threadFns-ChWU9CVV.cjs} +7 -7
  84. package/dist/topology/apiTypes.d.ts +6 -2
  85. package/dist/topology/chamferAngleFns.d.ts +24 -0
  86. package/dist/topology.cjs +9 -9
  87. package/dist/topology.js +9 -9
  88. package/dist/{topologyQueryFns-BUzMuIs5.js → topologyQueryFns-D7j1fl0n.js} +1 -1
  89. package/dist/{topologyQueryFns-NszVx8a0.cjs → topologyQueryFns-DEax1nqt.cjs} +1 -1
  90. package/dist/{validityTypes-CdY06B8c.js → validityTypes-6AePqp-3.js} +1 -1
  91. package/dist/{validityTypes-Ds4zNICF.cjs → validityTypes-BolqrAZa.cjs} +1 -1
  92. package/package.json +1 -1
@@ -166,6 +166,11 @@ export declare class OcctWasmAdapter implements KernelAdapter {
166
166
  fillet(shape: KernelShape, edges: KernelShape[], radius: number | [number, number] | ((edge: KernelShape) => number | [number, number])): KernelShape;
167
167
  chamfer(shape: KernelShape, edges: KernelShape[], distance: number | [number, number] | ((edge: KernelShape) => number | [number, number])): KernelShape;
168
168
  chamferDistAngle(shape: KernelShape, edges: KernelShape[], distance: number, angleDeg: number): KernelShape;
169
+ chamferDistAngles(shape: KernelShape, edges: ReadonlyArray<{
170
+ edge: KernelShape;
171
+ distance: number;
172
+ angleDeg: number;
173
+ }>): KernelShape;
169
174
  shell(shape: KernelShape, faces: KernelShape[], thickness: number, tolerance?: number): KernelShape;
170
175
  thicken(shape: KernelShape, thickness: number): KernelShape;
171
176
  offset(shape: KernelShape, distance: number, tolerance?: number): KernelShape;
@@ -1 +1 @@
1
- export { t as OcctWasmAdapter } from "../../occtWasmAdapter-EM3EhKwk.js";
1
+ export { t as OcctWasmAdapter } from "../../occtWasmAdapter-Dr70YU4m.js";
@@ -1,4 +1,4 @@
1
- import { G as _usingCtx, T as isWire, h as disposeResultShape, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-DvzbSivn.js";
1
+ import { G as _usingCtx, T as isWire, h as disposeResultShape, n as castResultShape, q as getKernel, x as isShape3D } from "./shapeTypes-Ccp9iVna.js";
2
2
  import { E as ok, b as isErr, d as validationError, g as err, i as kernelError, l as typeCastError, t as BrepErrorCode } from "./errors-BTccWbtE.js";
3
3
  import { r as toVec3 } from "./types-CKXsIm9-.js";
4
4
  import { c as vecLength, t as vecAdd } from "./vecOps-S-m9H_fe.js";
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
3
  const require_types = require("./types-CjF9Rofr.cjs");
4
4
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
@@ -1,7 +1,7 @@
1
- import { q as getKernel } from "./shapeTypes-DvzbSivn.js";
1
+ import { q as getKernel } from "./shapeTypes-Ccp9iVna.js";
2
2
  import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-BTccWbtE.js";
3
- import { E as kernelCallRaw } from "./topologyQueryFns-BUzMuIs5.js";
4
- import { m as uvBounds } from "./faceFns-D4cDeMRf.js";
3
+ import { E as kernelCallRaw } from "./topologyQueryFns-D7j1fl0n.js";
4
+ import { m as uvBounds } from "./faceFns-DvnSVq5k.js";
5
5
  // 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--7XBFlOD.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-NszVx8a0.cjs");
4
- const require_faceFns = require("./faceFns-BDqVGEoB.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-DEax1nqt.cjs");
4
+ const require_faceFns = require("./faceFns-mca5oNNe.cjs");
5
5
  // src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_measureFns = require("./measureFns-DGm6ndQY.cjs");
3
- const require_principalBoxFns = require("./principalBoxFns-B5zdek3y.cjs");
2
+ const require_measureFns = require("./measureFns-JNQma34N.cjs");
3
+ const require_principalBoxFns = require("./principalBoxFns-D_SbLz4g.cjs");
4
4
  exports.createDistanceQuery = require_measureFns.createDistanceQuery;
5
5
  exports.measureArea = require_measureFns.measureArea;
6
6
  exports.measureDistance = require_measureFns.measureDistance;
@@ -1,3 +1,3 @@
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-C3TZ5Fj9.js";
2
- import { t as principalBoundingBox } from "./principalBoxFns-BuK-ueAB.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-DmL9FRQC.js";
2
+ import { t as principalBoundingBox } from "./principalBoxFns-wy3yRjqt.js";
3
3
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps, principalBoundingBox };
@@ -1,8 +1,8 @@
1
- import { q as getKernel, ut as qualityDeflection } from "./shapeTypes-DvzbSivn.js";
2
- import { j as isUnsupportedKernelOperationError } from "./occtWasmAdapter-EM3EhKwk.js";
1
+ import { q as getKernel, ut as qualityDeflection } from "./shapeTypes-Ccp9iVna.js";
2
+ import { j as isUnsupportedKernelOperationError } from "./occtWasmAdapter-Dr70YU4m.js";
3
3
  import { E as ok, g as err, r as ioError, t as BrepErrorCode, u as unsupportedError } from "./errors-BTccWbtE.js";
4
- import { d as getSolids, n as getBounds } from "./topologyQueryFns-BUzMuIs5.js";
5
- import { d as getFaceOrigins } from "./solidBuilders-BqSVC4cB.js";
4
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-D7j1fl0n.js";
5
+ import { d as getFaceOrigins } from "./solidBuilders-BltNQKqZ.js";
6
6
  // src/topology/meshCache.ts
7
7
  /**
8
8
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
2
- const require_occtWasmAdapter = require("./occtWasmAdapter-CZPZnpCe.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
2
+ const require_occtWasmAdapter = require("./occtWasmAdapter-DTEpwXuT.cjs");
3
3
  const require_errors = require("./errors-O_blYTWT.cjs");
4
- const require_topologyQueryFns = require("./topologyQueryFns-NszVx8a0.cjs");
5
- const require_solidBuilders = require("./solidBuilders-D0bIZX9K.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns-DEax1nqt.cjs");
5
+ const require_solidBuilders = require("./solidBuilders-DwqlsNW1.cjs");
6
6
  // src/topology/meshCache.ts
7
7
  /**
8
8
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -3812,14 +3812,21 @@ function chamfer(k, Module, shape, edges, distance) {
3812
3812
  faceVec.delete();
3813
3813
  }
3814
3814
  }
3815
- function chamferDistAngle(k, Module, shape, edges, distance, angleDeg) {
3815
+ /**
3816
+ * Chamfer edge i by `distances[i]` and `anglesDeg[i]`. Builds without the
3817
+ * per-edge entry point take only `shared`, the one value every edge has.
3818
+ */
3819
+ function runChamferDistAngles(k, Module, shape, edges, distances, anglesDeg, shared) {
3816
3820
  const id = unwrap(shape);
3817
3821
  const edgeVec = makeVecU32(Module, edges.map(unwrap));
3818
3822
  try {
3819
- if (!k.chamferDistAngles) return wrapResult(k, k.chamferDistAngle(id, edgeVec, distance, angleDeg));
3823
+ if (!k.chamferDistAngles) {
3824
+ if (!shared) throw needsOcctWasm59("per-edge distance-angle chamfers");
3825
+ return wrapResult(k, k.chamferDistAngle(id, edgeVec, shared.distance, shared.angleDeg));
3826
+ }
3820
3827
  const chamferDistAngles = k.chamferDistAngles.bind(k);
3821
- const distanceVec = makeVecDouble(Module, Array(edges.length).fill(distance));
3822
- const angleVec = makeVecDouble(Module, Array(edges.length).fill(angleDeg));
3828
+ const distanceVec = makeVecDouble(Module, distances);
3829
+ const angleVec = makeVecDouble(Module, anglesDeg);
3823
3830
  const faceVec = makeVecU32(Module, []);
3824
3831
  try {
3825
3832
  return wrapResult(k, reportingFaultyEdges(edges, () => chamferDistAngles(id, edgeVec, distanceVec, angleVec, faceVec)));
@@ -3832,6 +3839,21 @@ function chamferDistAngle(k, Module, shape, edges, distance, angleDeg) {
3832
3839
  edgeVec.delete();
3833
3840
  }
3834
3841
  }
3842
+ function chamferDistAngle(k, Module, shape, edges, distance, angleDeg) {
3843
+ return runChamferDistAngles(k, Module, shape, edges, Array(edges.length).fill(distance), Array(edges.length).fill(angleDeg), {
3844
+ distance,
3845
+ angleDeg
3846
+ });
3847
+ }
3848
+ /** The distance and angle every edge takes, or `undefined` when they differ. */
3849
+ function sharedDistAngle(entries) {
3850
+ const [first] = entries;
3851
+ if (first === void 0) return void 0;
3852
+ return entries.every((e) => e.distance === first.distance && e.angleDeg === first.angleDeg) ? first : void 0;
3853
+ }
3854
+ function chamferDistAngles(k, Module, shape, entries) {
3855
+ return runChamferDistAngles(k, Module, shape, entries.map((e) => e.edge), entries.map((e) => e.distance), entries.map((e) => e.angleDeg), sharedDistAngle(entries));
3856
+ }
3835
3857
  function shell(k, Module, shape, faces, thickness, tolerance) {
3836
3858
  const vec = makeVecU32(Module, faces.map(unwrap));
3837
3859
  try {
@@ -6566,6 +6588,9 @@ var OcctWasmAdapter = class OcctWasmAdapter {
6566
6588
  chamferDistAngle(shape, edges, distance, angleDeg) {
6567
6589
  return chamferDistAngle(this.k, this.Module, shape, edges, distance, angleDeg);
6568
6590
  }
6591
+ chamferDistAngles(shape, edges) {
6592
+ return chamferDistAngles(this.k, this.Module, shape, edges);
6593
+ }
6569
6594
  shell(shape, faces, thickness, tolerance) {
6570
6595
  return shell(this.k, this.Module, shape, faces, thickness, tolerance);
6571
6596
  }
@@ -3812,14 +3812,21 @@ function chamfer(k, Module, shape, edges, distance) {
3812
3812
  faceVec.delete();
3813
3813
  }
3814
3814
  }
3815
- function chamferDistAngle(k, Module, shape, edges, distance, angleDeg) {
3815
+ /**
3816
+ * Chamfer edge i by `distances[i]` and `anglesDeg[i]`. Builds without the
3817
+ * per-edge entry point take only `shared`, the one value every edge has.
3818
+ */
3819
+ function runChamferDistAngles(k, Module, shape, edges, distances, anglesDeg, shared) {
3816
3820
  const id = unwrap(shape);
3817
3821
  const edgeVec = makeVecU32(Module, edges.map(unwrap));
3818
3822
  try {
3819
- if (!k.chamferDistAngles) return wrapResult(k, k.chamferDistAngle(id, edgeVec, distance, angleDeg));
3823
+ if (!k.chamferDistAngles) {
3824
+ if (!shared) throw needsOcctWasm59("per-edge distance-angle chamfers");
3825
+ return wrapResult(k, k.chamferDistAngle(id, edgeVec, shared.distance, shared.angleDeg));
3826
+ }
3820
3827
  const chamferDistAngles = k.chamferDistAngles.bind(k);
3821
- const distanceVec = makeVecDouble(Module, Array(edges.length).fill(distance));
3822
- const angleVec = makeVecDouble(Module, Array(edges.length).fill(angleDeg));
3828
+ const distanceVec = makeVecDouble(Module, distances);
3829
+ const angleVec = makeVecDouble(Module, anglesDeg);
3823
3830
  const faceVec = makeVecU32(Module, []);
3824
3831
  try {
3825
3832
  return wrapResult(k, reportingFaultyEdges(edges, () => chamferDistAngles(id, edgeVec, distanceVec, angleVec, faceVec)));
@@ -3832,6 +3839,21 @@ function chamferDistAngle(k, Module, shape, edges, distance, angleDeg) {
3832
3839
  edgeVec.delete();
3833
3840
  }
3834
3841
  }
3842
+ function chamferDistAngle(k, Module, shape, edges, distance, angleDeg) {
3843
+ return runChamferDistAngles(k, Module, shape, edges, Array(edges.length).fill(distance), Array(edges.length).fill(angleDeg), {
3844
+ distance,
3845
+ angleDeg
3846
+ });
3847
+ }
3848
+ /** The distance and angle every edge takes, or `undefined` when they differ. */
3849
+ function sharedDistAngle(entries) {
3850
+ const [first] = entries;
3851
+ if (first === void 0) return void 0;
3852
+ return entries.every((e) => e.distance === first.distance && e.angleDeg === first.angleDeg) ? first : void 0;
3853
+ }
3854
+ function chamferDistAngles(k, Module, shape, entries) {
3855
+ return runChamferDistAngles(k, Module, shape, entries.map((e) => e.edge), entries.map((e) => e.distance), entries.map((e) => e.angleDeg), sharedDistAngle(entries));
3856
+ }
3835
3857
  function shell(k, Module, shape, faces, thickness, tolerance) {
3836
3858
  const vec = makeVecU32(Module, faces.map(unwrap));
3837
3859
  try {
@@ -6566,6 +6588,9 @@ var OcctWasmAdapter = class OcctWasmAdapter {
6566
6588
  chamferDistAngle(shape, edges, distance, angleDeg) {
6567
6589
  return chamferDistAngle(this.k, this.Module, shape, edges, distance, angleDeg);
6568
6590
  }
6591
+ chamferDistAngles(shape, edges) {
6592
+ return chamferDistAngles(this.k, this.Module, shape, edges);
6593
+ }
6569
6594
  shell(shape, faces, thickness, tolerance) {
6570
6595
  return shell(this.k, this.Module, shape, faces, thickness, tolerance);
6571
6596
  }
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-e8_26ZYw.cjs");
3
- const require_loftFns = require("./loftFns-T0GxcPlB.cjs");
2
+ const require_threadFns = require("./threadFns-ChWU9CVV.cjs");
3
+ const require_loftFns = require("./loftFns-Udobz6tm.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 walkAssembly, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as countNodes, H as circularPattern, I as createAssemblyNode, L as findNode, M as sphericalJoint, N as addChild, O as prismaticJoint, P as collectShapes, R as removeChild, S as addJoint, T as jointTransform, U as gridPattern, V as exportAssemblySTEP, W as linearPattern, Y as createAssembly, _ 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, 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 updateNode } from "./threadFns-CmZFykpi.js";
2
- import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-Bh_RuF7a.js";
1
+ import { A as setJointValue, B as walkAssembly, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as countNodes, H as circularPattern, I as createAssemblyNode, L as findNode, M as sphericalJoint, N as addChild, O as prismaticJoint, P as collectShapes, R as removeChild, S as addJoint, T as jointTransform, U as gridPattern, V as exportAssemblySTEP, W as linearPattern, Y as createAssembly, _ 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, 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 updateNode } from "./threadFns-B9uxy9ud.js";
2
+ import { c as twistExtrude, o as supportExtrude, r as complexExtrude, s as sweep } from "./loftFns-DE21800M.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,11 +1,11 @@
1
- const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_validityTypes = require("./validityTypes-Ds4zNICF.cjs");
3
+ const require_validityTypes = require("./validityTypes-BolqrAZa.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
5
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
6
- const require_solidBuilders = require("./solidBuilders-D0bIZX9K.cjs");
7
- const require_booleanFns = require("./booleanFns-C640CeaY.cjs");
8
- const require_surfaceBuilders = require("./surfaceBuilders-CPQHyL_5.cjs");
6
+ const require_solidBuilders = require("./solidBuilders-DwqlsNW1.cjs");
7
+ const require_booleanFns = require("./booleanFns-CJFWBMrz.cjs");
8
+ const require_surfaceBuilders = require("./surfaceBuilders-CYuQfMQj.cjs");
9
9
  // src/topology/transformFns.ts
10
10
  /**
11
11
  * Immutable shape transforms — translate, rotate, scale, mirror, applyMatrix.
@@ -1,11 +1,11 @@
1
- import { E as GeometryCleanupError, G as _usingCtx, d as createSolid, n as castResultShape, q as getKernel } from "./shapeTypes-DvzbSivn.js";
1
+ import { E as GeometryCleanupError, G as _usingCtx, d as createSolid, n as castResultShape, q as getKernel } from "./shapeTypes-Ccp9iVna.js";
2
2
  import { E as ok, d as validationError, g as err, m as andThen, t as BrepErrorCode } from "./errors-BTccWbtE.js";
3
- import { n as isClosedWire } from "./validityTypes-CdY06B8c.js";
3
+ import { n as isClosedWire } from "./validityTypes-6AePqp-3.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-iraOnb2p.js";
5
5
  import { d as vecNormalize, h as vecScale } from "./vecOps-S-m9H_fe.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-BqSVC4cB.js";
7
- import { d as collectInputFaceHashes, f as hasAnyMetadata, h as propagateMetadataThroughRelocation, m as propagateMetadataByHash, p as propagateAllMetadata } from "./booleanFns-CKDyqKz0.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--HOoTQad.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-BltNQKqZ.js";
7
+ import { d as collectInputFaceHashes, f as hasAnyMetadata, h as propagateMetadataThroughRelocation, m as propagateMetadataByHash, p as propagateAllMetadata } from "./booleanFns-BfHFIGG2.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-CiNyRrC4.js";
9
9
  // src/topology/transformFns.ts
10
10
  /**
11
11
  * Immutable shape transforms — translate, rotate, scale, mirror, applyMatrix.
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
2
2
  const require_bug = require("./bug-CBcpIPuf.cjs");
3
3
  const require_errors = require("./errors-O_blYTWT.cjs");
4
- const require_topologyQueryFns = require("./topologyQueryFns-NszVx8a0.cjs");
4
+ const require_topologyQueryFns = require("./topologyQueryFns-DEax1nqt.cjs");
5
5
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
6
- const require_measureFns = require("./measureFns-DGm6ndQY.cjs");
6
+ const require_measureFns = require("./measureFns-JNQma34N.cjs");
7
7
  // src/measurement/principalBoxFns.ts
8
8
  /**
9
9
  * Principal-axes bounding box: a solid's extent measured in the frame of its
@@ -1,9 +1,9 @@
1
- import { G as _usingCtx, n as castResultShape, q as getKernel } from "./shapeTypes-DvzbSivn.js";
1
+ import { G as _usingCtx, n as castResultShape, q as getKernel } from "./shapeTypes-Ccp9iVna.js";
2
2
  import { i as wasmIndex } from "./bug-ClMTAJhe.js";
3
3
  import { E as ok, d as validationError, g as err, t as BrepErrorCode, u as unsupportedError } from "./errors-BTccWbtE.js";
4
- import { E as kernelCallRaw, S as subShapeCount } from "./topologyQueryFns-BUzMuIs5.js";
4
+ import { E as kernelCallRaw, S as subShapeCount } from "./topologyQueryFns-D7j1fl0n.js";
5
5
  import { r as vecCross } from "./vecOps-S-m9H_fe.js";
6
- import { f as getCachedMeasurement, p as setCachedMeasurement } from "./measureFns-C3TZ5Fj9.js";
6
+ import { f as getCachedMeasurement, p as setCachedMeasurement } from "./measureFns-DmL9FRQC.js";
7
7
  // src/measurement/principalBoxFns.ts
8
8
  /**
9
9
  * Principal-axes bounding box: a solid's extent measured in the frame of its
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-hXUKJkLg.cjs");
2
+ const require_cameraFns = require("./cameraFns-slop0dGo.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 +1 @@
1
- export { o as PROJECTION_PLANES, t as cameraFromPlane, n as cameraLookAt, r as createCamera, s as isProjectionPlane, a as makeProjectedEdges, i as projectEdges } from "./cameraFns-DIbua1lC.js";
1
+ export { o as PROJECTION_PLANES, t as cameraFromPlane, n as cameraLookAt, r as createCamera, s as isProjectionPlane, a as makeProjectedEdges, i as projectEdges } from "./cameraFns-CQr0Z3FY.js";
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-Wnq-YPWv.cjs");
3
- const require_cornerFinder = require("./cornerFinder-ByBGU0r7.cjs");
2
+ const require_helpers = require("./helpers-6DyPwHPE.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-B-odGaqU.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-CroIo2SI.js";
2
- import { t as cornerFinder } from "./cornerFinder-BYDkloVc.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-WdI_vPa4.js";
2
+ import { t as cornerFinder } from "./cornerFinder-BGktSDIJ.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,10 +1,10 @@
1
- const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-NszVx8a0.cjs");
3
- const require_faceFns = require("./faceFns-BDqVGEoB.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-DEax1nqt.cjs");
3
+ const require_faceFns = require("./faceFns-mca5oNNe.cjs");
4
4
  const require_faceRoleFns = require("./faceRoleFns-Db5bYj4Q.cjs");
5
- const require_shapeFns = require("./shapeFns-DuxfaqTw.cjs");
6
- const require_measureFns = require("./measureFns-DGm6ndQY.cjs");
7
- const require_adjacencyFns = require("./adjacencyFns-CfhGIMeR.cjs");
5
+ const require_shapeFns = require("./shapeFns-DCiFtMCX.cjs");
6
+ const require_measureFns = require("./measureFns-JNQma34N.cjs");
7
+ const require_adjacencyFns = require("./adjacencyFns-CxdCl5WP.cjs");
8
8
  // src/topology/shapeRef/scoring.ts
9
9
  /**
10
10
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,10 +1,10 @@
1
- import { g as disposeTransientSubShape, o as castShapeWithKnownType, q as getKernel } from "./shapeTypes-DvzbSivn.js";
2
- import { c as getFaces, w as vertexPosition } from "./topologyQueryFns-BUzMuIs5.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-D4cDeMRf.js";
1
+ import { g as disposeTransientSubShape, o as castShapeWithKnownType, q as getKernel } from "./shapeTypes-Ccp9iVna.js";
2
+ import { c as getFaces, w as vertexPosition } from "./topologyQueryFns-D7j1fl0n.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-DvnSVq5k.js";
4
4
  import { t as getFaceRoles } from "./faceRoleFns-BPxzQF-n.js";
5
- import { n as getHashCode } from "./shapeFns-CYjU8PsF.js";
6
- import { n as measureArea, s as measureLength } from "./measureFns-C3TZ5Fj9.js";
7
- import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-1Cmjb2ot.js";
5
+ import { n as getHashCode } from "./shapeFns-pMt-Oz0f.js";
6
+ import { n as measureArea, s as measureLength } from "./measureFns-DmL9FRQC.js";
7
+ import { a as facesOfVertex, c as verticesOfFace, i as facesOfEdge, o as sharedEdges, s as verticesOfEdge, t as adjacentFaceHashes } from "./adjacencyFns-D5HrKCrU.js";
8
8
  // src/topology/shapeRef/scoring.ts
9
9
  /**
10
10
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-NszVx8a0.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-DEax1nqt.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
5
  // src/topology/shapeFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { q as getKernel } from "./shapeTypes-DvzbSivn.js";
1
+ import { q as getKernel } from "./shapeTypes-Ccp9iVna.js";
2
2
  import { t as BrepErrorCode } from "./errors-BTccWbtE.js";
3
- import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-BUzMuIs5.js";
3
+ import { E as kernelCallRaw, T as kernelCall } from "./topologyQueryFns-D7j1fl0n.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
5
  // src/topology/shapeFns.ts
6
6
  /**
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_refResolveFns = require("./refResolveFns-CFwsYCKA.cjs");
2
+ const require_refResolveFns = require("./refResolveFns-Bi9CTJ3m.cjs");
3
3
  exports.assignRoles = require_refResolveFns.assignRoles;
4
4
  exports.captureHint = require_refResolveFns.captureHint;
5
5
  exports.createDerivedFaceRef = require_refResolveFns.createDerivedFaceRef;
package/dist/shapeRef.js CHANGED
@@ -1 +1 @@
1
- export { h as assignRoles, g as captureHint, l as createDerivedFaceRef, p as createEdgeRef, _ as createRef, d as createVertexRef, b as defaultScorer, t as isDerivedFaceRef, n as isEdgeRef, r as isFaceRef, i as isLineageRef, a as isVertexRef, u as resolveDerivedFaceRef, m as resolveEdgeRef, o as resolveLineageRef, v as resolveRef, s as resolveRefIn, c as resolveRefParams, f as resolveVertexRef, y as updateRoles } from "./refResolveFns-WRcvVhV-.js";
1
+ export { h as assignRoles, g as captureHint, l as createDerivedFaceRef, p as createEdgeRef, _ as createRef, d as createVertexRef, b as defaultScorer, t as isDerivedFaceRef, n as isEdgeRef, r as isFaceRef, i as isLineageRef, a as isVertexRef, u as resolveDerivedFaceRef, m as resolveEdgeRef, o as resolveLineageRef, v as resolveRef, s as resolveRefIn, c as resolveRefParams, f as resolveVertexRef, y as updateRoles } from "./refResolveFns-Cd_CuhaX.js";
@@ -1,4 +1,4 @@
1
- const require_occtWasmAdapter = require("./occtWasmAdapter-CZPZnpCe.cjs");
1
+ const require_occtWasmAdapter = require("./occtWasmAdapter-DTEpwXuT.cjs");
2
2
  const require_bug = require("./bug-CBcpIPuf.cjs");
3
3
  // src/kernel/quality.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { A as UnsupportedKernelOperationError, C as reverseCurve2d$2, D as tangentCurve2d, E as serializeCurve2d$2, N as EXACT_BREP_CAPABILITIES, O as translateCurve2d$2, P as OCCT_CAPABILITIES, S as offsetCurve2d$2, T as scaleCurve2d$2, _ as makeCircle2d$2, a as buildAsciiSTL, b as mirrorAcrossAxis, c as createBBox2d, d as deserializeCurve2d$2, f as evaluateCurve2d$2, g as makeBezier2d$2, h as makeArc2dThreePoints, i as DEFAULT_STL_TOLERANCE, j as isUnsupportedKernelOperationError, k as quickHull, l as curveBounds, m as makeArc2dTangent, o as buildBinarySTL, p as intersectCurves2dFn, r as DEFAULT_STL_ANGULAR_TOLERANCE, s as addCurveToBBox, t as OcctWasmAdapter, u as curveTypeName, v as makeEllipse2d$2, w as rotateCurve2d$2, x as mirrorAtPoint, y as makeLine2d$2 } from "./occtWasmAdapter-EM3EhKwk.js";
1
+ import { A as UnsupportedKernelOperationError, C as reverseCurve2d$2, D as tangentCurve2d, E as serializeCurve2d$2, N as EXACT_BREP_CAPABILITIES, O as translateCurve2d$2, P as OCCT_CAPABILITIES, S as offsetCurve2d$2, T as scaleCurve2d$2, _ as makeCircle2d$2, a as buildAsciiSTL, b as mirrorAcrossAxis, c as createBBox2d, d as deserializeCurve2d$2, f as evaluateCurve2d$2, g as makeBezier2d$2, h as makeArc2dThreePoints, i as DEFAULT_STL_TOLERANCE, j as isUnsupportedKernelOperationError, k as quickHull, l as curveBounds, m as makeArc2dTangent, o as buildBinarySTL, p as intersectCurves2dFn, r as DEFAULT_STL_ANGULAR_TOLERANCE, s as addCurveToBBox, t as OcctWasmAdapter, u as curveTypeName, v as makeEllipse2d$2, w as rotateCurve2d$2, x as mirrorAtPoint, y as makeLine2d$2 } from "./occtWasmAdapter-Dr70YU4m.js";
2
2
  import { i as wasmIndex, r as vec3At } from "./bug-ClMTAJhe.js";
3
3
  // src/kernel/quality.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_blueprintSketcher = require("./blueprintSketcher-B5CFmhjg.cjs");
3
- const require_drawFns = require("./drawFns-GwVZX47o.cjs");
4
- const require_textBlueprints = require("./textBlueprints-B4HzJzZM.cjs");
2
+ const require_blueprintSketcher = require("./blueprintSketcher-wvZPUAlC.cjs");
3
+ const require_drawFns = require("./drawFns-BaX0T4YH.cjs");
4
+ const require_textBlueprints = require("./textBlueprints-DiYY758O.cjs");
5
5
  // 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-BrGmq-65.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-Ch3ah8K9.js";
3
- import { a as Sketches, c as compoundSketchFace, d as sketchExtrude, f as sketchFace, g as sketchWires, h as sketchSweep, l as compoundSketchLoft, m as sketchRevolve, o as Sketch, p as sketchLoft, s as compoundSketchExtrude, u as compoundSketchRevolve, y as CompoundSketch } from "./textBlueprints-plsbHqiI.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-DtjZEmgc.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-HPK4VIr4.js";
3
+ import { a as Sketches, c as compoundSketchFace, d as sketchExtrude, f as sketchFace, g as sketchWires, h as sketchSweep, l as compoundSketchLoft, m as sketchRevolve, o as Sketch, p as sketchLoft, s as compoundSketchExtrude, u as compoundSketchRevolve, y as CompoundSketch } from "./textBlueprints-CHXueg05.js";
4
4
  // src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,8 +1,8 @@
1
- import { C as isSolid, 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-DvzbSivn.js";
1
+ import { C as isSolid, 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-Ccp9iVna.js";
2
2
  import { E as ok, g as err, l as typeCastError, m as andThen } from "./errors-BTccWbtE.js";
3
- import { C as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-BUzMuIs5.js";
3
+ import { C as subShapeHashes, c as getFaces, l as getOrCreateCache, r as getCacheEntry } from "./topologyQueryFns-D7j1fl0n.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
- import { _ as cast, y as downcast } from "./faceFns-D4cDeMRf.js";
5
+ import { _ as cast, y as downcast } from "./faceFns-DvnSVq5k.js";
6
6
  // src/topology/metadata/originTrackingFns.ts
7
7
  /**
8
8
  * Face origin tracking — tag faces with integer origins and propagate
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-NszVx8a0.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-DEax1nqt.cjs");
4
4
  const require_constants = require("./constants-oee0S_x6.cjs");
5
- const require_faceFns = require("./faceFns-BDqVGEoB.cjs");
5
+ const require_faceFns = require("./faceFns-mca5oNNe.cjs");
6
6
  // src/topology/metadata/originTrackingFns.ts
7
7
  /**
8
8
  * Face origin tracking — tag faces with integer origins and propagate
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
2
2
  const require_errors = require("./errors-O_blYTWT.cjs");
3
- const require_validityTypes = require("./validityTypes-Ds4zNICF.cjs");
4
- const require_faceFns = require("./faceFns-BDqVGEoB.cjs");
3
+ const require_validityTypes = require("./validityTypes-BolqrAZa.cjs");
4
+ const require_faceFns = require("./faceFns-mca5oNNe.cjs");
5
5
  // 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-DvzbSivn.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-Ccp9iVna.js";
2
2
  import { E as ok, d as validationError, g as err, i as kernelError, m as andThen } from "./errors-BTccWbtE.js";
3
- import { a as isPlanarFace } from "./validityTypes-CdY06B8c.js";
4
- import { _ as cast, u as outerWire } from "./faceFns-D4cDeMRf.js";
3
+ import { a as isPlanarFace } from "./validityTypes-6AePqp-3.js";
4
+ import { _ as cast, u as outerWire } from "./faceFns-DvnSVq5k.js";
5
5
  // 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-B4HzJzZM.cjs");
3
- const require_textMetrics = require("./textMetrics-CBwUIDI7.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-DiYY758O.cjs");
3
+ const require_textMetrics = require("./textMetrics-DJIhwIPL.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 { i as setFallbackFont, n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-plsbHqiI.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-IIS6DUTr.js";
1
+ import { i as setFallbackFont, n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-CHXueg05.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-C0rVJZVh.js";
3
3
  export { fontMetrics, getFont, loadFont, setFallbackFont, sketchText, textBlueprints, textMetrics };
@@ -1,19 +1,19 @@
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-DvzbSivn.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-Ccp9iVna.js";
2
2
  import { n as bug } from "./bug-ClMTAJhe.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-BTccWbtE.js";
4
4
  import { n as HASH_CODE_MAX } from "./constants-iraOnb2p.js";
5
5
  import { r as toVec3 } from "./types-CKXsIm9-.js";
6
6
  import { c as vecLength, d as vecNormalize, h as vecScale, i as vecDistance, r as vecCross, t as vecAdd } from "./vecOps-S-m9H_fe.js";
7
7
  import { n as createPlane } from "./planeOps-D3yDuMux.js";
8
- import { v as copyShape } from "./faceFns-D4cDeMRf.js";
9
- import { o as makeSolid, t as makeCompound } from "./solidBuilders-BqSVC4cB.js";
10
- import { r as cutAll } from "./booleanFns-CKDyqKz0.js";
8
+ import { v as copyShape } from "./faceFns-DvnSVq5k.js";
9
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-BltNQKqZ.js";
10
+ import { r as cutAll } from "./booleanFns-BfHFIGG2.js";
11
11
  import { i as setFaceRoles } from "./faceRoleFns-BPxzQF-n.js";
12
- import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-DphpaoQ4.js";
12
+ import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-DpAho4sY.js";
13
13
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-BpgouNir.js";
14
- import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders--HOoTQad.js";
15
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-BrGmq-65.js";
16
- import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-Bh_RuF7a.js";
14
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-CiNyRrC4.js";
15
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-DtjZEmgc.js";
16
+ import { c as twistExtrude, r as complexExtrude, s as sweep, t as loft } from "./loftFns-DE21800M.js";
17
17
  import opentype from "opentype.js";
18
18
  // src/topology/shapeRef/extrudeRoleFns.ts
19
19
  /** Match tolerance as a fraction of the extrusion's size. */
@@ -1,20 +1,20 @@
1
1
  const require_rolldown_runtime = require("./rolldown-runtime-BW-eSwOZ.cjs");
2
- const require_shapeTypes = require("./shapeTypes--7XBFlOD.cjs");
2
+ const require_shapeTypes = require("./shapeTypes-B9ACN7a8.cjs");
3
3
  const require_bug = require("./bug-CBcpIPuf.cjs");
4
4
  const require_errors = require("./errors-O_blYTWT.cjs");
5
5
  const require_constants = require("./constants-oee0S_x6.cjs");
6
6
  const require_types = require("./types-CjF9Rofr.cjs");
7
7
  const require_vecOps = require("./vecOps-CrGEPPQM.cjs");
8
8
  const require_planeOps = require("./planeOps-DZfLToKZ.cjs");
9
- const require_faceFns = require("./faceFns-BDqVGEoB.cjs");
10
- const require_solidBuilders = require("./solidBuilders-D0bIZX9K.cjs");
11
- const require_booleanFns = require("./booleanFns-C640CeaY.cjs");
9
+ const require_faceFns = require("./faceFns-mca5oNNe.cjs");
10
+ const require_solidBuilders = require("./solidBuilders-DwqlsNW1.cjs");
11
+ const require_booleanFns = require("./booleanFns-CJFWBMrz.cjs");
12
12
  const require_faceRoleFns = require("./faceRoleFns-Db5bYj4Q.cjs");
13
- const require_curveFns = require("./curveFns-Cqgtmhr0.cjs");
13
+ const require_curveFns = require("./curveFns-B1ZGAua6.cjs");
14
14
  const require_arrayAccess = require("./arrayAccess-DpJYARwv.cjs");
15
- const require_surfaceBuilders = require("./surfaceBuilders-CPQHyL_5.cjs");
16
- const require_blueprintSketcher = require("./blueprintSketcher-B5CFmhjg.cjs");
17
- const require_loftFns = require("./loftFns-T0GxcPlB.cjs");
15
+ const require_surfaceBuilders = require("./surfaceBuilders-CYuQfMQj.cjs");
16
+ const require_blueprintSketcher = require("./blueprintSketcher-wvZPUAlC.cjs");
17
+ const require_loftFns = require("./loftFns-Udobz6tm.cjs");
18
18
  let opentype_js = require("opentype.js");
19
19
  opentype_js = require_rolldown_runtime.__toESM(opentype_js, 1);
20
20
  // src/topology/shapeRef/extrudeRoleFns.ts
@@ -1,5 +1,5 @@
1
1
  import { E as ok, d as validationError, g as err, t as BrepErrorCode } from "./errors-BTccWbtE.js";
2
- import { _ as wrapSketchData, a as Sketches, n as getFont, t as textBlueprints, y as CompoundSketch } from "./textBlueprints-plsbHqiI.js";
2
+ import { _ as wrapSketchData, a as Sketches, n as getFont, t as textBlueprints, y as CompoundSketch } from "./textBlueprints-CHXueg05.js";
3
3
  // src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.