Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
/ gcode.js Public archive

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

License

Notifications You must be signed in to change notification settings

Laaouatni/gcode.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

// 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

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