CP(nged)

NAME

cp - copy object

SYNOPSIS

cp {from_object to_object}

DESCRIPTION

Makes a duplicate of an object (shape or combination). If from_object is a shape, then it is simply copied to a new shape named_to_object_. If from_object is a combination, then a new combination is created that contains exactly the same members, transformation matrices, etc., and it is named to_object.

EXAMPLES

The example shows the use of the command cp to duplicate a combination.

Example 1. Duplicate a combination.

mged> cp comb1 comb2

Duplicate combination comb1 and call it comb2.

AUTHOR

BRL-CAD Team

This software is Copyright (c) 1989-2021 by the United States Government as represented by U.S. Army Research Laboratory.

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org