I am working on a project where users need to design structures (like walls, windows, and doors) in a 2D-floor plan and then view the same design in 3D. I’m trying to figure out the best approach to implement this functionality.
Which of the following methods do you think is the most efficient and practical for this purpose?
1.Use Three.js for both the 2D and 3D views:
- Manage both 2D (Orthographic view) and 3D (Perspective view) within the same environment using Three.js.
Users can draw walls, adjust dimensions, and create holes for windows and doors in 2D, while seeing the results immediately in 3D.
How can I handle drawing walls and create holes?
2.Use a 2D Canvas (like Fabric.js) for drawing and Three.js for 3D visualization
Which option would you prefer, and why? Or do you have a better alternative?
And is it possible to export to ifc file?