Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | The name of the workspace containing the environment to save |
Filename | Input | string | Mandatory | The path name of the file to save. Allowed extensions: [‘.stl’] |
Scale | Input | string | m | The scale of the stl: m, cm, or mm |
Saves out the sample and environment on a workspace as a binary .stl file, the sample shape and environment must have been set using LoadSampleShape and LoadSampleEnvironment, as this algorithm only supports shapes stored as a mesh.
The output is of the following type:
*.stl
stereolithography https://en.wikipedia.org/wiki/STL_(file_format)
This is a file format consisting of a list of faces specified by their vertex coordinates.
The file will be in Binary format, the Header will contain information about when the file was created, and the normals and attribute code are unset.
The vertices are in the standard order (counter clockwise when viewed from the outside).Categories: AlgorithmIndex | DataHandling\Instrument
C++ source: SaveSampleEnvironmentAndShape.cpp (last modified: 2019-06-13)
C++ header: SaveSampleEnvironmentAndShape.h (last modified: 2019-06-13)