Update README.md

This commit is contained in:
Ravi 2022-03-06 18:09:22 -08:00 committed by GitHub
parent bca36f6cf3
commit ca1f81ef15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,10 @@
This tool allows you to convert .STLs to .SCADs with ease.
I based this on [STL to OpenSCAD Converter](http://jsfiddle.net/roha/353r2k8w/embedded/result/) from https://www.thingiverse.com/thing:1383325 but it had a lot of issues, so I added file verification, styling, fixed typos, updated dependencies, included all the references properly, fixed the errors, optimized the code, and removed deprecated references.
I based this on [STL to OpenSCAD Converter](http://jsfiddle.net/roha/353r2k8w/embedded/result/) from https://www.thingiverse.com/thing:1383325 but it had a lot of issues, so I added file verification, styling, fixed typos, updated dependencies, included all the references properly, fixed the errors, optimized the code, and removed deprecated code.
#### Thingiverse use case:
In OpenSCAD you can use `import(example.stl)` to import an STL. However, Thingiverse Customizer doesn't support the `import` command, and it requires that everything resides in one .scad file. With this tool, you can convert all your STLs to OpenSCAD modules, copy and paste each module into one big SCAD file, and call the module instead of using `import()`.
In OpenSCAD you can use `import(example.stl)` to import an STL. However, Thingiverse Customizer doesn't support the `import` command, as it requires that everything resides in one .scad file. With this tool, you can convert all your STLs into OpenSCAD modules, copy and paste each module into one big SCAD file, and call the module instead of using `import()`.
If you use this please show it some love on Thingiverse: https://www.thingiverse.com/thing:4461877 or give the repo a star :)