

All the Boolean operations indicated in each object in objects will be performed, and a resulting faceted approximation of the actual objects will be displayed. Clear the display, then draw objects that have a "Comment" attribute with a value of either "First comment" or "Second comment."Į Display objects in an evaluated form. Clear the display, then display the object named some_object. See the draw command for a detailed description of the options. The - R option means do not automatically resize the view if no other objects are displayed. The -s option specifies that subtracted and intersected objects should be drawn with solid lines rather than dot-dash lines. The -A and -o options allow the user to select objects by attribute. The -C option provides the user a way to specify a color that overrides all other color specifications including combination colors and region id-based colors. Equivalent to the Z command followed by the command draw. Get a list of available BRL-CAD library interface commands.ī Clear the mged display of any currently displayed objects, then display the list of objects provided in the parameter list.

The ?, ?devel, help, helpdevel, and helplib commands provide additional information on available commands. ?lib Provide a list of available BRL-CAD library interface commands. Get a list of available developer commands. The ?, ?lib, help, helpdevel, and helplib commands provide additional information on available commands. ?devel Provide a list of available mged developer commands. The ?devel, ?lib, help, helpdevel, and helplib commands provide additional information on available commands. ? Provide a list of available mged commands. Same as above example, but with all arguments supplied on the command line. Mged> 3ptarb thing 0 0 0 1 0 0 1 1 0 z 0 1 3 The x and y coordinates of the fourth point are 0 and 1.
#Brl cad commands code#
The code will calculate the z coordinate of the fourth point. Examples: mged> 3ptarbĮnter coordinate to solve for (x, y, or z): z The direction of extrusion for the quadrilateral is determined from the order of the four resulting points by the right-hand rule the quadrilateral is extruded toward a viewer for whom the points appear in counter-clockwise order. The coord1 and coord2 parameters supply the other two coordinates. The x|y|z parameter indicates which coordinate of the fourth point will be calculated by the code. Only two coordinates of the fourth point are specified, and the code calculates the third coordinate to ensure all four points are coplanar. x2, y2, z2, and x3, 圓, z3 are the coordinates of two other corners. The x1, y1, and z1 are the coordinates of one corner of the quadrilateral. The arguments may be provided on the command line if they are not, they will be prompted for.

Examples: mged> %ģptarb Build an ARB8 shape by extruding a quadrilateral through a given thickness. This only works in a command window associated with a tty (i.e., the window used to start mged in classic mode). The mged process waits for the shell process to finish, which occurs when the user exits the shell. The mged prompt will be replaced by a system prompt for the shell, and the user may perform any legal shell commands. % Start a "/bin/sh" shell process for the user.
