Skip to content
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

Open
kyberkiller opened this issue Mar 2, 2017 · 6 comments
Open

Pen Width #3

kyberkiller opened this issue Mar 2, 2017 · 6 comments

Comments

@kyberkiller
Copy link

Nice tool but what parameter is defining the width of the pen?

@arpruss
Copy link
Owner

arpruss commented Mar 2, 2017

None. Why do you need to define it?

@kyberkiller
Copy link
Author

kyberkiller commented Mar 2, 2017 via email

@arpruss
Copy link
Owner

arpruss commented Mar 2, 2017

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.

@laserguru
Copy link

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?
If kyberkiller is drawing an SVG from a board design, I presume it's an automated way for using a marker as etch resist? If so, then a thick, even line is necessary so it effectively protects those areas of the copper.

@tsipa
Copy link

tsipa commented Feb 23, 2019

+1 for thickness feature. I'ts virtually impossible now to use ultra fine point marker for pcb.

@nylen
Copy link

nylen commented Oct 14, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants