piLeoni / svgcode

A minimal SVG to GCODE converter for 2d operations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status

svgcode

A minimal SVG to GCODE converter for 2d operations

Installation

npm install svgcode

Usage

const svgcode = require("svgcode");

const gcode = svgcode()
.loadFile(__dirname + "test/helloworld.svg")
.generateGcode()
.getGcode();

console.log(gcode)

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

About

A minimal SVG to GCODE converter for 2d operations

License:MIT License


Languages

Language:JavaScript 100.0%