Giter Club home page Giter Club logo

eagle-ulps's Introduction

Select each script in the EAGLE Command Panel for more information.

INSTRUCTIONS for svg2poly

svg2poly was made to handle Plain SVG files from Inkscape. It can currently only handle paths.

Inkscape

  • Type out the text that you want. Format it and such.
  • Lock the height/width ratio
  • Change height to 100 (this helps with changing the ratio)
  • Ctrl-Shift-C (Object to Path)
  • Select all (w/ Node Cursor)
  • Extensions > Modify Path > Add Nodes (Default settings are alright)
  • Extensions > Modify Path > Flatten Beziers (Default settings are alright)
  • For the closed loop letters O,o,D,d,etc...
  • Draw a rectangle dividing the letter ( O => ([)] )
  • Select the rectangle and the letter
  • Ctrl-/ (Division)
  • Repeat with all closed letters
  • Select all (w/ Node Cursor)
  • Ctrl-Shift-K (Break Apart)
  • Resize canvas with File > Document properties. Click "Resize to drawing or selection"
  • Save As > Plain SVG

Eagle

  • Open your .BRD file
  • Type mark
  • With your mouse, select where you want the center of the svg to appear
  • Enter command and browse to svg file

AUTHOR

Written by Cruz Monrreal II

eagle-ulps's People

Contributors

cmonr avatar gonzoid avatar hadron137 avatar leonerd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eagle-ulps's Issues

Show commands before running them

I'm trying to import a logo, and I've followed the instructions. The svg looks fine as far as I can tell, it's just a sequence of lines. But the script produces a bogus output. It would be helpful to see all the commands first to debug

Coordinates out of range

Followed the steps to create the svg file (made sure it was plain, converted everything to a path, etc..) but received several errors when running svg2poly within eagle - a number of them all resembling the format "Coordinates ([some number], [some number]) are out of range! Maximum allowed range is +/- 78.74015748 inch".

Perhaps it's user error when I was setting up the svg file to begin with, but I tried a dozen times to make the svg bigger/smaller (starting off setting the height to 100 px) with no luck. Am I causing the problem somehow? if not perhaps this is an issue?

Eagle version 7.1.0 Standard
Inkscape version 0.48

Correct Inkscape output format

With the instructions in the README, inkscape does not provide the output formatted in a way that the script can use. Fortunately, that can be corrected with a Find & Replace.

The script needs a path that looks something like:
M 211.5,41.3 L 212.109707683,41.348226765 L 212.704874264,41.4920620509 L 213.26899069,41.7268507489 L 213.791045043,42.0471923694 L 214.256358048,42.4436524811 L 214.655393543,42.9084797658

Where coordinates are separated by , and there are spaces around SVG commands.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.