At the Moment i'm testing some setups for creating a 3D Viewer for PCB Project Files.
It looks like that every KiCAD Project PCB can be exported to wrl (VRML) and SVG File Formats.
When the PCB has 3D Data blender can read it correctly. Sadly the Three.js can't read the .wrl files probely.
The solution could look like these:
KiCad Export .WRL -> Blender load .WRL -> Blender Export .OBJ and MTL -> Load in Three.js OBJ and MTL
KiCad Export .SVG -> Load in Three.js (not tested)
KiCad Export .SVG -> Load in Paper.js (not tested) could work for a 2D Layer Viewer
Show the first results of the test
Can be renderd in Blender needs just proper Material and light Setup