ScriptSpot

Script

Flange

By Swordslayer · Credited author: Vojtech Cada · 2017-03-16

Version
0.02a
Version requirement
3ds Max 9
Votes
14
Description

Flange scripted primitive. Created with TurboSmooth in mind, so it's all-quad and has an Outline parameter to tighten the edge loops. The flange neck is optional, reducing its thickness to zero effectively gets rid of it.

Flange Scripted Primitive

Additional Info

Installation: Copy the .ms file to your scripts\startup folder or run as a script if you want to try it out first. The object primitive will be available under Examples in the Create panel.

Usage: Apart from changing the parameters of the object itself, you can also create helpers for bolt placement that can be then used with Subsitute or Clone and Replace to align screws to their position and transform. If you want to align the flange to a spline (pipe), the easiest way is to use the Path constraint, after that you can move the flange along the spline by drag-moving it.

Attachments
Comments (2)

Very cool. +1.Would be nice

lightcube · 2017-03-16

Very cool. +1.

Would be nice if the default UVs could be updated. I'd like to see the height polygons getting some cylindrical UVS so no unwrapping needs to be done.

EDIT: Found a bug when the Outline is set to 0, there is a bug with some missing/broken geo.

Also, there should be some limits on the Outline effect because once it gets higher than dimensions from some sections it starts to create overlapping coplanar faces.

Also, I think there should be a checkbox to lock the Top Neck Height and Bottom Neck Height.

Swordslayer · 2017-03-23

Zero outline is now handled, thin geo outline is handled as well.