MaxScript Roof Generator for 3ds Max
MW RoofGen 2 generates hip roof geometry from any closed spline outline in 3ds Max. Pick a shape, set a roof angle, hit Create. Optional UV generation maps each roof face with grounded slope projection - bottom edges sit at V=0 and UV scale is driven by world-unit width and height inputs.
In 3ds Max 2026 (or higher), go to Scripting > Run Script... > Choose where ever you put "MW_RoofGen_2_XX.mse".
RoofGen accepts any closed spline as input - simple rectangles, L-shapes, freeform outlines. The script resolves ridge intersections for each shape automatically. You can also generate roofs for multiple selected splines in one pass.
Each roof face is UV-mapped independently with its bottom edge locked to V=0 and U=0 at the edge start. Coordinates are projected along the true slope surface so tile textures maintain correct proportions across different pitch angles. Width and height inputs set the real-world tile size.