-
-
Notifications
You must be signed in to change notification settings - Fork 142
Home
nichtich edited this page Mar 4, 2012
·
3 revisions
See README.md for an introduction to ImplicitCAD.
ImplicitCad generally supports most of OpenScad language with some extensions. See the OpenSCAD User Manual, in particular the OpenSCAD Language
- statements end with
;
- blocks of statements are enclosed in
{
and}
. Brackets are typically omitted of the block consists of a single statement. - variable values are assigned with
name = expression;
- lists are enclosed in
[
and]
with comma,
as list element separator - there are two types of comments:
//
and/* ... */
- most whitespace is ignored
-
true
andfalse
-
for ( name = ... ) { ... }
, for instance to iterate over a list -
if ( ... ) { ... }
(optionally followed byelse { ... }
- echo
sphere
cube
square
cylinder
circle
polygon
union
intersection
difference
translate
rotate
scale
linear_extrude
shell
use <...>
include <...>
- with
model
(to be explained)