Comments (2)
Thank you for the report! Would you mind sharing the input SVG file with me at [email protected]? This should work, so chances are you've found a bug.
from gerbolyze.
Thank you for the test file. I have had a look and your problem should be fixed in v2.0.6, now on the main branch and on pypi.
The underlying issue was that your SVG for some reason contained only open paths and no closed paths at all. In SVG, an open path is one whose two ends are not connected, like the shape of the letter "C" vs. "O". In SVG, filling open subpaths like that is still well-defined behavior (spec) even though here it likely is not what you want since when setting a stroke, things will look weird around the spot where the two ends of the path are.
Gerbolyze now handles this case according to spec and the resulting kicad_mod looks as you would expect. Please check it out, and feel free to re-open this issue or to open another issue should it not work as expected.
from gerbolyze.
Related Issues (20)
- Add tests for svg-flatten dilation
- Hi there, thanks for the package. Is there any way we can integrate this into a python file?? any resources that we can refer? I want to convert svg file into gerber and show them in a website HOT 2
- PermissionError: [Errno 13] on Gerbolyze Paste HOT 2
- Error trying to use svg-flatten HOT 1
- Error when trying to create template HOT 1
- better instructions how to use this would be appreciated. HOT 4
- Gerbolyze (through svg-flatten-wasi and gerbonara) is incompatible with python < 3.10 HOT 3
- Link to online Gerbolyze fails HOT 1
- BeautifulSoup4 is not automatically installed by pip HOT 1
- SystemError: resvg executable not found HOT 2
- Minor issue: Git clone doesn't point to a branch HOT 1
- Documentation mentions 'gerbolyze template' option called '--bbox' but doesn't seem to exist
- How do you use this with EasyEDA Gerber files HOT 5
- How do you increase resolution of included images HOT 3
- USVG_OPTIONS='--keep-named-groups' required HOT 1
- gerbolyze convert generates... nothing, or a bunch of identical broken files? HOT 1
- Documentation for svg-flatten CLI incorrect HOT 2
- svg-flatten stuck on gerbolyze::dehole_polytree() HOT 3
- Problem with easyEDA files. HOT 1
- Conversion results have no data except LPD/LPC by svg-flatten command with --flatten option HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gerbolyze.