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:quick_reference_shapes [2021/04/08 05:25] JSCAD Editor [2D Primitives] |
en:quick_reference_shapes [2022/05/03 07:13] (current) JSCAD Editor [2D Primitives] |
||
---|---|---|---|
Line 19: | Line 19: | ||
| const myshape = star({vertices: | | const myshape = star({vertices: | ||
| const myshape = star({vertices: | | const myshape = star({vertices: | ||
+ | | const myshape = triangle({type: | ||
==== 3D Primitives ==== | ==== 3D Primitives ==== | ||
^ Primitive | ^ Primitive | ||
- | | const myshape = cube({center: | + | | const myshape = cube({center: |
- | | const myshape = cuboid({center: | + | | const myshape = cuboid({center: |
- | | const myshape = cylinder({center: | + | | const myshape = cylinder({center: |
- | | const myshape = cylinderElliptic({center: | + | | const myshape = cylinderElliptic({center: |
- | | const myshape = ellipsoid({center: | + | | const myshape = ellipsoid({center: |
- | | const myshape = geodesicSphere({radius: | + | | const myshape = geodesicSphere({radius: |
- | | const myshape = polyhedron({points: | + | | const myshape = polyhedron({points: |
- | | const myshape = roundedCuboid({center: | + | | const myshape = roundedCuboid({center: |
- | | const myshape = roundedCylinder({center: | + | | const myshape = roundedCylinder({center: |
- | | const myshape = sphere({center: | + | | const myshape = sphere({center: |
- | | const myshape = torus({innerRadius: | + | | const myshape = torus({innerRadius: |