meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
en:design_guide_mirror [2020/12/05 06:22] JSCAD Editor |
en:design_guide_mirror [2020/12/08 06:53] (current) JSCAD Editor |
||
|---|---|---|---|
| Line 10: | Line 10: | ||
| <code javascript> | <code javascript> | ||
| - | let myshape = cube({size: [5, 20, 5]}) | + | const myshape = cube({size: [5, 20, 5]}) |
| - | let newshape = mirror({origin: | + | const newshape = mirror({origin: |
| </ | </ | ||
| Line 17: | Line 17: | ||
| <code javascript> | <code javascript> | ||
| - | let myshape = cube({size: [5, 20, 5]}) | + | const myshape = cube({size: [5, 20, 5]}) |
| let newshape = mirrorX(myshape) | let newshape = mirrorX(myshape) | ||
| newshape = mirrorY(newshape) | newshape = mirrorY(newshape) | ||
| newshape = mirrorZ(newshape) | newshape = mirrorZ(newshape) | ||
| </ | </ | ||