B.373. STLMeshReader

Description. Mesh reader that loads external Wavefront (.stl) files into the document by reference

Plugin Status. Stable

Categories. All Plugins, Stable Plugins, MeshReader Plugins

Table B.327. STLMeshReader Properties

Label Description Type Script Name

File

Input file path.

k3d::filesystem::path

file

Center on Origin

Center the output mesh around the origin.

k3d::bool_t

center

Scale to Size

Scale the output mesh to fit within a fixed-size bounding-box.

k3d::bool_t

scale_to_size

Size

Output mesh size when "Scale to Size" is enabled.

k3d::double_t

size

Output Mesh

Output mesh

k3d::mesh*

output_mesh

Threshold

Controls the sensitivity for deciding when two edges are collinear.

k3d::double_t

threshold

Store Normals

If true, the normals from the STL file are read into a face attribute array

k3d::bool_t

store_normals

Color Array

Name of the array containing face colors (for binary, colored STL only)

k3d::string_t

color_array