Element

Cylinder Element

Versatile cylindrical shapes and cones

Overview

The cylinder element allows you to create cylindrical shapes with customizable top and bottom radii, enabling both regular cylinders and truncated cones. This makes it versatile for creating pipes, posts, containers, and tapered shapes.

Key Features

  • Independent top and bottom radius configuration
  • Create regular cylinders or tapered cones
  • Full position and rotation control in 3D space
  • Customizable material and color

Parameters

Configure your cylinder with these parameters.

Parameter Description Example
radiusTop Radius of the top circle 50
radiusBottom Radius of the bottom circle 50
height Height of the cylinder 200
material Material/color of the cylinder #445566
x, y, z Position in 3D space 0, 0, 0
rx, ry, rz Rotation angles in degrees 0, 0, 0

Usage Examples

Learn how to create cylinders with these examples.

Regular Cylinder

A cylinder with equal top and bottom radii:

Type Top Radius Bottom Radius Height Material X Y Z
cylinder 50 50 200 #445566 0 0 0

This creates a regular cylinder with 50 units radius and 200 units height in gray-blue color.

Truncated Cone (Tapered Cylinder)

A cylinder with different top and bottom radii:

Type Top Radius Bottom Radius Height Material X Y Z
cylinder 60 40 150 #445566 0 0 0

This creates a tapered cylinder with top radius 60, bottom radius 40, and height 150 units.

Cone

A cone with zero top radius:

Type Top Radius Bottom Radius Height Material X Y Z
cylinder 0 50 100 #445566 0 0 0

This creates a cone with base radius 50 and height 100 units.

Geometric Properties

Important geometric properties of cylinders.

Formulas

Volume = PI x height x (rTop^2 + rTop x rBottom + rBottom^2) / 3
Lateral Surface = PI x (rTop + rBottom) x sqrt(height^2 + (rTop - rBottom)^2)
Top Surface Area = PI x radiusTop^2
Bottom Surface Area = PI x radiusBottom^2

For regular cylinders (radiusTop = radiusBottom = r):

Volume = PI x r^2 x height
Lateral Surface = 2 x PI x r x height

Best Practices

Tips for working with cylinders effectively.

Recommendations

  • Use equal top and bottom radii for regular cylinders
  • Keep height positive (use rotation for different orientations)
  • Consider using transparent materials for hollow cylinders
  • Use appropriate dimensions for your scale (units are in millimeters)
  • Position cylinders using their base center point

Common Applications

  • Creating pipes and tubes
  • Modeling posts and columns
  • Designing containers and vessels
  • Making tapered connections
  • Building rotational symmetric parts
  • Creating drill holes and bosses

Tips for Complex Designs

  • Use cylinders as construction geometry for holes and cuts
  • Combine cylinders with different radii for stepped shapes
  • Use tapered cylinders for draft angles in molded parts
  • Create threaded features by combining cylinders with appropriate patterns

Common Issues and Solutions

Solutions to frequently encountered problems.

Cylinder appears tilted

Check rotation values. By default, cylinders are oriented along the Z-axis.

Unexpected taper

Ensure radiusTop and radiusBottom are equal for straight cylinders.

Cylinder appears inside-out

Make sure height is positive and use rotation to change orientation instead of negative height.

Ready to build?

Start creating with cylinders

Get Started