Go to: Related nodes. Attributes.

This node creates a polygonal cylinder according to the radius, height, and number of subdivisions around the axis, along the height, and on the caps. UVs on the cylinder are created according to the enumerated texture attribute.

Node nameParentsClassificationMFn typeCompatible function sets
polyCylinderpolyPrimitivegeometrykPolyCylinderkBase
kNamedObject
kDependencyNode
kPolyCreator
kPolyPrimitive
kPolyCylinder

Related nodes

polyCreator, polyCreateFace, polyPrimitive, polyTorus, polyPlane, polyCube, polyCone, polySphere, polyUnite, polyBoolOp, polyBlindData, mesh

Attributes (9)

createUVs, height, maya70, radius, roundCap, subdivisionsAxis, subdivisionsCaps, subdivisionsHeight, texture

Long name (short name)TypeDefaultFlags
radius (r) distance (double)1.0cmoutputinputconnectablestorablekeyable
Radius of the cylinder.
height (h) distance (double)2.0cmoutputinputconnectablestorablekeyable
Height of the cylinder.
subdivisionsAxis (sa) integer20outputinputconnectablestorablekeyable
Subdivisions around the axis.
subdivisionsHeight (sh) integer1outputinputconnectablestorablekeyable
Subdivisions along the height.
subdivisionsCaps (sc) integer0outputinputconnectablestorablekeyable
Subdivisions on the caps
texture (tx) enum2outputinputconnectablestorable
What texture mechanism to be applied 0=No textures, 1=Object, 2=Faces
createUVs (cuv) enum2outputinputconnectablestorable
Create UVs or not.
  • 0: No UVs
  • 1: No Normalization
  • 2: Normalize
  • 3: Normalize and Preserve Aspect Ratio
maya70 (m70) boolfalseoutputinputconnectablestorablehidden
Node created in version 7.0 or earlier
roundCap (rcp) boolfalseoutputinputconnectablestorable
To indicate whether we need a round cap