meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:design_guide_expand [2020/12/06 05:43] JSCAD Editor |
en:design_guide_expand [2020/12/08 06:55] (current) JSCAD Editor |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Expanding two or three dimensional shapes can be performed, which maintains a specific '' | Expanding two or three dimensional shapes can be performed, which maintains a specific '' | ||
| - | The opposite is also possible by specifying a negative '' | + | The opposite is also possible by specifying a negative |
| Defaults: | Defaults: | ||
| Line 15: | Line 15: | ||
| <code javascript> | <code javascript> | ||
| - | let newshape | + | const myshape |
| + | const myshape = expand({delta: -2}, shape2) | ||
| + | const myshape = expand({delta: 2}, shape3) | ||
| </ | </ | ||
| //Note: Expanding three dimensional shapes is very CPU intensive. This is a known issue.// | //Note: Expanding three dimensional shapes is very CPU intensive. This is a known issue.// | ||