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


Manual Reference Pages  -  G-STL (1)

.ds Aq ’

NAME

g-stl - Stereolithography Translator (BRL-CAD to STL)

CONTENTS

SYNOPSIS

g-stl [-8] [-xX lvl] [-D calculation_tolerance] [-a abs_tol] [-r rel_tol] [-n norm_tol] [-o STL_file | -m directory_name] database.g object(s)

DESCRIPTION

g-stl converts the specified object(s) from a BRL-CAD database.g file to the stereolithography file format. The -x option specifies an RT debug flag and the -X option specifies an NMG debug flag. The -a , -r , and -n options specify tessellation tolerances. The -D option specifies a calculational distance tolerance (mm). Any two vertices that are less than this distance apart will be treated as the same vertex. The -v option requests verbose output. The -i option requests the output file units to be inches (the default is mm). The -b option requests binary output (the default in ASCII). In the case of ASCII output, the region name is specified 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 -8 option tells the facetizer to use the marching cubes algorithm. The -o option specifies the name of the file to receive the output (stdout is the default). The -m option specifies the name of a directory where the output files will be placed. In this case each region converted is written to a separate file and placed in this directory. The file names are constructed from the full path names of each region (path from the specified object to the region). Any "/" characters in the path name are replaced by "@" characters, and "." and white space are replaced by "_" characters. If the -m option is not specified, then all the regions are written to the same file. The -o and -m options are mutually exclusive.

EXAMPLE

$ g-stl -o sample.stl sample.g sample_object

DIAGNOSTICS

Error messages are intended to be self-explanatory.

AUTHOR

BRL-CAD Team

COPYRIGHT

This software is Copyright (c) 2003-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>.

Search for    or go to Top of page |  Section 1 |  Main Index


BRL-CAD G-STL (1) 04/04/2016

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