Process Designer : CARIS Batch Utility : BASE Editor Processes : Export Raster to STL
 

Export Raster to STL

Description

The ExportRasterToSTL process exports raster band values to the STL format for 3D printing.

Inputs

A raster surface in a supported format.

Outputs

An STL (STereoLithography) file.

Command Line Syntax

carisbatch --run ExportRasterToSTL --include-band <value> [options] <input> <output>

User Interface Command

Export Raster

Options

The following table describes the parameters available for this process.

Parameter

 

Long

Short

Description

Can Repeat

Notes

 

--vertical-exaggeration

V

A number specifying the multiplier for each band value.

This must be a positive number. The default value is 1.0.

FALSE

--include-band

b

A string specifying the name of a band to include in the output.

The band must contain elevation data.

FALSE

This must be specified explicitly.

--scale

s

A number specifying the scaling to apply to x, y and z values (1:scale).

This must be a positive number. The default value is 1.0.

FALSE

--output-as-ascii

o

If set, an ASCII output is created. By default, a binary output is created.

FALSE

 

Example

To use this command refer to the following example.

Example

Objective

You want to create an STL file from a raster dataset in order to print to a 3D printer.

Description

Command Line Syntax

The depth band is included in the output.

--include-band Depth

The vertical exaggeration is 2.

--vertical-exaggeration 2

The scale of the data is 1:100.

--scale 100

The input raster dataset is Surace1.csar.

D:\BatchSample\Surface1.csar

The output STL file will be called 3DPrint.stl.

D:\BatchSample\3DPrint.stl

Command Line

carisbatch --run ExportRasterToSTL --include-band Depth --vertical-exaggeration 2 --scale 100 D:\BatchSample\Surface1.csar D:\BatchSample\3DPrint.stl

Outcome

An STL file containing the exported data is created.

Extra Notes

N/A