@react-scad/core 0.1.26 → 0.1.28
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 +3 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,10 +33,9 @@ A lot of people already think in components and JSX from building UIs. **react-s
|
|
|
33
33
|
### Create a new project (recommended)
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
npx create-react-scad my-project
|
|
36
|
+
npx create-react-scad@latest my-project
|
|
37
37
|
cd my-project
|
|
38
|
-
npm
|
|
39
|
-
npm start # single run
|
|
38
|
+
npm start
|
|
40
39
|
```
|
|
41
40
|
|
|
42
41
|
That’s it — open the generated `model.scad` in [OpenSCAD](https://openscad.org/) or your slicer.
|
|
@@ -127,10 +126,7 @@ writeFileSync("out/model.scad", scadCode);
|
|
|
127
126
|
|
|
128
127
|
Then run with `npx tsx main.tsx` or bundle with esbuild and run with Node.
|
|
129
128
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
<details>
|
|
133
|
-
<summary>Interop with existing SCAD</summary>
|
|
129
|
+
### Interop with existing SCAD
|
|
134
130
|
|
|
135
131
|
You can reuse existing `.scad` libraries and snippets in two ways:
|
|
136
132
|
|