VDECK(1)

NAME
vdeck - generate COM-GEOM decks from a GED file

SYNOPSIS
vdeck file.vg

DESCRIPTION
The vdeck tool converts a model into an ASCII text representation separating regions (combinations with the region flag set) and primitives (also known as solids) into separate files. A list of objects to be converted are selected interactively from the table of contents. String matching operators (wild cards) like those used to specify file or directory names in sh(1) are provided for this purpose, as well as to search for names in the table of contents.

One or more COM-GEOM decks can be output. Each deck consists of three files: the solid, region, and region-id tables. These can be combined with cat(1).

A menu of the commands and their usage is available by typing ? to the program.

WARNING
The vdeck tool is intended for v5 BRL-CAD geometry databases only. Files produced by older (v4 and earlier) versions of BRL-CAD may be incompatible with vdeck.

EXAMPLE
In the following example, <model> is the name of the BRL-CAD model and <groupname> is a group or region. Vdeck converts all of the primitives and regions within the specified group into text and writes them out to files:

> vdeck <model>.g
command ( ? for menu ) >> i <groupname>
command ( ? for menu ) >> d
===================================================
O U T P U T F I L E S
solid table = "solids"
region table = "regions"
region identification table = "region_ids"
command ( ? for menu ) >> q
quitting...

FILES

default solid table output

default region table output

default region
    ID table output

unique solid table output

unique region table output

unique region
    ID table output

temporary file used during processing

temporary file used during processing

SEE ALSO
cat(1), gedplot(1V), mged(1B).

AUTHORS
Gary S. Moss, BRL/VLD-VMB
Keith Applin, BRL/VLD-TAB