[brlcad-commits] SF.net SVN: brlcad:[38323] brlcad/trunk/src/conv
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eri...@us...> - 2010-04-05 16:32:46
|
Revision: 38323 http://brlcad.svn.sourceforge.net/brlcad/?rev=38323&view=rev Author: erikgreenwald Date: 2010-04-05 16:32:40 +0000 (Mon, 05 Apr 2010) Log Message: ----------- document the marching cubes option Modified Paths: -------------- brlcad/trunk/src/conv/g-egg.1 brlcad/trunk/src/conv/stl/g-stl.1 brlcad/trunk/src/conv/stl/g-stl.c Modified: brlcad/trunk/src/conv/g-egg.1 =================================================================== --- brlcad/trunk/src/conv/g-egg.1 2010-04-05 16:31:57 UTC (rev 38322) +++ brlcad/trunk/src/conv/g-egg.1 2010-04-05 16:32:40 UTC (rev 38323) @@ -41,7 +41,7 @@ .SH NAME g-egg \- Panda3D Translator (BRL-CAD to EGG) .SH SYNOPSIS -.B g-egg [-v][-i] [-xX lvl] +.B g-egg [-v][-i][-M] [-xX lvl] [-D calculation_tolerance ] [-a abs_tol] [-r rel_tol] [-n norm_tol] [-o EGG_file] database.g object(s) .SH DESCRIPTION @@ -79,6 +79,8 @@ .I -o option specifies the name of the file to receive the output (stdout is the default). +.I -M +option tells the facetizer to use the marching cubes algorithm. .SH EXAMPLE .RS $ \|\fIg-egg \|-o sample.egg \|sample.g \|sample_object\fP Modified: brlcad/trunk/src/conv/stl/g-stl.1 =================================================================== --- brlcad/trunk/src/conv/stl/g-stl.1 2010-04-05 16:31:57 UTC (rev 38322) +++ brlcad/trunk/src/conv/stl/g-stl.1 2010-04-05 16:32:40 UTC (rev 38323) @@ -41,7 +41,7 @@ .SH NAME g-stl \- Stereolithography Translator (BRL-CAD to STL) .SH SYNOPSIS -.B g-stl [-b][-v][-i] [-xX lvl] +.B g-stl [-b][-v][-i][-M] [-xX lvl] [-D calculation_tolerance ] [-a abs_tol] [-r rel_tol] [-n norm_tol] [-o STL_file | -m directory_name] database.g object(s) .SH DESCRIPTION @@ -81,6 +81,9 @@ on the "solid" line of the STL file. In the case of binary output, all the regions are output as a single STL part. The +.I -M +option tells the facetizer to use the marching cubes algorithm. +The .I -o option specifies the name of the file to receive the output (stdout is the default). Modified: brlcad/trunk/src/conv/stl/g-stl.c =================================================================== --- brlcad/trunk/src/conv/stl/g-stl.c 2010-04-05 16:31:57 UTC (rev 38322) +++ brlcad/trunk/src/conv/stl/g-stl.c 2010-04-05 16:32:40 UTC (rev 38323) @@ -52,7 +52,7 @@ } -static char usage[] = "Usage: %s [-bvi] [-xX lvl] [-a abs_tess_tol] [-r rel_tess_tol] [-n norm_tess_tol] [-D dist_calc_tol] [-o output_file_name.stl | -m directory_name] brlcad_db.g object(s)\n"; +static char usage[] = "Usage: %s [-bviM] [-xX lvl] [-a abs_tess_tol] [-r rel_tess_tol] [-n norm_tess_tol] [-D dist_calc_tol] [-o output_file_name.stl | -m directory_name] brlcad_db.g object(s)\n"; static int verbose; static int NMG_debug; /* saved arg of -X, for longjmp handling */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |