bernhard-42 / three-cad-viewer

A CAD viewer component based on three.js
MIT License
178 stars 29 forks source link

custom cad #17

Open ghost opened 5 months ago

ghost commented 5 months ago

Sorry, I searched all the directories and didn't seem to see the local CAD file loaded. How can I modify it to support custom CAD files?

bernhard-42 commented 5 months ago

You need to use e.g. https://github.com/CadQuery/cadquery or https://github.com/gumyr/build123d to import your CAD model and then e.g. https://github.com/bernhard-42/vscode-ocp-cad-viewer to tessellate (triangulate) the imported model and view it