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

https://github.com/laaouatni/gcode.js

basically a gcode library for making the making gcode program easily and efficiently for CNC machines.
https://github.com/laaouatni/gcode.js

cnc cnc-milling cnc-programming css gcode gcode-editor gcode-generation gcode-interpreter gcode-viewer gcode-visualizer javascript sinumerik

Last synced: 2 months ago
JSON representation

basically a gcode library for making the making gcode program easily and efficiently for CNC machines.

Awesome Lists containing this project

README

        

# gcode.js

> ⚠️ this is the old version, now we are rewriting/refactoring this library, so we can use `svelte.js` framework
>
> https://github.com/gcodeJS/Gcode.js/

basically a gcode library for making the creation of gcode programs easily and efficiently for CNC machines.

```javascript
// example
const G0 = new G0({x:0, y:0});

for(let i=0; i < 10; i++) {
G0.moveTo({
left: Math.random() * 100,
top: Math.random() * 100
});
}
```

> demo: https://gcode-js.vercel.app

![image](https://user-images.githubusercontent.com/87947051/185802527-f03e7aba-45ed-4eb0-a6cd-f2f31048912f.png)

> ⚠️ the project is not completed, don't use it (at least for now, in the future maybe yes) but you can suggest some ideas