compas_fab.utilities.
map_range
Performs a linear interpolation of a value within the range of [from_min, from_max] to another range of [to_min, to_max].
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev