-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pen Width #3
Comments
None. Why do you need to define it? |
Hi,
Thanks for the fast answer.
Maybe I have got the idea totally wrong? I thought that the idea of lib is
to produce g-code to draw the lines of svg?
And if you have a pen like 0.3 mm, a line for example 1.0 mm, surely it
matters how many lines are drawn next to each other to produce the original
line?
I'm actually trying to draw Kicad PCB SVG.
Thanks in Advance,
|
Oh, that makes sense. Alas, gcodeplot doesn't support line thickness. It only draws a single line for each line in the svg. It's not a bad idea for the future, though, to add support for thickening lines. But to do that properly, I'd also have to do calculations regarding line-caps, and that would be annoying to do. In the meanwhile, you can use long, narrow rectangles and shading, but that will result in way more pen movement, unless you're lucky enough that the rectangles align with the shading angle. |
Kyberkiller: this program works with, for example, a vinyl cutter, where your "line" is infinitely (or at least very) thin. So if you want to cut a line on the vinyl, you cut both edges of the line, so the thickness is given by the distance between them For processing a hatching pattern for line thicknesses, a lot can be drawn from slicer programs like Slic3r and their infill algorithms. Drawing an outline first, like when 3D printing, would probably be useful; then draw an "infill" hatch with the selected pattern and density %. Pen flow would probably be a factor since slower moves result in thicker lines, perhaps this could be controlled? |
+1 for thickness feature. I'ts virtually impossible now to use ultra fine point marker for pcb. |
I think it's fair to say that making SVG strokes into solid objects (including end caps etc) is out of scope for this tool. You might look at the "Path > Stroke to Path" option in Inkscape, which will convert a stroke into a filled object. Here's an example: https://graphicdesign.stackexchange.com/a/84571/144507 This program has features for filling/hatching, right? I'm not sure if that could be used here, but it might be better to do that in the SVG also, using something like the Inkscape extensions at https://github.com/evil-mad/EggBot/releases/tag/v2.8.1 / https://wiki.evilmadscientist.com/Installing_software. |
Nice tool but what parameter is defining the width of the pen?
The text was updated successfully, but these errors were encountered: