Copyright © 2021 by K4.org
  (v.0.48.124)

An imported STL object. Both binary and ASCII files are accepted.

Note that by default, the import process creates a PolyFaceMesh which has face normals, which leads to a facetted look, even for surfaces which are intended to be smooth. Lighting and materials can affect this. Use the hardEdgeAngle to control where edges are drawn.

Index

Rules

file

file: Any

A file reference. May be a Resource, URL, or server file path.

Flags : Cached, Required, Parameter (Note this is uncached)

Expression : ``

hardEdgeAngle

hardEdgeAngle: Number

Angle in degrees between facets above which will show an edge

Flags : Cached, Parameter (Note this is uncached)

Expression : 10

preloadClientBB

preloadClientBB: Boolean

For cases where loading the entire object onto the server just to compute its bounding box is unnecessary, this should be set to false. Set this only when a serious performance issue requires it.

Flags : Cached, Parameter (Note this is uncached)

Expression : true

scale

scale: Number

The scale by which the STL geometry should be multiplied by. Set this for a uniform scaling. Set the individual xScale, yScale, and zScale for non-uniform scaling.

Flags : Cached, Parameter (Note this is uncached)

Expression : 1.0

url

url: String

The URL to the file.

Flags : Cached, Parameter (Note this is uncached)

Expression : R.getUrl(this.file)

xScale

xScale: Number

The scale by which the x-direction should be multiplied by.

Flags : Cached, Parameter (Note this is uncached)

Expression : this.scale

yScale

yScale: Number

The scale by which the y-direction should be multiplied by.

Flags : Cached, Parameter (Note this is uncached)

Expression : this.scale

zScale

zScale: Number

The scale by which the z-direction should be multiplied by.

Flags : Cached, Parameter (Note this is uncached)

Expression : this.scale