initial commits

master
Charles Iliya Krempeaux 2024-01-13 17:14:45 -08:00
parent bc15c832e5
commit 23bd9a8df9
1 changed files with 22 additions and 1 deletions

View File

@ -16,12 +16,33 @@
<strong>OpenSCAD</strong> is an open-source computer-aided design (<abbr title="computer-aided design">CAD</abbr>) software application. <strong>OpenSCAD</strong> is an open-source computer-aided design (<abbr title="computer-aided design">CAD</abbr>) software application.
</p> </p>
<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: For example:
</p> </p>
<figure> <figure>
<pre><code> <pre><code>
cube([2,3,4]); 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> </code></pre>
</figure> </figure>
<p> <p>