<h3>Contents</h3>
<ul>
<li><a href="#modeling">Modeling with CAD</a>
<ul>
<li><a href="#modeling_example">Example: Case for Raspberry Pi 5</a></li>
</ul>
</li>
<li><a href="#slicing">Slicing</a></li>
<li><a href="#printing">Printing with G-code</a>
<ul>
<li><a href="#printing_settings">Included Settings</a></li>
</ul>
</li>
</ul>

<h3 id="modeling">Modeling with CAD</h3>
<p>
Computer-aided design (CAD) is used to create 3D models.<br />
Solid parts of the created models are stored in STL files.
</p>
<dl>
<dt>FreeCAD</dt>
<dd><a href="https://www.freecad.org/" target="_blank">
https://www.freecad.org/</a></dd>
</dl>

<h4 id="modeling_example">Example: Case for Raspberry Pi 5</h4>
<ul>
<li><a href="/mesh_viewer.html?filenames[]=.%2FMiscellaneous%2F3D_Printing%2FRaspPi5Case-Top.stl&filenames[]=.%2FMiscellaneous%2F3D_Printing%2FRaspPi5Case-Body.stl&filenames[]=.%2FMiscellaneous%2F3D_Printing%2FRaspPi5Case-Button.stl" target="_blank">
View STL files of the case</a></li>
</ul>
<dl>
<dt>Raspberry Pi Datasheets</dt>
<dd><a href="https://datasheets.raspberrypi.com/" target="_blank">
https://datasheets.raspberrypi.com/</a></dd>
</dl>

<h3 id="slicing">Slicing</h3>
<p>
A slicer segments solid parts into a stack of flat layers.<br />
Layer by layer, the slicer generates G-code to control the 3D printer.
</p>
<dl>
<dt>UltiMaker Cura</dt>
<dd><a href="https://ultimaker.com/software/ultimaker-cura/" target="_blank">
https://ultimaker.com/software/ultimaker-cura/</a></dd>
</dl>

<h3 id="printing">Printing with G-code</h3>
<dl>
<dt>G-code</dt>
<dd><a href="https://marlinfw.org/meta/gcode/" target="_blank">
https://marlinfw.org/meta/gcode/
</a></dd>
</dl>

<h4 id="printing_settings">Included Settings</h4>
<p>
3D printers usually come with examples that can be printed.<br />
The G-code files include settings for good quality prints on the actual printer.
</p>

<dl class="file" id="Rabbit.gcode">
<dt><code class="filename">Rabbit.gcode</code></dt>
<dd>
<pre class="file"><code class="language-gcode">;FLAVOR:Marlin
;...
;Generated with Creality Slicer 4.8.2-256
M140 S60
;...
M104 S205
;...
G1 F1800 E-0.8
;...
;LAYER:3
M106 S255
;...
</code></pre>
</dd>
</dl>
<table>
<tr><td>Build Plate Temperature:</td><td>60 &deg;C</td></tr>
<tr><td>Printing Temperature:</td><td>205 &deg;C</td></tr>
<tr><td>Retraction Rate:</td><td>1800 mm/min = 30 mm/s</td></tr>
<tr><td>Retraction Distance:</td><td>0.8 mm</td></tr>
<tr><td>Fan Speed:</td><td>100 %</td></tr>
</table>