![]()
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.

Arbitrary Spline Input
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.

Grounded Slope UVs
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.
Requirements:
3ds Max 2026 (or higher)
How to Use:
In 3ds Max 2026 (or higher), go to Scripting > Run Script... > Choose where ever you put "MW_RoofGen_2_XX.mse".
By markwhelan · 2015-04-24
harumscarum · 2025-01-23
helgajones · 2015-05-16