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

FreeBSD Manual Pages

  
 
  

home | help
PUT_COMB(nged)		     BRL-CAD MGED Commands		PUT_COMB(nged)

NAME
       put_comb	- Insert combinations and regions - allows definition of both
       boolean expressions and standard	attribute values.

SYNOPSIS
       put_comb	{comb_name} [is_Region [[id] | [air] | [material] | [los]]]
		{color}	{shader} {inherit} {boolean_expr}

DESCRIPTION
       Command for inserting regions and combinations with attributes set
       using a single line command - useful in scripting situations.

EXAMPLES
       The put_comb expects one	of two particular forms	of input - combination
       or region.

       Example 1. Specifying a combination using put_comb

       mged>put_comb test.c n 255/255/255 plastic n "u sph.s u arb8.s"

       Creates a combination that is not a region, using the plastic shader,
       consisting of the union of sph.s	and arb8.s".

	   mged> l test.c
	   test.c:  --
	   Shader 'plastic'
	      u	sph.s
	      u	arb8.s
	   mged> attr get test.c
	   oshader {plastic}

       Example 2. Specifying a region using put_comb

       mged>put_comb test.r y 1001 0 32	1 255/255/255 plastic y	"u sph.s u
       arb8.s"

       Creates a combination that is a region, with region id 1001, air	flag
       off, material 32, los 1,	white in color,	using the plastic shader,
       inheriting, consisting of the union of sph.s and	arb8.s"

	   mged> l test.r
	   test.r:  REGION id=1001 (air=0, los=1, GIFTmater=32)	--
	   Shader 'plastic'
	   (These material properties override all lower ones in the tree)
	      u	sph.s
	      u	arb8.s
	   mged> attr get test.r
	   region {R} inherit {1} oshader {plastic} region_id {1001}
	   material_id {32} los	{1}

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			PUT_COMB(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=put_comb&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help