Skip to content

About

Export urpflanze scene to SVG

Resources

Stars

0 stars

Watchers

2 watching

Forks

Repository files navigation

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

About

Export urpflanze scene to SVG

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages