Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
InputWorkspace | Input | MatrixWorkspace | Mandatory | The name of the workspace containing the instrument to add the shape |
Filename | Input | string | Mandatory | The path name of the file containing the shape. Allowed extensions: [‘.stl’, ‘.off’] |
Scale | Input | string | cm | The scale of the stl: m, cm, or mm |
OutputWorkspace | Output | MatrixWorkspace | Mandatory | The name of the workspace that will contain the loaded shape of the sample |
Loads a shape into the sample of a workspace. The Sample will be rotated according to the rotation of the goniometer on the workspace, if there is one. The first angle used in SetGoniometer will be applied last.
The following types of input file are supported:
Categories: AlgorithmIndex | DataHandling\Instrument
C++ source: LoadSampleShape.cpp (last modified: 2019-06-05)
C++ header: LoadSampleShape.h (last modified: 2019-05-15)