Skip to content

Support for groups in the SVG Export #76

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

Open
JanWerder opened this issue Oct 2, 2019 · 2 comments
Open

Support for groups in the SVG Export #76

JanWerder opened this issue Oct 2, 2019 · 2 comments

Comments

@JanWerder
Copy link

It would be great for plotter art, if the user could use Groups to structure the paths on the canvas.

Groups allow the user to seperate the documents into layers for later in the process of plotting a drawing. This allows them to use different pens with different colors for different parts of the drawing.

This is of course not a problem of the Export alone, since the user would have to specify with path belongs to which groups. Other libraries like paper.js follow the principle of adding paths to a group object and then adding the group object to the "renderer". Maybe a similar approach could be used for canvas-sketch.

@robertoranon
Copy link

Hi Matt,
I could have a go at implementing this feature, if it's not already in your pipeline or done. In that case, would you like to give some hint/direction/specific feature that you have already in mind?

@wassilyevich
Copy link

How would one go about trying to export multiple "layers" of svg's at once in canvas-sketch right now? Or is this impossible?

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

3 participants