3D Models/Switch cover: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(Un-hard-code this value.)
(Added photo of the print in use.)
 
(One intermediate revision by the same user not shown)
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>
Line 17: Line 17:
}
}
</pre>
</pre>
[[File:Creality_Ender-3_Pro_power_switch_cover.jpg|806px]]

Latest revision as of 00:40, 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]);
}

Creality Ender-3 Pro power switch cover.jpg