You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a slightly odd (but potentially very cool) use case, and I've run into a bit of an issue.
I'd like to laser-cut thin acrylic for fit check/mockup boards for some complicated mechanical design (including conductive button pads). I have a Glowforge, which takes SVG as input.
Tracespace is 99% there, but the exported SVGs aren't all the same size, so I need to re-register the layers before I can go to the laser. Is it possible to add a flag that renders all the SVGs with the same 'bounding box'* such that the layers are in register?
Thanks!
*I don't know enough about SVG to know the right term here.
The text was updated successfully, but these errors were encountered:
@zandr the API for doing this is a little unwieldy at the moment, but it's definitely possible and not super different than what https://tracespace.io/view does. The TL;DR version is:
Generate layer (and board, if needed) renders
Sum the viewboxes of the layer renders (or grab the overall board viewbox from the board renders if you have them)
Re-render the layers using the attributes option to override the calculated viewbox with your summed viewbox
I could give you a more detailed example if needed. Are you using the tracespace CLI or the Node.js API?
I have a slightly odd (but potentially very cool) use case, and I've run into a bit of an issue.
I'd like to laser-cut thin acrylic for fit check/mockup boards for some complicated mechanical design (including conductive button pads). I have a Glowforge, which takes SVG as input.
Tracespace is 99% there, but the exported SVGs aren't all the same size, so I need to re-register the layers before I can go to the laser. Is it possible to add a flag that renders all the SVGs with the same 'bounding box'* such that the layers are in register?
Thanks!
*I don't know enough about SVG to know the right term here.
The text was updated successfully, but these errors were encountered: