Re: [svgwg] Independent stroke width for sub-paths

What all vector file formats lack in order to support laser cutter templates optimally is the possibility to tag elements as being of "material thickness", and whether an edge is the inside or the outside of a press-fit joint. Having these markers would allow software to quickly adjust a drawing to a new material thickness, or to lock certain edges while scaling an object. The second option would allow the user to draw press-fit joints along their actual size (e.g., 10mm) and having the laser-cutter driver add or subtract 0.2mm for the cut itself. Right now, this is something that has to be adapted manually. 
The latter is basically the stroke-position property drafted for SVG2, the former is basically the resize property for rects. Handling these with polylines and paths is a bit more complicated. 
Now, why don't we use separate paths? Because then it potentially get's tricky to figure out where the different paths are supposed to meet. I agree that it is possible, but with only relative movements within a path, having markers attached would make iterating and scaling easier. 
I created a little example movie to illustrate the use-case: [http://www2.heller-web.net/media/laserSVG.mov](url)

-- 
GitHub Notification of comment by florianheller
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/147#issuecomment-338644236 using your GitHub account

Received on Monday, 23 October 2017 12:34:44 UTC