CuttleConsole

The Cuttle console can be accessed in expressions via the console global. It provides a way to log information for the purpose of debugging or presenting information to the user in the inspector or canvas.

Methods

.log(args)void

Logs arguments inside the expression editor.

args
unknown[]
.info(args)void

Logs arguments inside the expression editor and displays an info bubble in the inspector.

args
unknown[]
.warn(args)void

Logs arguments inside the expression editor and displays a warning bubble in the inspector.

args
unknown[]
.error(args)void

Logs arguments inside the expression editor and displays an error bubble in the inspector. If an error is logged, the component or modifier instance will appear red and subsequent modifiers will be skipped.

args
unknown[]
.geometry(args)void

Logs geometry to the canvas. Geometry logged with this function will only appear when the component or modifier instance is selected.

args
.guide(args)void

Logs geometry to the canvas. Geometry logged with this function will appear by default even if the instance is not selected. This is how Cuttle displays the axis of a MirrorRepeat modifier, for example.

args
.hideParameter(names)void

Hides the named parameters from the inspector for the current component or modifier instance.

names
string[]