We're developing a CAD webapp. Our webapp will be for drawing buildings and their components (walls, trusses, etc.). Two prominent 3D libraries are Three.js and Babylon.js. What are the pros and cons of each? Which would you recommend for a CAD webapp and why?
Babylon is much more about simulation and 3d rendering so Three.js would seem a better fit.
Three.js is very mature, has been used in other CAD related developments and often used for browser-based diagramming tools. Check out a search of npm to find a number of CAD related modules for three.js.
References for Three.js:
- OpenJSCAD - An open source web-based CAD application
- Color Tracking CAD Viewer
- An article on combining 2d from D3.js with 3d from Three.js
References for Babylon.js
- The only reference I can find for using BJS for CAD and it is an unanswered question.