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.

By 
Comments (15)
Comment policy
Issues with Sphere Cap Max 2024
When using the Sphere cap method, the corner vertices are in different locations. I'll assume height from the sphere itself, so it creates some sort of hollow or pulling effect.
See image.
Attachments
Issues with Sphere Cap Max 2024
When using the Sphere cap method, the corner vertices are in different locations. I'll assume height from the sphere itself, so it creates some sort of hollow or pulling effect.
See image.
Attachments
Issues with Sphere Cap Max 2024
Hello there, thanks for the script, unfortunately i ran in an issue When using the Sphere cap method, the corner vertices are in different locations. I'll assume height from the sphere itself, so it creates some sort of hollow or pulling effect.
See image.
Attachments
It doesn't seem to work in Max 2024 ?
Works as expected in 2024, you will find it in the Examples category, not under Standard Primitives. Maybe that's the step you're missing.
indeed, thanks!
"Remove quad cap" and "Save as default"?
I wonder could you also add ability to remove quad cap?
This will be handy for complete replace standard cylinders with yours.
I mean sometimes you don't need complex cap on cylinders (e.g. making lowpoly for games).
Also Save as Default for all the settings will be cool.
ok...now how hard is it to create the cap only (ie. height 0)
then instance it, rotate it 180, weld (assuming you've removed the bottom faces) and voila you have a quad sphere (that I didn't have to Spherify from a cube) ?
Much easier than what you described
Instead of making the bottom, creating sides and then capping the top vertex loop, you'd just make the center vertex loop, cap the top, cap the bottom. No need to weld anything 😎 See the attached file (no cleanup, just a half-sized version of the quad cylinder).
Anyway, what's the use for a full quad sphere? Never used it myself (well, only to cap cylindrical parts - and for that, there's the quad cylinder).
Attachments
thanks again...
...
This is excellent.
A very useful, and welcome addition to my primitives collection. The spherical cap is very handy for a variety of things. Well done.
.
Wonderful! Thanks
YES finally...no more polar verts
Thanks very much...not that I can read much maxscript...
(now if I spherify this, would it be better than spherifying a cube...)
My pleasure
Think of the functions as nodes and there you have it :) I might add a hemisphere full-quad cap, that could be interesting - thanks for the indirect idea. Any clue what to name that switch/feature? It's always these little details that I spend most time on, should it be radioButtons or checkBox, what to call it, and so on...
Sphere Cap
Rejoice! I've added the spherical cap functionality. With a switch you can now make the top cap flat or spherical. I might update the gif tomorrow, no access to max now.