Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated plugbox cover, rounded off holes.

  • Loading branch information...
commit 81be9c42f6059bf3de2d6301d9008bbd64a02063 1 parent 93bda46
Russ Lankenau authored
View
4 openscad/model500plugbox.scad
@@ -8,14 +8,14 @@ module plugbox()
/* Drill a hole all the way through the object. */
module drill_full(x,y) {
translate([x,y,0]) {
- cylinder(r=1.8, h=55, center=true);
+ cylinder(r=1.8, h=55, $fn=100, center=true);
}
}
/* Drill a hole that only extends to the top of the cavity. */
module drill_partial(x,y,) {
translate([x,y,0]) {
- cylinder(r=2.5, h=height-5, center=true);
+ cylinder(r=2.5, h=height-5, $fn=100, center=true);
}
}
View
25,900 openscad/model500plugbox.stl
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
35 openscad/model500plugbox_cover.scad
@@ -1,6 +1,7 @@
module plugbox()
{
+ stdoff=35;
/* Drill a hole all the way through the object. */
module drill_full(x,y) {
@@ -12,20 +13,36 @@ module plugbox()
/* Drill a hole that only extends to the top of the cavity. */
module drill_standoff(x,y) {
translate([x,y,-1]) {
- cylinder(r=2.5, h=height+4, center=true);
+ cylinder(r=2.5, h=height+4, $fn=100, center=true);
}
}
difference() {
/* Create outside dimensions */
- cube([size, size, height], center=true);
+ hull(){
+ /*cube([size, size, height], center=true);*/
+ translate([size/2-3,size/2-3,0]) {
+ cylinder(r=3.5,h=height,$fn=100,center=true);
+ }
+ translate([-size/2+3,-size/2+3,0]) {
+ cylinder(r=3.5,h=height,$fn=100,center=true);
+ }
+ translate([size/2-3,-size/2+3,0]) {
+ cylinder(r=3.5,h=height,$fn=100,center=true);
+ }
+ translate([-size/2+3,size/2-3,0]) {
+ cylinder(r=3.5,h=height,$fn=100,center=true);
+ }
+ }
/* Dish out the center */
translate([0,0,2]) {
- cube([size, size-20, 4], center=true);
- cube([size-20, size, 4], center=true);
- }
+
+ cube([size-25, size, 4],center=true);
+ cube([size, size-25, 4],center=true);
+ }
+
translate([-size/2,0,2])
cube([4,size,4],center=true);
translate([size/2,0,2])
@@ -36,10 +53,10 @@ module plugbox()
cube([size,4,4],center=true);
/* Create holes for standoffs */
- drill_standoff((size-12)/2, (size-12)/2);
- drill_standoff(-(size-12)/2, (size-12)/2);
- drill_standoff((size-12)/2, -(size-12)/2);
- drill_standoff(-(size-12)/2, -(size-12)/2);
+ drill_standoff(stdoff/2, stdoff/2);
+ drill_standoff(-stdoff/2, stdoff/2);
+ drill_standoff(stdoff/2, -stdoff/2);
+ drill_standoff(-stdoff/2, -stdoff/2);
}
size = 50;
View
14,774 openscad/model500plugbox_cover.stl
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.