Brlcad/How to mged/command/r

From Wikibooks, open books for an open world
< Brlcad‎ | How to mged‎ | command
Jump to: navigation, search

Creating a region from a list of shapes[edit]

The r command is used to create a region from a list of shapes. Note that the shapes must have been created in the database for the operations to work:

# Create a region named region1.r that consists of a union
# of the objects sph1.s and sph2.s
r region1.r u sph1.s sph2.s