Cylinder - xkp/Doc GitHub Wiki

Overview

This class represent a simple cylinder in space.

Properties

  • segments: the amount of segments in the cylinder
  • top_radius: the radius on the top side of the cylinder
  • bottom_radius: the radius on the bottom side of the cylinder
  • height: cylinder's height
  • top_offset: an offset for the top faces.
  • bottom_offset: an offset for the bottom faces.