Pcb-stackup: Generate beautiful and accurate SVG renders of printed circuit boards
github.com
github.com
Does anyone knows how this compares to Gerber-to-svg? https://github.com/mcous/gerber-to-svg
Macrofab does this for their web tool, from their Github I guess they merge gerber-to-svg with this SVG Stacker:
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.
Example:
<img src="http://cdn.rawgit.com/<username>/<path>/<to>/<image.svg>">
[1]: https://github.com/samjabrahams/tensorflow-white-paper-notes... [2]: https://github.com/isaacs/github/issues/316#issuecomment-113...
Check out http://viewer.tracespace.io for the updated svgerber style viewer.
So 3D models would be very hard to add. It would only work if you export a BOM with position data and references to STEP files for your board. This is not currently supported by most commercial software (no idea if it's possible with KiCad), positions are easy to get, but then you'd still need the 3D models (including position offsets and rotation).