brepjs 8.1.0 → 8.2.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 +2 -2
- package/dist/2d.js +3 -3
- package/dist/{Blueprint-BUGSPYrj.cjs → Blueprint-CTAwjJMN.cjs} +8 -8
- package/dist/{Blueprint-B5qTpU-Q.js → Blueprint-D_luVeES.js} +8 -8
- package/dist/{boolean2D-CyX8tCE_.cjs → boolean2D-B5axNhjN.cjs} +10 -10
- package/dist/{boolean2D-KX9ZFvBj.js → boolean2D-vw76Gayn.js} +10 -10
- package/dist/{booleanFns-DGMIgJl_.js → booleanFns-BhqXpQoZ.js} +3 -3
- package/dist/{booleanFns-ND7sZvhu.cjs → booleanFns-Yc3EBxdm.cjs} +3 -3
- package/dist/brepjs.cjs +23 -18
- package/dist/brepjs.js +54 -49
- package/dist/{cast-CqDc8oFW.cjs → cast-C107o5ow.cjs} +2 -2
- package/dist/{cast-BEg1mN7n.js → cast-D0OhP1nV.js} +2 -2
- package/dist/core/types.d.ts +24 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core.cjs +3 -3
- package/dist/core.js +3 -3
- package/dist/{cornerFinder-CQCfLU9g.js → cornerFinder-CPm2baSJ.js} +1 -1
- package/dist/{cornerFinder-DfcO5DX-.cjs → cornerFinder-DuStF5jK.cjs} +1 -1
- package/dist/{curveBuilders-U26XDfxg.js → curveBuilders-CN72XaIQ.js} +2 -2
- package/dist/{curveBuilders-BjtdNw1B.cjs → curveBuilders-Du03_Yyf.cjs} +2 -2
- package/dist/{curveFns-Bjy0UBlz.cjs → curveFns-ByeCqutv.cjs} +85 -3
- package/dist/{curveFns-BIRQ0DXA.js → curveFns-C5gSZ5EY.js} +115 -33
- package/dist/{drawFns-BwNihPRU.cjs → drawFns-CiNxPu6J.cjs} +12 -12
- package/dist/{drawFns-YeIBjuvT.js → drawFns-CzBbcoXA.js} +12 -12
- package/dist/{faceFns-DcSCjDG0.cjs → faceFns-D1Sqnlu6.cjs} +3 -3
- package/dist/{faceFns-CyokaCDr.js → faceFns-ub3CugDN.js} +3 -3
- package/dist/{helpers-gMcAmk4y.js → helpers-BSQfs538.js} +6 -6
- package/dist/{helpers-BaT099OL.cjs → helpers-Dje6wrKi.cjs} +6 -6
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/io.cjs +4 -4
- package/dist/io.js +4 -4
- package/dist/kernel/occtAdapter.d.ts +1 -0
- package/dist/kernel/occtAdapter.d.ts.map +1 -1
- package/dist/kernel/transformOps.d.ts +8 -0
- package/dist/kernel/transformOps.d.ts.map +1 -1
- package/dist/kernel/types.d.ts +1 -0
- package/dist/kernel/types.d.ts.map +1 -1
- package/dist/{loft-jIkZRqHm.js → loft-BHn7GKm8.js} +4 -4
- package/dist/{loft-8asn63t4.cjs → loft-PMRx9iMG.cjs} +4 -4
- package/dist/{measurement-lRLwaoqD.cjs → measurement-B06hNs89.cjs} +3 -3
- package/dist/{measurement-DWv8kK6J.js → measurement-BfhEneUl.js} +3 -3
- package/dist/measurement.cjs +1 -1
- package/dist/measurement.js +1 -1
- package/dist/{meshFns-DgAIL1B-.js → meshFns-BKSPaPXS.js} +1 -1
- package/dist/{meshFns-DWuLC3fk.cjs → meshFns-CFVxKBlE.cjs} +1 -1
- package/dist/{occtBoundary-DHtzU4tz.cjs → occtBoundary-BFAaUtA7.cjs} +41 -0
- package/dist/{occtBoundary-DYsksDtE.js → occtBoundary-CoXB2xvx.js} +41 -0
- package/dist/{operations-CCFPvtd-.cjs → operations-CdGb6IBU.cjs} +5 -5
- package/dist/{operations-BtwU1X9p.js → operations-CjQHEu1h.js} +5 -5
- package/dist/operations.cjs +2 -2
- package/dist/operations.js +2 -2
- package/dist/query.cjs +5 -5
- package/dist/query.js +6 -6
- package/dist/{shapeTypes-i7VwMRwc.js → shapeTypes-BU2LKv2S.js} +1 -1
- package/dist/{shapeTypes-b_lhwQB7.cjs → shapeTypes-UqVCIO_T.cjs} +1 -1
- package/dist/sketching.cjs +2 -2
- package/dist/sketching.js +2 -2
- package/dist/topology/api.d.ts +9 -1
- package/dist/topology/api.d.ts.map +1 -1
- package/dist/topology/shapeFns.d.ts +9 -1
- package/dist/topology/shapeFns.d.ts.map +1 -1
- package/dist/topology/wrapperFns.d.ts +2 -1
- package/dist/topology/wrapperFns.d.ts.map +1 -1
- package/dist/{topology-BRq45bhS.js → topology-BFB3LI_y.js} +7 -7
- package/dist/{topology-BpvKYOnc.cjs → topology-D8Au8q4i.cjs} +7 -7
- package/dist/topology.cjs +6 -6
- package/dist/topology.js +29 -29
- package/dist/{vectors-DWLjb9-P.js → vectors-BhfKwL9J.js} +1 -1
- package/dist/{vectors-aQBZK0Sb.cjs → vectors-t1XG4LpL.cjs} +1 -1
- package/dist/vectors.cjs +2 -2
- package/dist/vectors.js +2 -2
- package/package.json +1 -1
package/dist/topology.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e, d } from "./booleanFns-
|
|
3
|
-
import { a as a2, b, c as c2, e as e2, f, d as d2, g as g2, j, s, t, k
|
|
4
|
-
import { c as c3, f as f2, a as a3, b as b2, d as d3, g as g3, i as i2, n as n2, o as o2, p as p2, e as e3, u as u2, h } from "./faceFns-
|
|
5
|
-
import { c as c4, b as b3, e as e4, d as d4, f as f3 } from "./meshFns-
|
|
6
|
-
import { e as e5, c as c5, f as f4, d as d5, g as g4, i as i3, s as s2 } from "./cast-
|
|
1
|
+
import { z, q, c, B, w, C, p, u, o, E, l, F, a, n, g, G, x, y, H, I, i, J, K, L, M, N, v } from "./curveFns-C5gSZ5EY.js";
|
|
2
|
+
import { e, d } from "./booleanFns-BhqXpQoZ.js";
|
|
3
|
+
import { a as a2, b, c as c2, e as e2, f, d as d2, g as g2, j, s, t, k, l as l2, v as v2, w as w2 } from "./topology-BFB3LI_y.js";
|
|
4
|
+
import { c as c3, f as f2, a as a3, b as b2, d as d3, g as g3, i as i2, n as n2, o as o2, p as p2, e as e3, u as u2, h } from "./faceFns-ub3CugDN.js";
|
|
5
|
+
import { c as c4, b as b3, e as e4, d as d4, f as f3 } from "./meshFns-BKSPaPXS.js";
|
|
6
|
+
import { e as e5, c as c5, f as f4, d as d5, g as g4, i as i3, s as s2 } from "./cast-D0OhP1nV.js";
|
|
7
7
|
export {
|
|
8
8
|
a2 as adjacentFaces,
|
|
9
|
-
|
|
9
|
+
z as approximateCurve,
|
|
10
10
|
e5 as asTopo,
|
|
11
11
|
b as autoHeal,
|
|
12
12
|
c5 as cast,
|
|
@@ -14,14 +14,14 @@ export {
|
|
|
14
14
|
c3 as classifyPointOnFace,
|
|
15
15
|
c4 as clearMeshCache,
|
|
16
16
|
b3 as createMeshCache,
|
|
17
|
-
|
|
17
|
+
q as curveEndPoint,
|
|
18
18
|
c as curveIsClosed,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
B as curveIsPeriodic,
|
|
20
|
+
w as curveLength,
|
|
21
|
+
C as curvePeriod,
|
|
22
|
+
p as curvePointAt,
|
|
23
|
+
u as curveStartPoint,
|
|
24
|
+
o as curveTangentAt,
|
|
25
25
|
e as cutAll,
|
|
26
26
|
f4 as deserializeShape,
|
|
27
27
|
d5 as downcast,
|
|
@@ -34,39 +34,39 @@ export {
|
|
|
34
34
|
b2 as faceOrientation,
|
|
35
35
|
f as facesOfEdge,
|
|
36
36
|
d3 as flipFaceOrientation,
|
|
37
|
-
|
|
37
|
+
E as flipOrientation,
|
|
38
38
|
d as fuseAll,
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
l as getBounds,
|
|
40
|
+
F as getCurveType,
|
|
41
41
|
a as getEdges,
|
|
42
|
-
|
|
42
|
+
n as getFaces,
|
|
43
43
|
g as getHashCode,
|
|
44
|
-
|
|
44
|
+
G as getOrientation,
|
|
45
45
|
g3 as getSurfaceType,
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
x as getVertices,
|
|
47
|
+
y as getWires,
|
|
48
48
|
d2 as healFace,
|
|
49
49
|
g2 as healSolid,
|
|
50
50
|
j as healWire,
|
|
51
51
|
i2 as innerWires,
|
|
52
|
-
|
|
52
|
+
H as interpolateCurve,
|
|
53
53
|
g4 as isCompSolid,
|
|
54
|
-
|
|
54
|
+
I as isEqualShape,
|
|
55
55
|
i as isSameShape,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
J as iterEdges,
|
|
57
|
+
K as iterFaces,
|
|
58
58
|
i3 as iterTopo,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
L as iterVertices,
|
|
60
|
+
M as iterWires,
|
|
61
61
|
n2 as normalAt,
|
|
62
|
-
|
|
62
|
+
N as offsetWire2D,
|
|
63
63
|
o2 as outerWire,
|
|
64
64
|
p2 as pointOnSurface,
|
|
65
65
|
e3 as projectPointOnFace,
|
|
66
66
|
s2 as shapeType,
|
|
67
67
|
s as sharedEdges,
|
|
68
68
|
t as toBufferGeometryData,
|
|
69
|
-
|
|
69
|
+
k as toGroupedBufferGeometryData,
|
|
70
70
|
l2 as toLineGeometryData,
|
|
71
71
|
u2 as uvBounds,
|
|
72
72
|
h as uvCoordinates,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as makeOcAx3, a as toVec3 } from "./occtBoundary-
|
|
1
|
+
import { d as makeOcAx3, a as toVec3 } from "./occtBoundary-CoXB2xvx.js";
|
|
2
2
|
import { j as vecNormalize, f as vecIsZero, b as vecCross, v as vecAdd, n as vecScale, o as vecSub, d as vecDot, m as vecRotate, D as DEG2RAD } from "./vecOps-ZDdZWbwT.js";
|
|
3
3
|
import { e as err, x as validationError, l as ok } from "./errors-wGhcJMpB.js";
|
|
4
4
|
function createPlane(origin, xDirection = null, normal = [0, 0, 1]) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const occtBoundary = require("./occtBoundary-
|
|
2
|
+
const occtBoundary = require("./occtBoundary-BFAaUtA7.cjs");
|
|
3
3
|
const vecOps = require("./vecOps-CjRL1jau.cjs");
|
|
4
4
|
const errors = require("./errors-DK1VAdP4.cjs");
|
|
5
5
|
function createPlane(origin, xDirection = null, normal = [0, 0, 1]) {
|
package/dist/vectors.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const occtBoundary = require("./occtBoundary-
|
|
3
|
+
const occtBoundary = require("./occtBoundary-BFAaUtA7.cjs");
|
|
4
4
|
const vecOps = require("./vecOps-CjRL1jau.cjs");
|
|
5
|
-
const vectors = require("./vectors-
|
|
5
|
+
const vectors = require("./vectors-t1XG4LpL.cjs");
|
|
6
6
|
exports.resolveDirection = occtBoundary.resolveDirection;
|
|
7
7
|
exports.toVec2 = occtBoundary.toVec2;
|
|
8
8
|
exports.toVec3 = occtBoundary.toVec3;
|
package/dist/vectors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r, t, a } from "./occtBoundary-
|
|
1
|
+
import { r, t, a } from "./occtBoundary-CoXB2xvx.js";
|
|
2
2
|
import { D, R, v, a as a2, b, c, d, e, f, g, h, i, j, k, l, m, n, o } from "./vecOps-ZDdZWbwT.js";
|
|
3
|
-
import { c as c2, a as a3, p, r as r2, t as t2 } from "./vectors-
|
|
3
|
+
import { c as c2, a as a3, p, r as r2, t as t2 } from "./vectors-BhfKwL9J.js";
|
|
4
4
|
export {
|
|
5
5
|
D as DEG2RAD,
|
|
6
6
|
R as RAD2DEG,
|