Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DRAW(nged)		     BRL-CAD User Commands		    DRAW(nged)

NAME
       draw - Adds objects> to the display list	so that	they will appear on
       the MGED	display. The e command is a synonym for	draw.

SYNOPSIS
       draw [-A	attribute name/value pairs] [-s]
	    [-A	-oattribute name/value pairs] [-C#/#/#]	[-L #] [-R] [-S] [-m1]
	    {objects}

DESCRIPTION
       Adds objects to the display list	so that	they will appear on the	MGED
       display.	The e command is a synonym for draw.

       o   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.

       o   The -s option specifies that	subtracted and intersected objects
	   should be drawn with	shape lines rather than	dot-dash lines.

       o   The -A option specifies that	the arguments provided to this command
	   are attribute name/value pairs, and only objects having the
	   specified attributes	and values are to be displayed.	The default
	   (without -o)	is that	only objects having all	the specified
	   attribute name/value	pairs will be displayed.

       o   The -m1 option will display BOTs shaded if the display manager is
	   OpenGL and the zbuffer and lighting is enabled. To enable these
	   settings, from the MGED GUI,	choose "Modes/Display Manager/OpenGL",
	   "Misc/Z-buffer" and "Misc/Lighting".	If the zbuffer and lighting is
	   already enabled, toggle them	off then back on to ensure they	are
	   enabled.

       o   The -L option allows	the user to specify a face count. BoT
	   primitives with more	faces than the user set	threshold will be
	   represented in wireframe drawing by their bounding boxes rather
	   than	the full BoT wireframe.

       o   The -R option tells draw to not change the view size	when drawing
	   new objects.	Without	this flag, draw	will automatically size	the
	   view	to make	the new	object(s) visible when the view	was previously
	   empty.

       o   The -S option tells draw to be "simplified" by skipping subtraction
	   objects when	drawing, not drawing NMG interior surfaces, and
	   potentially more. Skipping subtractions is useful in	situations
	   where an object has many large objects subtracted from it but those
	   objects have	relatively minimal impact on the shape.	This results
	   in the default wireframe bearing little resemablance	to the
	   evaluated shape.

EXAMPLES
       The following examples show the use of the draw command to draw
       particular objects, to specify color, to	draw with shape	lines rather
       than dot-dash lines, and	to limit the objects to	be drawn to those
       having specific attribute names and value pairs.

       Example 1. Draw specific	objects	in the MGED display.

       mged> draw object1 object2
	   Object1 and object2 are drawn in the	MGED display.

       Example 2. Specify the color used to draw the object.

       mged>draw -C 255/255/255	object2

       Object2 is drawn	in white.

       Example 3. Limit	the objects to be drawn	to those having	specific
       attribute names and value pairs.

       mged>draw -A -o Comment {First comment} Comment {Second comment}

       Objects having a	Comment	attribute with a value of either "First
       comment"	or "Second comment" are	drawn.

AUTHOR
       BRL-CAD Team

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

BRL-CAD				  08/29/2020			    DRAW(nged)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | AUTHOR | BUG REPORTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=draw&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help