Creating primitive objects

Revision as of 15:00, 27 May 2013 by JoelDBenson (talk | contribs) (created in part from paragraphs moved from BRL-CAD Primitives article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Objects of most such types can be created using any of the following command line (CLI) or menu (GUI) commands:

Entering a CLI in command allows you to interactively create an object with a specified name, type and parameters. That information can either be included in the initial command or provided in response to prompts that are displayed if any required information is omitted from the command line.
Selecting Primitive Editor from the GUI Edit menu displays a form/dialog box you can use to name, set the parameters of and then create objects of most (but not all) types. Some derivative objects do not have their own forms, in which case the primitive editor will display the base object's form.
Selecting an object type from the GUI Create menu displays the object-naming dialog box, then creates and displays an object of that type having default parameter values.
Entering a CLI make command also creates and displays an object of a specified type having a specified name and default parameter values.

Note that the Create menu is essentially the GUI equivalent of the CLI make command. After using either, you will generally want to edit the resulting object's default location and size.

Primitive objects can also be created by:

  • using the CLI dbconcat or GUI File-->Import command to merge in all objects defined by another geometry file, or
  • entering TCL put commands via the CLI.