openscad-to-step 0.1.1 → 0.1.2
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/README.md +5 -2
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Convert OpenSCAD files to STEP with real curved surfaces, not triangles.
|
|
4
4
|
|
|
5
|
+

|
|
6
|
+
|
|
5
7
|
```sh
|
|
6
8
|
npx openscad-to-step bracket.scad # writes bracket.step
|
|
7
9
|
npx openscad-to-step box.scad -D wall=2.4 -o box-thick.step
|
|
@@ -21,7 +23,8 @@ CAM and machine shops can't measure or edit properly. This tool gives you a cyli
|
|
|
21
23
|
that made it.
|
|
22
24
|
3. **An OCCT-based engine builds the model as exact B-rep** and writes the STEP. The engine comes from the
|
|
23
25
|
[`@forgent3d/cad-build`](https://www.npmjs.com/package/@forgent3d/cad-build) npm package (WebAssembly, runs
|
|
24
|
-
locally, nothing is uploaded). It's
|
|
26
|
+
locally, nothing is uploaded). It's licensed under FSL-1.1-MIT, free for any use except a competing commercial
|
|
27
|
+
product, and its source repository isn't public; see [What's open](#whats-open).
|
|
25
28
|
|
|
26
29
|
## What comes out exact, and what doesn't
|
|
27
30
|
|
|
@@ -98,7 +101,7 @@ renders slowly at fine facets.
|
|
|
98
101
|
| The converter (this repo) | AGPL-3.0, or a commercial license | here |
|
|
99
102
|
| The OpenSCAD fork | GPL-2.0-or-later | [forgent3d/openscad](https://github.com/forgent3d/openscad), branch `forgent3d` |
|
|
100
103
|
| Bundled libraries: BOSL2, MCAD, Write.scad | BSD-2-Clause, LGPL-2.1, CC BY-SA | `src/libraries/`, with their license files |
|
|
101
|
-
| The B-rep engine |
|
|
104
|
+
| The B-rep engine | FSL-1.1-MIT (any use except a competing commercial product); source repository not public | [`@forgent3d/cad-build`](https://www.npmjs.com/package/@forgent3d/cad-build) (OCCT under LGPL-2.1, see its notices) |
|
|
102
105
|
|
|
103
106
|
## License
|
|
104
107
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -10,6 +10,6 @@ licenses; the full texts ship next to them (`src/libraries/` in the repo, `dist/
|
|
|
10
10
|
| Write.scad by HarlanDMii, unmodified | CC BY-SA | https://github.com/rohieb/Write.scad | `WRITE-SCAD-NOTICE.txt` |
|
|
11
11
|
| `src/vendor/write-fonts-meta.ts`: Write.scad's font names and character sets | CC BY-SA | as above | `WRITE-SCAD-NOTICE.txt` |
|
|
12
12
|
|
|
13
|
-
Not bundled, installed as a dependency: `@forgent3d/cad-build` (the B-rep engine, with OpenSCAD compiled to
|
|
13
|
+
Not bundled, installed as a dependency: `@forgent3d/cad-build` (the B-rep engine, FSL-1.1-MIT, with OpenSCAD compiled to
|
|
14
14
|
WebAssembly from https://github.com/forgent3d/openscad under GPL-2.0-or-later, and OCCT under LGPL-2.1 with the
|
|
15
15
|
OCCT exception). Its notices ship inside that package.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openscad-to-step",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Convert OpenSCAD files to STEP with exact geometry: the real OpenSCAD evaluates the file, the converter rebuilds every primitive and boolean as B-rep (true cylinders, exact BOSL2 shapes, hull and minkowski) and writes a STEP.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"author": "Forgent3D",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"test:fixtures": "node scripts/with-openscad.mjs node --import tsx/esm scripts/scad-diff.mjs"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@forgent3d/cad-build": "0.5.
|
|
24
|
+
"@forgent3d/cad-build": "0.5.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^22.10.0",
|