3D Models/Switch cover: Difference between revisions
Jump to navigation
Jump to search
(Added preview picture.) |
(Un-hard-code this value.) |
||
Line 13: | 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, | translate([t, t, t - 0.01]) | ||
cube([x, y, h + t * 5]); | cube([x, y, h + t * 5]); | ||
} | } | ||
</pre> | </pre> |
Revision as of 00:37, 13 February 2020
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]); }