print

Syntax

  • print(value)

Parameters

  1. value—(float, bool, string, float[], bool[], string[])Value (or variable / shape attribute) to print

Description

The print operation prints the passed variable to the console.

Examples

Printing

The rule below prints some information about the split nodes.
Lot--> extrude(16)
split(y) { 2 : r(scopeCenter, 0, rand(90), 0)
print("split idx " +
split.index +
", tx = " +
scope.tx +
" ry = " +
scope.ry) X }*
Split nodes info

Was this article helpful?