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

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

stl-g [-db] [-i initial_ident] [-I constant_ident] [-m material_code] [-N forced_name] [-c units] [-t tolerance] [-x RT_DEBUG_FLAG] file.stl file.g

stl-g converts the specified file.stl to a BRL-CAD file.g file. Use the -b option if you have a binary STL file (the default is ASCII). The -d option prints debugging information. The -c option specifies the units that are used in the STL file. The units string may be "mm", "in", "ft", ... (default is "mm"). The -t option specifies a tolerance distance (in mm) such that any two vertices within tolerance distance of each other are treated as the same vertex. The -i option sets the starting ident number for the regions created. As each new region is created, this number will be incremented before assigning the next ident number (conflicts with -I ). The -I option sets a constant ident number that will be assigned to all the regions created (conflicts with -i ). The -m option sets a material code that will be assigned to all the regions created (default is 1). The -N option sets a name for the resulting BRL-CAD object. STL files typically do not contain any object names. The -x option sets an RT debug flag (see raytrace.h). The file.stl file is expected to be a stereolithography file.

$ stl-g sample.stl sample.g

Error messages are intended to be self-explanatory.

BRL-CAD Team

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