compas_fab.utilities.range_geometric_row(number, d, r=1.1)[source]

Returns a list of numbers with a certain relation to each other.

The function divides one number into a list of d numbers [n0, n1, …], such that their sum is number and the relation between the numbers is defined with n1 = n0 / r, n2 = n1 / r, n3 = n2 / r, …