@bitbybit-dev/jscad 0.19.9 → 0.20.1
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.
|
@@ -9,6 +9,27 @@ export declare namespace Base {
|
|
|
9
9
|
type Vector2 = [number, number];
|
|
10
10
|
type Point3 = [number, number, number];
|
|
11
11
|
type Vector3 = [number, number, number];
|
|
12
|
+
type Axis3 = {
|
|
13
|
+
origin: Base.Point3;
|
|
14
|
+
direction: Base.Vector3;
|
|
15
|
+
};
|
|
16
|
+
type Axis2 = {
|
|
17
|
+
origin: Base.Point2;
|
|
18
|
+
direction: Base.Vector2;
|
|
19
|
+
};
|
|
20
|
+
type Plane3 = {
|
|
21
|
+
origin: Base.Point3;
|
|
22
|
+
normal: Base.Vector3;
|
|
23
|
+
direction: Base.Vector3;
|
|
24
|
+
};
|
|
25
|
+
type BoundingBox = {
|
|
26
|
+
min: Base.Point3;
|
|
27
|
+
max: Base.Point3;
|
|
28
|
+
center?: Base.Point3;
|
|
29
|
+
width?: number;
|
|
30
|
+
height?: number;
|
|
31
|
+
length?: number;
|
|
32
|
+
};
|
|
12
33
|
type Line2 = {
|
|
13
34
|
start: Base.Point2;
|
|
14
35
|
end: Base.Point2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitbybit-dev/jscad",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "Bit By Bit Developers JSCAD based CAD Library to Program Geometry",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"types": "./index.d.ts",
|
|
59
59
|
"type": "module",
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@bitbybit-dev/base": "0.
|
|
61
|
+
"@bitbybit-dev/base": "0.20.1",
|
|
62
62
|
"@jscad/io-utils": "2.0.28",
|
|
63
63
|
"@jscad/modeling": "2.12.3",
|
|
64
64
|
"@jscad/stl-serializer": "2.1.18",
|