GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PUT_COMB(nged) BRL-CAD MGED Commands PUT_COMB(nged)

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

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

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

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}

BRL-CAD Team

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
06/07/2022 BRL-CAD

Search for    or go to Top of page |  Section n |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.