A FOSS tool that converts 2D building plans into 3D models by precisely analyzing and extruding walls, allowing users to visualize and customize their designs with paint colors and textures.
AutoExtrude is an open-source, free software tool built to automatically convert 2D floor plans of buildings to 3D models of buildings. It utilizes image processing and vector analysis methods to precisely identify and extract wall structures from floor plans. The system then uses procedural mesh generation to extrude walls into a 3D space with structural accuracy.
The application has an adaptive edge detection capability, which identifies and isolates walls in relation to contrast, line thickness, and pre-set architectural patterns. The detected boundaries of walls are converted to polygon data that is calculated using custom extrusion scripts rooted in GDScript. This attains effective depth and height scaling in relation to the original 2D specifications.
For personalization, AutoExtrude includes a shader-based material system to allow users to paint walls of different colors. Color application is managed through UV mapping for proper texture placement. Future additions include procedural placement of objects for auto-inclusion of doors and windows, Bézier curve lofting for extrusion of curved walls, and potential GLTF/OBJ export for compatibility with CAD and 3D modeling software.
By taking advantage of low-overhead GDScript-based geometry processing, AutoExtrude offers an optimized and scalable solution to 2D-to-3D automated architectural visualization