「$xgradualdiv」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
無編輯摘要 |
||
| 第51行: | 第51行: | ||
<br> | <br> | ||
: Example | : Example | ||
$xnode | |||
0.0 | |||
20.0 | |||
40.0 | |||
60.0 | |||
$xdiv | |||
30 | |||
70 | |||
80 | |||
$xgradualdiv | $xgradualdiv | ||
0 | 0 | ||
1 1.1 | 1 1.1 | ||
2 0.95 | |||
2 | |||
<br><br> | <br><br> | ||
: Related commands | : Related commands | ||
:; [[$ygradualdiv]] | :; [[$ygradualdiv]] , [[$xnode]],[[$xdiv]] | ||
於 2018年3月13日 (二) 01:57 的修訂
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 $xdiv Then
If the total layer thickness is and i=2, then if the smallest separation distance is a where N is the total grid number defined in $ydiv Then
- Example
$xnode 0.0 20.0 40.0 60.0 $xdiv 30 70 80 $xgradualdiv 0 1 1.1 2 0.95
- Related commands