9.5.2

Table Of Contents
APPENDIX 1179
Formulae
You can type in a formula for the Formula spline primitive and the Formula deformer. In fact, you can
type in a formula wherever CINEMA 4D accepts a value, e.g. in the Coordinate manager. This appendix
lists all the units, operators, functions and constants that you may use in your formulae. You may enter
values using any of the units listed below (examples in brackets) - regardless of the basic units dened
in the preferences (CINEMA 4D will convert the units for you).
Units Abbreviation Examples
kilometers km 23 km, 0.125 km
meters m 13.23 m, 1000 m
centimeters cm 11.5 cm, 328.275 cm
millimeters mm 14 mm
micrometers um 678 um
nanometers nm 3.867 nm
miles mi 12.5 mi
yards yd 17.9 yd
feet ft 512 ft
inches in 0.125 in
frame number F 0 F
If you change the basic units in the preferences, e.g. from metres to millimeters, only the measurement
units are changed, not existing numerical values. For example, if an object has a width of 10 metres,
but you then change the basic units to millimeters, the object will then have a width of 10 millimeters.
If you wish to scale the objects to reect the change in units, group all the objects and scale the group
using the Coordinate manager.
Function arguments must be bracketed. The number of open brackets
must equal the number of close brackets. Functions may be nested:
sin(sqr(exp(pi)))
When typing in a formula for the spline or Formula time curve, the arguments
of trigonometric functions are in radians. However, when entering values in
parameter text boxes, trigonometric functions always use degrees.