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 name Parents MFn type Compatible function sets
polyCylinder polyPrimitive kPolyCylinder kBase
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) Type Default Flags
radius (r) distance (double) 1.0cm outputinputconnectablestorablekeyable
Radius of the cylinder.
height (h) distance (double) 2.0cm outputinputconnectablestorablekeyable
Height of the cylinder.
subdivisionsAxis (sa) integer 20 outputinputconnectablestorablekeyable
Subdivisions around the axis.
subdivisionsHeight (sh) integer 1 outputinputconnectablestorablekeyable
Subdivisions along the height.
subdivisionsCaps (sc) integer 0 outputinputconnectablestorablekeyable
Subdivisions on the caps
texture (tx) enum 2 outputinputconnectablestorable
What texture mechanism to be applied 0=No textures, 1=Object, 2=Faces
createUVs (cuv) enum 2 outputinputconnectablestorable
Create UVs or not.
  • 0: No UVs
  • 1: No Normalization
  • 2: Normalize
  • 3: Normalize and Preserve Aspect Ratio
maya70 (m70) bool false outputinputconnectablestorablehidden
Node created in version 7.0 or earlier
roundCap (rcp) bool false outputinputconnectablestorable
To indicate whether we need a round cap