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_cylinder [2021/05/12 08:11] JSCAD Editor |
en:design_guide_cylinder [2022/04/13 06:54] (current) rozek included "require" statements |
||
|---|---|---|---|
| Line 16: | Line 16: | ||
| <code javascript> | <code javascript> | ||
| + | const { cylinder } = require(' | ||
| + | |||
| const myshape = cylinder({radius: | const myshape = cylinder({radius: | ||
| const myshape = cylinder({radius: | const myshape = cylinder({radius: | ||
| Line 37: | Line 39: | ||
| <code javascript> | <code javascript> | ||
| + | const { cylinderElliptic } = require(' | ||
| + | |||
| const myshape = cylinderElliptic({height: | const myshape = cylinderElliptic({height: | ||
| </ | </ | ||
| Line 54: | Line 58: | ||
| <code javascript> | <code javascript> | ||
| + | const { roundedCylinder } = require(' | ||
| + | |||
| const myshape = roundedCylinder({radius: | const myshape = roundedCylinder({radius: | ||
| const myshape = roundedCylinder({radius: | const myshape = roundedCylinder({radius: | ||
| </ | </ | ||