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
G-X3D(1) User Commands G-X3D(1)

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

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)

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).

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

Error messages are intended to be self-explanatory.

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

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

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 1 |  Main Index

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