initial commits
parent
bc15c832e5
commit
23bd9a8df9
23
index.xhtml
23
index.xhtml
|
@ -16,12 +16,33 @@
|
|||
<strong>OpenSCAD</strong> is an open-source computer-aided design (<abbr title="computer-aided design">CAD</abbr>) software application.
|
||||
</p>
|
||||
<p>
|
||||
Unlike many other <abbr title="computer-aided design">CAD</abbr> software applications which use a <abbr title="graphical user interface">GUI</abbr> to create, edit, and manipulate objects, <strong>OpenSCAD</strong creates, edits, and manipulates objects via a scripting programming-language.
|
||||
Unlike many other <abbr title="computer-aided design">CAD</abbr> software applications which use a <abbr title="graphical user interface">GUI</abbr> to create, edit, and manipulate objects, <strong>OpenSCAD</strong> creates, edits, and manipulates objects via a scripting programming-language.
|
||||
For example:
|
||||
</p>
|
||||
<figure>
|
||||
<pre><code>
|
||||
cube([2,3,4]);
|
||||
</code></pre>
|
||||
</figure>
|
||||
<p>
|
||||
<strong>OpenSCAD</strong> scripts are usually stored in <code>.scad</code> files.
|
||||
</p>
|
||||
<p>
|
||||
<strong>OpenSCAD</strong> includes many features similar to many imperative programming-languages; including:
|
||||
</p>
|
||||
<ul>
|
||||
<li>variables,</li>
|
||||
<li>control structures (such as if-statements and loops),</li>
|
||||
<li>modules, and</li>
|
||||
<li>libraries.</li>
|
||||
</ul>
|
||||
<p>
|
||||
For those already familiar with programming-languages such as C, C++, C#, D, Dart, Go, Java, JavaScript, PHP, and others — <strong>OpenSCAD</strong> uses curly-brackets.
|
||||
For example:
|
||||
</p>
|
||||
<figure>
|
||||
<pre><code>
|
||||
for (a =[x1,x2,x3]){echo(a);}
|
||||
</code></pre>
|
||||
</figure>
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue