meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:jscad_quick_reference [2020/11/28 06:00]
JSCAD Editor
en:jscad_quick_reference [2020/12/02 00:06] (current)
JSCAD Editor
Line 13: Line 13:
 {{page>quick_reference_conversion}} {{page>quick_reference_conversion}}
  
-===== OpenSCAD-like Functions ===== +{{page>quick_reference_expansions}}
-These functions ease the transition from the [[http://www.openscad.org/|OpenSCAD]] (proprietary script) to OpenJSCAD (JavaScript and objects).+
  
-^  2D Solid  ^ +{{page>quick_reference_text}}
-| var 2Dshape = circle(radius); +
-| var 2Dshape = circle(d);  /* diameter */ | +
-| var 2Dshape = square(size,center); +
-| var 2Dshape = square([width,height],center); +
-| var 2Dshape = polygon([points]); +
-| var 2Dshape = polygon([points],[paths]); +
- +
-//Note: The OpenSCAD text() function is not supported.// +
- +
-^  3D Solid  ^ +
-| var 3Dshape = torus();    /* ri = 1, ro = 4, fni: 16, fno: 32, roti: 0 */  | +
-| var 3Dshape = torus({ ri: 1.5, ro: 3, fni: 4 });  | +
-| var 3Dshape = torus({ ri: 1.5, ro: 3, fni:4, fno:4, roti:45 }); | +
- +
-===== Text ===== +
-| var path = vector_char(10,-10, 'A'); **/* X axis, Y axis, character */**  |  | +
-| var array_of_paths = vector_text(10,-10, 'Letters');  **/* X axis, Y axis, string of characters */**  | ::: | +
- +
-{{page>quick_reference_parameters}}+
  
 +{{page>quick_reference_general}}