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

FreeBSD Manual Pages

  
 
  

home | help
G-X3D(1)			 User Commands			      G-X3D(1)

NAME
       g-x3d - Perform Boolean evaluations to produce an X3D facetted model

SYNOPSIS
       g-x3d [-v] [-d calc_dist_tol] [-a abs_tess_tol] [-n norm_tess_tol]
	     [-r rel_tess_tol] [-x librt_debug_flag] [-X NMG_debug_flag]
	     [-u units_name] [-P #_of_CPUs] [-o	outfile] infile.g object(s)

DESCRIPTION
       g-x3d performs the Boolean operations specified in any regions in the
       specified object(s) and writes the resulting facetted objects to
       outfile or to stdout if the -o option is	not used. The output is	in X3D
       facetted	format.	The -v option requests verbose output while the
       conversion is taking place. The -d option specifies a calculational
       distance	tolerance (in millimeters). This tolerance is used to
       distinguish neighboring vertices. Any two vertices less than this
       tolerance distance apart	will be	considered the same vertex. The
       default value is	0.005mm. Prior to performing the Boolean operations
       for each	region,	the involved primitive solids are converted to a
       planar facetted approximation and stored	as NMG solids. This
       tessellation can	be controlled using the	tessellation tolerances. The
       -a option may be	used to	specify	an absolute tessellation tolerance (in
       millimeters). This requires that	the maximum absolute error from	the
       tessellated surface to the actual surface must not be greater than
       abs_tess_tol. The -n option specifies a surface normal error tolerance
       (in degrees) for	the tessellation. The -r option	may be used to set a
       relative	error tolerance. This effectively sets an absolute tolerance
       for each	primitive solid	by multiplying the overall size	of the solid
       by rel_tess_tol.	The -x and -X options are used to set debug flags for
       librt and the NMG routines respectively.	The definitions	of these flags
       may be found in raytrace.h and nmg.h. The -u option can be used to set
       the units for the resulting X3D file (the default is mm). Any units
       name that MGED accepts will work	here.

       The -P option sets the number of	processors (default is 1).

EXAMPLE
	   $ g-x3d -o shell.x3d	sample.g sample_object

DIAGNOSTICS
       Error messages are intended to be self-explanatory.

AUTHOR
       Robert Parker (The SURVICE Engineering Co., Aberdeen, MD)

COPYRIGHT
       This software is	Copyright (c) 2002-2019	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				  08/29/2020			      G-X3D(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | DIAGNOSTICS | AUTHOR | COPYRIGHT | BUG REPORTS

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

home | help