brepjs 18.35.1 → 18.35.3

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 (83) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-BF0DcVwE.cjs → blueprint-BZtQ37hZ.cjs} +5 -5
  4. package/dist/{blueprint-KwH2JNPU.js → blueprint-BugZrlJZ.js} +5 -5
  5. package/dist/{blueprintFns-CbPsMijw.cjs → blueprintFns-Cd6RX-3U.cjs} +2 -2
  6. package/dist/{blueprintFns-X7jVGGUE.js → blueprintFns-DZreBQDw.js} +2 -2
  7. package/dist/{blueprintSketcher-BwFpbp0B.js → blueprintSketcher-Br9S5j8n.js} +3 -3
  8. package/dist/{blueprintSketcher-m18T1U1T.cjs → blueprintSketcher-CeUtlreY.cjs} +3 -3
  9. package/dist/{boolean2D-BzlbvCIH.cjs → boolean2D-B30MyM5A.cjs} +4 -4
  10. package/dist/{boolean2D-DAq015PP.js → boolean2D-jMwDLuLK.js} +4 -4
  11. package/dist/{booleanFns-nHsLqZ7Y.js → booleanFns-BPWMgD1t.js} +4 -4
  12. package/dist/{booleanFns-D19tR8Gn.cjs → booleanFns-NkgP7bZA.cjs} +4 -4
  13. package/dist/brepjs.cjs +25 -25
  14. package/dist/brepjs.js +25 -25
  15. package/dist/{cameraFns-Bhjy2SuC.js → cameraFns-B5FrSRRP.js} +2 -2
  16. package/dist/{cameraFns-D_8-JO0p.cjs → cameraFns-Bb5fmsNi.cjs} +2 -2
  17. package/dist/core.cjs +1 -1
  18. package/dist/core.js +1 -1
  19. package/dist/{cornerFinder-U6kzoCXY.js → cornerFinder-NT0nEY2D.js} +1 -1
  20. package/dist/{cornerFinder-Bmp3Vm5g.cjs → cornerFinder-Nd00yMHA.cjs} +1 -1
  21. package/dist/{curveFns-rUkX4tEm.js → curveFns-D1IaRpWu.js} +1 -1
  22. package/dist/{curveFns-p1YEnmZu.cjs → curveFns-tBJhB6jA.cjs} +1 -1
  23. package/dist/{drawFns-ZhKR7xa0.js → drawFns-BetA5msk.js} +12 -12
  24. package/dist/{drawFns-BGIQ1IeV.cjs → drawFns-C9WFdiAW.cjs} +12 -12
  25. package/dist/{extrudeFns-DpRGUaxD.cjs → extrudeFns-Bg-IXT_O.cjs} +1 -1
  26. package/dist/{extrudeFns-Cl_azGgy.js → extrudeFns-DWeYb6cu.js} +1 -1
  27. package/dist/{faceFns-eVWgSIzt.js → faceFns-DBEEcVC-.js} +2 -2
  28. package/dist/{faceFns-C6qUr_gw.cjs → faceFns-ThsHosgU.cjs} +2 -2
  29. package/dist/{helpers-BhJOo535.js → helpers-D2RrISk0.js} +6 -6
  30. package/dist/{helpers-DNVILwHA.cjs → helpers-D6XMORWy.cjs} +6 -6
  31. package/dist/{historyFns-ByJG4mBP.js → historyFns-BSSA9qoA.js} +4 -4
  32. package/dist/{historyFns-C2glA6vu.cjs → historyFns-DrjICLPB.cjs} +4 -4
  33. package/dist/{importFns-CJc5NYJp.cjs → importFns-B7nffQNd.cjs} +2 -2
  34. package/dist/{importFns-DuAmdf0Q.js → importFns-Cq-bKeDn.js} +2 -2
  35. package/dist/io.cjs +2 -2
  36. package/dist/io.js +2 -2
  37. package/dist/kernel/occtWasm/constructionOps.d.ts +1 -0
  38. package/dist/kernel/occtWasm/ioOps.d.ts +1 -1
  39. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  40. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  41. package/dist/kernel/occtWasm/occtWasmTypes.d.ts +7 -2
  42. package/dist/kernel/occtWasm/sweepOps.d.ts +1 -1
  43. package/dist/{measureFns-D7lxkIjt.cjs → measureFns-BT_G8lXZ.cjs} +3 -3
  44. package/dist/{measureFns-BiflqrZ_.js → measureFns-BTn_t0LK.js} +3 -3
  45. package/dist/measurement.cjs +1 -1
  46. package/dist/measurement.js +1 -1
  47. package/dist/{meshFns-D66okPxP.cjs → meshFns-BcYvu4zj.cjs} +37 -4
  48. package/dist/{meshFns-Bbm7_5wS.js → meshFns-CR68GwS8.js} +37 -4
  49. package/dist/{occtWasmAdapter-COKB8ItA.js → occtWasmAdapter-DUruQhFF.js} +42 -40
  50. package/dist/{occtWasmAdapter-CdyaMnBW.cjs → occtWasmAdapter-R8zCS1h7.cjs} +42 -40
  51. package/dist/operations.cjs +2 -2
  52. package/dist/operations.js +2 -2
  53. package/dist/{primitiveFns-vQh7Lz7B.js → primitiveFns-BjeLfI12.js} +7 -7
  54. package/dist/{primitiveFns-CXn9Jl4q.cjs → primitiveFns-DtY84t7q.cjs} +7 -7
  55. package/dist/projection.cjs +1 -1
  56. package/dist/projection.js +1 -1
  57. package/dist/query.cjs +2 -2
  58. package/dist/query.js +2 -2
  59. package/dist/{shapeFns-B3v9_keQ.cjs → shapeFns-lDEvCF5Q.cjs} +2 -2
  60. package/dist/{shapeFns-BbHQjI5-.js → shapeFns-oS8Us7JQ.js} +2 -2
  61. package/dist/shapeRef.cjs +1 -1
  62. package/dist/shapeRef.js +1 -1
  63. package/dist/{shapeRefFns-BOsX8Tim.js → shapeRefFns-C2DbyKEO.js} +4 -4
  64. package/dist/{shapeRefFns-CkafUjdM.cjs → shapeRefFns-DHioZfFV.cjs} +4 -4
  65. package/dist/{shapeTypes-C-MpR5-e.js → shapeTypes-BH-9bXON.js} +1 -1
  66. package/dist/{shapeTypes-Bbh2doYh.cjs → shapeTypes-BiX2PjaO.cjs} +1 -1
  67. package/dist/sketching.cjs +3 -3
  68. package/dist/sketching.js +3 -3
  69. package/dist/{solidBuilders-C44fKbQQ.js → solidBuilders-BiduNSRx.js} +2 -2
  70. package/dist/{solidBuilders-Ck6gpdQR.cjs → solidBuilders-DR3oU7Fb.cjs} +2 -2
  71. package/dist/{surfaceBuilders-DsISMCwj.cjs → surfaceBuilders-s2Uo2ard.cjs} +2 -2
  72. package/dist/{surfaceBuilders-D4p1YPCz.js → surfaceBuilders-xmm7fFbW.js} +2 -2
  73. package/dist/text.cjs +2 -2
  74. package/dist/text.js +2 -2
  75. package/dist/{textBlueprints-C93RophN.cjs → textBlueprints-Ca1NcWQg.cjs} +7 -7
  76. package/dist/{textBlueprints-BKdQqBn8.js → textBlueprints-DRh48_Fo.js} +7 -7
  77. package/dist/{textMetrics-DEmVsP5C.js → textMetrics-BU6Ow8mb.js} +1 -1
  78. package/dist/{textMetrics-2vq4PFfz.cjs → textMetrics-CGN19mAp.cjs} +1 -1
  79. package/dist/topology.cjs +7 -7
  80. package/dist/topology.js +7 -7
  81. package/dist/{topologyQueryFns-B81GSST_.js → topologyQueryFns-B8uqQlEU.js} +1 -1
  82. package/dist/{topologyQueryFns-C0kAqcn5.cjs → topologyQueryFns-BoMkI1jZ.cjs} +1 -1
  83. package/package.json +1 -1
package/dist/query.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-BhJOo535.js";
2
- import { t as cornerFinder } from "./cornerFinder-U6kzoCXY.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-D2RrISk0.js";
2
+ import { t as cornerFinder } from "./cornerFinder-NT0nEY2D.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-Bbh2doYh.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BiX2PjaO.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-C0kAqcn5.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BoMkI1jZ.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-C-MpR5-e.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-BH-9bXON.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-B81GSST_.js";
3
+ import { C as kernelCall, c as getFaces, l as getOrCreateCache, r as getCacheEntry, w as kernelCallRaw } from "./topologyQueryFns-B8uqQlEU.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeRefFns = require("./shapeRefFns-CkafUjdM.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-DHioZfFV.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-BOsX8Tim.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-C2DbyKEO.js";
2
2
  export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
@@ -1,8 +1,8 @@
1
1
  import { n as wasmIndex } from "./vec3-Dpha8d5k.js";
2
- import { c as getFaces } from "./topologyQueryFns-B81GSST_.js";
3
- import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-eVWgSIzt.js";
4
- import { n as getHashCode } from "./shapeFns-BbHQjI5-.js";
5
- import { n as measureArea } from "./measureFns-BiflqrZ_.js";
2
+ import { c as getFaces } from "./topologyQueryFns-B8uqQlEU.js";
3
+ import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-DBEEcVC-.js";
4
+ import { n as getHashCode } from "./shapeFns-oS8Us7JQ.js";
5
+ import { n as measureArea } from "./measureFns-BTn_t0LK.js";
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,8 +1,8 @@
1
1
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
2
- const require_topologyQueryFns = require("./topologyQueryFns-C0kAqcn5.cjs");
3
- const require_faceFns = require("./faceFns-C6qUr_gw.cjs");
4
- const require_shapeFns = require("./shapeFns-B3v9_keQ.cjs");
5
- const require_measureFns = require("./measureFns-D7lxkIjt.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BoMkI1jZ.cjs");
3
+ const require_faceFns = require("./faceFns-ThsHosgU.cjs");
4
+ const require_shapeFns = require("./shapeFns-lDEvCF5Q.cjs");
5
+ const require_measureFns = require("./measureFns-BT_G8lXZ.cjs");
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,5 +1,5 @@
1
1
  import { n as wasmIndex, t as vec3At } from "./vec3-Dpha8d5k.js";
2
- import { _ as serializeCurve2d$2, a as curveTypeName, c as intersectCurves2dFn, d as makeEllipse2d$2, f as makeLine2d$2, g as scaleCurve2d$2, h as rotateCurve2d$2, i as curveBounds, l as makeBezier2d$2, m as mirrorAtPoint, n as addCurveToBBox, o as deserializeCurve2d$2, p as mirrorAcrossAxis, r as createBBox2d, s as evaluateCurve2d$2, u as makeCircle2d$2, v as tangentCurve2d, y as translateCurve2d$2 } from "./occtWasmAdapter-COKB8ItA.js";
2
+ import { _ as serializeCurve2d$2, a as curveTypeName, c as intersectCurves2dFn, d as makeEllipse2d$2, f as makeLine2d$2, g as scaleCurve2d$2, h as rotateCurve2d$2, i as curveBounds, l as makeBezier2d$2, m as mirrorAtPoint, n as addCurveToBBox, o as deserializeCurve2d$2, p as mirrorAcrossAxis, r as createBBox2d, s as evaluateCurve2d$2, u as makeCircle2d$2, v as tangentCurve2d, y as translateCurve2d$2 } from "./occtWasmAdapter-DUruQhFF.js";
3
3
  import { A as ok, b as err } from "./errors-DNWJsfVU.js";
4
4
  //#region src/kernel/kernel2dTypes.ts
5
5
  /** Check if the kernel supports 2D geometry operations. */
@@ -1,5 +1,5 @@
1
1
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
2
- const require_occtWasmAdapter = require("./occtWasmAdapter-CdyaMnBW.cjs");
2
+ const require_occtWasmAdapter = require("./occtWasmAdapter-R8zCS1h7.cjs");
3
3
  const require_errors = require("./errors-CXJtc4I7.cjs");
4
4
  //#region src/kernel/kernel2dTypes.ts
5
5
  /** Check if the kernel supports 2D geometry operations. */
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-C93RophN.cjs");
3
- const require_blueprintSketcher = require("./blueprintSketcher-m18T1U1T.cjs");
4
- const require_drawFns = require("./drawFns-BGIQ1IeV.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-Ca1NcWQg.cjs");
3
+ const require_blueprintSketcher = require("./blueprintSketcher-CeUtlreY.cjs");
4
+ const require_drawFns = require("./drawFns-C9WFdiAW.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-BwFpbp0B.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-ZhKR7xa0.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-BKdQqBn8.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-Br9S5j8n.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-BetA5msk.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-DRh48_Fo.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-C-MpR5-e.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-BH-9bXON.js";
2
2
  import { A as ok, R as unwrap, b as err, l as typeCastError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { _ as downcast, g as cast } from "./faceFns-eVWgSIzt.js";
3
+ import { _ as downcast, g as cast } from "./faceFns-DBEEcVC-.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-Bbh2doYh.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BiX2PjaO.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-C6qUr_gw.cjs");
3
+ const require_faceFns = require("./faceFns-ThsHosgU.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-Bbh2doYh.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BiX2PjaO.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
- const require_faceFns = require("./faceFns-C6qUr_gw.cjs");
3
+ const require_faceFns = require("./faceFns-ThsHosgU.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-C-MpR5-e.js";
1
+ import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-BH-9bXON.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-DNWJsfVU.js";
3
- import { g as cast, l as outerWire } from "./faceFns-eVWgSIzt.js";
3
+ import { g as cast, l as outerWire } from "./faceFns-DBEEcVC-.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-C93RophN.cjs");
3
- const require_textMetrics = require("./textMetrics-2vq4PFfz.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-Ca1NcWQg.cjs");
3
+ const require_textMetrics = require("./textMetrics-CGN19mAp.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-BKdQqBn8.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-DEmVsP5C.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-DRh48_Fo.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-BU6Ow8mb.js";
3
3
  export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
@@ -29,18 +29,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  enumerable: true
30
30
  }) : target, mod));
31
31
  //#endregion
32
- const require_shapeTypes = require("./shapeTypes-Bbh2doYh.cjs");
32
+ const require_shapeTypes = require("./shapeTypes-BiX2PjaO.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-C6qUr_gw.cjs");
38
- const require_curveFns = require("./curveFns-p1YEnmZu.cjs");
37
+ const require_faceFns = require("./faceFns-ThsHosgU.cjs");
38
+ const require_curveFns = require("./curveFns-tBJhB6jA.cjs");
39
39
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
40
- const require_surfaceBuilders = require("./surfaceBuilders-DsISMCwj.cjs");
41
- const require_blueprintSketcher = require("./blueprintSketcher-m18T1U1T.cjs");
42
- const require_solidBuilders = require("./solidBuilders-Ck6gpdQR.cjs");
43
- const require_extrudeFns = require("./extrudeFns-DpRGUaxD.cjs");
40
+ const require_surfaceBuilders = require("./surfaceBuilders-s2Uo2ard.cjs");
41
+ const require_blueprintSketcher = require("./blueprintSketcher-CeUtlreY.cjs");
42
+ const require_solidBuilders = require("./solidBuilders-DR3oU7Fb.cjs");
43
+ const require_extrudeFns = require("./extrudeFns-Bg-IXT_O.cjs");
44
44
  let opentype_js = require("opentype.js");
45
45
  opentype_js = __toESM(opentype_js, 1);
46
46
  //#region src/operations/loftFns.ts
@@ -1,15 +1,15 @@
1
- import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-C-MpR5-e.js";
1
+ import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-BH-9bXON.js";
2
2
  import { A as ok, R as unwrap, T as isOk, b as err, d as validationError, h as bug, i as kernelError, l as typeCastError, r as ioError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
3
3
  import { r as toVec3 } from "./types-D24Y27N0.js";
4
4
  import { d as vecNormalize, h as vecScale, r as vecCross } from "./vecOps-SKPRvPH-.js";
5
5
  import { n as createPlane } from "./planeOps-DSjjtrjg.js";
6
- import { _ as downcast, g as cast } from "./faceFns-eVWgSIzt.js";
7
- import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-rUkX4tEm.js";
6
+ import { _ as downcast, g as cast } from "./faceFns-DBEEcVC-.js";
7
+ import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-D1IaRpWu.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-D4p1YPCz.js";
10
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-BwFpbp0B.js";
11
- import { o as makeSolid, t as makeCompound } from "./solidBuilders-C44fKbQQ.js";
12
- import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-Cl_azGgy.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-xmm7fFbW.js";
10
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-Br9S5j8n.js";
11
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-BiduNSRx.js";
12
+ import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-DWeYb6cu.js";
13
13
  import opentype from "opentype.js";
14
14
  //#region src/operations/loftFns.ts
15
15
  /**
@@ -1,5 +1,5 @@
1
1
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DNWJsfVU.js";
2
- import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-BKdQqBn8.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-DRh48_Fo.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.
@@ -1,4 +1,4 @@
1
- const require_textBlueprints = require("./textBlueprints-C93RophN.cjs");
1
+ const require_textBlueprints = require("./textBlueprints-Ca1NcWQg.cjs");
2
2
  const require_errors = require("./errors-CXJtc4I7.cjs");
3
3
  //#region src/text/sketchText.ts
4
4
  /**
package/dist/topology.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_topologyQueryFns = require("./topologyQueryFns-C0kAqcn5.cjs");
3
- const require_faceFns = require("./faceFns-C6qUr_gw.cjs");
4
- const require_shapeFns = require("./shapeFns-B3v9_keQ.cjs");
5
- const require_curveFns = require("./curveFns-p1YEnmZu.cjs");
6
- const require_meshFns = require("./meshFns-D66okPxP.cjs");
7
- const require_booleanFns = require("./booleanFns-D19tR8Gn.cjs");
8
- const require_primitiveFns = require("./primitiveFns-CXn9Jl4q.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-BoMkI1jZ.cjs");
3
+ const require_faceFns = require("./faceFns-ThsHosgU.cjs");
4
+ const require_shapeFns = require("./shapeFns-lDEvCF5Q.cjs");
5
+ const require_curveFns = require("./curveFns-tBJhB6jA.cjs");
6
+ const require_meshFns = require("./meshFns-BcYvu4zj.cjs");
7
+ const require_booleanFns = require("./booleanFns-NkgP7bZA.cjs");
8
+ const require_primitiveFns = require("./primitiveFns-DtY84t7q.cjs");
9
9
  exports.addHoles = require_primitiveFns.addHoles;
10
10
  exports.adjacentFaces = require_primitiveFns.adjacentFaces;
11
11
  exports.approximateCurve = require_curveFns.approximateCurve;
package/dist/topology.js CHANGED
@@ -1,8 +1,8 @@
1
- import { S as vertexPosition, _ as iterFaces, b as iterVertices, c as getFaces, f as getVertices, g as iterEdges, m as invalidateShapeCache, n as getBounds, p as getWires, s as getEdges, x as iterWires } from "./topologyQueryFns-B81GSST_.js";
2
- import { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-eVWgSIzt.js";
3
- import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-BbHQjI5-.js";
4
- import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-rUkX4tEm.js";
5
- import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-Bbm7_5wS.js";
6
- import { a as fuseAll, r as cutAll } from "./booleanFns-nHsLqZ7Y.js";
7
- import { $ as fuseAllBisect, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as cutAllBisect, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-vQh7Lz7B.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-B8uqQlEU.js";
2
+ import { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-DBEEcVC-.js";
3
+ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-oS8Us7JQ.js";
4
+ import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-D1IaRpWu.js";
5
+ import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-CR68GwS8.js";
6
+ import { a as fuseAll, r as cutAll } from "./booleanFns-BPWMgD1t.js";
7
+ import { $ as fuseAllBisect, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as cutAllBisect, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-BjeLfI12.js";
8
8
  export { addHoles, adjacentFaces, approximateCurve, asTopo, autoHeal, bezier, box, bsplineApprox, cast, chamferDistAngle as chamferDistAngleShape, chamferWithEvolution, checkBoolean, circle, classifyPointOnFace, clearMeshCache, compound, cone, createMeshCache, curveEndPoint, curveIsClosed, curveIsPeriodic, curveLength, curvePeriod, curvePointAt, curveStartPoint, curveTangentAt, cutAll, cutAllBisect, cutWithEvolution, cylinder, fromBREP as deserializeShape, downcast, edgesOfFace, ellipse, ellipseArc, ellipsoid, exportIGES, exportSTEP, exportSTL, face, faceCenter, faceGeomType, faceOrientation, facesOfEdge, filledFace, filletWithEvolution, fixSelfIntersection, fixShape, flipFaceOrientation, flipOrientation, fuseAll, fuseAllBisect, fuseWithEvolution, getBounds, getCurveType, getEdges, getFaces, getHashCode, getNurbsCurveData, getNurbsSurfaceData, getOrientation, getSurfaceType, getVertices, getWires, healFace, healSolid, healWire, helix, innerWires, interpolateCurve, intersectWithEvolution, invalidateShapeCache, isCompSolid, isEqualShape, isSameShape, iterEdges, iterFaces, iterTopo, iterVertices, iterWires, line, normalAt, offsetFace, offsetWire2D, outerWire, pointOnSurface, polygon, positionOnCurve, projectPointOnFace, sewShells, shapeType, sharedEdges, shellWithEvolution, solid, solidFromShell, sphere, subFace, tangentArc, threePointArc, toBufferGeometryData, toGroupedBufferGeometryData, toLineGeometryData, torus, uvBounds, uvCoordinates, variableFillet, vertex, vertexPosition, verticesOfEdge, wire, wireLoop, wiresOfFace };
@@ -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-C-MpR5-e.js";
1
+ import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-BH-9bXON.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-Bbh2doYh.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BiX2PjaO.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.35.1",
3
+ "version": "18.35.3",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",