brepjs 18.78.0 → 18.78.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-BE93BNYE.cjs → blueprint-B59GQsSD.cjs} +5 -5
  4. package/dist/{blueprint-BVe9JU-L.js → blueprint-BQmmwEKa.js} +5 -5
  5. package/dist/{blueprintFns-B_7kKwEZ.cjs → blueprintFns-C1kKA5qn.cjs} +2 -2
  6. package/dist/{blueprintFns-DWinspVK.js → blueprintFns-DSK1nrwo.js} +2 -2
  7. package/dist/{blueprintSketcher-D75tuXkF.cjs → blueprintSketcher-BJPBKhF3.cjs} +3 -3
  8. package/dist/{blueprintSketcher-DL-wgnVs.js → blueprintSketcher-EYqKWQh0.js} +3 -3
  9. package/dist/{boolean2D-C4Txi8U1.cjs → boolean2D-B1Di3Bpn.cjs} +4 -4
  10. package/dist/{boolean2D-OtHT7POp.js → boolean2D-COHH5tLX.js} +4 -4
  11. package/dist/brepjs.cjs +24 -24
  12. package/dist/brepjs.js +24 -24
  13. package/dist/{cameraFns-DCXqzH_m.js → cameraFns-BMrhkkOV.js} +2 -2
  14. package/dist/{cameraFns-DfSRnD1k.cjs → cameraFns-BZ_8L3gd.cjs} +2 -2
  15. package/dist/core.cjs +1 -1
  16. package/dist/core.js +1 -1
  17. package/dist/{cornerFinder-KuLU-4pQ.cjs → cornerFinder-Ey3oibK1.cjs} +1 -1
  18. package/dist/{cornerFinder-DPkLU1Of.js → cornerFinder-Fi7obttG.js} +1 -1
  19. package/dist/{curveFns-C0oCmjV2.cjs → curveFns-Ca59CNS0.cjs} +1 -1
  20. package/dist/{curveFns-B4KEYU1M.js → curveFns-CoD5E2Vl.js} +1 -1
  21. package/dist/{drawFns-DxjMxRpE.cjs → drawFns-DTpCthM5.cjs} +12 -12
  22. package/dist/{drawFns-C6h_w03r.js → drawFns-D_LwehLr.js} +12 -12
  23. package/dist/{faceFns-p0lyVuyw.cjs → faceFns-0sI6cbHe.cjs} +2 -2
  24. package/dist/{faceFns-BJ2hzXJp.js → faceFns-Cuxdy-7R.js} +2 -2
  25. package/dist/{healingFns-B7dElsC4.cjs → healingFns--PtL9j2K.cjs} +5 -5
  26. package/dist/{healingFns-DS_nK9KF.js → healingFns-Bm-NdBj_.js} +5 -5
  27. package/dist/{helpers-DTBDjbdR.cjs → helpers-B8mE35Fm.cjs} +6 -6
  28. package/dist/{helpers-C78MY-s6.js → helpers-CD8EMZ5l.js} +6 -6
  29. package/dist/{importFns-CUAiLgt_.cjs → importFns-BHEgzDLw.cjs} +2 -2
  30. package/dist/{importFns-Rv22QSn6.js → importFns-vnxBqXwv.js} +2 -2
  31. package/dist/io.cjs +2 -2
  32. package/dist/io.js +2 -2
  33. package/dist/kernel/occt/geometryQueryOps.d.ts +1 -1
  34. package/dist/{loftFns-DuxEscJB.js → loftFns-CsHOwded.js} +1 -1
  35. package/dist/{loftFns-DycLH1Pq.cjs → loftFns-DiSsI2PM.cjs} +1 -1
  36. package/dist/{measureFns-C8c6xRUE.js → measureFns-CdcufPNp.js} +3 -3
  37. package/dist/{measureFns-DnxobCbD.cjs → measureFns-nF-OXcDV.cjs} +3 -3
  38. package/dist/measurement.cjs +1 -1
  39. package/dist/measurement.js +1 -1
  40. package/dist/{meshFns-CuYzpojl.js → meshFns-BCgtjlbs.js} +3 -3
  41. package/dist/{meshFns-BawS1xNA.cjs → meshFns-CnckZa6H.cjs} +3 -3
  42. package/dist/operations.cjs +2 -2
  43. package/dist/operations.js +2 -2
  44. package/dist/{primitiveFns-BxH5omw3.js → primitiveFns-BSKbI4Kl.js} +5 -5
  45. package/dist/{primitiveFns-JRmXxbRr.cjs → primitiveFns-DEBQdEkG.cjs} +5 -5
  46. package/dist/projection.cjs +1 -1
  47. package/dist/projection.js +1 -1
  48. package/dist/query.cjs +2 -2
  49. package/dist/query.js +2 -2
  50. package/dist/{shapeFns-DZ6poxP7.js → shapeFns-BzlBMNRO.js} +2 -2
  51. package/dist/{shapeFns-D5WNrq3s.cjs → shapeFns-CecvqmYJ.cjs} +2 -2
  52. package/dist/shapeRef.cjs +1 -1
  53. package/dist/shapeRef.js +1 -1
  54. package/dist/{shapeRefFns-BOWP8n4j.cjs → shapeRefFns-BDACYYRr.cjs} +4 -4
  55. package/dist/{shapeRefFns-ClsyeZp4.js → shapeRefFns-CpRRMBKz.js} +4 -4
  56. package/dist/{shapeTypes-CxSqNvHA.cjs → shapeTypes-DWxL75W3.cjs} +4 -9
  57. package/dist/{shapeTypes-CyTY0prh.js → shapeTypes-DfQi9Kvk.js} +4 -9
  58. package/dist/sketching.cjs +3 -3
  59. package/dist/sketching.js +3 -3
  60. package/dist/{solidBuilders-BtEFUFQ9.js → solidBuilders-DnIrQYZd.js} +2 -2
  61. package/dist/{solidBuilders-diw2zyyN.cjs → solidBuilders-osLCTRG0.cjs} +2 -2
  62. package/dist/{surfaceBuilders-CPHOXRLE.cjs → surfaceBuilders-B8aVZamB.cjs} +2 -2
  63. package/dist/{surfaceBuilders-Do0rypyD.js → surfaceBuilders-hTXdNCYm.js} +2 -2
  64. package/dist/text.cjs +2 -2
  65. package/dist/text.js +2 -2
  66. package/dist/{textBlueprints-C3IbySW_.js → textBlueprints-BpqDGwdx.js} +7 -7
  67. package/dist/{textBlueprints-SKuamOmI.cjs → textBlueprints-CI3k7Izc.cjs} +7 -7
  68. package/dist/{textMetrics-Bzbkal_A.cjs → textMetrics-C4RrG9jL.cjs} +1 -1
  69. package/dist/{textMetrics--BwiJH2B.js → textMetrics-kFw-DE2w.js} +1 -1
  70. package/dist/{threadFns-D8-zfJ0b.js → threadFns-DGEyXFGP.js} +5 -5
  71. package/dist/{threadFns-aWgxzqmT.cjs → threadFns-a_C2wGGt.cjs} +5 -5
  72. package/dist/topology.cjs +7 -7
  73. package/dist/topology.js +7 -7
  74. package/dist/{topologyQueryFns-BomrmBie.js → topologyQueryFns-CqjEReSt.js} +1 -1
  75. package/dist/{topologyQueryFns-Dzxrwn-E.cjs → topologyQueryFns-DfOxu8tG.cjs} +1 -1
  76. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-CyTY0prh.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { n as wasmIndex, t as vec3At$1 } from "./vec3-Dpha8d5k.js";
3
3
  import { A as ok, b as err, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
4
4
  import { n as getAtOrThrow } from "./arrayAccess-DrUGPADn.js";
5
- import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-BVe9JU-L.js";
5
+ import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-BQmmwEKa.js";
6
6
  //#region src/io/objExportFns.ts
7
7
  /** Read a vec3 from a typed array at the given vertex index. */
8
8
  function vec3At(arr, i) {
package/dist/io.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_meshFns = require("./meshFns-BawS1xNA.cjs");
3
- const require_importFns = require("./importFns-CUAiLgt_.cjs");
2
+ const require_meshFns = require("./meshFns-CnckZa6H.cjs");
3
+ const require_importFns = require("./importFns-BHEgzDLw.cjs");
4
4
  exports.blueprintToDXF = require_importFns.blueprintToDXF;
5
5
  exports.exportDXF = require_importFns.exportDXF;
6
6
  exports.exportGlb = require_importFns.exportGlb;
package/dist/io.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-CuYzpojl.js";
2
- import { a as importSVG, c as blueprintToDXF, d as exportGltf, f as exportOBJ, i as exportSTEPConfigured, l as exportDXF, n as importSTEP, o as importSVGPathD, r as importSTL, s as exportThreeMF, t as importIGES, u as exportGlb } from "./importFns-Rv22QSn6.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-BCgtjlbs.js";
2
+ import { a as importSVG, c as blueprintToDXF, d as exportGltf, f as exportOBJ, i as exportSTEPConfigured, l as exportDXF, n as importSTEP, o as importSVGPathD, r as importSTL, s as exportThreeMF, t as importIGES, u as exportGlb } from "./importFns-vnxBqXwv.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -65,7 +65,7 @@ export declare function getBezierPenultimatePole(oc: KernelInstance, edge: Kerne
65
65
  */
66
66
  export declare function createCurveAdaptor(oc: KernelInstance, shape: KernelShape): KernelType;
67
67
  /** Extract cylinder data from a surface handle. Returns null if not a cylinder. */
68
- export declare function getSurfaceCylinderData(oc: KernelInstance, surface: KernelType): {
68
+ export declare function getSurfaceCylinderData(_oc: KernelInstance, surface: KernelType): {
69
69
  radius: number;
70
70
  isDirect: boolean;
71
71
  } | null;
@@ -1,4 +1,4 @@
1
- import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-CyTY0prh.js";
1
+ import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, y as isWire } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, w as isErr } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { c as vecLength, d as vecNormalize, t as vecAdd } from "./vecOps-SKPRvPH-.js";
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_types = require("./types-KjA8tY4Y.cjs");
4
4
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
@@ -1,7 +1,7 @@
1
- import { Z as getKernel } from "./shapeTypes-CyTY0prh.js";
1
+ import { Z as getKernel } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { w as kernelCallRaw } from "./topologyQueryFns-BomrmBie.js";
4
- import { m as uvBounds } from "./faceFns-BJ2hzXJp.js";
3
+ import { w as kernelCallRaw } from "./topologyQueryFns-CqjEReSt.js";
4
+ import { m as uvBounds } from "./faceFns-Cuxdy-7R.js";
5
5
  //#region src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-Dzxrwn-E.cjs");
4
- const require_faceFns = require("./faceFns-p0lyVuyw.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-DfOxu8tG.cjs");
4
+ const require_faceFns = require("./faceFns-0sI6cbHe.cjs");
5
5
  //#region src/measurement/measureCache.ts
6
6
  var cache = /* @__PURE__ */ new WeakMap();
7
7
  function getCachedMeasurement(shape, key) {
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_measureFns = require("./measureFns-DnxobCbD.cjs");
2
+ const require_measureFns = require("./measureFns-nF-OXcDV.cjs");
3
3
  exports.createDistanceQuery = require_measureFns.createDistanceQuery;
4
4
  exports.measureArea = require_measureFns.measureArea;
5
5
  exports.measureDistance = require_measureFns.measureDistance;
@@ -1,2 +1,2 @@
1
- import { a as measureDistance, c as measureLinearProps, d as measureVolumeProps, l as measureSurfaceProps, n as measureArea, o as measureDistanceProps, s as measureLength, t as createDistanceQuery, u as measureVolume } from "./measureFns-C8c6xRUE.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-CdcufPNp.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,7 +1,7 @@
1
- import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-CyTY0prh.js";
1
+ import { Z as getKernel, gt as qualityDeflection } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, b as err, r as ioError } from "./errors-DNWJsfVU.js";
3
- import { d as getSolids, n as getBounds } from "./topologyQueryFns-BomrmBie.js";
4
- import { O as getFaceOrigins } from "./shapeFns-DZ6poxP7.js";
3
+ import { d as getSolids, n as getBounds } from "./topologyQueryFns-CqjEReSt.js";
4
+ import { O as getFaceOrigins } from "./shapeFns-BzlBMNRO.js";
5
5
  //#region src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-Dzxrwn-E.cjs");
4
- const require_shapeFns = require("./shapeFns-D5WNrq3s.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-DfOxu8tG.cjs");
4
+ const require_shapeFns = require("./shapeFns-CecvqmYJ.cjs");
5
5
  //#region src/topology/meshCache.ts
6
6
  /**
7
7
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_threadFns = require("./threadFns-aWgxzqmT.cjs");
3
- const require_loftFns = require("./loftFns-DycLH1Pq.cjs");
2
+ const require_threadFns = require("./threadFns-a_C2wGGt.cjs");
3
+ const require_loftFns = require("./loftFns-DiSsI2PM.cjs");
4
4
  exports.addChild = require_threadFns.addChild;
5
5
  exports.addStep = require_threadFns.addStep;
6
6
  exports.circularPattern = require_threadFns.circularPattern;
@@ -1,3 +1,3 @@
1
- import { C as updateNode, D as linearPattern, E as gridPattern, O as exportAssemblySTEP, S as removeChild, T as circularPattern, _ as addChild, b as createAssemblyNode, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, k as createAssembly, 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 collectShapes, w as walkAssembly, x as findNode, y as countNodes } from "./threadFns-D8-zfJ0b.js";
2
- import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-DuxEscJB.js";
1
+ import { C as updateNode, D as linearPattern, E as gridPattern, O as exportAssemblySTEP, S as removeChild, T as circularPattern, _ as addChild, b as createAssemblyNode, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, k as createAssembly, 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 collectShapes, w as walkAssembly, x as findNode, y as countNodes } from "./threadFns-DGEyXFGP.js";
2
+ import { d as twistExtrude, l as supportExtrude, o as complexExtrude, u as sweep } from "./loftFns-CsHOwded.js";
3
3
  export { addChild, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, exportAssemblySTEP, findNode, findStep, getShape as getHistoryShape, gridPattern, linearPattern, modifyStep, registerOperation, registerShape, removeChild, replayFrom, replayHistory, stepCount, stepsFrom, supportExtrude, sweep, thread, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,13 +1,13 @@
1
- import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, x as isClosedWire } from "./shapeTypes-CyTY0prh.js";
1
+ import { Z as getKernel, c as createSolid, h as isShape3D, t as castShape, x as isClosedWire } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, R as unwrap, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, v as andThen, w as isErr } from "./errors-DNWJsfVU.js";
3
- import { f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-BomrmBie.js";
3
+ import { f as getVertices, p as getWires, s as getEdges } from "./topologyQueryFns-CqjEReSt.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  import { h as vecScale, t as vecAdd } from "./vecOps-SKPRvPH-.js";
6
6
  import { o as resolvePlane } from "./planeOps-DSjjtrjg.js";
7
- import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate, v as propagateMetadataByHash } from "./shapeFns-DZ6poxP7.js";
7
+ import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate, v as propagateMetadataByHash } from "./shapeFns-BzlBMNRO.js";
8
8
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
9
- 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-Do0rypyD.js";
10
- import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-BtEFUFQ9.js";
9
+ 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-hTXdNCYm.js";
10
+ import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-DnIrQYZd.js";
11
11
  //#region src/topology/booleanFns.ts
12
12
  /**
13
13
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
@@ -1,13 +1,13 @@
1
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-Dzxrwn-E.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-DfOxu8tG.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
6
6
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
7
- const require_shapeFns = require("./shapeFns-D5WNrq3s.cjs");
7
+ const require_shapeFns = require("./shapeFns-CecvqmYJ.cjs");
8
8
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
9
- const require_surfaceBuilders = require("./surfaceBuilders-CPHOXRLE.cjs");
10
- const require_solidBuilders = require("./solidBuilders-diw2zyyN.cjs");
9
+ const require_surfaceBuilders = require("./surfaceBuilders-B8aVZamB.cjs");
10
+ const require_solidBuilders = require("./solidBuilders-osLCTRG0.cjs");
11
11
  //#region src/topology/booleanFns.ts
12
12
  /**
13
13
  * Boolean and compound operations — functional replacements for _3DShape boolean methods.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-DfSRnD1k.cjs");
2
+ const require_cameraFns = require("./cameraFns-BZ_8L3gd.cjs");
3
3
  exports.PROJECTION_PLANES = require_cameraFns.PROJECTION_PLANES;
4
4
  exports.cameraFromPlane = require_cameraFns.cameraFromPlane;
5
5
  exports.cameraLookAt = require_cameraFns.cameraLookAt;
@@ -1,2 +1,2 @@
1
- import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-DCXqzH_m.js";
1
+ import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-BMrhkkOV.js";
2
2
  export { PROJECTION_PLANES, cameraFromPlane, cameraLookAt, createCamera, isProjectionPlane, makeProjectedEdges, projectEdges };
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-DTBDjbdR.cjs");
3
- const require_cornerFinder = require("./cornerFinder-KuLU-4pQ.cjs");
2
+ const require_helpers = require("./helpers-B8mE35Fm.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-Ey3oibK1.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-C78MY-s6.js";
2
- import { t as cornerFinder } from "./cornerFinder-DPkLU1Of.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-CD8EMZ5l.js";
2
+ import { t as cornerFinder } from "./cornerFinder-Fi7obttG.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-CyTY0prh.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
- import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-BomrmBie.js";
3
+ import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-CqjEReSt.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-Dzxrwn-E.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-DfOxu8tG.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeRefFns = require("./shapeRefFns-BOWP8n4j.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-BDACYYRr.cjs");
3
3
  exports.assignRoles = require_shapeRefFns.assignRoles;
4
4
  exports.captureHint = require_shapeRefFns.captureHint;
5
5
  exports.createRef = require_shapeRefFns.createRef;
package/dist/shapeRef.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-ClsyeZp4.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-CpRRMBKz.js";
2
2
  export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
@@ -1,8 +1,8 @@
1
1
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-Dzxrwn-E.cjs");
3
- const require_faceFns = require("./faceFns-p0lyVuyw.cjs");
4
- const require_shapeFns = require("./shapeFns-D5WNrq3s.cjs");
5
- const require_measureFns = require("./measureFns-DnxobCbD.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-DfOxu8tG.cjs");
3
+ const require_faceFns = require("./faceFns-0sI6cbHe.cjs");
4
+ const require_shapeFns = require("./shapeFns-CecvqmYJ.cjs");
5
+ const require_measureFns = require("./measureFns-nF-OXcDV.cjs");
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,8 +1,8 @@
1
1
  import { n as wasmIndex } from "./vec3-Dpha8d5k.js";
2
- import { c as getFaces } from "./topologyQueryFns-BomrmBie.js";
3
- import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-BJ2hzXJp.js";
4
- import { n as getHashCode } from "./shapeFns-DZ6poxP7.js";
5
- import { n as measureArea } from "./measureFns-C8c6xRUE.js";
2
+ import { c as getFaces } from "./topologyQueryFns-CqjEReSt.js";
3
+ import { i as faceGeomType, l as normalAt, r as faceCenter } from "./faceFns-Cuxdy-7R.js";
4
+ import { n as getHashCode } from "./shapeFns-BzlBMNRO.js";
5
+ import { n as measureArea } from "./measureFns-CdcufPNp.js";
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -2870,20 +2870,15 @@ function createCurveAdaptor$1(oc, shape) {
2870
2870
  return shape.ShapeType() === oc.TopAbs_ShapeEnum.TopAbs_WIRE ? new oc.BRepAdaptor_CompCurve_2(shape, false) : new oc.BRepAdaptor_Curve_2(shape);
2871
2871
  }
2872
2872
  /** Extract cylinder data from a surface handle. Returns null if not a cylinder. */
2873
- function getSurfaceCylinderData$1(oc, surface) {
2874
- const adaptor = new oc.GeomAdaptor_Surface_2(surface);
2875
- const typeVal = adaptor.GetType();
2876
- if ((typeof typeVal === "number" ? typeVal : Number(typeVal?.value ?? typeVal)) !== 1) {
2877
- adaptor.delete();
2878
- return null;
2879
- }
2880
- const cyl = adaptor.Cylinder();
2873
+ function getSurfaceCylinderData$1(_oc, surface) {
2874
+ const geom = surface.get();
2875
+ if (typeof geom.Cylinder !== "function") return null;
2876
+ const cyl = geom.Cylinder();
2881
2877
  const result = {
2882
2878
  radius: cyl.Radius(),
2883
2879
  isDirect: cyl.Direct()
2884
2880
  };
2885
2881
  cyl.delete();
2886
- adaptor.delete();
2887
2882
  return result;
2888
2883
  }
2889
2884
  /**
@@ -2870,20 +2870,15 @@ function createCurveAdaptor$1(oc, shape) {
2870
2870
  return shape.ShapeType() === oc.TopAbs_ShapeEnum.TopAbs_WIRE ? new oc.BRepAdaptor_CompCurve_2(shape, false) : new oc.BRepAdaptor_Curve_2(shape);
2871
2871
  }
2872
2872
  /** Extract cylinder data from a surface handle. Returns null if not a cylinder. */
2873
- function getSurfaceCylinderData$1(oc, surface) {
2874
- const adaptor = new oc.GeomAdaptor_Surface_2(surface);
2875
- const typeVal = adaptor.GetType();
2876
- if ((typeof typeVal === "number" ? typeVal : Number(typeVal?.value ?? typeVal)) !== 1) {
2877
- adaptor.delete();
2878
- return null;
2879
- }
2880
- const cyl = adaptor.Cylinder();
2873
+ function getSurfaceCylinderData$1(_oc, surface) {
2874
+ const geom = surface.get();
2875
+ if (typeof geom.Cylinder !== "function") return null;
2876
+ const cyl = geom.Cylinder();
2881
2877
  const result = {
2882
2878
  radius: cyl.Radius(),
2883
2879
  isDirect: cyl.Direct()
2884
2880
  };
2885
2881
  cyl.delete();
2886
- adaptor.delete();
2887
2882
  return result;
2888
2883
  }
2889
2884
  /**
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-SKuamOmI.cjs");
3
- const require_blueprintSketcher = require("./blueprintSketcher-D75tuXkF.cjs");
4
- const require_drawFns = require("./drawFns-DxjMxRpE.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-CI3k7Izc.cjs");
3
+ const require_blueprintSketcher = require("./blueprintSketcher-BJPBKhF3.cjs");
4
+ const require_drawFns = require("./drawFns-DTpCthM5.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-DL-wgnVs.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-C6h_w03r.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-C3IbySW_.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-EYqKWQh0.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-D_LwehLr.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-BpqDGwdx.js";
4
4
  //#region src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-CyTY0prh.js";
1
+ import { Z as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, R as unwrap, b as err, l as typeCastError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { _ as cast, v as downcast } from "./faceFns-BJ2hzXJp.js";
3
+ import { _ as cast, v as downcast } from "./faceFns-Cuxdy-7R.js";
4
4
  //#region src/topology/shapeUtils.ts
5
5
  /**
6
6
  * Shape assembly utilities — welding and sewing operations.
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-p0lyVuyw.cjs");
3
+ const require_faceFns = require("./faceFns-0sI6cbHe.cjs");
4
4
  //#region src/topology/shapeUtils.ts
5
5
  /**
6
6
  * Shape assembly utilities — welding and sewing operations.
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-p0lyVuyw.cjs");
3
+ const require_faceFns = require("./faceFns-0sI6cbHe.cjs");
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  function range(len) {
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-CyTY0prh.js";
1
+ import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { _ as cast, u as outerWire } from "./faceFns-BJ2hzXJp.js";
3
+ import { _ as cast, u as outerWire } from "./faceFns-Cuxdy-7R.js";
4
4
  //#region src/utils/range.ts
5
5
  /** Generate an array of integers `[0, 1, …, len - 1]`. */
6
6
  function range(len) {
package/dist/text.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-SKuamOmI.cjs");
3
- const require_textMetrics = require("./textMetrics-Bzbkal_A.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-CI3k7Izc.cjs");
3
+ const require_textMetrics = require("./textMetrics-C4RrG9jL.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-C3IbySW_.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics--BwiJH2B.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-BpqDGwdx.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-kFw-DE2w.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
@@ -1,15 +1,15 @@
1
- import { Z as getKernel, o as createFace, p as isFace, u as createWire } from "./shapeTypes-CyTY0prh.js";
1
+ import { Z as getKernel, o as createFace, p as isFace, u as createWire } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, R as unwrap, T as isOk, b as err, h as bug, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-SKPRvPH-.js";
5
5
  import { n as createPlane } from "./planeOps-DSjjtrjg.js";
6
- import { _ as cast, v as downcast } from "./faceFns-BJ2hzXJp.js";
7
- import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-B4KEYU1M.js";
6
+ import { _ as cast, v as downcast } from "./faceFns-Cuxdy-7R.js";
7
+ import { l as curveStartPoint, u as curveTangentAt } from "./curveFns-CoD5E2Vl.js";
8
8
  import { n as getAtOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
9
- import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-Do0rypyD.js";
10
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-DL-wgnVs.js";
11
- import { o as makeSolid, t as makeCompound } from "./solidBuilders-BtEFUFQ9.js";
12
- import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-DuxEscJB.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-hTXdNCYm.js";
10
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-EYqKWQh0.js";
11
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-DnIrQYZd.js";
12
+ import { a as revolve, d as twistExtrude, o as complexExtrude, r as extrude, t as loft, u as sweep } from "./loftFns-CsHOwded.js";
13
13
  import opentype from "opentype.js";
14
14
  //#region src/sketching/compoundSketch.ts
15
15
  /**
@@ -29,18 +29,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  enumerable: true
30
30
  }) : target, mod));
31
31
  //#endregion
32
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
32
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
33
33
  const require_errors = require("./errors-CXJtc4I7.cjs");
34
34
  const require_types = require("./types-KjA8tY4Y.cjs");
35
35
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
36
36
  const require_planeOps = require("./planeOps-BA4HfgQu.cjs");
37
- const require_faceFns = require("./faceFns-p0lyVuyw.cjs");
38
- const require_curveFns = require("./curveFns-C0oCmjV2.cjs");
37
+ const require_faceFns = require("./faceFns-0sI6cbHe.cjs");
38
+ const require_curveFns = require("./curveFns-Ca59CNS0.cjs");
39
39
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
40
- const require_surfaceBuilders = require("./surfaceBuilders-CPHOXRLE.cjs");
41
- const require_blueprintSketcher = require("./blueprintSketcher-D75tuXkF.cjs");
42
- const require_solidBuilders = require("./solidBuilders-diw2zyyN.cjs");
43
- const require_loftFns = require("./loftFns-DycLH1Pq.cjs");
40
+ const require_surfaceBuilders = require("./surfaceBuilders-B8aVZamB.cjs");
41
+ const require_blueprintSketcher = require("./blueprintSketcher-BJPBKhF3.cjs");
42
+ const require_solidBuilders = require("./solidBuilders-osLCTRG0.cjs");
43
+ const require_loftFns = require("./loftFns-DiSsI2PM.cjs");
44
44
  let opentype_js = require("opentype.js");
45
45
  opentype_js = __toESM(opentype_js, 1);
46
46
  //#region src/sketching/compoundSketch.ts
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-SKuamOmI.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-CI3k7Izc.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  //#region src/text/sketchText.ts
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
2
- import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-C3IbySW_.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-BpqDGwdx.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,10 +1,10 @@
1
- import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-CyTY0prh.js";
1
+ import { B as createKernelHandle, R as DisposalScope, Y as _usingCtx, Z as getKernel, t as castShape } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, T as isOk, b as err, d as validationError, n as computationError, r as ioError } from "./errors-DNWJsfVU.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.js";
4
- import { y as fromBREP } from "./faceFns-BJ2hzXJp.js";
5
- import { s as toBREP } from "./shapeFns-DZ6poxP7.js";
6
- import { E as wire, M as fuseAll, h as line } from "./primitiveFns-BxH5omw3.js";
7
- import { t as loft } from "./loftFns-DuxEscJB.js";
4
+ import { y as fromBREP } from "./faceFns-Cuxdy-7R.js";
5
+ import { s as toBREP } from "./shapeFns-BzlBMNRO.js";
6
+ import { E as wire, M as fuseAll, h as line } from "./primitiveFns-BSKbI4Kl.js";
7
+ import { t as loft } from "./loftFns-CsHOwded.js";
8
8
  //#region src/utils/uuid.ts
9
9
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
10
10
  function uuidv() {
@@ -1,10 +1,10 @@
1
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
4
- const require_faceFns = require("./faceFns-p0lyVuyw.cjs");
5
- const require_shapeFns = require("./shapeFns-D5WNrq3s.cjs");
6
- const require_primitiveFns = require("./primitiveFns-JRmXxbRr.cjs");
7
- const require_loftFns = require("./loftFns-DycLH1Pq.cjs");
4
+ const require_faceFns = require("./faceFns-0sI6cbHe.cjs");
5
+ const require_shapeFns = require("./shapeFns-CecvqmYJ.cjs");
6
+ const require_primitiveFns = require("./primitiveFns-DEBQdEkG.cjs");
7
+ const require_loftFns = require("./loftFns-DiSsI2PM.cjs");
8
8
  //#region src/utils/uuid.ts
9
9
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
10
10
  function uuidv() {
package/dist/topology.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-Dzxrwn-E.cjs");
3
- const require_faceFns = require("./faceFns-p0lyVuyw.cjs");
4
- const require_shapeFns = require("./shapeFns-D5WNrq3s.cjs");
5
- const require_curveFns = require("./curveFns-C0oCmjV2.cjs");
6
- const require_meshFns = require("./meshFns-BawS1xNA.cjs");
7
- const require_primitiveFns = require("./primitiveFns-JRmXxbRr.cjs");
8
- const require_healingFns = require("./healingFns-B7dElsC4.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-DfOxu8tG.cjs");
3
+ const require_faceFns = require("./faceFns-0sI6cbHe.cjs");
4
+ const require_shapeFns = require("./shapeFns-CecvqmYJ.cjs");
5
+ const require_curveFns = require("./curveFns-Ca59CNS0.cjs");
6
+ const require_meshFns = require("./meshFns-CnckZa6H.cjs");
7
+ const require_primitiveFns = require("./primitiveFns-DEBQdEkG.cjs");
8
+ const require_healingFns = require("./healingFns--PtL9j2K.cjs");
9
9
  exports.addHoles = require_primitiveFns.addHoles;
10
10
  exports.adjacentFaces = require_healingFns.adjacentFaces;
11
11
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,8 +1,8 @@
1
- import { S as vertexPosition, _ as iterFaces, b as iterVertices, c as getFaces, f as getVertices, g as iterEdges, m as invalidateShapeCache, n as getBounds, p as getWires, s as getEdges, x as iterWires } from "./topologyQueryFns-BomrmBie.js";
2
- import { S as shapeType, _ as cast, a as faceOrientation, b as isCompSolid, 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, v as downcast, x as iterTopo, y as fromBREP } from "./faceFns-BJ2hzXJp.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-DZ6poxP7.js";
4
- 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-B4KEYU1M.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-CuYzpojl.js";
6
- import { A as cutAll, C as threePointArc, D as wireLoop, E as wire, M as fuseAll, 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-BxH5omw3.js";
7
- import { A as edgesOfFace, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, F as chamferDistAngle, I as toBufferGeometryData, L as toGroupedBufferGeometryData, M as sharedEdges, N as verticesOfEdge, O as getNurbsSurfaceData, P as wiresOfFace, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as facesOfEdge, k as adjacentFaces, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution, z as toLineGeometryData } from "./healingFns-DS_nK9KF.js";
1
+ import { S as vertexPosition, _ as iterFaces, b as iterVertices, c as getFaces, f as getVertices, g as iterEdges, m as invalidateShapeCache, n as getBounds, p as getWires, s as getEdges, x as iterWires } from "./topologyQueryFns-CqjEReSt.js";
2
+ import { S as shapeType, _ as cast, a as faceOrientation, b as isCompSolid, 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, v as downcast, x as iterTopo, y as fromBREP } from "./faceFns-Cuxdy-7R.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-BzlBMNRO.js";
4
+ 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-CoD5E2Vl.js";
5
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-BCgtjlbs.js";
6
+ import { A as cutAll, C as threePointArc, D as wireLoop, E as wire, M as fuseAll, 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-BSKbI4Kl.js";
7
+ import { A as edgesOfFace, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, F as chamferDistAngle, I as toBufferGeometryData, L as toGroupedBufferGeometryData, M as sharedEdges, N as verticesOfEdge, O as getNurbsSurfaceData, P as wiresOfFace, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as facesOfEdge, k as adjacentFaces, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution, z as toLineGeometryData } from "./healingFns-Bm-NdBj_.js";
8
8
  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 { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-CyTY0prh.js";
1
+ import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-DfQi9Kvk.js";
2
2
  import { A as ok, b as err, f as getSuggestionForCode, p as translateKernelError } from "./errors-DNWJsfVU.js";
3
3
  //#region src/core/kernelCall.ts
4
4
  function buildError(kind, code, message, cause, suggestion) {
@@ -1,4 +1,4 @@
1
- const require_shapeTypes = require("./shapeTypes-CxSqNvHA.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-DWxL75W3.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  //#region src/core/kernelCall.ts
4
4
  function buildError(kind, code, message, cause, suggestion) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "18.78.0",
3
+ "version": "18.78.1",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",