brepjs 20.12.1 → 20.12.4
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/{adjacencyFns-C0YD3Zrp.js → adjacencyFns-54UTqtan.js} +3 -3
- package/dist/{adjacencyFns-Cibtcqdl.cjs → adjacencyFns-C_Vb1AeW.cjs} +3 -3
- package/dist/{blueprint-CHBjfXQO.cjs → blueprint-D0VEeTzJ.cjs} +5 -5
- package/dist/{blueprint-CN5dNZ1h.js → blueprint-DFpjcrlm.js} +5 -5
- package/dist/{blueprintFns-DOdzDcPX.cjs → blueprintFns-Douf5ZdX.cjs} +2 -2
- package/dist/{blueprintFns--26Mr3Lm.js → blueprintFns-Dye1jezD.js} +2 -2
- package/dist/{blueprintSketcher-CQPC4SEF.js → blueprintSketcher-Cr0Lr1Dq.js} +3 -3
- package/dist/{blueprintSketcher-CG4H8A6M.cjs → blueprintSketcher-W9yON-UC.cjs} +3 -3
- package/dist/{boolean2D-DjJogOY-.cjs → boolean2D-C9VghXHG.cjs} +4 -4
- package/dist/{boolean2D-tR_2N_Vy.js → boolean2D-CCV3R6lN.js} +4 -4
- package/dist/brepjs.cjs +30 -30
- package/dist/brepjs.js +30 -30
- package/dist/{cameraFns-xUCRxpsa.js → cameraFns-DZOI_ewG.js} +3 -3
- package/dist/{cameraFns-CUX8VNKT.cjs → cameraFns-x3L6dtA8.cjs} +3 -3
- package/dist/core.cjs +2 -2
- package/dist/core.js +2 -2
- package/dist/{cornerFinder-Bg67ivza.cjs → cornerFinder-B8PqO4um.cjs} +1 -1
- package/dist/{cornerFinder-utEooGH7.js → cornerFinder-BY10jciz.js} +1 -1
- package/dist/{curveFns-CMiP40Ko.cjs → curveFns-8lUhNquZ.cjs} +1 -1
- package/dist/{curveFns-AMqd_WaO.js → curveFns-B4308HNM.js} +1 -1
- package/dist/{drawFns-C_YnK4Ar.cjs → drawFns-C7zAvera.cjs} +12 -12
- package/dist/{drawFns-D6YK0JbH.js → drawFns-DjnU3fEd.js} +12 -12
- package/dist/{faceFns-Ciq7lYTa.js → faceFns-7eHqNM0P.js} +9 -5
- package/dist/{faceFns-CdUF0JOe.cjs → faceFns-BjmlYcc9.cjs} +9 -5
- package/dist/{healingFns-Dchd7dm5.js → healingFns-BW7mZ_SW.js} +5 -5
- package/dist/{healingFns-CrUTSyyK.cjs → healingFns-CYLIcIWv.cjs} +5 -5
- package/dist/{helpers-CBXclBes.js → helpers-BQ6XMFcm.js} +6 -6
- package/dist/{helpers-GZyqAK5c.cjs → helpers-De0Z_6iV.cjs} +6 -6
- package/dist/{importFns-C3LbWc6X.cjs → importFns-3IMBHQrQ.cjs} +2 -2
- package/dist/{importFns-CcPhunG6.js → importFns-BCL4-H8e.js} +2 -2
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/kernel/geometry2d.d.ts +7 -0
- package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
- package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
- package/dist/{loftFns-BsFinbgs.cjs → loftFns-DlG5oR0X.cjs} +1 -1
- package/dist/{loftFns-pMh0ET-J.js → loftFns-H4ZOpRAk.js} +1 -1
- package/dist/{measureFns-DukwjzUl.js → measureFns-1IfNe629.js} +3 -3
- package/dist/{measureFns-Cyjpl2Kl.cjs → measureFns-Ce01LVwq.cjs} +3 -3
- package/dist/measurement.cjs +2 -2
- package/dist/measurement.js +2 -2
- package/dist/{meshFns-LytwBtBQ.js → meshFns-DaRZxa7B.js} +3 -3
- package/dist/{meshFns-BNrdUhgG.cjs → meshFns-nEvfwNRF.cjs} +3 -3
- package/dist/{occtWasmAdapter-D1EXktNq.cjs → occtWasmAdapter-CRd9RFEu.cjs} +32 -3
- package/dist/{occtWasmAdapter-RBm-JLoN.js → occtWasmAdapter-ipKUdNLN.js} +32 -3
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/{originTrackingFns-BRJ2PZ8J.cjs → originTrackingFns-9gyCMFFQ.cjs} +2 -2
- package/dist/{originTrackingFns-BqlxFeWq.js → originTrackingFns-zrksCJTa.js} +2 -2
- package/dist/{primitiveFns-eE9jyVCs.cjs → primitiveFns-BRXZ7jnP.cjs} +4 -4
- package/dist/{primitiveFns-Vf_2qORp.js → primitiveFns-ClQP6zMQ.js} +4 -4
- package/dist/{principalBoxFns-ClynMQMo.js → principalBoxFns-DsfWOoXg.js} +3 -3
- package/dist/{principalBoxFns-uZrBoGLA.cjs → principalBoxFns-tIv-crMB.cjs} +3 -3
- 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/{refResolveFns-BvQkLKLw.js → refResolveFns-BG3JGs--.js} +6 -6
- package/dist/{refResolveFns-awGNYa3x.cjs → refResolveFns-BZdUlv9f.cjs} +6 -6
- package/dist/{shapeFns-D7DcPxfx.js → shapeFns-BCgegapL.js} +2 -2
- package/dist/{shapeFns-CHFmX5HQ.cjs → shapeFns-BbXqiNqY.cjs} +2 -2
- package/dist/shapeRef.cjs +1 -1
- package/dist/shapeRef.js +1 -1
- package/dist/{shapeTypes-Db3yAgTO.js → shapeTypes-DAz6aAnJ.js} +1 -1
- package/dist/{shapeTypes-HDVHzNk1.cjs → shapeTypes-DJT3SnGK.cjs} +1 -1
- package/dist/sketching/sketchFns.d.ts +8 -3
- package/dist/sketching/sketches.d.ts +6 -0
- package/dist/sketching.cjs +3 -3
- package/dist/sketching.js +3 -3
- package/dist/{solidBuilders-DKNxcpSB.js → solidBuilders-8xytLt8-.js} +5 -5
- package/dist/{solidBuilders-fzrTygbj.cjs → solidBuilders-BWbqhbyv.cjs} +5 -5
- package/dist/{surfaceBuilders-B1Ikcte3.js → surfaceBuilders-BO96DMCH.js} +3 -3
- package/dist/{surfaceBuilders-DFqsIPkm.cjs → surfaceBuilders-CwG_RPdZ.cjs} +3 -3
- package/dist/text.cjs +2 -2
- package/dist/text.js +2 -2
- package/dist/{textBlueprints-C38JfUeN.cjs → textBlueprints-DHfYmLtP.cjs} +40 -12
- package/dist/{textBlueprints-TLU7rjuN.js → textBlueprints-Dhe8_Uvc.js} +40 -12
- package/dist/{textMetrics-CEnX8GBe.js → textMetrics-Bbf-Dllw.js} +1 -1
- package/dist/{textMetrics-r9ldmBb5.cjs → textMetrics-CwYDH9js.cjs} +1 -1
- package/dist/{threadFns-BzxB-0i5.cjs → threadFns-B23RqugN.cjs} +7 -7
- package/dist/{threadFns-eDV-yg06.js → threadFns-Cn7_bmux.js} +7 -7
- package/dist/topology/cast.d.ts +6 -3
- package/dist/topology/topologyQueryFns.d.ts +9 -1
- package/dist/topology.cjs +9 -9
- package/dist/topology.js +9 -9
- package/dist/{topologyQueryFns-DKNVBMuN.js → topologyQueryFns-BfYdGOJc.js} +1 -14
- package/dist/{topologyQueryFns-gyva7bvF.cjs → topologyQueryFns-xh11vEQw.cjs} +1 -14
- package/dist/{validityTypes-BmqE7KfX.js → validityTypes-BfOuvfyp.js} +1 -1
- package/dist/{validityTypes-CwMwVFdY.cjs → validityTypes-CXkecqMw.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_shapeTypes = require("./shapeTypes-
|
|
1
|
+
const require_shapeTypes = require("./shapeTypes-DJT3SnGK.cjs");
|
|
2
2
|
const require_errors = require("./errors-O_blYTWT.cjs");
|
|
3
3
|
const require_constants = require("./constants-oee0S_x6.cjs");
|
|
4
4
|
// src/core/kernelErrorTranslation.ts
|
|
@@ -282,7 +282,6 @@ function getCacheEntry(shape) {
|
|
|
282
282
|
function invalidateShapeCache(shape) {
|
|
283
283
|
disposeCacheEntry(shape.wrapped);
|
|
284
284
|
}
|
|
285
|
-
/** Get all edges of a shape as branded Edge handles. Results are cached per shape. */
|
|
286
285
|
function getEdges(shape) {
|
|
287
286
|
const cache = getOrCreateCache(shape);
|
|
288
287
|
if (cache.edges) return cache.edges;
|
|
@@ -290,12 +289,6 @@ function getEdges(shape) {
|
|
|
290
289
|
cache.edges = edges;
|
|
291
290
|
return edges;
|
|
292
291
|
}
|
|
293
|
-
/**
|
|
294
|
-
* Get all faces of a shape. Results are cached per shape.
|
|
295
|
-
*
|
|
296
|
-
* Returns `Face[]` — use `isOrientedFace()` or `orientedFace()` to narrow
|
|
297
|
-
* individual faces to `OrientedFace` when the orientation guarantee is needed.
|
|
298
|
-
*/
|
|
299
292
|
function getFaces(shape) {
|
|
300
293
|
const cache = getOrCreateCache(shape);
|
|
301
294
|
if (cache.faces) return cache.faces;
|
|
@@ -303,7 +296,6 @@ function getFaces(shape) {
|
|
|
303
296
|
cache.faces = faces;
|
|
304
297
|
return faces;
|
|
305
298
|
}
|
|
306
|
-
/** Get all wires of a shape as branded Wire handles. Results are cached per shape. */
|
|
307
299
|
function getWires(shape) {
|
|
308
300
|
const cache = getOrCreateCache(shape);
|
|
309
301
|
if (cache.wires) return cache.wires;
|
|
@@ -311,7 +303,6 @@ function getWires(shape) {
|
|
|
311
303
|
cache.wires = wires;
|
|
312
304
|
return wires;
|
|
313
305
|
}
|
|
314
|
-
/** Get all vertices of a shape as branded Vertex handles. Results are cached per shape. */
|
|
315
306
|
function getVertices(shape) {
|
|
316
307
|
const cache = getOrCreateCache(shape);
|
|
317
308
|
if (cache.vertices) return cache.vertices;
|
|
@@ -349,19 +340,15 @@ function getCompSolids(shape) {
|
|
|
349
340
|
cache.compSolids = compSolids;
|
|
350
341
|
return compSolids;
|
|
351
342
|
}
|
|
352
|
-
/** Lazily iterate edges of a shape, yielding branded Edge handles one at a time. */
|
|
353
343
|
function* iterEdges(shape) {
|
|
354
344
|
for (const e of require_shapeTypes.getKernel().iterShapes(shape.wrapped, "edge")) yield require_shapeTypes.castResultShapeWithKnownType(e, "edge");
|
|
355
345
|
}
|
|
356
|
-
/** Lazily iterate faces of a shape, yielding branded Face handles one at a time. */
|
|
357
346
|
function* iterFaces(shape) {
|
|
358
347
|
for (const f of require_shapeTypes.getKernel().iterShapes(shape.wrapped, "face")) yield require_shapeTypes.castResultShapeWithKnownType(f, "face");
|
|
359
348
|
}
|
|
360
|
-
/** Lazily iterate wires of a shape, yielding branded Wire handles one at a time. */
|
|
361
349
|
function* iterWires(shape) {
|
|
362
350
|
for (const w of require_shapeTypes.getKernel().iterShapes(shape.wrapped, "wire")) yield require_shapeTypes.castResultShapeWithKnownType(w, "wire");
|
|
363
351
|
}
|
|
364
|
-
/** Lazily iterate vertices of a shape, yielding branded Vertex handles one at a time. */
|
|
365
352
|
function* iterVertices(shape) {
|
|
366
353
|
for (const v of require_shapeTypes.getKernel().iterShapes(shape.wrapped, "vertex")) yield require_shapeTypes.castResultShapeWithKnownType(v, "vertex");
|
|
367
354
|
}
|