@jscad/x3d-deserializer 3.0.4-alpha.0 → 3.0.5-alpha.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jscad/x3d-deserializer",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5-alpha.0",
|
|
4
4
|
"description": "X3D Deserializer for JSCAD",
|
|
5
5
|
"homepage": "https://openjscad.xyz/",
|
|
6
6
|
"repository": "https://github.com/jscad/OpenJSCAD.org/",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"module": "dist/jscad-x3d-deserializer.es.js",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "rollup --config",
|
|
13
|
-
"coverage": "c8 --all --reporter=html --reporter=text
|
|
13
|
+
"coverage": "c8 --all --reporter=html --reporter=text npm test",
|
|
14
14
|
"test": "ava --verbose --timeout 2m 'tests/**/*.test.js'",
|
|
15
|
-
"version": "
|
|
15
|
+
"version": "npm run build && git add dist"
|
|
16
16
|
},
|
|
17
17
|
"contributors": [
|
|
18
18
|
{
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@jscad/array-utils": "3.0.
|
|
36
|
-
"@jscad/io-utils": "3.0.
|
|
37
|
-
"@jscad/modeling": "3.0.
|
|
35
|
+
"@jscad/array-utils": "3.0.3-alpha.0",
|
|
36
|
+
"@jscad/io-utils": "3.0.5-alpha.0",
|
|
37
|
+
"@jscad/modeling": "3.0.5-alpha.0",
|
|
38
38
|
"saxes": "^6.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"rollup": "^4.52.0",
|
|
47
47
|
"rollup-plugin-version-injector": "^1.3.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "942d9a5eab2f234f2e1c617d5896e0230f353330"
|
|
50
50
|
}
|
package/src/extrudeX3D.js
CHANGED
|
@@ -148,7 +148,7 @@ export const extrudeX3D = (x3dshape) => {
|
|
|
148
148
|
|
|
149
149
|
// Create the initial slice
|
|
150
150
|
const initialShape = geom2.create([crossSection])
|
|
151
|
-
const initialSlice = slice.
|
|
151
|
+
const initialSlice = slice.fromOutlines(geom2.toOutlines(initialShape))
|
|
152
152
|
|
|
153
153
|
// Calculate SCP values
|
|
154
154
|
let yaxes = calculateYaxes(spine)
|