Imprudence:Build Math Expressions

Build Math Expressions are a feature available beginning in Imprudence 1.1.0, developed by Aimee Trescothick. They allow builders to perform simple math operations within the number input fields in the Build floater's Object tab.

To use a build math expression, type in the expression into an input field and press Enter. The expression will be evaluated, and the result used for the new value of that field.

Available Variables, Constants, and Operators
Note: Variable and Constant names are case-insensitive. I.e. "XP", "xp", "Xp", and "xP" are all valid and mean the same thing.

Variables

 * XP, YP, ZP: X, Y, and Z Position
 * XS, YS, ZS: X, Y, and Z Size
 * XR, YR, SR: X, Y, and Z Rotation
 * CB, CE: Path Cut Begin and End
 * HLW: Hollow
 * SKW: Skew
 * PB, PE: Profile Cut (aka Slice, Dimple) Begin and End
 * TB, TE: Twist Begin and End
 * XSH, YSH: X and Y Shear
 * XHL, YHL: X and Y Hole Size
 * XTP, YTP: X and Y Taper
 * ROF: Radius Offset
 * REV: Revolutions

Constants

 * PI: &pi; (3.14159...)
 * TWO_PI: 2&pi; (6.28319...)
 * PI_BY_TWO: &pi;/2 (1.57080...)
 * SQRT2: Square root of 2 (1.41421...)
 * DEG_TO_RAD: &pi;/180 (0.01745...)
 * RAD_TO_DEG: 180/&pi; (57.29578...)
 * GRAVITY: -9.8

Operators

 * +: Addition
 * -: Subtraction
 * *: Multiplication
 * /: Division
 * : Grouping