Timothy Marshall shares two python scripts that he wrote for Autodesk Maya, which will create sphere and cylinder primitives that both will have strict quadrilateral polygons in the poles of each.

qCylinderX creates a cylinder and qSphere creates a sphere, both with any number of sides and quadrilateral poles

qCylinderX & qSphere will create primitives respectively with any number of sides similar to the primitive tools in Maya, however, the qCylinderX will create caps that use all quads instead of the standard “pie shaped” structure from the Maya primitive and qSphere will create quads in the poles of the sphere on both ends. Very helpful for saving some modeling tasks at the start.

Check out the qCylinderX & qSphere scripts for Autodesk Maya Sphere and Cylinder primitives with all Quads here.