brepjs 12.3.0 → 12.4.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/blueprints/Blueprint.d.ts +1 -1
- package/dist/2d/blueprints/Blueprint.d.ts.map +1 -1
- package/dist/2d.cjs +2 -2
- package/dist/2d.js +3 -3
- package/dist/{Blueprint-Bh6166KA.cjs → Blueprint-CoFJDAQd.cjs} +6 -6
- package/dist/{Blueprint-BBLKmtl9.js → Blueprint-CtuUvzex.js} +6 -6
- package/dist/{boolean2D-Bl4iyJfa.cjs → boolean2D-Dk-vLBdl.cjs} +8 -8
- package/dist/{boolean2D-D2s-G0Wm.js → boolean2D-x2irapGj.js} +8 -8
- package/dist/{booleanFns-DdbAk1KC.cjs → booleanFns-BJjYqwJ5.cjs} +3 -3
- package/dist/{booleanFns-CKWVFBtF.js → booleanFns-DtOkwLHI.js} +3 -3
- package/dist/brepjs.cjs +218 -17
- package/dist/brepjs.js +229 -28
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{cornerFinder-zd2oBgyp.cjs → cornerFinder-BESZIitp.cjs} +2 -2
- package/dist/{cornerFinder-C-o3TN3q.js → cornerFinder-FY38t0zq.js} +2 -2
- package/dist/{curveFns-p0x8jy0i.cjs → curveFns-Ch87sD5O.cjs} +1 -1
- package/dist/{curveFns-DyVPTb1r.js → curveFns-LRNGcHXh.js} +1 -1
- package/dist/{drawFns-DXwZzno9.cjs → drawFns-BEeoD1yO.cjs} +16 -16
- package/dist/{drawFns-DpAQM_F6.js → drawFns-D8QyY7cg.js} +16 -16
- package/dist/{faceFns-CvR-ZEQA.js → faceFns-B6ebRh5I.js} +1 -1
- package/dist/{faceFns-SVADeb01.cjs → faceFns-BLTEPBKq.cjs} +1 -1
- package/dist/{helpers-3fsqd4mW.cjs → helpers-DNzVfe-Z.cjs} +4 -4
- package/dist/{helpers-F_D1WON3.js → helpers-DeFPsrcI.js} +4 -4
- package/dist/io.cjs +3 -3
- package/dist/io.js +3 -3
- package/dist/kernel/brepkitAdapter.d.ts +30 -0
- package/dist/kernel/brepkitAdapter.d.ts.map +1 -1
- package/dist/kernel/brepkitWasmTypes.d.ts +2 -2
- package/dist/kernel/brepkitWasmTypes.d.ts.map +1 -1
- package/dist/kernel/defaultAdapter.d.ts +34 -0
- package/dist/kernel/defaultAdapter.d.ts.map +1 -1
- package/dist/kernel/types.d.ts +68 -0
- package/dist/kernel/types.d.ts.map +1 -1
- package/dist/{loft-98s9uwpg.cjs → loft-DR1UN5uN.cjs} +4 -4
- package/dist/{loft-BvZFfPqO.js → loft-DsVv4yxU.js} +4 -4
- package/dist/{measurement-g8ldN7oe.cjs → measurement-DoYXRaKI.cjs} +2 -2
- package/dist/{measurement-vbHd9lpV.js → measurement-oWvhSVZG.js} +2 -2
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-CF-JdX5P.cjs → meshFns-BU2l_yOm.cjs} +2 -2
- package/dist/{meshFns-RN83Wiry.js → meshFns-HNwWuM4v.js} +2 -2
- package/dist/{operations-CrLZ6fyL.cjs → operations-D-gTZNtM.cjs} +6 -6
- package/dist/{operations-CxvdnWzU.js → operations-D_3rrfrE.js} +6 -6
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/query.cjs +4 -4
- package/dist/query.js +5 -5
- package/dist/{shapeFns-38GljA_p.js → shapeFns-CbXxLvV_.js} +2 -2
- package/dist/{shapeFns-BoN5g5Bx.cjs → shapeFns-DHlLNHTn.cjs} +2 -2
- package/dist/{shapeTypes-DTGA0liC.cjs → shapeTypes-7xEam9Ri.cjs} +103 -0
- package/dist/{shapeTypes-5DPsHB8i.js → shapeTypes-CpSaBLDv.js} +103 -0
- package/dist/sketching.cjs +2 -2
- package/dist/sketching.js +2 -2
- package/dist/{solidBuilders-BWkneWjU.js → solidBuilders-BXhh5hP2.js} +2 -2
- package/dist/{solidBuilders-CUc2rvWv.cjs → solidBuilders-BzfRBizW.cjs} +2 -2
- package/dist/{surfaceBuilders-tYoe8sri.cjs → surfaceBuilders-Be_ENWSA.cjs} +2 -2
- package/dist/{surfaceBuilders-CXbEDGBQ.js → surfaceBuilders-D7ZH2QNS.js} +2 -2
- package/dist/topology/adjacencyFns.d.ts.map +1 -1
- package/dist/{topology-CH4LBfQg.cjs → topology-BHnY7Szr.cjs} +8 -8
- package/dist/{topology-Bq7mZh3W.js → topology-C1eZ86dI.js} +8 -8
- package/dist/topology.cjs +6 -6
- package/dist/topology.js +6 -6
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adjacencyFns.d.ts","sourceRoot":"","sources":["../../src/topology/adjacencyFns.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"adjacencyFns.d.ts","sourceRoot":"","sources":["../../src/topology/adjacencyFns.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAmFjG;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,CAG9F;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,CAGzE;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAG/E;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,CAG9E;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,CAgDhG;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,CA0B1F"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const shapeFns = require("./shapeFns-
|
|
2
|
+
const shapeFns = require("./shapeFns-DHlLNHTn.cjs");
|
|
3
3
|
const errors = require("./errors-9fDehDNc.cjs");
|
|
4
|
-
const shapeTypes = require("./shapeTypes-
|
|
4
|
+
const shapeTypes = require("./shapeTypes-7xEam9Ri.cjs");
|
|
5
5
|
const vecOps = require("./vecOps-CjRL1jau.cjs");
|
|
6
|
-
const surfaceBuilders = require("./surfaceBuilders-
|
|
7
|
-
const solidBuilders = require("./solidBuilders-
|
|
8
|
-
require("./booleanFns-
|
|
9
|
-
const faceFns = require("./faceFns-
|
|
10
|
-
require("./curveFns-
|
|
11
|
-
require("./meshFns-
|
|
6
|
+
const surfaceBuilders = require("./surfaceBuilders-Be_ENWSA.cjs");
|
|
7
|
+
const solidBuilders = require("./solidBuilders-BzfRBizW.cjs");
|
|
8
|
+
require("./booleanFns-BJjYqwJ5.cjs");
|
|
9
|
+
const faceFns = require("./faceFns-BLTEPBKq.cjs");
|
|
10
|
+
require("./curveFns-Ch87sD5O.cjs");
|
|
11
|
+
require("./meshFns-BU2l_yOm.cjs");
|
|
12
12
|
function toBufferGeometryData(mesh) {
|
|
13
13
|
return {
|
|
14
14
|
position: mesh.vertices,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as getWires, a as getFaces, u as translate } from "./shapeFns-
|
|
1
|
+
import { c as getWires, a as getFaces, u as translate } from "./shapeFns-CbXxLvV_.js";
|
|
2
2
|
import { e as err, y as validationError, k as kernelError, d as isErr, p as typeCastError, o as ok, r as unwrap, g as isOk, B as BrepErrorCode, a as andThen } from "./errors-B7kgv0cd.js";
|
|
3
|
-
import { B as getKernel, c as castShape, p as isShape3D, r as isSolid, k as isFace, u as isWire, F as createSolid, f as isClosedWire } from "./shapeTypes-
|
|
3
|
+
import { B as getKernel, c as castShape, p as isShape3D, r as isSolid, k as isFace, u as isWire, F as createSolid, f as isClosedWire } from "./shapeTypes-CpSaBLDv.js";
|
|
4
4
|
import { H as HASH_CODE_MAX, D as DEG2RAD } from "./vecOps-ZDdZWbwT.js";
|
|
5
|
-
import { h as addHolesInFace, g as makeBezierCurve, k as makeBSplineApproximation, i as makeCircle, j as makeEllipse, f as makeEllipseArc, m as makeFace, o as makeNonPlanarFace, c as makeHelix, a as makeLine, p as makePolygon, l as makeNewFaceWithinFace, e as makeTangentArc, d as makeThreePointArc, b as assembleWire } from "./surfaceBuilders-
|
|
6
|
-
import { a as makeCompound, d as makeCone, c as makeCylinder, e as makeEllipsoid, f as makeOffset, w as weldShellsAndFaces, b as makeSolid, g as makeSphere, h as makeTorus, m as makeVertex } from "./solidBuilders-
|
|
7
|
-
import "./booleanFns-
|
|
8
|
-
import { d as downcast } from "./faceFns-
|
|
9
|
-
import "./curveFns-
|
|
10
|
-
import "./meshFns-
|
|
5
|
+
import { h as addHolesInFace, g as makeBezierCurve, k as makeBSplineApproximation, i as makeCircle, j as makeEllipse, f as makeEllipseArc, m as makeFace, o as makeNonPlanarFace, c as makeHelix, a as makeLine, p as makePolygon, l as makeNewFaceWithinFace, e as makeTangentArc, d as makeThreePointArc, b as assembleWire } from "./surfaceBuilders-D7ZH2QNS.js";
|
|
6
|
+
import { a as makeCompound, d as makeCone, c as makeCylinder, e as makeEllipsoid, f as makeOffset, w as weldShellsAndFaces, b as makeSolid, g as makeSphere, h as makeTorus, m as makeVertex } from "./solidBuilders-BXhh5hP2.js";
|
|
7
|
+
import "./booleanFns-DtOkwLHI.js";
|
|
8
|
+
import { d as downcast } from "./faceFns-B6ebRh5I.js";
|
|
9
|
+
import "./curveFns-LRNGcHXh.js";
|
|
10
|
+
import "./meshFns-HNwWuM4v.js";
|
|
11
11
|
function toBufferGeometryData(mesh) {
|
|
12
12
|
return {
|
|
13
13
|
position: mesh.vertices,
|
package/dist/topology.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const shapeFns = require("./shapeFns-
|
|
4
|
-
const topology = require("./topology-
|
|
5
|
-
const booleanFns = require("./booleanFns-
|
|
6
|
-
const curveFns = require("./curveFns-
|
|
7
|
-
const faceFns = require("./faceFns-
|
|
8
|
-
const meshFns = require("./meshFns-
|
|
3
|
+
const shapeFns = require("./shapeFns-DHlLNHTn.cjs");
|
|
4
|
+
const topology = require("./topology-BHnY7Szr.cjs");
|
|
5
|
+
const booleanFns = require("./booleanFns-BJjYqwJ5.cjs");
|
|
6
|
+
const curveFns = require("./curveFns-Ch87sD5O.cjs");
|
|
7
|
+
const faceFns = require("./faceFns-BLTEPBKq.cjs");
|
|
8
|
+
const meshFns = require("./meshFns-BU2l_yOm.cjs");
|
|
9
9
|
exports.getBounds = shapeFns.getBounds;
|
|
10
10
|
exports.getEdges = shapeFns.getEdges;
|
|
11
11
|
exports.getFaces = shapeFns.getFaces;
|
package/dist/topology.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { h, d, a, f, e, c, x, i, y, z, A, B, v } from "./shapeFns-
|
|
2
|
-
import { a as a2, b, d as d2, e as e2, f as f2, g, c as c2, j, k, l, m, n, o, p, q, r, s, t, u, v as v2, w, x as x2, y as y2, z as z2, A as A2, B as B2, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q } from "./topology-
|
|
3
|
-
import { k as k2, j as j2 } from "./booleanFns-
|
|
4
|
-
import { j as j3, a as a3, e as e3, k as k3, i as i2, l as l2, h as h2, d as d3, c as c3, f as f3, b as b2, g as g2, m as m2, o as o2 } from "./curveFns-
|
|
5
|
-
import { l as l3, c as c4, m as m3, j as j4, d as d4, e as e4, f as f4, q as q2, r as r2, g as g3, k as k4, s as s2, i as i3, n as n2, o as o3, p as p2, t as t2, w as w2, u as u2, h as h3 } from "./faceFns-
|
|
6
|
-
import { c as c5, b as b3, e as e5, d as d5, f as f5 } from "./meshFns-
|
|
1
|
+
import { h, d, a, f, e, c, x, i, y, z, A, B, v } from "./shapeFns-CbXxLvV_.js";
|
|
2
|
+
import { a as a2, b, d as d2, e as e2, f as f2, g, c as c2, j, k, l, m, n, o, p, q, r, s, t, u, v as v2, w, x as x2, y as y2, z as z2, A as A2, B as B2, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q } from "./topology-C1eZ86dI.js";
|
|
3
|
+
import { k as k2, j as j2 } from "./booleanFns-DtOkwLHI.js";
|
|
4
|
+
import { j as j3, a as a3, e as e3, k as k3, i as i2, l as l2, h as h2, d as d3, c as c3, f as f3, b as b2, g as g2, m as m2, o as o2 } from "./curveFns-LRNGcHXh.js";
|
|
5
|
+
import { l as l3, c as c4, m as m3, j as j4, d as d4, e as e4, f as f4, q as q2, r as r2, g as g3, k as k4, s as s2, i as i3, n as n2, o as o3, p as p2, t as t2, w as w2, u as u2, h as h3 } from "./faceFns-B6ebRh5I.js";
|
|
6
|
+
import { c as c5, b as b3, e as e5, d as d5, f as f5 } from "./meshFns-HNwWuM4v.js";
|
|
7
7
|
export {
|
|
8
8
|
a2 as addHoles,
|
|
9
9
|
b as adjacentFaces,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brepjs",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"description": "Web CAD library with pluggable geometry kernel",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cad",
|
|
@@ -199,16 +199,16 @@
|
|
|
199
199
|
"@types/opentype.js": "1.3.9",
|
|
200
200
|
"@vitest/coverage-v8": "4.0.18",
|
|
201
201
|
"brepjs-opencascade": "*",
|
|
202
|
-
"brepkit-wasm": "1.0.
|
|
202
|
+
"brepkit-wasm": "1.0.5",
|
|
203
203
|
"eslint": "10.0.3",
|
|
204
204
|
"husky": "9.1.7",
|
|
205
205
|
"knip": "5.86.0",
|
|
206
|
-
"lint-staged": "16.3.
|
|
206
|
+
"lint-staged": "16.3.3",
|
|
207
207
|
"prettier": "3.8.1",
|
|
208
208
|
"size-limit": "12.0.1",
|
|
209
209
|
"typedoc": "0.28.17",
|
|
210
210
|
"typescript": "5.9.3",
|
|
211
|
-
"typescript-eslint": "8.
|
|
211
|
+
"typescript-eslint": "8.57.0",
|
|
212
212
|
"vite": "7.3.1",
|
|
213
213
|
"vite-plugin-dts": "4.5.4",
|
|
214
214
|
"vitest": "4.0.18"
|