brepjs 14.6.8 → 14.6.9

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 (61) hide show
  1. package/dist/2d.cjs +5 -5
  2. package/dist/2d.js +5 -5
  3. package/dist/{blueprint-CXGeX_im.js → blueprint-BLKzZkxW.js} +5 -5
  4. package/dist/{blueprint-D6P4Ptwc.cjs → blueprint-vVmKMvfa.cjs} +5 -5
  5. package/dist/{blueprintFns-C1Q9BZYN.js → blueprintFns-BaMTtxJe.js} +2 -2
  6. package/dist/{blueprintFns-CRi0AJY2.cjs → blueprintFns-DPSslVJL.cjs} +2 -2
  7. package/dist/{boolean2D-D9bNqIv5.cjs → boolean2D-Co9nkj7F.cjs} +7 -7
  8. package/dist/{boolean2D-COhGEabH.js → boolean2D-CoXCldti.js} +7 -7
  9. package/dist/{booleanFns-Bu_HczH1.cjs → booleanFns-18PG17fJ.cjs} +3 -3
  10. package/dist/{booleanFns-DlfB8aNN.js → booleanFns-Be4tu95v.js} +3 -3
  11. package/dist/brepjs.cjs +19 -19
  12. package/dist/brepjs.js +19 -19
  13. package/dist/core.cjs +1 -1
  14. package/dist/core.js +1 -1
  15. package/dist/{cornerFinder-BqrHP-yL.js → cornerFinder-BxoweqWQ.js} +1 -1
  16. package/dist/{cornerFinder-i4Y7Nrjy.cjs → cornerFinder-Dj00KU4D.cjs} +1 -1
  17. package/dist/{curveFns-D5afgr58.cjs → curveFns-BEoIUi_W.cjs} +1 -1
  18. package/dist/{curveFns-Dlg-98k2.js → curveFns-BL-a8bye.js} +1 -1
  19. package/dist/{drawFns-DUF0fdFG.js → drawFns-CmSkNIJ8.js} +11 -11
  20. package/dist/{drawFns-NPXo-y9x.cjs → drawFns-KYO2AZ10.cjs} +11 -11
  21. package/dist/{extrudeFns-Bs_h53zW.cjs → extrudeFns-D5HbbN3j.cjs} +1 -1
  22. package/dist/{extrudeFns-SjjVWl9I.js → extrudeFns-gjNTbh1v.js} +1 -1
  23. package/dist/{faceFns-D0Sw7UAk.js → faceFns-B0eQeMRl.js} +1 -1
  24. package/dist/{faceFns-CAAlPCSf.cjs → faceFns-BOtIllUV.cjs} +1 -1
  25. package/dist/{helpers-IGblAcXr.cjs → helpers-BcTw9ulW.cjs} +5 -5
  26. package/dist/{helpers-DKA--8Ok.js → helpers-DWxhEPaX.js} +5 -5
  27. package/dist/{historyFns-BLfgf9Ie.cjs → historyFns-D0fh1JbE.cjs} +4 -4
  28. package/dist/{historyFns-DeI_YWq7.js → historyFns-DfSmddHI.js} +4 -4
  29. package/dist/{importFns-DYpRZApj.cjs → importFns-BZyWuPje.cjs} +2 -2
  30. package/dist/{importFns-D_ilQOKc.js → importFns-D6l6ojCY.js} +2 -2
  31. package/dist/io.cjs +2 -2
  32. package/dist/io.js +2 -2
  33. package/dist/{measureFns-C5T3Vj5H.js → measureFns-ekclW7RC.js} +2 -2
  34. package/dist/{measureFns-e9ClVIDp.cjs → measureFns-ziEaFhgs.cjs} +2 -2
  35. package/dist/measurement.cjs +1 -1
  36. package/dist/measurement.js +1 -1
  37. package/dist/{meshFns-D8ArzEky.cjs → meshFns-D_xgh-cq.cjs} +2 -2
  38. package/dist/{meshFns-CwXSu86J.js → meshFns-DzKNEwLn.js} +2 -2
  39. package/dist/operations.cjs +2 -2
  40. package/dist/operations.js +2 -2
  41. package/dist/{primitiveFns-DQA2aRlf.cjs → primitiveFns-BIf2euKF.cjs} +5 -5
  42. package/dist/{primitiveFns-taa6wmE6.js → primitiveFns-Cl6nxjV_.js} +5 -5
  43. package/dist/query.cjs +2 -2
  44. package/dist/query.js +2 -2
  45. package/dist/{shapeFns-Binnq64f.js → shapeFns-B0qsEh-h.js} +2 -2
  46. package/dist/{shapeFns-DGlBwOIn.cjs → shapeFns-BMqU4lpk.cjs} +2 -2
  47. package/dist/shapeRef.cjs +1 -1
  48. package/dist/shapeRef.js +1 -1
  49. package/dist/{shapeRefFns-BHl0cJ03.js → shapeRefFns-BrwSuUBt.js} +3 -3
  50. package/dist/{shapeRefFns-BYsQFoKq.cjs → shapeRefFns-bYjmdd_Q.cjs} +3 -3
  51. package/dist/{shapeTypes-PA31vgl1.cjs → shapeTypes-CCNnCMyK.cjs} +25 -25
  52. package/dist/{shapeTypes-BoaNl7sv.js → shapeTypes-s18kDLub.js} +25 -25
  53. package/dist/sketching.cjs +2 -2
  54. package/dist/sketching.js +2 -2
  55. package/dist/{solidBuilders-CxPr8uf3.js → solidBuilders-Csgxzr_F.js} +2 -2
  56. package/dist/{solidBuilders-fwE4EhPH.cjs → solidBuilders-DwdZPulT.cjs} +2 -2
  57. package/dist/{surfaceBuilders-OZ75pZa7.cjs → surfaceBuilders-Cg9kro6D.cjs} +2 -2
  58. package/dist/{surfaceBuilders-CsgDDyaK.js → surfaceBuilders-DGaOP_Mz.js} +2 -2
  59. package/dist/topology.cjs +6 -6
  60. package/dist/topology.js +6 -6
  61. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-PA31vgl1.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CCNnCMyK.cjs");
2
2
  const require_errors = require("./errors-9zQcQK1H.cjs");
3
- const require_faceFns = require("./faceFns-CAAlPCSf.cjs");
3
+ const require_faceFns = require("./faceFns-BOtIllUV.cjs");
4
4
  //#region src/measurement/measureCache.ts
5
5
  var cache = /* @__PURE__ */ new WeakMap();
6
6
  function getCachedMeasurement(shape, key) {
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_measureFns = require("./measureFns-e9ClVIDp.cjs");
2
+ const require_measureFns = require("./measureFns-ziEaFhgs.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-C5T3Vj5H.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-ekclW7RC.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-PA31vgl1.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CCNnCMyK.cjs");
2
2
  const require_errors = require("./errors-9zQcQK1H.cjs");
3
- const require_shapeFns = require("./shapeFns-DGlBwOIn.cjs");
3
+ const require_shapeFns = require("./shapeFns-BMqU4lpk.cjs");
4
4
  //#region src/topology/meshCache.ts
5
5
  /**
6
6
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,6 +1,6 @@
1
- import { Y as getKernel } from "./shapeTypes-BoaNl7sv.js";
1
+ import { Y as getKernel } from "./shapeTypes-s18kDLub.js";
2
2
  import { A as ok, b as err, r as ioError } from "./errors-C-cgQA3w.js";
3
- import { O as getFaceOrigins } from "./shapeFns-Binnq64f.js";
3
+ import { O as getFaceOrigins } from "./shapeFns-B0qsEh-h.js";
4
4
  //#region src/topology/meshCache.ts
5
5
  /**
6
6
  * Build a parameter key for the inner cache map (excludes shape identity).
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_historyFns = require("./historyFns-BLfgf9Ie.cjs");
3
- const require_extrudeFns = require("./extrudeFns-Bs_h53zW.cjs");
2
+ const require_historyFns = require("./historyFns-D0fh1JbE.cjs");
3
+ const require_extrudeFns = require("./extrudeFns-D5HbbN3j.cjs");
4
4
  exports.addChild = require_historyFns.addChild;
5
5
  exports.addStep = require_historyFns.addStep;
6
6
  exports.circularPattern = require_historyFns.circularPattern;
@@ -1,3 +1,3 @@
1
- import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-DeI_YWq7.js";
2
- import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-SjjVWl9I.js";
1
+ import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-DfSmddHI.js";
2
+ import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-gjNTbh1v.js";
3
3
  export { addChild, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, exportAssemblySTEP, findNode, findStep, getShape as getHistoryShape, gridPattern, linearPattern, modifyStep, registerOperation, registerShape, removeChild, replayFrom, replayHistory, stepCount, stepsFrom, supportExtrude, sweep, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,10 +1,10 @@
1
- const require_shapeTypes = require("./shapeTypes-PA31vgl1.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CCNnCMyK.cjs");
2
2
  const require_errors = require("./errors-9zQcQK1H.cjs");
3
- const require_faceFns = require("./faceFns-CAAlPCSf.cjs");
3
+ const require_faceFns = require("./faceFns-BOtIllUV.cjs");
4
4
  const require_constants = require("./constants-unWN8k4c.cjs");
5
- const require_shapeFns = require("./shapeFns-DGlBwOIn.cjs");
6
- const require_surfaceBuilders = require("./surfaceBuilders-OZ75pZa7.cjs");
7
- const require_solidBuilders = require("./solidBuilders-fwE4EhPH.cjs");
5
+ const require_shapeFns = require("./shapeFns-BMqU4lpk.cjs");
6
+ const require_surfaceBuilders = require("./surfaceBuilders-Cg9kro6D.cjs");
7
+ const require_solidBuilders = require("./solidBuilders-DwdZPulT.cjs");
8
8
  //#region src/topology/threeHelpers.ts
9
9
  /**
10
10
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,10 +1,10 @@
1
- import { Y as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-BoaNl7sv.js";
1
+ import { Y as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-s18kDLub.js";
2
2
  import { A as ok, T as isOk, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, v as andThen, w as isErr } from "./errors-C-cgQA3w.js";
3
- import { _ as downcast } from "./faceFns-D0Sw7UAk.js";
3
+ import { _ as downcast } from "./faceFns-B0eQeMRl.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-B9u763C3.js";
5
- import { I as getWires, M as getEdges, N as getFaces, P as getOrCreateCache, _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-Binnq64f.js";
6
- import { a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeEllipse, f as makeEllipseArc, g as makeThreePointArc, h as makeTangentArc, i as makeNewFaceWithinFace, l as makeBezierCurve, m as makeLine, o as makePolygon, p as makeHelix, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeCircle } from "./surfaceBuilders-CsgDDyaK.js";
7
- 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-CxPr8uf3.js";
5
+ import { I as getWires, M as getEdges, N as getFaces, P as getOrCreateCache, _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-B0qsEh-h.js";
6
+ import { a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeEllipse, f as makeEllipseArc, g as makeThreePointArc, h as makeTangentArc, i as makeNewFaceWithinFace, l as makeBezierCurve, m as makeLine, o as makePolygon, p as makeHelix, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeCircle } from "./surfaceBuilders-DGaOP_Mz.js";
7
+ 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-Csgxzr_F.js";
8
8
  //#region src/topology/threeHelpers.ts
9
9
  /**
10
10
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-IGblAcXr.cjs");
3
- const require_cornerFinder = require("./cornerFinder-i4Y7Nrjy.cjs");
2
+ const require_helpers = require("./helpers-BcTw9ulW.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-Dj00KU4D.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-DKA--8Ok.js";
2
- import { t as cornerFinder } from "./cornerFinder-BqrHP-yL.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-DWxhEPaX.js";
2
+ import { t as cornerFinder } from "./cornerFinder-BxoweqWQ.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- import { Y as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-BoaNl7sv.js";
1
+ import { Y as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-s18kDLub.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-C-cgQA3w.js";
3
- import { C as kernelCallRaw, S as kernelCall } from "./faceFns-D0Sw7UAk.js";
3
+ import { C as kernelCallRaw, S as kernelCall } from "./faceFns-B0eQeMRl.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-B9u763C3.js";
5
5
  //#region src/topology/topologyQueryFns.ts
6
6
  /**
@@ -1,6 +1,6 @@
1
- const require_shapeTypes = require("./shapeTypes-PA31vgl1.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CCNnCMyK.cjs");
2
2
  const require_errors = require("./errors-9zQcQK1H.cjs");
3
- const require_faceFns = require("./faceFns-CAAlPCSf.cjs");
3
+ const require_faceFns = require("./faceFns-BOtIllUV.cjs");
4
4
  const require_constants = require("./constants-unWN8k4c.cjs");
5
5
  //#region src/topology/topologyQueryFns.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-BYsQFoKq.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-bYjmdd_Q.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-BHl0cJ03.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-BrwSuUBt.js";
2
2
  export { assignRoles, captureHint, createRef, defaultScorer, resolveRef, updateRoles };
@@ -1,6 +1,6 @@
1
- import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-D0Sw7UAk.js";
2
- import { N as getFaces, n as getHashCode } from "./shapeFns-Binnq64f.js";
3
- import { n as measureArea } from "./measureFns-C5T3Vj5H.js";
1
+ import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-B0eQeMRl.js";
2
+ import { N as getFaces, n as getHashCode } from "./shapeFns-B0qsEh-h.js";
3
+ import { n as measureArea } from "./measureFns-ekclW7RC.js";
4
4
  //#region src/topology/shapeRef/scoring.ts
5
5
  /**
6
6
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -1,6 +1,6 @@
1
- const require_faceFns = require("./faceFns-CAAlPCSf.cjs");
2
- const require_shapeFns = require("./shapeFns-DGlBwOIn.cjs");
3
- const require_measureFns = require("./measureFns-e9ClVIDp.cjs");
1
+ const require_faceFns = require("./faceFns-BOtIllUV.cjs");
2
+ const require_shapeFns = require("./shapeFns-BMqU4lpk.cjs");
3
+ const require_measureFns = require("./measureFns-ziEaFhgs.cjs");
4
4
  //#region src/topology/shapeRef/scoring.ts
5
5
  /**
6
6
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -275,7 +275,7 @@ function linearCenterOfMass$1(oc, shape) {
275
275
  * Calculates the axis-aligned bounding box of a shape.
276
276
  */
277
277
  function boundingBox$1(oc, shape) {
278
- const box = new oc.Bnd_Box_1();
278
+ const box = new oc.Bnd_Box();
279
279
  oc.BRepBndLib.Add(shape, box, true);
280
280
  const result = {
281
281
  min: [
@@ -661,7 +661,7 @@ function autoFuzzyValue(oc, shapes) {
661
661
  if (shapes.length < 3) return 0;
662
662
  const firstShape = shapes[0];
663
663
  if (!firstShape) return 0;
664
- const box = new oc.Bnd_Box_1();
664
+ const box = new oc.Bnd_Box();
665
665
  oc.BRepBndLib.Add(firstShape, box, true);
666
666
  if (box.IsVoid()) {
667
667
  box.delete();
@@ -2260,7 +2260,7 @@ function hullFromPoints$1(oc, points, tolerance) {
2260
2260
  //#region src/kernel/occt/geometryQueryOps.ts
2261
2261
  /** Extract the 3D position of a vertex. */
2262
2262
  function vertexPosition$1(oc, vertex) {
2263
- const pnt = oc.BRep_Tool_Pnt(vertex);
2263
+ const pnt = oc.BRep_Tool.Pnt(vertex);
2264
2264
  const result = [
2265
2265
  pnt.X(),
2266
2266
  pnt.Y(),
@@ -2302,7 +2302,7 @@ function surfaceType$1(oc, face) {
2302
2302
  }
2303
2303
  /** Get the UV parameter bounds of a face. */
2304
2304
  function uvBounds$1(oc, face) {
2305
- const bounds = oc.BRepTools_UVBounds(face);
2305
+ const bounds = oc.BRepTools.UVBounds_1(face);
2306
2306
  return {
2307
2307
  uMin: bounds.UMin,
2308
2308
  uMax: bounds.UMax,
@@ -2312,7 +2312,7 @@ function uvBounds$1(oc, face) {
2312
2312
  }
2313
2313
  /** Get the outer wire of a face. */
2314
2314
  function outerWire$1(oc, face) {
2315
- return oc.BRepTools_OuterWire(face);
2315
+ return oc.BRepTools.OuterWire(face);
2316
2316
  }
2317
2317
  /** Get the surface normal at a UV parameter on a face. */
2318
2318
  function surfaceNormal$1(oc, face, u, v) {
@@ -2346,7 +2346,7 @@ function pointOnSurface$1(oc, face, u, v) {
2346
2346
  }
2347
2347
  /** Project a 3D point onto a face and return UV coordinates. Null if projection fails. */
2348
2348
  function uvFromPoint$1(oc, face, point) {
2349
- const surface = oc.BRep_Tool_Surface(face);
2349
+ const surface = oc.BRep_Tool.Surface_2(face);
2350
2350
  const pnt = new oc.gp_Pnt_3(point[0], point[1], point[2]);
2351
2351
  const proj = new oc.GeomAPI_ProjectPointOnSurf_2(pnt, surface, oc.Extrema_ExtAlgo.Extrema_ExtAlgo_Grad);
2352
2352
  let result = null;
@@ -2360,7 +2360,7 @@ function uvFromPoint$1(oc, face, point) {
2360
2360
  }
2361
2361
  /** Project a 3D point onto a face and return the closest 3D point. */
2362
2362
  function projectPointOnFace$1(oc, face, point) {
2363
- const surface = oc.BRep_Tool_Surface(face);
2363
+ const surface = oc.BRep_Tool.Surface_2(face);
2364
2364
  const pnt = new oc.gp_Pnt_3(point[0], point[1], point[2]);
2365
2365
  const proj = new oc.GeomAPI_ProjectPointOnSurf_2(pnt, surface, oc.Extrema_ExtAlgo.Extrema_ExtAlgo_Grad);
2366
2366
  let result;
@@ -2912,7 +2912,7 @@ function makeHelixWire$1(oc, pitch, height, radius, center = [
2912
2912
  const handleSurf = new oc.Handle_Geom_Surface_2(geomSurf);
2913
2913
  const edgeMaker = new oc.BRepBuilderAPI_MakeEdge_30(handle2dCurve, handleSurf);
2914
2914
  const e = edgeMaker.Edge();
2915
- oc.BRepLib_BuildCurves3d(e);
2915
+ oc.BRepLib.BuildCurves3d_2(e);
2916
2916
  const wireMaker = new oc.BRepBuilderAPI_MakeWire_2(e);
2917
2917
  const wire = wireMaker.Wire();
2918
2918
  wireMaker.delete();
@@ -2978,7 +2978,7 @@ function makeEllipsoidSolid(oc, aLength, bLength, cLength) {
2978
2978
  const sphere = new oc.gp_Sphere_1();
2979
2979
  sphere.SetRadius(1);
2980
2980
  const sphericalSurface = new oc.Geom_SphericalSurface_2(sphere);
2981
- const baseSurface = oc.GeomConvert_SurfaceToBSplineSurface(sphericalSurface.UReversed()).get();
2981
+ const baseSurface = oc.GeomConvert.SurfaceToBSplineSurface(sphericalSurface.UReversed()).get();
2982
2982
  sphere.delete();
2983
2983
  sphericalSurface.delete();
2984
2984
  try {
@@ -3055,8 +3055,8 @@ function exportSTEPAssembly$1(oc, parts, options = {}) {
3055
3055
  const doc = new oc.TDocStd_Document(nameStr);
3056
3056
  nameStr.delete();
3057
3057
  const mainLabel = doc.Main();
3058
- const shapeTool = oc.XCAFDoc_DocumentTool_ShapeTool(mainLabel).get();
3059
- const colorTool = oc.XCAFDoc_DocumentTool_ColorTool(mainLabel).get();
3058
+ const shapeTool = oc.XCAFDoc_DocumentTool.ShapeTool(mainLabel).get();
3059
+ const colorTool = oc.XCAFDoc_DocumentTool.ColorTool(mainLabel).get();
3060
3060
  oc.XCAFDoc_ShapeTool.SetAutoNaming(false);
3061
3061
  for (const part of parts) {
3062
3062
  const shapeNode = shapeTool.AddShape(part.shape, false, true);
@@ -3392,7 +3392,7 @@ function offsetCurve2d$1(oc, curve, offset) {
3392
3392
  }
3393
3393
  function transformCurve(oc, curve, trsf) {
3394
3394
  const gtrsf = new oc.gp_GTrsf2d_2(trsf);
3395
- const result = oc.GeomLib_GTransform(curve, gtrsf);
3395
+ const result = oc.GeomLib.GTransform(curve, gtrsf);
3396
3396
  gtrsf.delete();
3397
3397
  trsf.delete();
3398
3398
  return result;
@@ -3445,7 +3445,7 @@ function affinityTransform2d$1(oc, curve, axisOriginX, axisOriginY, axisDirX, ax
3445
3445
  ax.delete();
3446
3446
  dir.delete();
3447
3447
  origin.delete();
3448
- const result = oc.GeomLib_GTransform(curve, gtrsf);
3448
+ const result = oc.GeomLib.GTransform(curve, gtrsf);
3449
3449
  gtrsf.delete();
3450
3450
  return result;
3451
3451
  }
@@ -3516,7 +3516,7 @@ function multiplyGTrsf2d$1(_oc, base, other) {
3516
3516
  base.Multiply(other);
3517
3517
  }
3518
3518
  function transformCurve2dGeneral$1(oc, curve, gtrsf) {
3519
- return oc.GeomLib_GTransform(curve, gtrsf);
3519
+ return oc.GeomLib.GTransform(curve, gtrsf);
3520
3520
  }
3521
3521
  function intersectCurves2d$1(oc, c1, c2, tolerance) {
3522
3522
  const intersector = new oc.Geom2dAPI_InterCurveCurve_1();
@@ -3759,7 +3759,7 @@ function liftCurve2dToPlane$1(oc, curve, planeOrigin, planeZ, planeX) {
3759
3759
  const zDir = new oc.gp_Dir_5(planeZ[0], planeZ[1], planeZ[2]);
3760
3760
  const xDir = new oc.gp_Dir_5(planeX[0], planeX[1], planeX[2]);
3761
3761
  const ax = new oc.gp_Ax2_2(origin, zDir, xDir);
3762
- const curve3d = oc.GeomLib_To3d(ax, curve);
3762
+ const curve3d = oc.GeomLib.To3d(ax, curve);
3763
3763
  const edgeBuilder = new oc.BRepBuilderAPI_MakeEdge_24(curve3d);
3764
3764
  const edge = edgeBuilder.Edge();
3765
3765
  edgeBuilder.delete();
@@ -3777,7 +3777,7 @@ function buildEdgeOnSurface$1(oc, curve, surface) {
3777
3777
  return edge;
3778
3778
  }
3779
3779
  function extractSurfaceFromFace$1(oc, face) {
3780
- return oc.BRep_Tool_Surface(face);
3780
+ return oc.BRep_Tool.Surface_2(face);
3781
3781
  }
3782
3782
  function extractCurve2dFromEdge$1(oc, edge, face) {
3783
3783
  const adaptor = new oc.BRepAdaptor_Curve2d_2(edge, face);
@@ -3789,7 +3789,7 @@ function extractCurve2dFromEdge$1(oc, edge, face) {
3789
3789
  return new oc.Handle_Geom2d_Curve_2(trimmed);
3790
3790
  }
3791
3791
  function buildCurves3d$1(oc, wire) {
3792
- oc.BRepLib_BuildCurves3d(wire);
3792
+ oc.BRepLib.BuildCurves3d_2(wire);
3793
3793
  }
3794
3794
  function fixWireOnFace$1(oc, wire, face, tolerance) {
3795
3795
  const fixer = new oc.ShapeFix_Wire_2(wire, face, tolerance);
@@ -4234,8 +4234,8 @@ function addHolesInFace$1(oc, face, holeWires) {
4234
4234
  }
4235
4235
  /** Remove all inner wires (holes) from a face. Returns a new face with only the outer boundary. */
4236
4236
  function removeHolesFromFace$1(oc, face) {
4237
- const outerWire = oc.BRepTools_OuterWire(face);
4238
- const surface = oc.BRep_Tool_Surface(face);
4237
+ const outerWire = oc.BRepTools.OuterWire(face);
4238
+ const surface = oc.BRep_Tool.Surface_2(face);
4239
4239
  try {
4240
4240
  const maker = new oc.BRepBuilderAPI_MakeFace_21(surface, outerWire, true);
4241
4241
  const result = maker.Face();
@@ -4257,7 +4257,7 @@ function makeFaceOnSurface$1(oc, surfaceOrFace, wire) {
4257
4257
  let surfaceOwned = false;
4258
4258
  try {
4259
4259
  if (surfaceOrFace.ShapeType !== void 0) {
4260
- surface = oc.BRep_Tool_Surface(surfaceOrFace);
4260
+ surface = oc.BRep_Tool.Surface_2(surfaceOrFace);
4261
4261
  surfaceOwned = true;
4262
4262
  }
4263
4263
  } catch {}
@@ -4572,7 +4572,7 @@ function projectEdges$1(oc, shape, cameraOrigin, cameraDirection, cameraXAxis) {
4572
4572
  group.outline,
4573
4573
  group.smooth,
4574
4574
  group.sharp
4575
- ]) if (!s.IsNull()) oc.BRepLib_BuildCurves3d(s);
4575
+ ]) if (!s.IsNull()) oc.BRepLib.BuildCurves3d_2(s);
4576
4576
  hlrShapes.delete();
4577
4577
  hlrHandle.delete();
4578
4578
  projector.delete();
@@ -4602,8 +4602,8 @@ function createXCAFDocument$1(oc, shapes) {
4602
4602
  nameStr.delete();
4603
4603
  oc.XCAFDoc_ShapeTool.SetAutoNaming(false);
4604
4604
  const mainLabel = doc.Main();
4605
- const shapeTool = oc.XCAFDoc_DocumentTool_ShapeTool(mainLabel).get();
4606
- const colorTool = oc.XCAFDoc_DocumentTool_ColorTool(mainLabel).get();
4605
+ const shapeTool = oc.XCAFDoc_DocumentTool.ShapeTool(mainLabel).get();
4606
+ const colorTool = oc.XCAFDoc_DocumentTool.ColorTool(mainLabel).get();
4607
4607
  for (const part of shapes) {
4608
4608
  const shapeNode = shapeTool.NewShape();
4609
4609
  shapeTool.SetShape(shapeNode, part.shape);
@@ -4672,8 +4672,8 @@ function exportSTEPConfigured$1(oc, shapes, options = {}) {
4672
4672
  const doc = new oc.TDocStd_Document(nameStr);
4673
4673
  nameStr.delete();
4674
4674
  const mainLabel = doc.Main();
4675
- const shapeTool = oc.XCAFDoc_DocumentTool_ShapeTool(mainLabel).get();
4676
- const colorTool = oc.XCAFDoc_DocumentTool_ColorTool(mainLabel).get();
4675
+ const shapeTool = oc.XCAFDoc_DocumentTool.ShapeTool(mainLabel).get();
4676
+ const colorTool = oc.XCAFDoc_DocumentTool.ColorTool(mainLabel).get();
4677
4677
  oc.XCAFDoc_ShapeTool.SetAutoNaming(false);
4678
4678
  for (const part of shapes) {
4679
4679
  const shapeNode = shapeTool.AddShape(part.shape, false, true);
@@ -275,7 +275,7 @@ function linearCenterOfMass$1(oc, shape) {
275
275
  * Calculates the axis-aligned bounding box of a shape.
276
276
  */
277
277
  function boundingBox$1(oc, shape) {
278
- const box = new oc.Bnd_Box_1();
278
+ const box = new oc.Bnd_Box();
279
279
  oc.BRepBndLib.Add(shape, box, true);
280
280
  const result = {
281
281
  min: [
@@ -661,7 +661,7 @@ function autoFuzzyValue(oc, shapes) {
661
661
  if (shapes.length < 3) return 0;
662
662
  const firstShape = shapes[0];
663
663
  if (!firstShape) return 0;
664
- const box = new oc.Bnd_Box_1();
664
+ const box = new oc.Bnd_Box();
665
665
  oc.BRepBndLib.Add(firstShape, box, true);
666
666
  if (box.IsVoid()) {
667
667
  box.delete();
@@ -2260,7 +2260,7 @@ function hullFromPoints$1(oc, points, tolerance) {
2260
2260
  //#region src/kernel/occt/geometryQueryOps.ts
2261
2261
  /** Extract the 3D position of a vertex. */
2262
2262
  function vertexPosition$1(oc, vertex) {
2263
- const pnt = oc.BRep_Tool_Pnt(vertex);
2263
+ const pnt = oc.BRep_Tool.Pnt(vertex);
2264
2264
  const result = [
2265
2265
  pnt.X(),
2266
2266
  pnt.Y(),
@@ -2302,7 +2302,7 @@ function surfaceType$1(oc, face) {
2302
2302
  }
2303
2303
  /** Get the UV parameter bounds of a face. */
2304
2304
  function uvBounds$1(oc, face) {
2305
- const bounds = oc.BRepTools_UVBounds(face);
2305
+ const bounds = oc.BRepTools.UVBounds_1(face);
2306
2306
  return {
2307
2307
  uMin: bounds.UMin,
2308
2308
  uMax: bounds.UMax,
@@ -2312,7 +2312,7 @@ function uvBounds$1(oc, face) {
2312
2312
  }
2313
2313
  /** Get the outer wire of a face. */
2314
2314
  function outerWire$1(oc, face) {
2315
- return oc.BRepTools_OuterWire(face);
2315
+ return oc.BRepTools.OuterWire(face);
2316
2316
  }
2317
2317
  /** Get the surface normal at a UV parameter on a face. */
2318
2318
  function surfaceNormal$1(oc, face, u, v) {
@@ -2346,7 +2346,7 @@ function pointOnSurface$1(oc, face, u, v) {
2346
2346
  }
2347
2347
  /** Project a 3D point onto a face and return UV coordinates. Null if projection fails. */
2348
2348
  function uvFromPoint$1(oc, face, point) {
2349
- const surface = oc.BRep_Tool_Surface(face);
2349
+ const surface = oc.BRep_Tool.Surface_2(face);
2350
2350
  const pnt = new oc.gp_Pnt_3(point[0], point[1], point[2]);
2351
2351
  const proj = new oc.GeomAPI_ProjectPointOnSurf_2(pnt, surface, oc.Extrema_ExtAlgo.Extrema_ExtAlgo_Grad);
2352
2352
  let result = null;
@@ -2360,7 +2360,7 @@ function uvFromPoint$1(oc, face, point) {
2360
2360
  }
2361
2361
  /** Project a 3D point onto a face and return the closest 3D point. */
2362
2362
  function projectPointOnFace$1(oc, face, point) {
2363
- const surface = oc.BRep_Tool_Surface(face);
2363
+ const surface = oc.BRep_Tool.Surface_2(face);
2364
2364
  const pnt = new oc.gp_Pnt_3(point[0], point[1], point[2]);
2365
2365
  const proj = new oc.GeomAPI_ProjectPointOnSurf_2(pnt, surface, oc.Extrema_ExtAlgo.Extrema_ExtAlgo_Grad);
2366
2366
  let result;
@@ -2912,7 +2912,7 @@ function makeHelixWire$1(oc, pitch, height, radius, center = [
2912
2912
  const handleSurf = new oc.Handle_Geom_Surface_2(geomSurf);
2913
2913
  const edgeMaker = new oc.BRepBuilderAPI_MakeEdge_30(handle2dCurve, handleSurf);
2914
2914
  const e = edgeMaker.Edge();
2915
- oc.BRepLib_BuildCurves3d(e);
2915
+ oc.BRepLib.BuildCurves3d_2(e);
2916
2916
  const wireMaker = new oc.BRepBuilderAPI_MakeWire_2(e);
2917
2917
  const wire = wireMaker.Wire();
2918
2918
  wireMaker.delete();
@@ -2978,7 +2978,7 @@ function makeEllipsoidSolid(oc, aLength, bLength, cLength) {
2978
2978
  const sphere = new oc.gp_Sphere_1();
2979
2979
  sphere.SetRadius(1);
2980
2980
  const sphericalSurface = new oc.Geom_SphericalSurface_2(sphere);
2981
- const baseSurface = oc.GeomConvert_SurfaceToBSplineSurface(sphericalSurface.UReversed()).get();
2981
+ const baseSurface = oc.GeomConvert.SurfaceToBSplineSurface(sphericalSurface.UReversed()).get();
2982
2982
  sphere.delete();
2983
2983
  sphericalSurface.delete();
2984
2984
  try {
@@ -3055,8 +3055,8 @@ function exportSTEPAssembly$1(oc, parts, options = {}) {
3055
3055
  const doc = new oc.TDocStd_Document(nameStr);
3056
3056
  nameStr.delete();
3057
3057
  const mainLabel = doc.Main();
3058
- const shapeTool = oc.XCAFDoc_DocumentTool_ShapeTool(mainLabel).get();
3059
- const colorTool = oc.XCAFDoc_DocumentTool_ColorTool(mainLabel).get();
3058
+ const shapeTool = oc.XCAFDoc_DocumentTool.ShapeTool(mainLabel).get();
3059
+ const colorTool = oc.XCAFDoc_DocumentTool.ColorTool(mainLabel).get();
3060
3060
  oc.XCAFDoc_ShapeTool.SetAutoNaming(false);
3061
3061
  for (const part of parts) {
3062
3062
  const shapeNode = shapeTool.AddShape(part.shape, false, true);
@@ -3392,7 +3392,7 @@ function offsetCurve2d$1(oc, curve, offset) {
3392
3392
  }
3393
3393
  function transformCurve(oc, curve, trsf) {
3394
3394
  const gtrsf = new oc.gp_GTrsf2d_2(trsf);
3395
- const result = oc.GeomLib_GTransform(curve, gtrsf);
3395
+ const result = oc.GeomLib.GTransform(curve, gtrsf);
3396
3396
  gtrsf.delete();
3397
3397
  trsf.delete();
3398
3398
  return result;
@@ -3445,7 +3445,7 @@ function affinityTransform2d$1(oc, curve, axisOriginX, axisOriginY, axisDirX, ax
3445
3445
  ax.delete();
3446
3446
  dir.delete();
3447
3447
  origin.delete();
3448
- const result = oc.GeomLib_GTransform(curve, gtrsf);
3448
+ const result = oc.GeomLib.GTransform(curve, gtrsf);
3449
3449
  gtrsf.delete();
3450
3450
  return result;
3451
3451
  }
@@ -3516,7 +3516,7 @@ function multiplyGTrsf2d$1(_oc, base, other) {
3516
3516
  base.Multiply(other);
3517
3517
  }
3518
3518
  function transformCurve2dGeneral$1(oc, curve, gtrsf) {
3519
- return oc.GeomLib_GTransform(curve, gtrsf);
3519
+ return oc.GeomLib.GTransform(curve, gtrsf);
3520
3520
  }
3521
3521
  function intersectCurves2d$1(oc, c1, c2, tolerance) {
3522
3522
  const intersector = new oc.Geom2dAPI_InterCurveCurve_1();
@@ -3759,7 +3759,7 @@ function liftCurve2dToPlane$1(oc, curve, planeOrigin, planeZ, planeX) {
3759
3759
  const zDir = new oc.gp_Dir_5(planeZ[0], planeZ[1], planeZ[2]);
3760
3760
  const xDir = new oc.gp_Dir_5(planeX[0], planeX[1], planeX[2]);
3761
3761
  const ax = new oc.gp_Ax2_2(origin, zDir, xDir);
3762
- const curve3d = oc.GeomLib_To3d(ax, curve);
3762
+ const curve3d = oc.GeomLib.To3d(ax, curve);
3763
3763
  const edgeBuilder = new oc.BRepBuilderAPI_MakeEdge_24(curve3d);
3764
3764
  const edge = edgeBuilder.Edge();
3765
3765
  edgeBuilder.delete();
@@ -3777,7 +3777,7 @@ function buildEdgeOnSurface$1(oc, curve, surface) {
3777
3777
  return edge;
3778
3778
  }
3779
3779
  function extractSurfaceFromFace$1(oc, face) {
3780
- return oc.BRep_Tool_Surface(face);
3780
+ return oc.BRep_Tool.Surface_2(face);
3781
3781
  }
3782
3782
  function extractCurve2dFromEdge$1(oc, edge, face) {
3783
3783
  const adaptor = new oc.BRepAdaptor_Curve2d_2(edge, face);
@@ -3789,7 +3789,7 @@ function extractCurve2dFromEdge$1(oc, edge, face) {
3789
3789
  return new oc.Handle_Geom2d_Curve_2(trimmed);
3790
3790
  }
3791
3791
  function buildCurves3d$1(oc, wire) {
3792
- oc.BRepLib_BuildCurves3d(wire);
3792
+ oc.BRepLib.BuildCurves3d_2(wire);
3793
3793
  }
3794
3794
  function fixWireOnFace$1(oc, wire, face, tolerance) {
3795
3795
  const fixer = new oc.ShapeFix_Wire_2(wire, face, tolerance);
@@ -4234,8 +4234,8 @@ function addHolesInFace$1(oc, face, holeWires) {
4234
4234
  }
4235
4235
  /** Remove all inner wires (holes) from a face. Returns a new face with only the outer boundary. */
4236
4236
  function removeHolesFromFace$1(oc, face) {
4237
- const outerWire = oc.BRepTools_OuterWire(face);
4238
- const surface = oc.BRep_Tool_Surface(face);
4237
+ const outerWire = oc.BRepTools.OuterWire(face);
4238
+ const surface = oc.BRep_Tool.Surface_2(face);
4239
4239
  try {
4240
4240
  const maker = new oc.BRepBuilderAPI_MakeFace_21(surface, outerWire, true);
4241
4241
  const result = maker.Face();
@@ -4257,7 +4257,7 @@ function makeFaceOnSurface$1(oc, surfaceOrFace, wire) {
4257
4257
  let surfaceOwned = false;
4258
4258
  try {
4259
4259
  if (surfaceOrFace.ShapeType !== void 0) {
4260
- surface = oc.BRep_Tool_Surface(surfaceOrFace);
4260
+ surface = oc.BRep_Tool.Surface_2(surfaceOrFace);
4261
4261
  surfaceOwned = true;
4262
4262
  }
4263
4263
  } catch {}
@@ -4572,7 +4572,7 @@ function projectEdges$1(oc, shape, cameraOrigin, cameraDirection, cameraXAxis) {
4572
4572
  group.outline,
4573
4573
  group.smooth,
4574
4574
  group.sharp
4575
- ]) if (!s.IsNull()) oc.BRepLib_BuildCurves3d(s);
4575
+ ]) if (!s.IsNull()) oc.BRepLib.BuildCurves3d_2(s);
4576
4576
  hlrShapes.delete();
4577
4577
  hlrHandle.delete();
4578
4578
  projector.delete();
@@ -4602,8 +4602,8 @@ function createXCAFDocument$1(oc, shapes) {
4602
4602
  nameStr.delete();
4603
4603
  oc.XCAFDoc_ShapeTool.SetAutoNaming(false);
4604
4604
  const mainLabel = doc.Main();
4605
- const shapeTool = oc.XCAFDoc_DocumentTool_ShapeTool(mainLabel).get();
4606
- const colorTool = oc.XCAFDoc_DocumentTool_ColorTool(mainLabel).get();
4605
+ const shapeTool = oc.XCAFDoc_DocumentTool.ShapeTool(mainLabel).get();
4606
+ const colorTool = oc.XCAFDoc_DocumentTool.ColorTool(mainLabel).get();
4607
4607
  for (const part of shapes) {
4608
4608
  const shapeNode = shapeTool.NewShape();
4609
4609
  shapeTool.SetShape(shapeNode, part.shape);
@@ -4672,8 +4672,8 @@ function exportSTEPConfigured$1(oc, shapes, options = {}) {
4672
4672
  const doc = new oc.TDocStd_Document(nameStr);
4673
4673
  nameStr.delete();
4674
4674
  const mainLabel = doc.Main();
4675
- const shapeTool = oc.XCAFDoc_DocumentTool_ShapeTool(mainLabel).get();
4676
- const colorTool = oc.XCAFDoc_DocumentTool_ColorTool(mainLabel).get();
4675
+ const shapeTool = oc.XCAFDoc_DocumentTool.ShapeTool(mainLabel).get();
4676
+ const colorTool = oc.XCAFDoc_DocumentTool.ColorTool(mainLabel).get();
4677
4677
  oc.XCAFDoc_ShapeTool.SetAutoNaming(false);
4678
4678
  for (const part of shapes) {
4679
4679
  const shapeNode = shapeTool.AddShape(part.shape, false, true);
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_drawFns = require("./drawFns-NPXo-y9x.cjs");
3
- const require_boolean2D = require("./boolean2D-D9bNqIv5.cjs");
2
+ const require_drawFns = require("./drawFns-KYO2AZ10.cjs");
3
+ const require_boolean2D = require("./boolean2D-Co9nkj7F.cjs");
4
4
  //#region src/sketching.ts
5
5
  /**
6
6
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
package/dist/sketching.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as FaceSketcher, f as Sketch, l as BaseSketcher2d, u as BlueprintSketcher } from "./boolean2D-COhGEabH.js";
2
- import { $ as sketchFaceOffset, A as DrawingPen, B as drawSingleCircle, F as drawParametricFunction, H as drawText, I as drawPointsInterpolation, L as drawPolysides, M as draw, N as drawCircle, P as drawEllipse, Q as sketchEllipse, R as drawRectangle, S as drawProjection, V as drawSingleEllipse, X as polysideInnerRadius, Y as makeBaseBox, Z as sketchCircle, _ as sketchLoft, a as drawingIntersect, at as Sketcher, b as sketchWires, c as rotateDrawing, d as compoundSketchExtrude, et as sketchHelix, f as compoundSketchFace, g as sketchFace, h as sketchExtrude, i as drawingFuse, it as sketchRoundedRectangle, j as deserializeDrawing, k as Drawing, l as scaleDrawing, m as compoundSketchRevolve, n as drawingCut, nt as sketchPolysides, o as drawingToSketchOnPlane, ot as Sketches, p as compoundSketchLoft, r as drawingFillet, rt as sketchRectangle, s as mirrorDrawing, st as CompoundSketch, t as drawingChamfer, tt as sketchParametricFunction, u as translateDrawing, v as sketchRevolve, x as drawFaceOutline, y as sketchSweep, z as drawRoundedRectangle } from "./drawFns-DUF0fdFG.js";
1
+ import { d as FaceSketcher, f as Sketch, l as BaseSketcher2d, u as BlueprintSketcher } from "./boolean2D-CoXCldti.js";
2
+ import { $ as sketchFaceOffset, A as DrawingPen, B as drawSingleCircle, F as drawParametricFunction, H as drawText, I as drawPointsInterpolation, L as drawPolysides, M as draw, N as drawCircle, P as drawEllipse, Q as sketchEllipse, R as drawRectangle, S as drawProjection, V as drawSingleEllipse, X as polysideInnerRadius, Y as makeBaseBox, Z as sketchCircle, _ as sketchLoft, a as drawingIntersect, at as Sketcher, b as sketchWires, c as rotateDrawing, d as compoundSketchExtrude, et as sketchHelix, f as compoundSketchFace, g as sketchFace, h as sketchExtrude, i as drawingFuse, it as sketchRoundedRectangle, j as deserializeDrawing, k as Drawing, l as scaleDrawing, m as compoundSketchRevolve, n as drawingCut, nt as sketchPolysides, o as drawingToSketchOnPlane, ot as Sketches, p as compoundSketchLoft, r as drawingFillet, rt as sketchRectangle, s as mirrorDrawing, st as CompoundSketch, t as drawingChamfer, tt as sketchParametricFunction, u as translateDrawing, v as sketchRevolve, x as drawFaceOutline, y as sketchSweep, z as drawRoundedRectangle } from "./drawFns-CmSkNIJ8.js";
3
3
  //#region src/sketching.ts
4
4
  /**
5
5
  * brepjs/sketching — Sketcher, Drawing, and sketch-to-shape operations.
@@ -1,6 +1,6 @@
1
- import { Y as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-BoaNl7sv.js";
1
+ import { Y as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-s18kDLub.js";
2
2
  import { A as ok, R as unwrap, b as err, l as typeCastError, v as andThen } from "./errors-C-cgQA3w.js";
3
- import { _ as downcast, g as cast } from "./faceFns-D0Sw7UAk.js";
3
+ import { _ as downcast, g as cast } from "./faceFns-B0eQeMRl.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-PA31vgl1.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CCNnCMyK.cjs");
2
2
  const require_errors = require("./errors-9zQcQK1H.cjs");
3
- const require_faceFns = require("./faceFns-CAAlPCSf.cjs");
3
+ const require_faceFns = require("./faceFns-BOtIllUV.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-PA31vgl1.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-CCNnCMyK.cjs");
2
2
  const require_errors = require("./errors-9zQcQK1H.cjs");
3
- const require_faceFns = require("./faceFns-CAAlPCSf.cjs");
3
+ const require_faceFns = require("./faceFns-BOtIllUV.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 { Y as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-BoaNl7sv.js";
1
+ import { Y as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-s18kDLub.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-C-cgQA3w.js";
3
- import { g as cast, l as outerWire } from "./faceFns-D0Sw7UAk.js";
3
+ import { g as cast, l as outerWire } from "./faceFns-B0eQeMRl.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/topology.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_faceFns = require("./faceFns-CAAlPCSf.cjs");
3
- const require_shapeFns = require("./shapeFns-DGlBwOIn.cjs");
4
- const require_curveFns = require("./curveFns-D5afgr58.cjs");
5
- const require_meshFns = require("./meshFns-D8ArzEky.cjs");
6
- const require_booleanFns = require("./booleanFns-Bu_HczH1.cjs");
7
- const require_primitiveFns = require("./primitiveFns-DQA2aRlf.cjs");
2
+ const require_faceFns = require("./faceFns-BOtIllUV.cjs");
3
+ const require_shapeFns = require("./shapeFns-BMqU4lpk.cjs");
4
+ const require_curveFns = require("./curveFns-BEoIUi_W.cjs");
5
+ const require_meshFns = require("./meshFns-D_xgh-cq.cjs");
6
+ const require_booleanFns = require("./booleanFns-18PG17fJ.cjs");
7
+ const require_primitiveFns = require("./primitiveFns-BIf2euKF.cjs");
8
8
  exports.addHoles = require_primitiveFns.addHoles;
9
9
  exports.adjacentFaces = require_primitiveFns.adjacentFaces;
10
10
  exports.approximateCurve = require_curveFns.approximateCurve;