Editing Creating primitive objects

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
Most types of [[BRL-CAD Primitives|'''primitive geometric objects''']] can be created using any of the following MGED command line (CLI) or graphical user interface (GUI) commands:
+
Objects of most such types can be created using any of the following command line (CLI) or menu (GUI) commands:
 
;[[MGED_CMD_in|'''in''']] : 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.
 
;[[MGED_CMD_in|'''in''']] : 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.
 
;'''form''' : 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.
 
;'''form''' : 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.
Line 5: Line 5:
 
;[[MGED_CMD_make|'''make''']] : Entering a CLI '''make''' command also creates and displays an object of a specified type having a specified name and default parameter values.
 
;[[MGED_CMD_make|'''make''']] : 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 [[Changing the properties of primitive objects|'''edit''']] the resulting object's default location, shape and size.
+
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:
 
Primitive objects can also be created by:
* using the CLI [[MGED CMD cp|'''cp''']] command to make a copy of an existing object, which can then be moved and modified;
+
*  
* using the CLI [[MGED_CMD_dbconcat|'''dbconcat''']] or GUI '''File-->Import''' command to merge in all objects defined by another geometry file; and
+
* using the CLI [[MGED_CMD_dbconcat|'''dbconcat''']] or GUI '''File-->Import''' command to merge in all objects defined by another geometry file, or
* entering TCL [[MGED_CMD_put_edit_solid|'''put''']] commands via the command window.
+
* entering TCL '''put''' commands via the CLI.
 
+
See also:
+
 
+
* [[Determining the properties of primitive objects]]
+
* [[Changing the properties of primitive objects]]
+

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)