Brlcad/How to mged/primitive/rcc

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

Parameters

edit

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

edit
# 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