「$ygradualdiv」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
無編輯摘要 |
||
| 第41行: | 第41行: | ||
<math>l = a+ar+ar^{2}+ar^{3}+ar^{4}+...+ar^{N} </math> | <math>l = a+ar+ar^{2}+ar^{3}+ar^{4}+...+ar^{N} </math> | ||
where N is the total grid number defined in [[$ydiv]] | where N is the total grid number defined in [[$ydiv]] | ||
Then <math>l = \frac{r^{N}-1}{r-1} </math> | Then <math>l = a\frac{r^{N}-1}{r-1} </math> | ||
於 2018年3月13日 (二) 01:31 的修訂
This function is to determine how the segment is divided. There are two columns to fill in. The first column i should be filled in an integer 0, 1, or 2.
i = 0: Uniform. This means the segment is divided equally with the same spacing. i = 1: Gradual. This means the segment is divided whether from small spacing to large spacing or in the opposite way. The spacing is distributed like a geometric progression i = 2: Bump. This means the segment can be divided into two forms small-large-small or large-small-large.
The second column r should be filled in a real number.
| If r < 1 | If r = 1 | If r > 1 | |
|---|---|---|---|
| Uniform (0) | uniform | uniform | uniform |
| Gradual (1) | large -> small | uniform | small -> large |
| Bump (2) | large -> small -> large | uniform | small -> large -> small |
If the total layer thickness is and i=1, then if the smallest separation distance is a where N is the total grid number defined in $ydiv Then
- Example
- Related commands