cmonr / eagle-ulps Goto Github PK
View Code? Open in Web Editor NEWScripts used in Eagle CAD
Home Page: anomalousmaker.com
Scripts used in Eagle CAD
Home Page: anomalousmaker.com
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
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
From @dirk67:
I tried with Eagle 6.6.0
but can get no good results...
maybe a user error (I am a beginner with SVG) ?
here is the original logo --> http://24max.de/temp/Pb-free.bmp
here is the svg-file I generated from this bitmap (with inkscape) --> http://24max.de/temp/no_pb_logo3.svg
here is the weird result in eagle --> http://24max.de/temp/result.png
what am I doing wrong ?
b.t.w.
is it compatible with EAGLE 7.x.x in the meantime ?
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.
No idea what I'm doing wrong, but when I use this ULP, I get the above error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.