`zone.create.ratio`

Syntax

- f := zone.create.ratio(fr,index,isize)
Get a value calculated by a geometric progression, given a ratio , an index, and a size. This is the same ratio as is used in

`zone create`

,`extrude block create`

, and`building-blocks block create`

. This divides the interval from 0.0 to 1.0 into size sections, each of which is ratio times the size of the previous one.- Returns:
f - the fraction from 0.0 to 1.0 of the geometric progression from 0 to isize at index of the given ratio

- Arguments:
fr - the geometric ratio to use for the progression. Each interval will be ratio times larger than the previous.

index - the index (from 0 to isize) of the location in the progression to calculate

isize - the total number of intervals involved

Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Oct 31, 2024 |