map_range
- compas_fab.utilities.map_range(value, from_min, from_max, to_min, to_max)[source]
Performs a linear interpolation of a value within the range of [from_min, from_max] to another range of [to_min, to_max].
Performs a linear interpolation of a value within the range of [from_min, from_max] to another range of [to_min, to_max].