Difference between revisions of "3D Models/Switch cover"

From Noisebridge
Jump to: navigation, search
(Added the model for the switch cover on one of our 3D printers.)
 
(Added photo of the print in use.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[File: 3D_Models-Switch_cover.png|400px|right|thumb|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 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 11: Line 13:
 
difference() {
 
difference() {
 
     cube([x + t * 2, y + t * 2, h + t * 1]);
 
     cube([x + t * 2, y + t * 2, h + t * 1]);
     translate([t, t, 1.99])
+
     translate([t, t, t - 0.01])
 
     cube([x, y, h + t * 5]);
 
     cube([x, y, h + t * 5]);
 
}
 
}
 
</pre>
 
</pre>
 +
 +
[[File:Creality_Ender-3_Pro_power_switch_cover.jpg|806px]]

Latest revision as of 07: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