ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Script make simple rhombic prism. There's ability to change width, length, height, taper scale, number of height segments. Also provided "Generate Mapping Coords" checkbox.
Since I've written a few functions to make my life easier while working on the Gear primitive (plus one that I later discarded, intended to fill holes), I figured I could just as well make a quad cylinder as a much simpler example how to tie these functions together. Enjoy and feel free to rip the code apart and reuse it.
Example usage would be spiral ductwork, screw threads, flexible metal tubes, circular ramps etc. No smoothing groups are assigned, for smooth look either use Smooth modifier or add points to the spline profile.
It's Christmas time! Well, almost. Anyway, this one is really simple and will be perfect as a starting point for anyone who wants to learn how to build a custom mesh primitive. Enjoy.