< Brlcad < How to mged < primitive

The rcc (right circular cylinder) primitive is used for creating cylinders.

Parameters

The following parameters are required:

  • vertex of base x
  • vertex of base y
  • vertex of base z
  • height vector x
  • height vector y
  • height vector z
  • radius

Draw a cylinder

# Create a cylinder names cyl.s of radius 5 with one end centred at the origin
# with a vector of 10 in the x direction.
in cyl.s rcc 0 0 0 10 0 0 5

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.