brepjs 8.8.8 → 8.8.9
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 +2 -2
- package/dist/2d.js +3 -3
- package/dist/{Blueprint-BWLPU0ZC.js → Blueprint-C7JlgasP.js} +2 -2
- package/dist/{Blueprint-CIfiTx-y.cjs → Blueprint-CTrwIDuQ.cjs} +2 -2
- package/dist/{boolean2D-BG9wtSKz.js → boolean2D-CypPzZM1.js} +4 -4
- package/dist/{boolean2D-Bs_OdV2_.cjs → boolean2D-KvkerCI-.cjs} +4 -4
- package/dist/{booleanFns-DHEaBJwW.js → booleanFns-BnLhgDGb.js} +2 -2
- package/dist/{booleanFns-CUxOBNlC.cjs → booleanFns-DEY86xmR.cjs} +2 -2
- package/dist/brepjs.cjs +18 -15
- package/dist/brepjs.js +26 -23
- package/dist/{cornerFinder-DfSdXbxK.js → cornerFinder-BurQenn5.js} +1 -1
- package/dist/{cornerFinder-BijsFhpz.cjs → cornerFinder-DLHDc022.cjs} +1 -1
- package/dist/{drawFns-Df_AbW16.js → drawFns-BY9W9rPP.js} +7 -7
- package/dist/{drawFns-BGGYhul8.cjs → drawFns-ibZFQZkt.cjs} +7 -7
- package/dist/{helpers-Ces6b2wm.cjs → helpers-DQGErXAX.cjs} +1 -1
- package/dist/{helpers-D7hTCTJm.js → helpers-SajoWDKO.js} +1 -1
- package/dist/io.cjs +2 -2
- package/dist/io.js +2 -2
- package/dist/{loft-BpfrTPIR.js → loft-CfKcU3Y1.js} +1 -1
- package/dist/{loft-GLxTzuXU.cjs → loft-hhMumRtt.cjs} +1 -1
- package/dist/{meshFns-BTb2esZJ.cjs → meshFns-CfjNBqS6.cjs} +1 -1
- package/dist/{meshFns-DJx5Yqiy.js → meshFns-Diog9oLS.js} +1 -1
- package/dist/operations/loftFns.d.ts +3 -1
- package/dist/operations/loftFns.d.ts.map +1 -1
- package/dist/{operations-CHIU-aGI.js → operations-BFDNdchq.js} +2 -2
- package/dist/{operations-T5f-v2rF.cjs → operations-CZUFSBuY.cjs} +2 -2
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/query.cjs +2 -2
- package/dist/query.js +3 -3
- package/dist/{shapeFns-CbZMmuQA.cjs → shapeFns-D4MYB8um.cjs} +145 -95
- package/dist/{shapeFns-5HlS8wvc.js → shapeFns-DNxuGWvV.js} +146 -96
- package/dist/sketching.cjs +2 -2
- package/dist/sketching.js +2 -2
- package/dist/{surfaceBuilders-zlVu1d-b.js → surfaceBuilders-DEd0HUri.js} +1 -1
- package/dist/{surfaceBuilders-zWnw2I0j.cjs → surfaceBuilders-DeFCNwZl.cjs} +1 -1
- package/dist/topology/shapeFns.d.ts.map +1 -1
- package/dist/topology/surfaceFns.d.ts.map +1 -1
- package/dist/{topology-ZRFxrEEW.cjs → topology-CRPSzNkp.cjs} +3 -3
- package/dist/{topology-CMS8QyJa.js → topology-XD2qFlgc.js} +3 -3
- package/dist/topology.cjs +4 -4
- package/dist/topology.js +4 -4
- package/package.json +2 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const shapeFns = require("./shapeFns-
|
|
3
|
-
require("./booleanFns-
|
|
2
|
+
const shapeFns = require("./shapeFns-D4MYB8um.cjs");
|
|
3
|
+
require("./booleanFns-DEY86xmR.cjs");
|
|
4
4
|
const occtBoundary = require("./occtBoundary-CN_uQJtA.cjs");
|
|
5
5
|
const shapeTypes = require("./shapeTypes-sXITvFkF.cjs");
|
|
6
6
|
const faceFns = require("./faceFns-B8xnZw-f.cjs");
|
|
7
7
|
const errors = require("./errors-BYb4tL5h.cjs");
|
|
8
8
|
require("./curveFns-D0L3YcH-.cjs");
|
|
9
9
|
const vecOps = require("./vecOps-CjRL1jau.cjs");
|
|
10
|
-
require("./meshFns-
|
|
10
|
+
require("./meshFns-CfjNBqS6.cjs");
|
|
11
11
|
function toBufferGeometryData(mesh) {
|
|
12
12
|
return {
|
|
13
13
|
position: mesh.vertices,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as getWires, a as getFaces } from "./shapeFns-
|
|
2
|
-
import "./booleanFns-
|
|
1
|
+
import { c as getWires, a as getFaces } from "./shapeFns-DNxuGWvV.js";
|
|
2
|
+
import "./booleanFns-BnLhgDGb.js";
|
|
3
3
|
import { g as getKernel } from "./occtBoundary-Ct0tN8cs.js";
|
|
4
4
|
import { c as castShape, j as isShape3D, l as isSolid, e as isFace, n as isWire } from "./shapeTypes-D34s68Xi.js";
|
|
5
5
|
import { d as downcast } from "./faceFns-DG4bu-QB.js";
|
|
6
6
|
import { e as err, x as validationError, o as occtError, d as isErr, p as typeCastError, l as ok, u as unwrap, g as isOk, B as BrepErrorCode } from "./errors-CHfaHQSt.js";
|
|
7
7
|
import "./curveFns-VRW_cski.js";
|
|
8
8
|
import { H as HASH_CODE_MAX } from "./vecOps-ZDdZWbwT.js";
|
|
9
|
-
import "./meshFns-
|
|
9
|
+
import "./meshFns-Diog9oLS.js";
|
|
10
10
|
function toBufferGeometryData(mesh) {
|
|
11
11
|
return {
|
|
12
12
|
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 booleanFns = require("./booleanFns-
|
|
5
|
-
const topology = require("./topology-
|
|
3
|
+
const shapeFns = require("./shapeFns-D4MYB8um.cjs");
|
|
4
|
+
const booleanFns = require("./booleanFns-DEY86xmR.cjs");
|
|
5
|
+
const topology = require("./topology-CRPSzNkp.cjs");
|
|
6
6
|
const curveFns = require("./curveFns-D0L3YcH-.cjs");
|
|
7
7
|
const faceFns = require("./faceFns-B8xnZw-f.cjs");
|
|
8
|
-
const meshFns = require("./meshFns-
|
|
8
|
+
const meshFns = require("./meshFns-CfjNBqS6.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 { w, d, a, f, e, c, y, h, z, A, B, C, v } from "./shapeFns-
|
|
2
|
-
import { h as h2, g } from "./booleanFns-
|
|
3
|
-
import { a as a2, b, c as c2, e as e2, f as f2, d as d2, g as g2, j, s, t, k, l, v as v2, w as w2 } from "./topology-
|
|
1
|
+
import { w, d, a, f, e, c, y, h, z, A, B, C, v } from "./shapeFns-DNxuGWvV.js";
|
|
2
|
+
import { h as h2, g } from "./booleanFns-BnLhgDGb.js";
|
|
3
|
+
import { a as a2, b, c as c2, e as e2, f as f2, d as d2, g as g2, j, s, t, k, l, v as v2, w as w2 } from "./topology-XD2qFlgc.js";
|
|
4
4
|
import { j as j2, a as a3, e as e3, k as k2, i, l as l2, h as h3, d as d3, c as c3, m, b as b2, g as g3, n, o } from "./curveFns-VRW_cski.js";
|
|
5
5
|
import { l as l3, c as c4, m as m2, j as j3, d as d4, e as e4, f as f3, q, r, g as g4, k as k3, s as s2, i as i2, n as n2, o as o2, p, t as t2, v as v3, u, h as h4 } from "./faceFns-DG4bu-QB.js";
|
|
6
|
-
import { c as c5, b as b3, e as e5, d as d5, f as f4 } from "./meshFns-
|
|
6
|
+
import { c as c5, b as b3, e as e5, d as d5, f as f4 } from "./meshFns-Diog9oLS.js";
|
|
7
7
|
export {
|
|
8
8
|
a2 as adjacentFaces,
|
|
9
9
|
j2 as approximateCurve,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brepjs",
|
|
3
|
-
"version": "8.8.
|
|
3
|
+
"version": "8.8.9",
|
|
4
4
|
"description": "Web CAD library built on OpenCascade",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cad",
|
|
@@ -185,8 +185,7 @@
|
|
|
185
185
|
"docs:api": "typedoc",
|
|
186
186
|
"docs:generate-lookup": "npx tsx scripts/generate-function-lookup.ts",
|
|
187
187
|
"docs:generate-previews": "npx tsx scripts/generate-example-previews.ts",
|
|
188
|
-
"
|
|
189
|
-
"prepare": "husky"
|
|
188
|
+
"prepare": "husky && bash scripts/ensure-wasm.sh"
|
|
190
189
|
},
|
|
191
190
|
"devDependencies": {
|
|
192
191
|
"@commitlint/cli": "20.4.1",
|