brepjs 18.20.5 → 18.22.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.
- package/dist/2d.cjs +6 -6
- package/dist/2d.js +6 -6
- package/dist/{blueprint-B6vmOy5_.cjs → blueprint-BRsNfnfQ.cjs} +5 -5
- package/dist/{blueprint-0bBVK6Be.js → blueprint-CQ04Ov5Z.js} +5 -5
- package/dist/{blueprintFns-Aiise3pc.cjs → blueprintFns-C5DCLCtZ.cjs} +2 -2
- package/dist/{blueprintFns-BJbTjW94.js → blueprintFns-DpPZNhFx.js} +2 -2
- package/dist/{blueprintSketcher-D_Z8NfOF.cjs → blueprintSketcher-DaF5OR4M.cjs} +3 -3
- package/dist/{blueprintSketcher-BkZrvGoG.js → blueprintSketcher-OwXVDMOb.js} +3 -3
- package/dist/{boolean2D-BAJ3efk_.js → boolean2D-BQKMy6dN.js} +4 -4
- package/dist/{boolean2D-1gc4kqNS.cjs → boolean2D-gwOq0VXi.cjs} +4 -4
- package/dist/{booleanFns-BsjoPJAS.js → booleanFns-CuXl5XQP.js} +4 -4
- package/dist/{booleanFns-D3mYqZxL.cjs → booleanFns-cmeKRsth.cjs} +4 -4
- package/dist/brepjs.cjs +24 -24
- package/dist/brepjs.js +24 -24
- package/dist/{cameraFns-QK8ahyDz.js → cameraFns-DC2ShyXC.js} +2 -2
- package/dist/{cameraFns-DgTBC2w3.cjs → cameraFns-LurBny3f.cjs} +2 -2
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-CkLZ23Kp.cjs → cornerFinder-BjjFVnDq.cjs} +1 -1
- package/dist/{cornerFinder-BaSsAk69.js → cornerFinder-CF8fVEx2.js} +1 -1
- package/dist/{curveFns-CE3b2sDD.cjs → curveFns-BR8gQOAc.cjs} +1 -1
- package/dist/{curveFns-BiSx9FTh.js → curveFns-Cimni2kq.js} +1 -1
- package/dist/{drawFns-BtHAHYa-.js → drawFns-Bh1LGuSX.js} +12 -12
- package/dist/{drawFns-BaxDgrlX.cjs → drawFns-btYAn61y.cjs} +12 -12
- package/dist/{extrudeFns-CRG478Q3.js → extrudeFns-BmF17qhf.js} +1 -1
- package/dist/{extrudeFns-DUPpueiL.cjs → extrudeFns-CLrrRprF.cjs} +1 -1
- package/dist/{faceFns-CLzDRrUE.cjs → faceFns-BFEUkmn7.cjs} +2 -2
- package/dist/{faceFns-C3C6l-X0.js → faceFns-D9UAkqPb.js} +2 -2
- package/dist/{helpers-DwG3OFk0.cjs → helpers-BnF1MObz.cjs} +6 -6
- package/dist/{helpers-rNVdiDLn.js → helpers-DnrXynu0.js} +6 -6
- package/dist/{historyFns-DSCnjCkQ.cjs → historyFns-BX9Bu5NT.cjs} +4 -4
- package/dist/{historyFns-CEr9D6ay.js → historyFns-DGDKVD6-.js} +4 -4
- package/dist/{importFns-Hh3S9NPm.js → importFns-B9RUaVsc.js} +191 -139
- package/dist/{importFns-A8v4Pdw2.cjs → importFns-BMN4KCmX.cjs} +191 -139
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/occt/advancedOps.d.ts +9 -13
- package/dist/{measureFns-DMyJp_x3.cjs → measureFns-CaOR1TEA.cjs} +3 -3
- package/dist/{measureFns--uvW_r_P.js → measureFns-CiCx5o_s.js} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-DTn__aNb.cjs → meshFns-CIdP0f35.cjs} +2 -2
- package/dist/{meshFns-Bxt57KX1.js → meshFns-k-gSXquL.js} +2 -2
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{primitiveFns-CX5c_YGt.cjs → primitiveFns-Ds2LNkol.cjs} +55 -34
- package/dist/{primitiveFns-w1zNsxTH.js → primitiveFns-OvPYb4CU.js} +55 -34
- package/dist/projection.cjs +1 -1
- package/dist/projection.js +1 -1
- package/dist/query.cjs +2 -2
- package/dist/query.js +2 -2
- package/dist/{shapeFns-cTuUm-aP.cjs → shapeFns-BD6oYLMM.cjs} +2 -2
- package/dist/{shapeFns-Dsxp5d_u.js → shapeFns-ByuSx62n.js} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeRefFns-zFWzAmQZ.js → shapeRefFns-Bv3Jj1vz.js} +4 -4
- package/dist/{shapeRefFns-SctbRFju.cjs → shapeRefFns-CybMlSCu.cjs} +4 -4
- package/dist/{shapeTypes-DmHPJc_M.js → shapeTypes-BdIQ-d5X.js} +119 -127
- package/dist/{shapeTypes-C1FUZ2zE.cjs → shapeTypes-D6hfaPZq.cjs} +119 -127
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-BGJvTrDt.cjs → solidBuilders-DAHTAqeh.cjs} +2 -2
- package/dist/{solidBuilders-CJ8ckc61.js → solidBuilders-TJZOIga_.js} +2 -2
- package/dist/{surfaceBuilders-B7A2uoBJ.cjs → surfaceBuilders-CzRFME5_.cjs} +2 -2
- package/dist/{surfaceBuilders-B_wXW8QS.js → surfaceBuilders-rNgtRqTR.js} +2 -2
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-LYHgEdsx.js → textBlueprints-C9eKTxef.js} +7 -7
- package/dist/{textBlueprints-BCTQk9T8.cjs → textBlueprints-D7gWCZ88.cjs} +7 -7
- package/dist/{textMetrics-Dd-Vva8S.js → textMetrics-0y73spLE.js} +1 -1
- package/dist/{textMetrics-BNfyRNxm.cjs → textMetrics-B5SN90x5.cjs} +1 -1
- package/dist/topology.cjs +7 -7
- package/dist/topology.js +7 -7
- package/dist/{topologyQueryFns-CcHXn5M2.js → topologyQueryFns-Ds2H75YB.js} +1 -1
- package/dist/{topologyQueryFns-DCICDnwA.cjs → topologyQueryFns-hG0APAJN.cjs} +1 -1
- package/package.json +2 -1
|
@@ -4181,23 +4181,8 @@ function fixSelfIntersection$1(oc, wire) {
|
|
|
4181
4181
|
fixer.delete();
|
|
4182
4182
|
return result;
|
|
4183
4183
|
}
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
const adaptor = new oc.BRepAdaptor_Surface_2(face, false);
|
|
4187
|
-
const P = new oc.gp_Pnt_1();
|
|
4188
|
-
const D1U = new oc.gp_Vec_1();
|
|
4189
|
-
const D1V = new oc.gp_Vec_1();
|
|
4190
|
-
const D2U = new oc.gp_Vec_1();
|
|
4191
|
-
const D2V = new oc.gp_Vec_1();
|
|
4192
|
-
const D2UV = new oc.gp_Vec_1();
|
|
4193
|
-
adaptor.D2(u, v, P, D1U, D1V, D2U, D2V, D2UV);
|
|
4194
|
-
const E = D1U.Dot(D1U);
|
|
4195
|
-
const F = D1U.Dot(D1V);
|
|
4196
|
-
const G = D1V.Dot(D1V);
|
|
4197
|
-
const N = D1U.Crossed(D1V);
|
|
4198
|
-
const nLen = N.Magnitude();
|
|
4199
|
-
let result;
|
|
4200
|
-
if (nLen < 1e-15) result = {
|
|
4184
|
+
function degenerateCurvature() {
|
|
4185
|
+
return {
|
|
4201
4186
|
gaussian: 0,
|
|
4202
4187
|
mean: 0,
|
|
4203
4188
|
max: 0,
|
|
@@ -4213,65 +4198,69 @@ function surfaceCurvature$1(oc, face, u, v) {
|
|
|
4213
4198
|
0
|
|
4214
4199
|
]
|
|
4215
4200
|
};
|
|
4216
|
-
|
|
4201
|
+
}
|
|
4202
|
+
/**
|
|
4203
|
+
* Solve principal curvatures and one principal direction in (du, dv) coords
|
|
4204
|
+
* from the first and second fundamental forms. Returns null if the system is
|
|
4205
|
+
* degenerate (E*G - F*F ≈ 0).
|
|
4206
|
+
*/
|
|
4207
|
+
function solvePrincipalCurvatures(E, F, G, L, M, N2) {
|
|
4208
|
+
const denom = E * G - F * F;
|
|
4209
|
+
if (Math.abs(denom) < 1e-15) return null;
|
|
4210
|
+
const mean = (E * N2 - 2 * F * M + G * L) / (2 * denom);
|
|
4211
|
+
const gaussian = (L * N2 - M * M) / denom;
|
|
4212
|
+
const sqrtDisc = Math.sqrt(Math.max(0, mean * mean - gaussian));
|
|
4213
|
+
const k1 = mean + sqrtDisc;
|
|
4214
|
+
const k2 = mean - sqrtDisc;
|
|
4215
|
+
const a12 = (G * M - F * N2) / denom;
|
|
4216
|
+
const a21 = (E * M - F * L) / denom;
|
|
4217
|
+
const a11 = (G * L - F * M) / denom;
|
|
4218
|
+
let du1, dv1;
|
|
4219
|
+
if (Math.abs(a12) > 1e-15) {
|
|
4220
|
+
du1 = a12;
|
|
4221
|
+
dv1 = k1 - a11;
|
|
4222
|
+
} else if (Math.abs(a21) > 1e-15) {
|
|
4223
|
+
du1 = k1 - (E * N2 - F * M) / denom;
|
|
4224
|
+
dv1 = a21;
|
|
4225
|
+
} else {
|
|
4226
|
+
du1 = 1;
|
|
4227
|
+
dv1 = 0;
|
|
4228
|
+
}
|
|
4229
|
+
return {
|
|
4230
|
+
mean,
|
|
4231
|
+
gaussian,
|
|
4232
|
+
k1,
|
|
4233
|
+
k2,
|
|
4234
|
+
du1,
|
|
4235
|
+
dv1
|
|
4236
|
+
};
|
|
4237
|
+
}
|
|
4238
|
+
/** Compute surface curvature at a UV point on a face. */
|
|
4239
|
+
function surfaceCurvature$1(oc, face, u, v) {
|
|
4240
|
+
const adaptor = new oc.BRepAdaptor_Surface_2(face, false);
|
|
4241
|
+
const P = new oc.gp_Pnt_1();
|
|
4242
|
+
const D1U = new oc.gp_Vec_1();
|
|
4243
|
+
const D1V = new oc.gp_Vec_1();
|
|
4244
|
+
const D2U = new oc.gp_Vec_1();
|
|
4245
|
+
const D2V = new oc.gp_Vec_1();
|
|
4246
|
+
const D2UV = new oc.gp_Vec_1();
|
|
4247
|
+
adaptor.D2(u, v, P, D1U, D1V, D2U, D2V, D2UV);
|
|
4248
|
+
const E = D1U.Dot(D1U);
|
|
4249
|
+
const F = D1U.Dot(D1V);
|
|
4250
|
+
const G = D1V.Dot(D1V);
|
|
4251
|
+
const N = D1U.Crossed(D1V);
|
|
4252
|
+
const nLen = N.Magnitude();
|
|
4253
|
+
let result = degenerateCurvature();
|
|
4254
|
+
if (nLen >= 1e-15) {
|
|
4217
4255
|
N.Divide(nLen);
|
|
4218
|
-
const
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
D1U.
|
|
4225
|
-
D1V.
|
|
4226
|
-
D2U.delete();
|
|
4227
|
-
D2V.delete();
|
|
4228
|
-
D2UV.delete();
|
|
4229
|
-
N.delete();
|
|
4230
|
-
adaptor.delete();
|
|
4231
|
-
return {
|
|
4232
|
-
gaussian: 0,
|
|
4233
|
-
mean: 0,
|
|
4234
|
-
max: 0,
|
|
4235
|
-
min: 0,
|
|
4236
|
-
maxDirection: [
|
|
4237
|
-
1,
|
|
4238
|
-
0,
|
|
4239
|
-
0
|
|
4240
|
-
],
|
|
4241
|
-
minDirection: [
|
|
4242
|
-
0,
|
|
4243
|
-
1,
|
|
4244
|
-
0
|
|
4245
|
-
]
|
|
4246
|
-
};
|
|
4247
|
-
}
|
|
4248
|
-
const mean = (E * N2 - 2 * F * M + G * L) / (2 * denom);
|
|
4249
|
-
const gaussian = (L * N2 - M * M) / denom;
|
|
4250
|
-
const disc = Math.max(0, mean * mean - gaussian);
|
|
4251
|
-
const sqrtDisc = Math.sqrt(disc);
|
|
4252
|
-
const k1 = mean + sqrtDisc;
|
|
4253
|
-
const k2 = mean - sqrtDisc;
|
|
4254
|
-
const a12 = (G * M - F * N2) / denom;
|
|
4255
|
-
const a21 = (E * M - F * L) / denom;
|
|
4256
|
-
const a11 = (G * L - F * M) / denom;
|
|
4257
|
-
let du1, dv1;
|
|
4258
|
-
if (Math.abs(a12) > 1e-15) {
|
|
4259
|
-
du1 = a12;
|
|
4260
|
-
dv1 = k1 - a11;
|
|
4261
|
-
} else if (Math.abs(a21) > 1e-15) {
|
|
4262
|
-
du1 = k1 - (E * N2 - F * M) / denom;
|
|
4263
|
-
dv1 = a21;
|
|
4264
|
-
} else {
|
|
4265
|
-
du1 = 1;
|
|
4266
|
-
dv1 = 0;
|
|
4267
|
-
}
|
|
4268
|
-
result = {
|
|
4269
|
-
gaussian,
|
|
4270
|
-
mean,
|
|
4271
|
-
max: k1,
|
|
4272
|
-
min: k2,
|
|
4273
|
-
maxDirection: dirFromUV(D1U, D1V, du1, dv1),
|
|
4274
|
-
minDirection: dirFromUV(D1U, D1V, -dv1, du1)
|
|
4256
|
+
const solved = solvePrincipalCurvatures(E, F, G, D2U.Dot(N), D2UV.Dot(N), D2V.Dot(N));
|
|
4257
|
+
if (solved) result = {
|
|
4258
|
+
gaussian: solved.gaussian,
|
|
4259
|
+
mean: solved.mean,
|
|
4260
|
+
max: solved.k1,
|
|
4261
|
+
min: solved.k2,
|
|
4262
|
+
maxDirection: dirFromUV(D1U, D1V, solved.du1, solved.dv1),
|
|
4263
|
+
minDirection: dirFromUV(D1U, D1V, -solved.dv1, solved.du1)
|
|
4275
4264
|
};
|
|
4276
4265
|
}
|
|
4277
4266
|
P.delete();
|
|
@@ -4467,61 +4456,51 @@ function writeXCAFToSTEP$1(oc, doc, options = {}) {
|
|
|
4467
4456
|
sessionHandle.delete();
|
|
4468
4457
|
return result;
|
|
4469
4458
|
}
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
const
|
|
4473
|
-
const
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
oc.
|
|
4477
|
-
oc.
|
|
4478
|
-
oc.
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
nameStr.delete();
|
|
4486
|
-
const mainLabel = doc.Main();
|
|
4487
|
-
const shapeTool = oc.XCAFDoc_DocumentTool.ShapeTool(mainLabel).get();
|
|
4488
|
-
const colorTool = oc.XCAFDoc_DocumentTool.ColorTool(mainLabel).get();
|
|
4489
|
-
oc.XCAFDoc_ShapeTool.SetAutoNaming(false);
|
|
4490
|
-
for (const part of shapes) {
|
|
4491
|
-
const shapeNode = shapeTool.AddShape(part.shape, false, true);
|
|
4492
|
-
if (part.name) {
|
|
4493
|
-
const partName = new oc.TCollection_ExtendedString_2(part.name, true);
|
|
4494
|
-
oc.TDataStd_Name.Set_1(shapeNode, partName);
|
|
4495
|
-
partName.delete();
|
|
4496
|
-
}
|
|
4497
|
-
if (part.color) {
|
|
4498
|
-
const [r, g, b, a] = part.color;
|
|
4499
|
-
const rgba = new oc.Quantity_ColorRGBA_5(r / 255, g / 255, b / 255, a / 255);
|
|
4500
|
-
colorTool.SetColor_3(shapeNode, rgba, oc.XCAFDoc_ColorType.XCAFDoc_ColorSurf);
|
|
4501
|
-
rgba.delete();
|
|
4502
|
-
}
|
|
4459
|
+
function exportStepConfiguredXCAF(oc, shapes) {
|
|
4460
|
+
new oc.STEPCAFControl_Writer_1().delete();
|
|
4461
|
+
const nameStr = new oc.TCollection_ExtendedString_2("XmlOcaf", true);
|
|
4462
|
+
const doc = new oc.TDocStd_Document(nameStr);
|
|
4463
|
+
nameStr.delete();
|
|
4464
|
+
const mainLabel = doc.Main();
|
|
4465
|
+
const shapeTool = oc.XCAFDoc_DocumentTool.ShapeTool(mainLabel).get();
|
|
4466
|
+
const colorTool = oc.XCAFDoc_DocumentTool.ColorTool(mainLabel).get();
|
|
4467
|
+
oc.XCAFDoc_ShapeTool.SetAutoNaming(false);
|
|
4468
|
+
for (const part of shapes) {
|
|
4469
|
+
const shapeNode = shapeTool.AddShape(part.shape, false, true);
|
|
4470
|
+
if (part.name) {
|
|
4471
|
+
const partName = new oc.TCollection_ExtendedString_2(part.name, true);
|
|
4472
|
+
oc.TDataStd_Name.Set_1(shapeNode, partName);
|
|
4473
|
+
partName.delete();
|
|
4503
4474
|
}
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
writer.Transfer_1(docHandle, oc.STEPControl_StepModelType.STEPControl_AsIs, null, progress);
|
|
4510
|
-
progress.delete();
|
|
4511
|
-
const filename = uniqueIOFilename("_step_cfg_export", "step");
|
|
4512
|
-
const status = writer.Write(filename);
|
|
4513
|
-
let result = "";
|
|
4514
|
-
if (status === oc.IFSelect_ReturnStatus.IFSelect_RetDone) {
|
|
4515
|
-
const content = oc.FS.readFile("/" + filename);
|
|
4516
|
-
result = new TextDecoder().decode(content);
|
|
4517
|
-
oc.FS.unlink("/" + filename);
|
|
4475
|
+
if (part.color) {
|
|
4476
|
+
const [r, g, b, a] = part.color;
|
|
4477
|
+
const rgba = new oc.Quantity_ColorRGBA_5(r / 255, g / 255, b / 255, a / 255);
|
|
4478
|
+
colorTool.SetColor_3(shapeNode, rgba, oc.XCAFDoc_ColorType.XCAFDoc_ColorSurf);
|
|
4479
|
+
rgba.delete();
|
|
4518
4480
|
}
|
|
4519
|
-
writer.delete();
|
|
4520
|
-
sessionHandle.delete();
|
|
4521
|
-
docHandle.delete();
|
|
4522
|
-
doc.delete();
|
|
4523
|
-
return result;
|
|
4524
4481
|
}
|
|
4482
|
+
const session = new oc.XSControl_WorkSession();
|
|
4483
|
+
const sessionHandle = new oc.Handle_XSControl_WorkSession_2(session);
|
|
4484
|
+
const writer = new oc.STEPCAFControl_Writer_2(sessionHandle, false);
|
|
4485
|
+
const docHandle = new oc.Handle_TDocStd_Document_2(doc);
|
|
4486
|
+
const progress = new oc.Message_ProgressRange_1();
|
|
4487
|
+
writer.Transfer_1(docHandle, oc.STEPControl_StepModelType.STEPControl_AsIs, null, progress);
|
|
4488
|
+
progress.delete();
|
|
4489
|
+
const filename = uniqueIOFilename("_step_cfg_export", "step");
|
|
4490
|
+
const status = writer.Write(filename);
|
|
4491
|
+
let result = "";
|
|
4492
|
+
if (status === oc.IFSelect_ReturnStatus.IFSelect_RetDone) {
|
|
4493
|
+
const content = oc.FS.readFile("/" + filename);
|
|
4494
|
+
result = new TextDecoder().decode(content);
|
|
4495
|
+
oc.FS.unlink("/" + filename);
|
|
4496
|
+
}
|
|
4497
|
+
writer.delete();
|
|
4498
|
+
sessionHandle.delete();
|
|
4499
|
+
docHandle.delete();
|
|
4500
|
+
doc.delete();
|
|
4501
|
+
return result;
|
|
4502
|
+
}
|
|
4503
|
+
function exportStepConfiguredSimple(oc, shapes) {
|
|
4525
4504
|
const writer = new oc.STEPControl_Writer_1();
|
|
4526
4505
|
writer.Model(true).delete();
|
|
4527
4506
|
const progress = new oc.Message_ProgressRange_1();
|
|
@@ -4537,6 +4516,19 @@ function exportSTEPConfigured$1(oc, shapes, options = {}) {
|
|
|
4537
4516
|
}
|
|
4538
4517
|
throw new Error("STEP configured export failed: writer did not complete successfully");
|
|
4539
4518
|
}
|
|
4519
|
+
/** Export shapes to STEP with full configuration. */
|
|
4520
|
+
function exportSTEPConfigured$1(oc, shapes, options = {}) {
|
|
4521
|
+
const unit = options.unit ?? "MM";
|
|
4522
|
+
const modelUnit = options.modelUnit ?? unit;
|
|
4523
|
+
const schema = options.schema ?? 5;
|
|
4524
|
+
oc.Interface_Static.SetCVal("xstep.cascade.unit", modelUnit);
|
|
4525
|
+
oc.Interface_Static.SetCVal("write.step.unit", unit);
|
|
4526
|
+
oc.Interface_Static.SetIVal("write.surfacecurve.mode", true);
|
|
4527
|
+
oc.Interface_Static.SetIVal("write.precision.mode", 0);
|
|
4528
|
+
oc.Interface_Static.SetIVal("write.step.assembly", 2);
|
|
4529
|
+
oc.Interface_Static.SetIVal("write.step.schema", schema);
|
|
4530
|
+
return shapes.some((s) => s.name || s.color) ? exportStepConfiguredXCAF(oc, shapes) : exportStepConfiguredSimple(oc, shapes);
|
|
4531
|
+
}
|
|
4540
4532
|
/** Co-located factory: returns the advanced-ops slice of {@link KernelAdapter} bound to `oc`. */
|
|
4541
4533
|
function makeAdvancedOps(oc) {
|
|
4542
4534
|
return {
|
package/dist/sketching.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_textBlueprints = require("./textBlueprints-
|
|
3
|
-
const require_blueprintSketcher = require("./blueprintSketcher-
|
|
4
|
-
const require_drawFns = require("./drawFns-
|
|
2
|
+
const require_textBlueprints = require("./textBlueprints-D7gWCZ88.cjs");
|
|
3
|
+
const require_blueprintSketcher = require("./blueprintSketcher-DaF5OR4M.cjs");
|
|
4
|
+
const require_drawFns = require("./drawFns-btYAn61y.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-
|
|
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-
|
|
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-
|
|
1
|
+
import { n as BaseSketcher2d, t as BlueprintSketcher } from "./blueprintSketcher-OwXVDMOb.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-Bh1LGuSX.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-C9eKTxef.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
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-D6hfaPZq.cjs");
|
|
2
2
|
const require_errors = require("./errors-DxoD7zgx.cjs");
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_faceFns = require("./faceFns-BFEUkmn7.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, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, _ as isSolid, c as createSolid, g as isShell, h as isShape3D, i as createCompound, l as createVertex } from "./shapeTypes-BdIQ-d5X.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-
|
|
3
|
+
import { _ as downcast, g as cast } from "./faceFns-D9UAkqPb.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-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-D6hfaPZq.cjs");
|
|
2
2
|
const require_errors = require("./errors-DxoD7zgx.cjs");
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
3
|
+
const require_faceFns = require("./faceFns-BFEUkmn7.cjs");
|
|
4
4
|
//#region src/utils/range.ts
|
|
5
5
|
/** Generate an array of integers `[0, 1, …, len - 1]`. */
|
|
6
6
|
function range(len) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-
|
|
1
|
+
import { Z as getKernel, a as createEdge, o as createFace, p as isFace, u as createWire, w as isPlanarFace } from "./shapeTypes-BdIQ-d5X.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-
|
|
3
|
+
import { g as cast, l as outerWire } from "./faceFns-D9UAkqPb.js";
|
|
4
4
|
//#region src/utils/range.ts
|
|
5
5
|
/** Generate an array of integers `[0, 1, …, len - 1]`. */
|
|
6
6
|
function range(len) {
|
package/dist/text.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_textBlueprints = require("./textBlueprints-
|
|
3
|
-
const require_textMetrics = require("./textMetrics-
|
|
2
|
+
const require_textBlueprints = require("./textBlueprints-D7gWCZ88.cjs");
|
|
3
|
+
const require_textMetrics = require("./textMetrics-B5SN90x5.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-
|
|
2
|
-
import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-
|
|
1
|
+
import { n as getFont, r as loadFont, t as textBlueprints } from "./textBlueprints-C9eKTxef.js";
|
|
2
|
+
import { n as textMetrics, r as sketchText, t as fontMetrics } from "./textMetrics-0y73spLE.js";
|
|
3
3
|
export { fontMetrics, getFont, loadFont, sketchText, textBlueprints, textMetrics };
|
|
@@ -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-
|
|
1
|
+
import { Z as getKernel, h as isShape3D, o as createFace, p as isFace, t as castShape, u as createWire } from "./shapeTypes-BdIQ-d5X.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-
|
|
7
|
-
import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-
|
|
6
|
+
import { _ as downcast, g as cast } from "./faceFns-D9UAkqPb.js";
|
|
7
|
+
import { c as curveStartPoint, l as curveTangentAt } from "./curveFns-Cimni2kq.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-
|
|
10
|
-
import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-
|
|
11
|
-
import { o as makeSolid, t as makeCompound } from "./solidBuilders-
|
|
12
|
-
import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-
|
|
9
|
+
import { i as makeNewFaceWithinFace, r as makeFace, t as addHolesInFace } from "./surfaceBuilders-rNgtRqTR.js";
|
|
10
|
+
import { r as organiseBlueprints, t as BlueprintSketcher } from "./blueprintSketcher-OwXVDMOb.js";
|
|
11
|
+
import { o as makeSolid, t as makeCompound } from "./solidBuilders-TJZOIga_.js";
|
|
12
|
+
import { c as sweep, i as complexExtrude, l as twistExtrude, r as revolve, t as extrude } from "./extrudeFns-BmF17qhf.js";
|
|
13
13
|
import opentype from "opentype.js";
|
|
14
14
|
//#region src/operations/loftFns.ts
|
|
15
15
|
/**
|
|
@@ -29,18 +29,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
enumerable: true
|
|
30
30
|
}) : target, mod));
|
|
31
31
|
//#endregion
|
|
32
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
32
|
+
const require_shapeTypes = require("./shapeTypes-D6hfaPZq.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-
|
|
38
|
-
const require_curveFns = require("./curveFns-
|
|
37
|
+
const require_faceFns = require("./faceFns-BFEUkmn7.cjs");
|
|
38
|
+
const require_curveFns = require("./curveFns-BR8gQOAc.cjs");
|
|
39
39
|
const require_arrayAccess = require("./arrayAccess-e4H9cBfh.cjs");
|
|
40
|
-
const require_surfaceBuilders = require("./surfaceBuilders-
|
|
41
|
-
const require_blueprintSketcher = require("./blueprintSketcher-
|
|
42
|
-
const require_solidBuilders = require("./solidBuilders-
|
|
43
|
-
const require_extrudeFns = require("./extrudeFns-
|
|
40
|
+
const require_surfaceBuilders = require("./surfaceBuilders-CzRFME5_.cjs");
|
|
41
|
+
const require_blueprintSketcher = require("./blueprintSketcher-DaF5OR4M.cjs");
|
|
42
|
+
const require_solidBuilders = require("./solidBuilders-DAHTAqeh.cjs");
|
|
43
|
+
const require_extrudeFns = require("./extrudeFns-CLrrRprF.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,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-
|
|
2
|
+
import { g as wrapSketchData, i as Sketches, n as getFont, t as textBlueprints, v as CompoundSketch } from "./textBlueprints-C9eKTxef.js";
|
|
3
3
|
//#region src/text/sketchText.ts
|
|
4
4
|
/**
|
|
5
5
|
* Render text as 3D sketch outlines on a plane.
|
package/dist/topology.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_topologyQueryFns = require("./topologyQueryFns-
|
|
3
|
-
const require_faceFns = require("./faceFns-
|
|
4
|
-
const require_shapeFns = require("./shapeFns-
|
|
5
|
-
const require_curveFns = require("./curveFns-
|
|
6
|
-
const require_meshFns = require("./meshFns-
|
|
7
|
-
const require_booleanFns = require("./booleanFns-
|
|
8
|
-
const require_primitiveFns = require("./primitiveFns-
|
|
2
|
+
const require_topologyQueryFns = require("./topologyQueryFns-hG0APAJN.cjs");
|
|
3
|
+
const require_faceFns = require("./faceFns-BFEUkmn7.cjs");
|
|
4
|
+
const require_shapeFns = require("./shapeFns-BD6oYLMM.cjs");
|
|
5
|
+
const require_curveFns = require("./curveFns-BR8gQOAc.cjs");
|
|
6
|
+
const require_meshFns = require("./meshFns-CIdP0f35.cjs");
|
|
7
|
+
const require_booleanFns = require("./booleanFns-cmeKRsth.cjs");
|
|
8
|
+
const require_primitiveFns = require("./primitiveFns-Ds2LNkol.cjs");
|
|
9
9
|
exports.addHoles = require_primitiveFns.addHoles;
|
|
10
10
|
exports.adjacentFaces = require_primitiveFns.adjacentFaces;
|
|
11
11
|
exports.approximateCurve = require_curveFns.approximateCurve;
|
package/dist/topology.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as invalidateShapeCache, f as iterEdges, g as vertexPosition, h as iterWires, l as getVertices, m as iterVertices, n as getBounds, o as getEdges, p as iterFaces, s as getFaces, u as getWires } from "./topologyQueryFns-
|
|
2
|
-
import { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-
|
|
3
|
-
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-
|
|
4
|
-
import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-
|
|
5
|
-
import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-
|
|
6
|
-
import { a as fuseAll, r as cutAll } from "./booleanFns-
|
|
7
|
-
import { $ as fuseAllBisect, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as cutAllBisect, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-
|
|
1
|
+
import { d as invalidateShapeCache, f as iterEdges, g as vertexPosition, h as iterWires, l as getVertices, m as iterVertices, n as getBounds, o as getEdges, p as iterFaces, s as getFaces, u as getWires } from "./topologyQueryFns-Ds2H75YB.js";
|
|
2
|
+
import { _ as downcast, a as flipFaceOrientation, b as iterTopo, c as normalAt, d as projectPointOnFace, g as cast, h as asTopo, i as faceOrientation, l as outerWire, m as uvCoordinates, n as faceCenter, o as getSurfaceType, p as uvBounds, r as faceGeomType, s as innerWires, t as classifyPointOnFace, u as pointOnSurface, v as fromBREP, x as shapeType, y as isCompSolid } from "./faceFns-D9UAkqPb.js";
|
|
3
|
+
import { a as isSameShape, i as isEqualShape, n as getHashCode } from "./shapeFns-ByuSx62n.js";
|
|
4
|
+
import { a as curveLength, c as curveStartPoint, d as getCurveType, f as getOrientation, i as curveIsPeriodic, l as curveTangentAt, m as offsetWire2D, n as curveEndPoint, o as curvePeriod, p as interpolateCurve, r as curveIsClosed, s as curvePointAt, t as approximateCurve, u as flipOrientation } from "./curveFns-Cimni2kq.js";
|
|
5
|
+
import { c as createMeshCache, n as exportSTEP, r as exportSTL, s as clearMeshCache, t as exportIGES } from "./meshFns-k-gSXquL.js";
|
|
6
|
+
import { a as fuseAll, r as cutAll } from "./booleanFns-CuXl5XQP.js";
|
|
7
|
+
import { $ as fuseAllBisect, A as fixShape, C as threePointArc, D as wireLoop, E as wire, G as chamferWithEvolution, I as solidFromShell, J as fuseWithEvolution, K as cutWithEvolution, M as healFace, N as healSolid, O as autoHeal, P as healWire, Q as cutAllBisect, S as tangentArc, T as vertex, U as variableFillet, W as positionOnCurve, X as shellWithEvolution, Y as intersectWithEvolution, Z as checkBoolean, _ as polygon, a as circle, at as sharedEdges, b as sphere, c as cylinder, ct as chamferDistAngle, d as ellipsoid, et as getNurbsCurveData, f as face, ft as toLineGeometryData, g as offsetFace, h as line, i as bsplineApprox, it as facesOfEdge, k as fixSelfIntersection, l as ellipse, lt as toBufferGeometryData, m as helix, n as bezier, nt as adjacentFaces, o as compound, ot as verticesOfEdge, p as filledFace, q as filletWithEvolution, r as box, rt as edgesOfFace, s as cone, st as wiresOfFace, t as addHoles, tt as getNurbsSurfaceData, u as ellipseArc, ut as toGroupedBufferGeometryData, v as sewShells, w as torus, x as subFace, y as solid } from "./primitiveFns-OvPYb4CU.js";
|
|
8
8
|
export { addHoles, adjacentFaces, approximateCurve, asTopo, autoHeal, bezier, box, bsplineApprox, cast, chamferDistAngle as chamferDistAngleShape, chamferWithEvolution, checkBoolean, circle, classifyPointOnFace, clearMeshCache, compound, cone, createMeshCache, curveEndPoint, curveIsClosed, curveIsPeriodic, curveLength, curvePeriod, curvePointAt, curveStartPoint, curveTangentAt, cutAll, cutAllBisect, cutWithEvolution, cylinder, fromBREP as deserializeShape, downcast, edgesOfFace, ellipse, ellipseArc, ellipsoid, exportIGES, exportSTEP, exportSTL, face, faceCenter, faceGeomType, faceOrientation, facesOfEdge, filledFace, filletWithEvolution, fixSelfIntersection, fixShape, flipFaceOrientation, flipOrientation, fuseAll, fuseAllBisect, fuseWithEvolution, getBounds, getCurveType, getEdges, getFaces, getHashCode, getNurbsCurveData, getNurbsSurfaceData, getOrientation, getSurfaceType, getVertices, getWires, healFace, healSolid, healWire, helix, innerWires, interpolateCurve, intersectWithEvolution, invalidateShapeCache, isCompSolid, isEqualShape, isSameShape, iterEdges, iterFaces, iterTopo, iterVertices, iterWires, line, normalAt, offsetFace, offsetWire2D, outerWire, pointOnSurface, polygon, positionOnCurve, projectPointOnFace, sewShells, shapeType, sharedEdges, shellWithEvolution, solid, solidFromShell, sphere, subFace, tangentArc, threePointArc, toBufferGeometryData, toGroupedBufferGeometryData, toLineGeometryData, torus, uvBounds, uvCoordinates, variableFillet, vertex, vertexPosition, verticesOfEdge, wire, wireLoop, wiresOfFace };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-
|
|
1
|
+
import { N as getOrQueryType, R as DisposalScope, Y as _usingCtx, Z as getKernel, r as castShapeWithKnownType, t as castShape } from "./shapeTypes-BdIQ-d5X.js";
|
|
2
2
|
import { A as ok, b as err, f as getSuggestionForCode, p as translateKernelError } from "./errors-BJSTLaDI.js";
|
|
3
3
|
//#region src/core/kernelCall.ts
|
|
4
4
|
function buildError(kind, code, message, cause, suggestion) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-D6hfaPZq.cjs");
|
|
2
2
|
const require_errors = require("./errors-DxoD7zgx.cjs");
|
|
3
3
|
//#region src/core/kernelCall.ts
|
|
4
4
|
function buildError(kind, code, message, cause, suggestion) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brepjs",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.22.0",
|
|
4
4
|
"description": "Web CAD library with pluggable geometry kernel",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cad",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"packageManager": "npm@11.6.1",
|
|
24
24
|
"workspaces": [
|
|
25
25
|
"packages/brepjs-opencascade",
|
|
26
|
+
"packages/brepjs-bim",
|
|
26
27
|
"apps/playground",
|
|
27
28
|
"apps/docs"
|
|
28
29
|
],
|