brepjs 18.118.11 → 18.118.12

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.
package/dist/brepjs.cjs CHANGED
@@ -16,7 +16,7 @@ const require_meshFns = require("./meshFns-CKOXvMDj.cjs");
16
16
  const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
17
17
  const require_surfaceBuilders = require("./surfaceBuilders-On9uTEBH.cjs");
18
18
  const require_solidBuilders = require("./solidBuilders-t7TnJXqT.cjs");
19
- const require_healingFns = require("./healingFns-EW5ihOUV.cjs");
19
+ const require_healingFns = require("./healingFns-DbunvjeU.cjs");
20
20
  const require_threadFns = require("./threadFns-DwKNCMFx.cjs");
21
21
  const require_blueprintSketcher = require("./blueprintSketcher-CW1MTtqe.cjs");
22
22
  const require_helpers = require("./helpers-DVMbGdiy.cjs");
package/dist/brepjs.js CHANGED
@@ -14,7 +14,7 @@ import { a as meshEdges$1, c as meshMultiLOD, d as createMeshCache, i as mesh$1,
14
14
  import { n as getAtOrThrow, r as lastOrThrow, t as firstOrThrow } from "./arrayAccess-DrUGPADn.js";
15
15
  import { _ as makeThreePointArc, d as makeCircle, h as makeLine, l as makeBSplineInterpolation, n as fill, r as makeFace, s as assembleWire } from "./surfaceBuilders-Co91_Kh7.js";
16
16
  import { _ as section$1, b as split$1, d as booleanPipeline, f as cut$2, g as intersect$2, h as fuseAll$2, m as fuse$2, p as cutAll$2, r as makeCylinder, t as makeCompound, v as sectionToFace$1, y as slice$1 } from "./solidBuilders-BRva7VpY.js";
17
- import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, M as toLODGeometryData, N as toLODGeometryLevels, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, c as isValid$1, d as draft$1, f as fillet$1, g as variableFillet, h as thicken$1, i as heal$1, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, m as shell$1, n as fixSelfIntersection, o as healSolid, p as offset$1, r as fixShape, s as healWire, t as autoHeal, u as chamfer$1, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-5U-hverm.js";
17
+ import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, M as toLODGeometryData, N as toLODGeometryLevels, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, c as isValid$1, d as draft$1, f as fillet$1, g as variableFillet, h as thicken$1, i as heal$1, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, m as shell$1, n as fixSelfIntersection, o as healSolid, p as offset$1, r as fixShape, s as healWire, t as autoHeal, u as chamfer$1, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-D3Yl3-zg.js";
18
18
  import { A as setJointValue, B as createAssemblyNode, C as cylindricalJoint, D as planarJoint, E as mechanismDOF, F as quatMultiply, G as circularPattern, H as removeChild, I as quatRotate, J as exportAssemblySTEP, K as gridPattern, L as addChild, M as sphericalJoint, N as quatFromAxisAngle, O as prismaticJoint, P as quatFromTo, R as collectShapes, S as addJoint, T as jointTransform, U as updateNode, V as findNode, W as walkAssembly, Y as createAssembly, _ as exportURDF, a as deserializeHistory, b as inverseKinematics, c as modifyStep, d as replayFrom, f as replayHistory, g as undoLast, h as stepsFrom, i as createRegistry, j as setJointValues, k as revoluteJoint, l as registerOperation, m as stepCount, n as addStep, o as findStep, p as serializeHistory, q as linearPattern, r as createHistory, s as getShape, t as thread, u as registerShape, v as importURDF, w as forwardKinematics, x as jointTrajectory, y as jointsFromDH, z as countNodes } from "./threadFns-BKQNkgT6.js";
19
19
  import { n as BaseSketcher2d, r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-DuNukkBb.js";
20
20
  import { a as createTypedFinder, i as wireFinder, n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-XUoXaD5D.js";
@@ -974,10 +974,16 @@ function healSolid(solid) {
974
974
  if (alreadyValid) return ok(solid);
975
975
  return err(kernelError(BrepErrorCode.HEAL_NO_EFFECT, "Solid healing had no effect — shape is still invalid"));
976
976
  }
977
- const cast = castShape(result);
978
- if (!isSolid(cast)) return err(kernelError("HEAL_RESULT_NOT_SOLID", "Healed result is not a solid"));
977
+ const cast = castResultShape(result);
978
+ if (!isSolid(cast)) {
979
+ disposeResultShape(cast);
980
+ return err(kernelError("HEAL_RESULT_NOT_SOLID", "Healed result is not a solid"));
981
+ }
979
982
  invalidateShapeCache(cast);
980
- if (!isValid(cast)) return err(kernelError("HEAL_SOLID_INCOMPLETE", "Healed result is still invalid after ShapeFix_Solid"));
983
+ if (!isValid(cast)) {
984
+ disposeResultShape(cast);
985
+ return err(kernelError("HEAL_SOLID_INCOMPLETE", "Healed result is still invalid after ShapeFix_Solid"));
986
+ }
981
987
  return ok(cast);
982
988
  } catch (e) {
983
989
  return err(kernelError("HEAL_SOLID_FAILED", "Solid healing failed", e));
@@ -991,8 +997,11 @@ function healSolid(solid) {
991
997
  function healFace(face) {
992
998
  if (!isFace(face)) return err(validationError("NOT_A_FACE", "Input shape is not a face"));
993
999
  try {
994
- const cast = castShape(getKernel().healFace(face.wrapped));
995
- if (!isFace(cast)) return err(kernelError("HEAL_RESULT_NOT_FACE", "Healed result is not a face"));
1000
+ const cast = castResultShape(getKernel().healFace(face.wrapped));
1001
+ if (!isFace(cast)) {
1002
+ disposeResultShape(cast);
1003
+ return err(kernelError("HEAL_RESULT_NOT_FACE", "Healed result is not a face"));
1004
+ }
996
1005
  return ok(cast);
997
1006
  } catch (e) {
998
1007
  return err(kernelError("HEAL_FACE_FAILED", "Face healing failed", e));
@@ -1007,8 +1016,11 @@ function healFace(face) {
1007
1016
  function healWire(wire, face) {
1008
1017
  if (!isWire(wire)) return err(validationError("NOT_A_WIRE", "Input shape is not a wire"));
1009
1018
  try {
1010
- const cast = castShape(getKernel().healWire(wire.wrapped, face?.wrapped));
1011
- if (!isWire(cast)) return err(kernelError("HEAL_RESULT_NOT_WIRE", "Healed result is not a wire"));
1019
+ const cast = castResultShape(getKernel().healWire(wire.wrapped, face?.wrapped));
1020
+ if (!isWire(cast)) {
1021
+ disposeResultShape(cast);
1022
+ return err(kernelError("HEAL_RESULT_NOT_WIRE", "Healed result is not a wire"));
1023
+ }
1012
1024
  return ok(cast);
1013
1025
  } catch (e) {
1014
1026
  return err(kernelError("HEAL_WIRE_FAILED", "Wire healing failed", e));
@@ -1062,8 +1074,13 @@ function autoHeal(shape, options) {
1062
1074
  const facesBefore = getFaces(shape).length;
1063
1075
  let current = shape;
1064
1076
  let solidHealed = false;
1077
+ const setCurrent = (next) => {
1078
+ const prev = current;
1079
+ current = next;
1080
+ if (prev !== shape && prev.wrapped !== next.wrapped) disposeResultShape(prev);
1081
+ };
1065
1082
  if (sewTolerance !== void 0) try {
1066
- current = castShape(getKernel().sew([current.wrapped], sewTolerance));
1083
+ setCurrent(castResultShape(getKernel().sew([current.wrapped], sewTolerance)));
1067
1084
  steps.push(`Applied sewing with tolerance ${sewTolerance}`);
1068
1085
  diagnostics.push({
1069
1086
  name: "sew",
@@ -1099,7 +1116,7 @@ function autoHeal(shape, options) {
1099
1116
  if (isSolid(current) && fixSolids || isFace(current) && fixFaces || isWire(current) && fixWires) {
1100
1117
  const healResult = heal(current);
1101
1118
  if (isOk(healResult)) {
1102
- current = healResult.value;
1119
+ setCurrent(healResult.value);
1103
1120
  if (isSolid(shape)) {
1104
1121
  solidHealed = true;
1105
1122
  steps.push("Applied ShapeFix_Solid");
@@ -1169,7 +1186,7 @@ function autoHeal(shape, options) {
1169
1186
  */
1170
1187
  function fixShape(shape) {
1171
1188
  try {
1172
- return ok(castShape(getKernel().fixShape(shape.wrapped)));
1189
+ return ok(castResultShape(getKernel().fixShape(shape.wrapped)));
1173
1190
  } catch (e) {
1174
1191
  return err(kernelError(BrepErrorCode.FIX_SHAPE_FAILED, "ShapeFix_Shape failed", e));
1175
1192
  }
@@ -1181,9 +1198,15 @@ function fixShape(shape) {
1181
1198
  */
1182
1199
  function solidFromShell(shell) {
1183
1200
  try {
1184
- const wrapped = castShape(getKernel().solidFromShell(shell.wrapped));
1185
- if (!isSolid(wrapped)) return err(kernelError(BrepErrorCode.SOLID_FROM_SHELL_FAILED, "solidFromShell did not produce a solid"));
1186
- if (!isValid(wrapped)) return err(kernelError(BrepErrorCode.SOLID_FROM_SHELL_FAILED, "solidFromShell produced an invalid solid"));
1201
+ const wrapped = castResultShape(getKernel().solidFromShell(shell.wrapped));
1202
+ if (!isSolid(wrapped)) {
1203
+ disposeResultShape(wrapped);
1204
+ return err(kernelError(BrepErrorCode.SOLID_FROM_SHELL_FAILED, "solidFromShell did not produce a solid"));
1205
+ }
1206
+ if (!isValid(wrapped)) {
1207
+ disposeResultShape(wrapped);
1208
+ return err(kernelError(BrepErrorCode.SOLID_FROM_SHELL_FAILED, "solidFromShell produced an invalid solid"));
1209
+ }
1187
1210
  return ok(wrapped);
1188
1211
  } catch (e) {
1189
1212
  return err(kernelError(BrepErrorCode.SOLID_FROM_SHELL_FAILED, "Failed to create solid from shell", e));
@@ -1196,8 +1219,11 @@ function solidFromShell(shell) {
1196
1219
  */
1197
1220
  function fixSelfIntersection(wire) {
1198
1221
  try {
1199
- const wrapped = castShape(getKernel().fixSelfIntersection(wire.wrapped));
1200
- if (!isWire(wrapped)) return err(kernelError(BrepErrorCode.FIX_SELF_INTERSECTION_FAILED, "Result is not a wire"));
1222
+ const wrapped = castResultShape(getKernel().fixSelfIntersection(wire.wrapped));
1223
+ if (!isWire(wrapped)) {
1224
+ disposeResultShape(wrapped);
1225
+ return err(kernelError(BrepErrorCode.FIX_SELF_INTERSECTION_FAILED, "Result is not a wire"));
1226
+ }
1201
1227
  return ok(wrapped);
1202
1228
  } catch (e) {
1203
1229
  return err(kernelError(BrepErrorCode.FIX_SELF_INTERSECTION_FAILED, "Failed to fix wire self-intersection", e));
@@ -974,10 +974,16 @@ function healSolid(solid) {
974
974
  if (alreadyValid) return require_errors.ok(solid);
975
975
  return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.HEAL_NO_EFFECT, "Solid healing had no effect — shape is still invalid"));
976
976
  }
977
- const cast = require_shapeTypes.castShape(result);
978
- if (!require_shapeTypes.isSolid(cast)) return require_errors.err(require_errors.kernelError("HEAL_RESULT_NOT_SOLID", "Healed result is not a solid"));
977
+ const cast = require_shapeTypes.castResultShape(result);
978
+ if (!require_shapeTypes.isSolid(cast)) {
979
+ require_shapeTypes.disposeResultShape(cast);
980
+ return require_errors.err(require_errors.kernelError("HEAL_RESULT_NOT_SOLID", "Healed result is not a solid"));
981
+ }
979
982
  require_topologyQueryFns.invalidateShapeCache(cast);
980
- if (!isValid(cast)) return require_errors.err(require_errors.kernelError("HEAL_SOLID_INCOMPLETE", "Healed result is still invalid after ShapeFix_Solid"));
983
+ if (!isValid(cast)) {
984
+ require_shapeTypes.disposeResultShape(cast);
985
+ return require_errors.err(require_errors.kernelError("HEAL_SOLID_INCOMPLETE", "Healed result is still invalid after ShapeFix_Solid"));
986
+ }
981
987
  return require_errors.ok(cast);
982
988
  } catch (e) {
983
989
  return require_errors.err(require_errors.kernelError("HEAL_SOLID_FAILED", "Solid healing failed", e));
@@ -991,8 +997,11 @@ function healSolid(solid) {
991
997
  function healFace(face) {
992
998
  if (!require_shapeTypes.isFace(face)) return require_errors.err(require_errors.validationError("NOT_A_FACE", "Input shape is not a face"));
993
999
  try {
994
- const cast = require_shapeTypes.castShape(require_shapeTypes.getKernel().healFace(face.wrapped));
995
- if (!require_shapeTypes.isFace(cast)) return require_errors.err(require_errors.kernelError("HEAL_RESULT_NOT_FACE", "Healed result is not a face"));
1000
+ const cast = require_shapeTypes.castResultShape(require_shapeTypes.getKernel().healFace(face.wrapped));
1001
+ if (!require_shapeTypes.isFace(cast)) {
1002
+ require_shapeTypes.disposeResultShape(cast);
1003
+ return require_errors.err(require_errors.kernelError("HEAL_RESULT_NOT_FACE", "Healed result is not a face"));
1004
+ }
996
1005
  return require_errors.ok(cast);
997
1006
  } catch (e) {
998
1007
  return require_errors.err(require_errors.kernelError("HEAL_FACE_FAILED", "Face healing failed", e));
@@ -1007,8 +1016,11 @@ function healFace(face) {
1007
1016
  function healWire(wire, face) {
1008
1017
  if (!require_shapeTypes.isWire(wire)) return require_errors.err(require_errors.validationError("NOT_A_WIRE", "Input shape is not a wire"));
1009
1018
  try {
1010
- const cast = require_shapeTypes.castShape(require_shapeTypes.getKernel().healWire(wire.wrapped, face?.wrapped));
1011
- if (!require_shapeTypes.isWire(cast)) return require_errors.err(require_errors.kernelError("HEAL_RESULT_NOT_WIRE", "Healed result is not a wire"));
1019
+ const cast = require_shapeTypes.castResultShape(require_shapeTypes.getKernel().healWire(wire.wrapped, face?.wrapped));
1020
+ if (!require_shapeTypes.isWire(cast)) {
1021
+ require_shapeTypes.disposeResultShape(cast);
1022
+ return require_errors.err(require_errors.kernelError("HEAL_RESULT_NOT_WIRE", "Healed result is not a wire"));
1023
+ }
1012
1024
  return require_errors.ok(cast);
1013
1025
  } catch (e) {
1014
1026
  return require_errors.err(require_errors.kernelError("HEAL_WIRE_FAILED", "Wire healing failed", e));
@@ -1062,8 +1074,13 @@ function autoHeal(shape, options) {
1062
1074
  const facesBefore = require_topologyQueryFns.getFaces(shape).length;
1063
1075
  let current = shape;
1064
1076
  let solidHealed = false;
1077
+ const setCurrent = (next) => {
1078
+ const prev = current;
1079
+ current = next;
1080
+ if (prev !== shape && prev.wrapped !== next.wrapped) require_shapeTypes.disposeResultShape(prev);
1081
+ };
1065
1082
  if (sewTolerance !== void 0) try {
1066
- current = require_shapeTypes.castShape(require_shapeTypes.getKernel().sew([current.wrapped], sewTolerance));
1083
+ setCurrent(require_shapeTypes.castResultShape(require_shapeTypes.getKernel().sew([current.wrapped], sewTolerance)));
1067
1084
  steps.push(`Applied sewing with tolerance ${sewTolerance}`);
1068
1085
  diagnostics.push({
1069
1086
  name: "sew",
@@ -1099,7 +1116,7 @@ function autoHeal(shape, options) {
1099
1116
  if (require_shapeTypes.isSolid(current) && fixSolids || require_shapeTypes.isFace(current) && fixFaces || require_shapeTypes.isWire(current) && fixWires) {
1100
1117
  const healResult = heal(current);
1101
1118
  if (require_errors.isOk(healResult)) {
1102
- current = healResult.value;
1119
+ setCurrent(healResult.value);
1103
1120
  if (require_shapeTypes.isSolid(shape)) {
1104
1121
  solidHealed = true;
1105
1122
  steps.push("Applied ShapeFix_Solid");
@@ -1169,7 +1186,7 @@ function autoHeal(shape, options) {
1169
1186
  */
1170
1187
  function fixShape(shape) {
1171
1188
  try {
1172
- return require_errors.ok(require_shapeTypes.castShape(require_shapeTypes.getKernel().fixShape(shape.wrapped)));
1189
+ return require_errors.ok(require_shapeTypes.castResultShape(require_shapeTypes.getKernel().fixShape(shape.wrapped)));
1173
1190
  } catch (e) {
1174
1191
  return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.FIX_SHAPE_FAILED, "ShapeFix_Shape failed", e));
1175
1192
  }
@@ -1181,9 +1198,15 @@ function fixShape(shape) {
1181
1198
  */
1182
1199
  function solidFromShell(shell) {
1183
1200
  try {
1184
- const wrapped = require_shapeTypes.castShape(require_shapeTypes.getKernel().solidFromShell(shell.wrapped));
1185
- if (!require_shapeTypes.isSolid(wrapped)) return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.SOLID_FROM_SHELL_FAILED, "solidFromShell did not produce a solid"));
1186
- if (!isValid(wrapped)) return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.SOLID_FROM_SHELL_FAILED, "solidFromShell produced an invalid solid"));
1201
+ const wrapped = require_shapeTypes.castResultShape(require_shapeTypes.getKernel().solidFromShell(shell.wrapped));
1202
+ if (!require_shapeTypes.isSolid(wrapped)) {
1203
+ require_shapeTypes.disposeResultShape(wrapped);
1204
+ return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.SOLID_FROM_SHELL_FAILED, "solidFromShell did not produce a solid"));
1205
+ }
1206
+ if (!isValid(wrapped)) {
1207
+ require_shapeTypes.disposeResultShape(wrapped);
1208
+ return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.SOLID_FROM_SHELL_FAILED, "solidFromShell produced an invalid solid"));
1209
+ }
1187
1210
  return require_errors.ok(wrapped);
1188
1211
  } catch (e) {
1189
1212
  return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.SOLID_FROM_SHELL_FAILED, "Failed to create solid from shell", e));
@@ -1196,8 +1219,11 @@ function solidFromShell(shell) {
1196
1219
  */
1197
1220
  function fixSelfIntersection(wire) {
1198
1221
  try {
1199
- const wrapped = require_shapeTypes.castShape(require_shapeTypes.getKernel().fixSelfIntersection(wire.wrapped));
1200
- if (!require_shapeTypes.isWire(wrapped)) return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.FIX_SELF_INTERSECTION_FAILED, "Result is not a wire"));
1222
+ const wrapped = require_shapeTypes.castResultShape(require_shapeTypes.getKernel().fixSelfIntersection(wire.wrapped));
1223
+ if (!require_shapeTypes.isWire(wrapped)) {
1224
+ require_shapeTypes.disposeResultShape(wrapped);
1225
+ return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.FIX_SELF_INTERSECTION_FAILED, "Result is not a wire"));
1226
+ }
1201
1227
  return require_errors.ok(wrapped);
1202
1228
  } catch (e) {
1203
1229
  return require_errors.err(require_errors.kernelError(require_errors.BrepErrorCode.FIX_SELF_INTERSECTION_FAILED, "Failed to fix wire self-intersection", e));
package/dist/topology.cjs CHANGED
@@ -5,7 +5,7 @@ const require_shapeFns = require("./shapeFns-CQVLaU7u.cjs");
5
5
  const require_curveFns = require("./curveFns-DDLgrGyy.cjs");
6
6
  const require_meshFns = require("./meshFns-CKOXvMDj.cjs");
7
7
  const require_solidBuilders = require("./solidBuilders-t7TnJXqT.cjs");
8
- const require_healingFns = require("./healingFns-EW5ihOUV.cjs");
8
+ const require_healingFns = require("./healingFns-DbunvjeU.cjs");
9
9
  const require_adjacencyFns = require("./adjacencyFns-BaiFeuKQ.cjs");
10
10
  const require_primitiveFns = require("./primitiveFns-D0k3Absh.cjs");
11
11
  exports.addHoles = require_primitiveFns.addHoles;
package/dist/topology.js CHANGED
@@ -4,7 +4,7 @@ import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFn
4
4
  import { a as curveIsPeriodic, c as curvePointAt, d as flipOrientation, f as getCurveType, h as offsetWire2D, i as curveIsClosed, l as curveStartPoint, m as interpolateCurve, n as curveAxis, o as curveLength, p as getOrientation, r as curveEndPoint, s as curvePeriod, t as approximateCurve, u as curveTangentAt } from "./curveFns-C5qarKS5.js";
5
5
  import { d as createMeshCache, n as exportSTEP, r as exportSTL, t as exportIGES, u as clearMeshCache } from "./meshFns-DqHpJu5I.js";
6
6
  import { h as fuseAll, p as cutAll } from "./solidBuilders-BRva7VpY.js";
7
- import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-5U-hverm.js";
7
+ import { A as toBufferGeometryData, C as shellWithEvolution, D as getNurbsCurveData, E as fuseAllBisect, O as getNurbsSurfaceData, P as toLineGeometryData, S as intersectWithEvolution, T as cutAllBisect, _ as positionOnCurve, a as healFace, b as filletWithEvolution, g as variableFillet, j as toGroupedBufferGeometryData, k as chamferDistAngle, l as solidFromShell, n as fixSelfIntersection, o as healSolid, r as fixShape, s as healWire, t as autoHeal, v as chamferWithEvolution, w as checkBoolean, x as fuseWithEvolution, y as cutWithEvolution } from "./healingFns-D3Yl3-zg.js";
8
8
  import { a as sharedEdges, c as wiresOfFace, n as edgesOfFace, o as verticesOfEdge, r as facesOfEdge, t as adjacentFaces } from "./adjacencyFns-CRqm5AS0.js";
9
9
  import { C as threePointArc, D as wireLoop, E as wire, S as tangentArc, T as vertex, _ as polygon, a as circle, b as sphere, c as cylinder, d as ellipsoid, f as face, g as offsetFace, h as line, i as bsplineApprox, l as ellipse, m as helix, n as bezier, o as compound, p as filledFace, r as box, s as cone, t as addHoles, u as ellipseArc, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-uXoHZuh9.js";
10
10
  export { addHoles, adjacentFaces, approximateCurve, asTopo, autoHeal, bezier, box, bsplineApprox, cast, chamferDistAngle as chamferDistAngleShape, chamferWithEvolution, checkBoolean, circle, classifyPointOnFace, clearMeshCache, compound, cone, createMeshCache, curveAxis, curveEndPoint, curveIsClosed, curveIsPeriodic, curveLength, curvePeriod, curvePointAt, curveStartPoint, curveTangentAt, cutAll, cutAllBisect, cutWithEvolution, cylinder, fromBREP as deserializeShape, downcast, edgesOfFace, ellipse, ellipseArc, ellipsoid, exportIGES, exportSTEP, exportSTL, face, faceAxis, faceCenter, faceGeomType, faceOrientation, facesOfEdge, filledFace, filletWithEvolution, fixSelfIntersection, fixShape, flipFaceOrientation, flipOrientation, fuseAll, fuseAllBisect, fuseWithEvolution, getBounds, getCurveType, getEdges, getFaces, getHashCode, getNurbsCurveData, getNurbsSurfaceData, getOrientation, getSurfaceType, getVertices, getWires, healFace, healSolid, healWire, helix, innerWires, interpolateCurve, intersectWithEvolution, invalidateShapeCache, isCompSolid, isEqualShape, isSameShape, iterEdges, iterFaces, iterTopo, iterVertices, iterWires, line, normalAt, offsetFace, offsetWire2D, outerWire, pointOnSurface, polygon, positionOnCurve, projectPointOnFace, sewShells, shapeType, sharedEdges, shellWithEvolution, solid, solidFromShell, sphere, subFace, tangentArc, threePointArc, toBufferGeometryData, toGroupedBufferGeometryData, toLineGeometryData, torus, uvBounds, uvCoordinates, variableFillet, vertex, vertexPosition, verticesOfEdge, wire, wireLoop, wiresOfFace };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brepjs",
3
- "version": "18.118.11",
3
+ "version": "18.118.12",
4
4
  "description": "Web CAD library with pluggable geometry kernel",
5
5
  "keywords": [
6
6
  "cad",