Skip to content

poet-built svg-to-stanza utility to create a .stanza file with pcb-component for jitpcb from .svg file

Notifications You must be signed in to change notification settings

JITx-Inc/svg-to-stanza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svg-to-stanza

This is built by poet. Please install poet from https://github.com/StanzaOrg/poet

Usage: svg-to-stanza <name-without-file-extension> [span-in-mm] [stroke-width-in-mm] [resolution-in-mm]

For example: svg-to-stanza mickey 100 0.1 0.1 if you have a mickey.svg available with the placed along with svg-to-stanza executable in the same directory. You want the largest side to be 10cm long. The stroke-width (pen thickness) be 0.1mm and resolution be 0.1mm (means curves will be broken down into 0.1mm long lines at most)

If no span, stroke-width or resolution is given, they are default to 10mm, 0.1mm, and 0.01mm respectively.

  1. clone this repo
  2. use poet build to create an executable
  3. run the executable against your .svg file. e.g. svg-to-stanza mirmo
  4. once the .stanza file is generated, you can move it to your jitpcb design directory
  5. use the .stanza file by following the instructions in the .stanza file comments.
  6. update your design's stanza.proj if necessary.

alt text

Dec 2022

About

poet-built svg-to-stanza utility to create a .stanza file with pcb-component for jitpcb from .svg file

Resources

Stars

Watchers

Forks

Packages

No packages published