Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scad-js/scad-js

A Javascript frontend for solid modeling that compiles OpenSCAD.
https://github.com/scad-js/scad-js

cad javascript js openjscad openscad openscad-extension openscad-library scad scad-js scadjs

Last synced: 3 months ago
JSON representation

A Javascript frontend for solid modeling that compiles OpenSCAD.

Awesome Lists containing this project

README

        


scad-js SCAD-JS

> **scad-js** transpile your Javascript to **OpenSCAD** letting you create programmatic 3d solid models with the familiar javascript syntax.



Latest release
Codecov coverage
Build passing


scad-js demo

**OpenSCAD** is an amazing software for creating solid 3D CAD objects, but modeling with the **OpenSCAD** language can be really cumbersome and limited.

**scad-js** overcomes these limitations with the power of Javascript.

## Getting started
First make sure you have [OpenSCAD](https://www.openscad.org/downloads.html) installed on your system, we will use it to visualize the model.

clone [scad-js-starter](https://github.com/scad-js/scad-js-starter):

```bash
git clone https://github.com/20lives/scad-js-starter.git my-scad-js-project
cd my-scad-js-project
```

install dependencies and run develpment script:

```bash
yarn # or npm install
yarn dev # or npm run dev
```

Now open `index.js` in your favourite text editor and start tinkering.

## Documentation

For detailed documentation on how to use scad-js visit [scad-js-docs](https://github.com/scad-js/scad-js-docs), you can also look at the official [OpenSCAD Documentation](https://www.openscad.org/documentation.html) page.

## Examples

A good way for learning scad-js and OpenSCAD is throught examples: [examples](https://github.com/scad-js/examples)

## Acknowledgements

This project was inspired by many other projects: [farrellm/scad-clj](https://github.com/farrellm/scad-clj), [OpenJSCAD.org](https://openjscad.org/), [tasn/scadjs](https://github.com/tasn/scadjs) and more... And of course it would not even exist without [OpenSCAD](https://www.openscad.org) itself.

## License

This project is open source and available under the [MIT License](LICENSE).