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

Okay I understand now.  It sounds like you are not so interested in stroke widths, but rather you want to be able to designate parts of a path to be defined parametrically.

I would still suggest metadata attributes are the appropriate solution. Something like:

```
<path d="M 5 5 l 20 0 l 0 10 l -20 0 l 0 -10 z"
      laser:template="M 5 5 l 20 0 l 0 10 {mat} l -20 0 l 0 -10 {mat} z" />
```

This way the path would still be renderable by normal SVG viewers, but your software would be able to use the template attribute to generate a new path when the material thickness is changed.  `{mat}` here being a placeholder in the template for the material thickness.


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

Received on Tuesday, 24 October 2017 12:10:39 UTC