@urpflanze/svg-exporter
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

SVG-Exporter

This is a tool to export the urpflanze scene to SVG

Install with npm

npm i -S @urpflanze/svg-exporter

Import GCODEExporter:

import { Scene } from '@urpflanze/core'
import { SVGExporter } from '@urpflanze/svg-exporter'
// or const { SVGExporter } = require('@urpflanze/svg-exporter')

const scene = new Urpflanze.Scene()

// creating a scene

scene.update()

const svg = SVGExporter.parse(scene /*, config*/)

Possible config:

  • decimals number default 3
  • background boolean default true

Readme

Keywords

Package Sidebar

Install

npm i @urpflanze/svg-exporter

Weekly Downloads

0

Version

0.0.5

License

GPL-3.0-or-later

Unpacked Size

143 kB

Total Files

35

Last publish

Collaborators

  • genbs