Header menu logo Rhino.Scripting

PrettySettings Module

Exposes the settings used in toPretty pretty printing function

Functions and values

Function or value Description

PrettySettings.thousandSeparator

Full Usage: PrettySettings.thousandSeparator

Returns: char

Set this to change the printing of floats larger than 10'000

Returns: char

PrettySettings.userZeroTolerance

Full Usage: PrettySettings.userZeroTolerance

Returns: float

If the absolute value of a float is below this, display ±0.0 Default = 1e-24. Double.Epsilon = no rounding down This value can be set for example by hosting apps that have a build in absolute tolerance like Rhino3d

Returns: float

Type something to start searching.