Brlcad/How to mged/primitive/rpp

The rpp (rectangular parallelepiped) primitive is used for creating cuboids.

Parameters

The following parameters are required:

  • xmin
  • xmax
  • ymin
  • ymax
  • zmin
  • zmax

Draw a cuboid

# Insert a 2 x 3 x 4 cuboid named cuboid1.s into the database
in cuboid1.s rpp 0 2 0 3 0 4

Entry within the database

The cuboid will be stored as an arbitrary polyhedron within the database.