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_spheroid [2020/12/03 00:03] JSCAD Editor |
en:design_guide_spheroid [2022/04/13 06:51] (current) rozek included "require" statements, corrected mistake |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| <code javascript> | <code javascript> | ||
| - | let myshape = ellipsoid({radius: | + | const { ellipsoid } = require(' |
| - | let myshape = ellipsoid({radius: | + | |
| + | const myshape = ellipsoid({radius: | ||
| + | const myshape = ellipsoid({radius: | ||
| </ | </ | ||
| Line 33: | Line 35: | ||
| <code javascript> | <code javascript> | ||
| + | const { sphere } = require(' | ||
| + | |||
| const myshape = sphere({radius: | const myshape = sphere({radius: | ||
| - | const myshape = sphere({radius: | + | const myshape = sphere({radius: |
| </ | </ | ||
| Line 50: | Line 54: | ||
| <code javascript> | <code javascript> | ||
| - | let myshape = geodesicSphere({radius: | + | const { geodesicSphere } = require(' |
| + | |||
| + | const myshape = geodesicSphere({radius: | ||
| </ | </ | ||