MaxScript roof generator for 3ds Max. Pick a closed spline, set a roof angle, hit Create.
MW RoofGen 2 generates hip roof geometry from any closed spline outline in 3ds Max. Optional UV generation maps each roof face along its slope: bottom edges sit at V=0, and the UV scale is set by real-world width and height inputs.
In 3ds Max 2026 or higher, go to Scripting > Run Script... and choose "MW_RoofGen_2_XX.mse" from wherever you saved it.

RoofGen accepts any closed spline: simple rectangles, L-shapes, freeform outlines. It resolves the ridge intersections for each shape automatically, and can build roofs for several selected splines in one pass.

Each roof face is mapped on its own, with its bottom edge locked to V=0 and U=0 at the edge start. Coordinates follow the true slope, so tile textures keep their proportions at any pitch. Width and height inputs set the real-world tile size.
Free to download. Pairs well with the roofing shaders in MW Tiles v2.