Overview | All Modules | Tutorial | User's Guide | Programming Guide

COVISE Online Documentation


Module category: IO



ReadStl

Read module for Sandia Stl data.

ReadStlModule.png

ReadStl converts the representation of a surface in Sandia Stl format (specified as file browser parameter) to a format acceptable for Covise (on the first output port, e.g. used as input for the Renderer); in addition, it supplies normals on the second output port.

Please note: ReadStl can read ASCI files and binary files . In most cases (less than 1 Million cells), ReadStl will detect the filetype automatically (parameter Format = autodetect), if not, use manual selection. The module supports binary input since Release 5.2.3

Parameters

Name Type Description
file_path Browser input file describing the surface in Sandia Stl format
Format Choice file format:
Autodetect = automatic selection
ASCII, Intel, Unix = manual selection
color String Give this color to the geometry to be read. Enter either a textual representation like red, green, yellow or rgb values seperated by blanks (like: 255 0 255).
RemoveDoubleVertices Boolean Check if multiple verticess should be removed from the resulting triangulation.
ShowFeatureLines Boolean Check if feature-lines should be calculated.
FeatureAngle Slider Angle used for the recognition of sharp edges.
FlipNormals Boolean Check if the resulting triangulation should have inverted normals. Use if you see wrong lighting of your geometry.

Output Ports

Name Type Description
outputsurface Polygons Grid (surface in Covise format)
outputnormals Unstructured_V3D_Normals normals
outputfeature_lines Lines Output of lines.

Examples

ReadStlMap.png

The map above shows you how to connect the output ports of ReadStl without using normals (Renderer 1) and with using normals (Renderer 2).

The output shows Renderer 2:

ReadStlRenderer2.png


Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner
Copyright © 1993-2016 HLRS, 2004-2014 RRZK, 2005-2014 Visenso
COVISE Version 2016.3