erichvk5 / inkscape2pcb Goto Github PK
View Code? Open in Web Editor NEWInkscape extension scripts allowing export of inkscape paths to pcb-rnd layouts (.lht) and gEDA PCB footprints (.fp)
License: GNU General Public License v2.0
Inkscape extension scripts allowing export of inkscape paths to pcb-rnd layouts (.lht) and gEDA PCB footprints (.fp)
License: GNU General Public License v2.0
Erich, sorry, I think I'm doing something wrong.
I downloaded your scripts and used sudo to move them to Inkscape's extension folder. I could see all the other scripts, so I know I got the right folder. I relaunched the program. No .fp option.
I looked at the file ownership and permissions, and used chown to change from my user to root. Nothing.
I used chmod to set to 755. Still nothing.
Can you help, please?
Best WM / Niftyprose
File "geda_pcb_output.py", line 59
print ''.join(self.fp)
^
SyntaxError: invalid syntax
That results in "unable to save file.
Inkscape version is: 1.0 (1.0+r73+1)
OS: Linux mint 20.
cpu :
AMD Ryzen 7 2700 Eight-Core Processor
Readme says the exported files can be imported in to KiCAD.
I do not see the file formats (.fp & .lht) on this list:
http://kicad-pcb.org/help/file-formats/
I can also not find a way to import them in to pcbnew. Any suggestions?
Thank you,
Tobias
I got this error after I try to save either lht or fb format
Traceback (most recent call last):
File "geda_pcb_output.py", line 114, in
MyEffect().run()
File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 123, in run
self.save_raw(self.effect())
File "geda_pcb_output.py", line 110, in effect
self.process_group(doc)
File "geda_pcb_output.py", line 87, in process_group
if child.is_visible():
File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\elements_base.py", line 147, in getattr
raise AttributeError("Can't find attribute {}.{}".format(self.typename, name))
AttributeError: Can't find attribute Layer.is_visible
I cannot get inkscape2pcb to work. All that I see is a few blobs.
Below are links for the original svg as well as the lht and fp files produced.
This is a shape that I successfully used in 2012 using geda PCB - using the eps/pstoedit method.
Using inkscape version 0.92.2
svg:
https://pastebin.com/c7uZqyLu
lht produced:
https://pastebin.com/sDC2tbmv
fp produced:
https://pastebin.com/Vrzzu0P4
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.