set_precision
-
compas.
set_precision
(precision)[source] Set the precision used by geometric maps.
- Parameters
precision (float) – The precision as a floating point number. For example,
0.0001
.
Notes
This function converts the floating point number to a string formatting specifier and assigns the specifier to
compas.PRECISION
.Examples
>>> compas.set_precision(0.001) >>> compas.PRECISION '3f'