3D Models/Switch cover: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(Un-hard-code this value.)
(Link to OpenSCAD.)
Line 3: Line 3:
This is the rectangular cover over the hard power switch on the Creality Ender-3 Pro [[3D Printing|3D printer]].
This is the rectangular cover over the hard power switch on the Creality Ender-3 Pro [[3D Printing|3D printer]].


This model is an OpenSCAD program. Use OpenSCAD to render this model and export an STL file, which can then feed to your favorite slicer to produce a file compatible with a 3D printer.
This model is an OpenSCAD program. Use [https://www.openscad.org/ OpenSCAD] to render this model and export an STL file, which can then feed to your favorite slicer to produce a file compatible with a 3D printer.


<pre>
<pre>

Revision as of 00:38, 13 February 2020

Actual size: 15 by 12 by 5 mm (interior dimensions).

This is the rectangular cover over the hard power switch on the Creality Ender-3 Pro 3D printer.

This model is an OpenSCAD program. Use OpenSCAD to render this model and export an STL file, which can then feed to your favorite slicer to produce a file compatible with a 3D printer.

x = 12;
y = 15;
h = 5;
t = 2;

difference() {
    cube([x + t * 2, y + t * 2, h + t * 1]);
    translate([t, t, t - 0.01])
    cube([x, y, h + t * 5]);
}