MW RoofGen
![]()
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".
https://markwhelandev.com/tools

Comments
Great tool! Thanks! ..and
Great tool! Thanks! ..and what about generation from curved splines as it implemented in sketchup extentions!
great tool, but need improvement
amazing script - still work in max 2023
too bad it is abandoned
i would like to pay for some improvements of the latest version
- use Elements sub-object of single EditablePoly object instead of individual EditableSpline objects
- it will allow to create many roofs at once
Nice post! Thank you for
Nice post! Thank you for sharing this type of information. It looks realistic. I hope that you will be able to share more posts like this. Keep it up.