Comments (3)
You can set the smallest feature size that will be generated by passing the --trace-space
command line option. The default value is 0.1
(mm), and you can make things finer using smaller values. Be a bit careful though, and decrease the value slowly, since the number of primitives in the Gerber file and the file's size escalate rather quickly. The default is set conservatively to work even with crappy silkscreen processes.
If you want to dither the image yourself, you can either vectorize the dithered image using Inkscape's vectorizer and use gerbolyze just for conversion, or you can pass --vectorizer binary-contours
, which is meant to trace already dithered input images straight to gerber.
from gerbolyze.
You can set the smallest feature size that will be generated by passing the
--trace-space
command line option. The default value is0.1
(mm), and you can make things finer using smaller values. Be a bit careful though, and decrease the value slowly, since the number of primitives in the Gerber file and the file's size escalate rather quickly. The default is set conservatively to work even with crappy silkscreen processes.
Do you have any idea what might be the minimum size that would work with low-end pcb companies like jlcpcb and pcbway?
Or even a guess :)
If you want to dither the image yourself, you can either vectorize the dithered image using Inkscape's vectorizer and use gerbolyze just for conversion, or you can pass
--vectorizer binary-contours
, which is meant to trace already dithered input images straight to gerber.
How does "gerbolyze paste" then know what layer to add the vectorized image and where in the layer (what x,y position to start or even what scale -- or does it assume the image takes up the whole layer?
My dithered image is very fine so that it looks grayscale even. Will that end up creating vectorized images that are too fine?
Specifically, is there a range of "ideal" dithering resolutions that work well?
from gerbolyze.
Do you have any idea what might be the minimum size that would work with low-end pcb companies like jlcpcb and pcbway?
I really don't, two reasons:
- Every service treats violations differently. Some will complain to you via email and still do a great job, others will just silently delete half the file and deliver garbage.
- Even within one service, depending on which options you choose (2 layer, 4 layer, color, ENIG plating, etc.) you may end up with a totally different silkscreen process. Generally, the more expensive boards end up with high-quality photoimaged silkscreen which can easily resolve details smaller than 0.1mm. However, less expensive boards often end up with direct-to-pcb inkjet stuff which has trouble even with 0.2mm lines.
from gerbolyze.
Related Issues (20)
- Using paste command / Problem with gerbv HOT 5
- No Change using --scale or --usvg-dpi HOT 2
- Possible Windows (or alternately web) version? HOT 3
- FileNotFoundError: [Errno 2] No such file or directory: 'gerbv' HOT 4
- unbuntu installation keeps telling me that the server certification verification failed HOT 1
- Examples
- 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
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.