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

FreeBSD Manual Pages

  
 
  

home | help
COMGEOM-G(1)			    BRL-CAD			  COMGEOM-G(1)

NAME
       comgeom-g - convert GIFT	COMGEOM	model into MGED	database

SYNOPSIS
       comgeom-g [-d debug_lvl]	[-v version_num] [-s name_suffix] file.cg
		 file.g

DESCRIPTION
       Read a COMGEOM version 4	or version 5 format model from a GIFT-style
       input file, convert the geometry	into the internal form used by the
       BRL-CAD package,	and write an MGED-style	binary database.

       Each solid is given the name AcAAs###AcAA, retaining the	COMGEOM	solid
       number. Each region is given the	name AcAAr###AcAA, retaining the
       COMGEOM region number. Regions are grouped together into	various	groups
       AcAAg###AcAA based on the region-id numbers. Group AcAAg00AcAA gets all
       regions with region-id of zero, AcAAg0AcAA gets ids one through 99,
       AcAAg1AcAA gets ids 100 through 199, etc.

       The default input is COMGEOM version 5. Version 4 can be	converted by
       specifying the -v4 flag.	For the	time being, the	DoE MORSE/RAFFLE
       format (believed	to be the original MAGIC format) can be	converted by
       specifying the -v1 flag.

       By default, the program comgeom-g operates silently. Because the
       program may require a minute or two to convert a	large database,	some
       users prefer to have various status reports that	indicate the progress
       of the conversion. This can be selected by specifying the -d1 flag
       (debug level 1).

       The units used in a COMGEOM file	are specified on a header record. The
       units of	an MGED	database are always millimeters.  comgeom-g performs
       automatic units conversion using	the built-in units conversion feature
       of libwdb(3).

EXAMPLE
       comgeom-g -d1 -v4 file.cg file.g

DIAGNOSTICS
       The diagnostics are intended to be self-explanatory. Familiarity	with
       GIFT COMGEOM terminology	will be	helpful.

BUGS
       It is expected that the input file should be a valid COMGEOM model.
       While quite a bit of input checking is performed, wildly	incorrect
       input may produce amusing results.

SEE ALSO
       brlcad(1), mged(1), libwdb(3)

AUTHOR
       Michael John Muuss

COPYRIGHT
       This software is	Copyright (c) 1989-2013	by the United States
       Government as represented by U.S. Army Research Laboratory.

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

BRL-CAD				  07/08/2017			  COMGEOM-G(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | DIAGNOSTICS | BUGS | SEE ALSO | AUTHOR | COPYRIGHT | BUG REPORTS

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

home | help