brepjs 18.29.0 → 18.31.0

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 (78) hide show
  1. package/dist/2d.cjs +6 -6
  2. package/dist/2d.js +6 -6
  3. package/dist/{blueprint-79MQJVZa.cjs → blueprint-BSFmbDGk.cjs} +5 -5
  4. package/dist/{blueprint-CUvDkWLs.js → blueprint-CJh2IXNN.js} +5 -5
  5. package/dist/{blueprintFns-DX7ftQu1.cjs → blueprintFns-CP2cC0SH.cjs} +2 -2
  6. package/dist/{blueprintFns-Ce-Mzufq.js → blueprintFns-Zeq5akLC.js} +2 -2
  7. package/dist/{blueprintSketcher-DiJ7nX5P.js → blueprintSketcher-Bk1Td7bF.js} +3 -3
  8. package/dist/{blueprintSketcher-CoefmhkD.cjs → blueprintSketcher-CW82NmX7.cjs} +3 -3
  9. package/dist/{boolean2D-B-6u7Td3.js → boolean2D-Cx4p6bzv.js} +4 -4
  10. package/dist/{boolean2D-ByEkLCB7.cjs → boolean2D-DQESKrHM.cjs} +4 -4
  11. package/dist/{booleanFns-B-saLmi4.js → booleanFns-CxAfvIV6.js} +4 -4
  12. package/dist/{booleanFns-2zKQEuA8.cjs → booleanFns-Desb54nK.cjs} +4 -4
  13. package/dist/brepjs.cjs +24 -24
  14. package/dist/brepjs.js +24 -24
  15. package/dist/{cameraFns-ILz-I1EN.js → cameraFns-DVDMA2YA.js} +2 -2
  16. package/dist/{cameraFns-C0uWLB4t.cjs → cameraFns-mhPem8JC.cjs} +2 -2
  17. package/dist/core.cjs +1 -1
  18. package/dist/core.js +1 -1
  19. package/dist/{cornerFinder-DnbKeXpc.js → cornerFinder-C9sHooms.js} +1 -1
  20. package/dist/{cornerFinder-DheJjEdJ.cjs → cornerFinder-nW2FYBmk.cjs} +1 -1
  21. package/dist/{curveFns-BW6fpApo.cjs → curveFns-BXWe0tUP.cjs} +1 -1
  22. package/dist/{curveFns-Dp2RyxrR.js → curveFns-CEADb8UI.js} +1 -1
  23. package/dist/{drawFns-CJamg2C6.js → drawFns-Bz47xb6u.js} +12 -12
  24. package/dist/{drawFns-rCnf1L3r.cjs → drawFns-CyqV9IOf.cjs} +12 -12
  25. package/dist/{extrudeFns-zngMBHOx.cjs → extrudeFns-Byjh14Mh.cjs} +1 -1
  26. package/dist/{extrudeFns-CMGE0i5l.js → extrudeFns-OvEEZRiI.js} +1 -1
  27. package/dist/{faceFns-C8A9sCkb.cjs → faceFns-BEDI2Fht.cjs} +2 -2
  28. package/dist/{faceFns-DFDKI39R.js → faceFns-Dc1Kz-42.js} +2 -2
  29. package/dist/{helpers-POBaax19.js → helpers-CybYLoG5.js} +6 -6
  30. package/dist/{helpers-D-mko0qh.cjs → helpers-NRiahAyk.cjs} +6 -6
  31. package/dist/{historyFns-D0K337z6.cjs → historyFns-CSHLpJK2.cjs} +4 -4
  32. package/dist/{historyFns-CbT3UJYn.js → historyFns-s38GJ8vm.js} +4 -4
  33. package/dist/{importFns-CwNl9Ll2.js → importFns-BLptAND5.js} +2 -2
  34. package/dist/{importFns-B1ym1wuL.cjs → importFns-C7e3yWGT.cjs} +2 -2
  35. package/dist/io.cjs +2 -2
  36. package/dist/io.js +2 -2
  37. package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +8 -1
  38. package/dist/kernel/brepkit/geometryOps.d.ts +10 -2
  39. package/dist/kernel/brepkit/modifierOps.d.ts +1 -1
  40. package/dist/{measureFns-B7x2vp6b.cjs → measureFns-BPOctaKR.cjs} +3 -3
  41. package/dist/{measureFns-CeEybpyd.js → measureFns-Ds3J7UUO.js} +3 -3
  42. package/dist/measurement.cjs +1 -1
  43. package/dist/measurement.js +1 -1
  44. package/dist/{meshFns-BtNBXH5S.js → meshFns-BEtVwyFx.js} +2 -2
  45. package/dist/{meshFns-By5mtdo9.cjs → meshFns-Ca8mKKuw.cjs} +2 -2
  46. package/dist/operations.cjs +2 -2
  47. package/dist/operations.js +2 -2
  48. package/dist/{primitiveFns-DfsjF4Kj.js → primitiveFns-B7X8lTA2.js} +7 -7
  49. package/dist/{primitiveFns-IzSRaAG-.cjs → primitiveFns-DrEFUID3.cjs} +7 -7
  50. package/dist/projection.cjs +1 -1
  51. package/dist/projection.js +1 -1
  52. package/dist/query.cjs +2 -2
  53. package/dist/query.js +2 -2
  54. package/dist/{shapeFns-Cf79IuMn.js → shapeFns-DX8Wz5Rx.js} +2 -2
  55. package/dist/{shapeFns-DPjMiDcX.cjs → shapeFns-Kop1E0FF.cjs} +2 -2
  56. package/dist/shapeRef.cjs +1 -1
  57. package/dist/shapeRef.js +1 -1
  58. package/dist/{shapeRefFns-hCaw9c68.cjs → shapeRefFns-07fYc4Yf.cjs} +4 -4
  59. package/dist/{shapeRefFns-sE77hIRw.js → shapeRefFns-D0nj1uv-.js} +4 -4
  60. package/dist/{shapeTypes-q3dLIqqs.cjs → shapeTypes-B4BMvuqz.cjs} +34 -4
  61. package/dist/{shapeTypes-DUC23pOr.js → shapeTypes-CO_7Vi7X.js} +34 -4
  62. package/dist/sketching.cjs +3 -3
  63. package/dist/sketching.js +3 -3
  64. package/dist/{solidBuilders-CwwLuRz8.js → solidBuilders-BvgLx1ih.js} +2 -2
  65. package/dist/{solidBuilders-BoeIWGQs.cjs → solidBuilders-uvsBuAfy.cjs} +2 -2
  66. package/dist/{surfaceBuilders-CRTJ3eLf.js → surfaceBuilders-CaZYe1HH.js} +2 -2
  67. package/dist/{surfaceBuilders-BJX_D1VO.cjs → surfaceBuilders-CqA8sgwW.cjs} +2 -2
  68. package/dist/text.cjs +2 -2
  69. package/dist/text.js +2 -2
  70. package/dist/{textBlueprints-CuPkJa3W.cjs → textBlueprints-CmsFcq_2.cjs} +7 -7
  71. package/dist/{textBlueprints-OEB7VKBv.js → textBlueprints-DdjPsdpW.js} +7 -7
  72. package/dist/{textMetrics-lTkakQKC.js → textMetrics-Cp19LSq8.js} +1 -1
  73. package/dist/{textMetrics-boJWbnQk.cjs → textMetrics-DX7bZOWD.cjs} +1 -1
  74. package/dist/topology.cjs +7 -7
  75. package/dist/topology.js +7 -7
  76. package/dist/{topologyQueryFns-C38cIHle.cjs → topologyQueryFns-AGfoGI2F.cjs} +1 -1
  77. package/dist/{topologyQueryFns-BELdxJ8R.js → topologyQueryFns-BQefLP33.js} +1 -1
  78. package/package.json +2 -2
@@ -1,9 +1,9 @@
1
- const require_shapeTypes = require("./shapeTypes-q3dLIqqs.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.cjs");
3
3
  const require_vecOps = require("./vecOps-CCnJt-yH.cjs");
4
- const require_faceFns = require("./faceFns-C8A9sCkb.cjs");
5
- const require_shapeFns = require("./shapeFns-DPjMiDcX.cjs");
6
- const require_booleanFns = require("./booleanFns-2zKQEuA8.cjs");
4
+ const require_faceFns = require("./faceFns-BEDI2Fht.cjs");
5
+ const require_shapeFns = require("./shapeFns-Kop1E0FF.cjs");
6
+ const require_booleanFns = require("./booleanFns-Desb54nK.cjs");
7
7
  //#region src/utils/uuid.ts
8
8
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
9
9
  function uuidv() {
@@ -1,9 +1,9 @@
1
- import { B as createKernelHandle, Z as getKernel, t as castShape } from "./shapeTypes-DUC23pOr.js";
1
+ import { B as createKernelHandle, Z as getKernel, t as castShape } from "./shapeTypes-CO_7Vi7X.js";
2
2
  import { A as ok, b as err, d as validationError, n as computationError, r as ioError } from "./errors-BJSTLaDI.js";
3
3
  import { d as vecNormalize, s as vecIsZero } from "./vecOps-SKPRvPH-.js";
4
- import { v as fromBREP } from "./faceFns-DFDKI39R.js";
5
- import { s as toBREP } from "./shapeFns-Cf79IuMn.js";
6
- import { a as fuseAll } from "./booleanFns-B-saLmi4.js";
4
+ import { v as fromBREP } from "./faceFns-Dc1Kz-42.js";
5
+ import { s as toBREP } from "./shapeFns-DX8Wz5Rx.js";
6
+ import { a as fuseAll } from "./booleanFns-CxAfvIV6.js";
7
7
  //#region src/utils/uuid.ts
8
8
  /** Generate a v4-style UUID string using `crypto.getRandomValues`. */
9
9
  function uuidv() {
@@ -1,8 +1,8 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-DUC23pOr.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-CO_7Vi7X.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-BJSTLaDI.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-CUvDkWLs.js";
5
+ import { f as make2dSegmentCurve, m as make2dThreePointArc, s as make2dBezierCurve, t as Blueprint } from "./blueprint-CJh2IXNN.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) {
@@ -1,8 +1,8 @@
1
- const require_shapeTypes = require("./shapeTypes-q3dLIqqs.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.cjs");
2
2
  const require_vec3 = require("./vec3-CFwOI0ZI.cjs");
3
3
  const require_errors = require("./errors-DxoD7zgx.cjs");
4
4
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
5
- const require_blueprint = require("./blueprint-79MQJVZa.cjs");
5
+ const require_blueprint = require("./blueprint-BSFmbDGk.cjs");
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-By5mtdo9.cjs");
3
- const require_importFns = require("./importFns-B1ym1wuL.cjs");
2
+ const require_meshFns = require("./meshFns-Ca8mKKuw.cjs");
3
+ const require_importFns = require("./importFns-C7e3yWGT.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-BtNBXH5S.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-CwNl9Ll2.js";
1
+ import { n as exportSTEP, r as exportSTL, t as exportIGES } from "./meshFns-BEtVwyFx.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-BLptAND5.js";
3
3
  export { blueprintToDXF, exportDXF, exportGlb, exportGltf, exportIGES, exportOBJ, exportSTEP, exportSTEPConfigured, exportSTL, exportThreeMF, importIGES, importSTEP, importSTL, importSVG, importSVGPathD };
@@ -2,7 +2,7 @@
2
2
  * Type-safe interface for the brepkit WASM kernel (`BrepKernel`).
3
3
  *
4
4
  * AUTO-GENERATED by `npm run sync:brepkit-types`.
5
- * Synced against `brepkit-wasm@2.99.0`.
5
+ * Synced against `brepkit-wasm@2.101.0`.
6
6
  *
7
7
  * Methods not yet referenced in the adapter layer are tagged `@unwired`.
8
8
  *
@@ -111,6 +111,13 @@ export interface BrepkitKernel {
111
111
  offsetWire(face: number, distance: number): number;
112
112
  /** @unwired */
113
113
  offsetWireWithJoinType(face: number, distance: number, joinType: string): number;
114
+ /**
115
+ * Offset a planar wire directly with a corner join type, without first
116
+ * building a face. Optional: present only on wasm builds that ship the
117
+ * binding.
118
+ * @unwired
119
+ */
120
+ offsetWire2DWithJoin?(wire: number, distance: number, joinType: string): number;
114
121
  thicken(face: number, thickness: number): number;
115
122
  draft(solid: number, faceHandles: Uint32Array | number[], pullX: number, pullY: number, pullZ: number, neutralX: number, neutralY: number, neutralZ: number, angleDegrees: number): number;
116
123
  defeature(solid: number, faceHandles: Uint32Array | number[]): number;
@@ -53,8 +53,16 @@ export declare function projectEdges(bk: BrepkitKernel, shape: KernelShape, _cam
53
53
  sharp: KernelShape;
54
54
  };
55
55
  };
56
- /** brepkit does not support NURBS introspection on edges. Always returns null. */
57
- export declare function getNurbsCurveData(_bk: BrepkitKernel, _edge: KernelShape): NurbsCurveData | null;
56
+ /**
57
+ * Read-only canonical NURBS data for the curve underlying an edge.
58
+ *
59
+ * Analytic curves (line, circle, ellipse) are converted to their exact NURBS
60
+ * form by the kernel; interpolated/approximated B-spline edges return their
61
+ * native poles and knots. The kernel emits a compressed knot representation
62
+ * (distinct knots + multiplicities), which maps directly to the brepjs
63
+ * {@link NurbsCurveData} shape.
64
+ */
65
+ export declare function getNurbsCurveData(bk: BrepkitKernel, edge: KernelShape): NurbsCurveData | null;
58
66
  /**
59
67
  * Read-only B-Spline/NURBS surface data for a face.
60
68
  *
@@ -9,7 +9,7 @@ export declare function offset(bk: BrepkitKernel, shape: KernelShape, distance:
9
9
  export declare function filletVariable(bk: BrepkitKernel, shape: KernelShape, spec: string): KernelShape;
10
10
  export declare function draft(bk: BrepkitKernel, shape: KernelShape, faces: KernelShape[], pullDirection: [number, number, number], neutralPlane: [number, number, number], angleDeg: number): KernelShape;
11
11
  export declare function defeature(bk: BrepkitKernel, shape: KernelShape, faces: KernelShape[]): KernelShape;
12
- export declare function offsetWire2D(bk: BrepkitKernel, wire: KernelShape, offsetVal: number, _joinType?: number | 'arc' | 'intersection' | 'tangent'): KernelShape;
12
+ export declare function offsetWire2D(bk: BrepkitKernel, wire: KernelShape, offsetVal: number, joinType?: number | 'arc' | 'intersection' | 'tangent'): KernelShape;
13
13
  export declare function simplify(bk: BrepkitKernel, shape: KernelShape): KernelShape;
14
14
  export declare function reverseShape(bk: BrepkitKernel, shape: KernelShape): KernelShape;
15
15
  /** Co-located factory: returns the modifier slice of {@link KernelAdapter} bound to `bk`. */
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-q3dLIqqs.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-C38cIHle.cjs");
4
- const require_faceFns = require("./faceFns-C8A9sCkb.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-AGfoGI2F.cjs");
4
+ const require_faceFns = require("./faceFns-BEDI2Fht.cjs");
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
- import { Z as getKernel } from "./shapeTypes-DUC23pOr.js";
1
+ import { Z as getKernel } from "./shapeTypes-CO_7Vi7X.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-BJSTLaDI.js";
3
- import { v as kernelCallRaw } from "./topologyQueryFns-BELdxJ8R.js";
4
- import { p as uvBounds } from "./faceFns-DFDKI39R.js";
3
+ import { v as kernelCallRaw } from "./topologyQueryFns-BQefLP33.js";
4
+ import { p as uvBounds } from "./faceFns-Dc1Kz-42.js";
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-B7x2vp6b.cjs");
2
+ const require_measureFns = require("./measureFns-BPOctaKR.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-CeEybpyd.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-Ds3J7UUO.js";
2
2
  export { createDistanceQuery, measureArea, measureDistance, measureDistanceProps, measureLength, measureLinearProps, measureSurfaceProps, measureVolume, measureVolumeProps };
@@ -1,6 +1,6 @@
1
- import { Z as getKernel } from "./shapeTypes-DUC23pOr.js";
1
+ import { Z as getKernel } from "./shapeTypes-CO_7Vi7X.js";
2
2
  import { A as ok, b as err, r as ioError } from "./errors-BJSTLaDI.js";
3
- import { O as getFaceOrigins } from "./shapeFns-Cf79IuMn.js";
3
+ import { O as getFaceOrigins } from "./shapeFns-DX8Wz5Rx.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
- const require_shapeTypes = require("./shapeTypes-q3dLIqqs.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.cjs");
3
- const require_shapeFns = require("./shapeFns-DPjMiDcX.cjs");
3
+ const require_shapeFns = require("./shapeFns-Kop1E0FF.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
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_historyFns = require("./historyFns-D0K337z6.cjs");
3
- const require_extrudeFns = require("./extrudeFns-zngMBHOx.cjs");
2
+ const require_historyFns = require("./historyFns-CSHLpJK2.cjs");
3
+ const require_extrudeFns = require("./extrudeFns-Byjh14Mh.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-CbT3UJYn.js";
2
- import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-CMGE0i5l.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-s38GJ8vm.js";
2
+ import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-OvEEZRiI.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,13 +1,13 @@
1
- import { Z 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-DUC23pOr.js";
1
+ import { Z 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-CO_7Vi7X.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-BJSTLaDI.js";
3
- import { c as getOrCreateCache, d as invalidateShapeCache, i as getCachedIsValid, o as getEdges, s as getFaces, u as getWires } from "./topologyQueryFns-BELdxJ8R.js";
3
+ import { c as getOrCreateCache, d as invalidateShapeCache, i as getCachedIsValid, o as getEdges, s as getFaces, u as getWires } from "./topologyQueryFns-BQefLP33.js";
4
4
  import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-ITRzCnCp.js";
5
- import { _ as downcast } from "./faceFns-DFDKI39R.js";
6
- import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-Cf79IuMn.js";
5
+ import { _ as downcast } from "./faceFns-Dc1Kz-42.js";
6
+ import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-DX8Wz5Rx.js";
7
7
  import { t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
8
- import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-CRTJ3eLf.js";
9
- import { a as fuseAll, i as fuse, n as cut, r as cutAll } from "./booleanFns-B-saLmi4.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-CwwLuRz8.js";
8
+ import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-CaZYe1HH.js";
9
+ import { a as fuseAll, i as fuse, n as cut, r as cutAll } from "./booleanFns-CxAfvIV6.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-BvgLx1ih.js";
11
11
  //#region src/topology/threeHelpers.ts
12
12
  /**
13
13
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,13 +1,13 @@
1
- const require_shapeTypes = require("./shapeTypes-q3dLIqqs.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-C38cIHle.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-AGfoGI2F.cjs");
4
4
  const require_constants = require("./constants-BOVyEYGH.cjs");
5
- const require_faceFns = require("./faceFns-C8A9sCkb.cjs");
6
- const require_shapeFns = require("./shapeFns-DPjMiDcX.cjs");
5
+ const require_faceFns = require("./faceFns-BEDI2Fht.cjs");
6
+ const require_shapeFns = require("./shapeFns-Kop1E0FF.cjs");
7
7
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
8
- const require_surfaceBuilders = require("./surfaceBuilders-BJX_D1VO.cjs");
9
- const require_booleanFns = require("./booleanFns-2zKQEuA8.cjs");
10
- const require_solidBuilders = require("./solidBuilders-BoeIWGQs.cjs");
8
+ const require_surfaceBuilders = require("./surfaceBuilders-CqA8sgwW.cjs");
9
+ const require_booleanFns = require("./booleanFns-Desb54nK.cjs");
10
+ const require_solidBuilders = require("./solidBuilders-uvsBuAfy.cjs");
11
11
  //#region src/topology/threeHelpers.ts
12
12
  /**
13
13
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cameraFns = require("./cameraFns-C0uWLB4t.cjs");
2
+ const require_cameraFns = require("./cameraFns-mhPem8JC.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-ILz-I1EN.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-DVDMA2YA.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-D-mko0qh.cjs");
3
- const require_cornerFinder = require("./cornerFinder-DheJjEdJ.cjs");
2
+ const require_helpers = require("./helpers-NRiahAyk.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-nW2FYBmk.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-POBaax19.js";
2
- import { t as cornerFinder } from "./cornerFinder-DnbKeXpc.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-CybYLoG5.js";
2
+ import { t as cornerFinder } from "./cornerFinder-C9sHooms.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
@@ -1,6 +1,6 @@
1
- import { Z as getKernel, t as castShape } from "./shapeTypes-DUC23pOr.js";
1
+ import { Z as getKernel, t as castShape } from "./shapeTypes-CO_7Vi7X.js";
2
2
  import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-BJSTLaDI.js";
3
- import { _ as kernelCall, c as getOrCreateCache, r as getCacheEntry, s as getFaces, v as kernelCallRaw } from "./topologyQueryFns-BELdxJ8R.js";
3
+ import { _ as kernelCall, c as getOrCreateCache, r as getCacheEntry, s as getFaces, v as kernelCallRaw } from "./topologyQueryFns-BQefLP33.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-q3dLIqqs.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.cjs");
3
- const require_topologyQueryFns = require("./topologyQueryFns-C38cIHle.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-AGfoGI2F.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-hCaw9c68.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-07fYc4Yf.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-sE77hIRw.js";
1
+ import { a as updateRoles, i as resolveRef, n as captureHint, o as defaultScorer, r as createRef, t as assignRoles } from "./shapeRefFns-D0nj1uv-.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-C38cIHle.cjs");
3
- const require_faceFns = require("./faceFns-C8A9sCkb.cjs");
4
- const require_shapeFns = require("./shapeFns-DPjMiDcX.cjs");
5
- const require_measureFns = require("./measureFns-B7x2vp6b.cjs");
2
+ const require_topologyQueryFns = require("./topologyQueryFns-AGfoGI2F.cjs");
3
+ const require_faceFns = require("./faceFns-BEDI2Fht.cjs");
4
+ const require_shapeFns = require("./shapeFns-Kop1E0FF.cjs");
5
+ const require_measureFns = require("./measureFns-BPOctaKR.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 { s as getFaces } from "./topologyQueryFns-BELdxJ8R.js";
3
- import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-DFDKI39R.js";
4
- import { n as getHashCode } from "./shapeFns-Cf79IuMn.js";
5
- import { n as measureArea } from "./measureFns-CeEybpyd.js";
2
+ import { s as getFaces } from "./topologyQueryFns-BQefLP33.js";
3
+ import { c as normalAt, n as faceCenter, r as faceGeomType } from "./faceFns-Dc1Kz-42.js";
4
+ import { n as getHashCode } from "./shapeFns-DX8Wz5Rx.js";
5
+ import { n as measureArea } from "./measureFns-Ds3J7UUO.js";
6
6
  //#region src/topology/shapeRef/scoring.ts
7
7
  /**
8
8
  * Default face scorer combining surface type, normal alignment, centroid proximity,
@@ -6233,9 +6233,29 @@ function projectEdges(bk, shape, _cameraOrigin, _cameraDirection, _cameraXAxis)
6233
6233
  }
6234
6234
  };
6235
6235
  }
6236
- /** brepkit does not support NURBS introspection on edges. Always returns null. */
6237
- function getNurbsCurveData(_bk, _edge) {
6238
- return null;
6236
+ /**
6237
+ * Read-only canonical NURBS data for the curve underlying an edge.
6238
+ *
6239
+ * Analytic curves (line, circle, ellipse) are converted to their exact NURBS
6240
+ * form by the kernel; interpolated/approximated B-spline edges return their
6241
+ * native poles and knots. The kernel emits a compressed knot representation
6242
+ * (distinct knots + multiplicities), which maps directly to the brepjs
6243
+ * {@link NurbsCurveData} shape.
6244
+ */
6245
+ function getNurbsCurveData(bk, edge) {
6246
+ const edgeId = unwrap(edge, "edge");
6247
+ const json = bk.getNurbsCurveData(edgeId);
6248
+ if (!json) return null;
6249
+ const data = JSON.parse(json);
6250
+ return {
6251
+ degree: data.degree,
6252
+ poles: data.controlPoints,
6253
+ weights: data.weights,
6254
+ knots: data.distinctKnots,
6255
+ multiplicities: data.multiplicities,
6256
+ isPeriodic: data.periodic,
6257
+ isRational: data.rational
6258
+ };
6239
6259
  }
6240
6260
  /**
6241
6261
  * Read-only B-Spline/NURBS surface data for a face.
@@ -7588,7 +7608,17 @@ function defeature(bk, shape, faces) {
7588
7608
  const faceIds = faces.map((f) => unwrap(f, "face"));
7589
7609
  return solidHandle(bk.defeature(solidId, faceIds));
7590
7610
  }
7591
- function offsetWire2D(bk, wire, offsetVal, _joinType) {
7611
+ /** Map a public join-type kind onto the brepkit kernel's join-type strings. */
7612
+ function brepkitJoinType(joinType) {
7613
+ switch (joinType) {
7614
+ case "arc":
7615
+ case "tangent": return "arc";
7616
+ case "intersection": return "intersection";
7617
+ default: return "intersection";
7618
+ }
7619
+ }
7620
+ function offsetWire2D(bk, wire, offsetVal, joinType) {
7621
+ if (typeof bk.offsetWire2DWithJoin === "function") return wireHandle(bk.offsetWire2DWithJoin(unwrap(wire, "wire"), offsetVal, brepkitJoinType(joinType)));
7592
7622
  const edges = iterShapes(bk, wire, "edge");
7593
7623
  if (edges.length === 0) return wire;
7594
7624
  const coords2d = [];
@@ -6229,9 +6229,29 @@ function projectEdges(bk, shape, _cameraOrigin, _cameraDirection, _cameraXAxis)
6229
6229
  }
6230
6230
  };
6231
6231
  }
6232
- /** brepkit does not support NURBS introspection on edges. Always returns null. */
6233
- function getNurbsCurveData(_bk, _edge) {
6234
- return null;
6232
+ /**
6233
+ * Read-only canonical NURBS data for the curve underlying an edge.
6234
+ *
6235
+ * Analytic curves (line, circle, ellipse) are converted to their exact NURBS
6236
+ * form by the kernel; interpolated/approximated B-spline edges return their
6237
+ * native poles and knots. The kernel emits a compressed knot representation
6238
+ * (distinct knots + multiplicities), which maps directly to the brepjs
6239
+ * {@link NurbsCurveData} shape.
6240
+ */
6241
+ function getNurbsCurveData(bk, edge) {
6242
+ const edgeId = unwrap(edge, "edge");
6243
+ const json = bk.getNurbsCurveData(edgeId);
6244
+ if (!json) return null;
6245
+ const data = JSON.parse(json);
6246
+ return {
6247
+ degree: data.degree,
6248
+ poles: data.controlPoints,
6249
+ weights: data.weights,
6250
+ knots: data.distinctKnots,
6251
+ multiplicities: data.multiplicities,
6252
+ isPeriodic: data.periodic,
6253
+ isRational: data.rational
6254
+ };
6235
6255
  }
6236
6256
  /**
6237
6257
  * Read-only B-Spline/NURBS surface data for a face.
@@ -7584,7 +7604,17 @@ function defeature(bk, shape, faces) {
7584
7604
  const faceIds = faces.map((f) => unwrap(f, "face"));
7585
7605
  return solidHandle(bk.defeature(solidId, faceIds));
7586
7606
  }
7587
- function offsetWire2D(bk, wire, offsetVal, _joinType) {
7607
+ /** Map a public join-type kind onto the brepkit kernel's join-type strings. */
7608
+ function brepkitJoinType(joinType) {
7609
+ switch (joinType) {
7610
+ case "arc":
7611
+ case "tangent": return "arc";
7612
+ case "intersection": return "intersection";
7613
+ default: return "intersection";
7614
+ }
7615
+ }
7616
+ function offsetWire2D(bk, wire, offsetVal, joinType) {
7617
+ if (typeof bk.offsetWire2DWithJoin === "function") return wireHandle(bk.offsetWire2DWithJoin(unwrap(wire, "wire"), offsetVal, brepkitJoinType(joinType)));
7588
7618
  const edges = iterShapes(bk, wire, "edge");
7589
7619
  if (edges.length === 0) return wire;
7590
7620
  const coords2d = [];
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_textBlueprints = require("./textBlueprints-CuPkJa3W.cjs");
3
- const require_blueprintSketcher = require("./blueprintSketcher-CoefmhkD.cjs");
4
- const require_drawFns = require("./drawFns-rCnf1L3r.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-CmsFcq_2.cjs");
3
+ const require_blueprintSketcher = require("./blueprintSketcher-CW82NmX7.cjs");
4
+ const require_drawFns = require("./drawFns-CyqV9IOf.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-DiJ7nX5P.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-CJamg2C6.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-OEB7VKBv.js";
1
+ import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-Bk1Td7bF.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-Bz47xb6u.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-DdjPsdpW.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-DUC23pOr.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-CO_7Vi7X.js";
2
2
  import { A as ok, R as unwrap, b as err, l as typeCastError, v as andThen } from "./errors-BJSTLaDI.js";
3
- import { _ as downcast, g as cast } from "./faceFns-DFDKI39R.js";
3
+ import { _ as downcast, g as cast } from "./faceFns-Dc1Kz-42.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-q3dLIqqs.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.cjs");
3
- const require_faceFns = require("./faceFns-C8A9sCkb.cjs");
3
+ const require_faceFns = require("./faceFns-BEDI2Fht.cjs");
4
4
  //#region src/topology/shapeUtils.ts
5
5
  /**
6
6
  * Shape assembly utilities — welding and sewing operations.
@@ -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-DUC23pOr.js";
1
+ import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-CO_7Vi7X.js";
2
2
  import { A as ok, b as err, d as validationError, i as kernelError, v as andThen } from "./errors-BJSTLaDI.js";
3
- import { g as cast, l as outerWire } from "./faceFns-DFDKI39R.js";
3
+ import { g as cast, l as outerWire } from "./faceFns-Dc1Kz-42.js";
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
- const require_shapeTypes = require("./shapeTypes-q3dLIqqs.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.cjs");
2
2
  const require_errors = require("./errors-DxoD7zgx.cjs");
3
- const require_faceFns = require("./faceFns-C8A9sCkb.cjs");
3
+ const require_faceFns = require("./faceFns-BEDI2Fht.cjs");
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-CuPkJa3W.cjs");
3
- const require_textMetrics = require("./textMetrics-boJWbnQk.cjs");
2
+ const require_textBlueprints = require("./textBlueprints-CmsFcq_2.cjs");
3
+ const require_textMetrics = require("./textMetrics-DX7bZOWD.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-OEB7VKBv.js";
2
- import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-lTkakQKC.js";
1
+ import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-DdjPsdpW.js";
2
+ import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-Cp19LSq8.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-q3dLIqqs.cjs");
32
+ const require_shapeTypes = require("./shapeTypes-B4BMvuqz.cjs");
33
33
  const require_errors = require("./errors-DxoD7zgx.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-C6wxugvC.cjs");
37
- const require_faceFns = require("./faceFns-C8A9sCkb.cjs");
38
- const require_curveFns = require("./curveFns-BW6fpApo.cjs");
37
+ const require_faceFns = require("./faceFns-BEDI2Fht.cjs");
38
+ const require_curveFns = require("./curveFns-BXWe0tUP.cjs");
39
39
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
40
- const require_surfaceBuilders = require("./surfaceBuilders-BJX_D1VO.cjs");
41
- const require_blueprintSketcher = require("./blueprintSketcher-CoefmhkD.cjs");
42
- const require_solidBuilders = require("./solidBuilders-BoeIWGQs.cjs");
43
- const require_extrudeFns = require("./extrudeFns-zngMBHOx.cjs");
40
+ const require_surfaceBuilders = require("./surfaceBuilders-CqA8sgwW.cjs");
41
+ const require_blueprintSketcher = require("./blueprintSketcher-CW82NmX7.cjs");
42
+ const require_solidBuilders = require("./solidBuilders-uvsBuAfy.cjs");
43
+ const require_extrudeFns = require("./extrudeFns-Byjh14Mh.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-DUC23pOr.js";
1
+ import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-CO_7Vi7X.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-BJSTLaDI.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-CblVcWbn.js";
6
- import { _ as downcast, g as cast } from "./faceFns-DFDKI39R.js";
7
- import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-Dp2RyxrR.js";
6
+ import { _ as downcast, g as cast } from "./faceFns-Dc1Kz-42.js";
7
+ import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-CEADb8UI.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-CRTJ3eLf.js";
10
- import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-DiJ7nX5P.js";
11
- import { o as makeSolid, t as makeCompound } from "./solidBuilders-CwwLuRz8.js";
12
- import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-CMGE0i5l.js";
9
+ import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-CaZYe1HH.js";
10
+ import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-Bk1Td7bF.js";
11
+ import { o as makeSolid, t as makeCompound } from "./solidBuilders-BvgLx1ih.js";
12
+ import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-OvEEZRiI.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-BJSTLaDI.js";
2
- import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-OEB7VKBv.js";
2
+ import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-DdjPsdpW.js";
3
3
  //#region src/text/sketchText.ts
4
4
  /**
5
5
  * Render text as 3D sketch outlines on a plane.