4 ms·
It has gerber-to-svg as an dependency, so I'm curious what it actually adds to this.
by paddi91 10y ago
It has gerber-to-svg as an dependency, so I'm curious what it actually adds to this.
- desdiv 10y agoA PCB consists of multiple layers, each one of which is described by a gerber file. gerber-to-svg renders each individual layer to svg; this project aggregates all the layers and stacks them up (hence the name) in the proper order.
- aylons 10y agoThank you! Macrofab does this for their web tool, from their Github I guess they merge gerber-to-svg with this SVG Stacker: https://github.com/MacroFab/SVG-Stacker https://github.com/MacroFab/SVG-Stacker
- drone 10y agoYou're right, sort of! =) We use gerber-to-svg (it is the best we've ever worked with) server-side, but we use svg-stacker to generate images for the cases where we need them (thumbnails, printouts, etc.) On the front-end, we use html5 canvas rather than a pre-stacked SVG.