Brlcad/How to mged/primitive/rpp

From Wikibooks, open books for an open world
Jump to: navigation, search

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


The following parameters are required:

Draw a cuboid[edit]

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

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