-
Notifications
You must be signed in to change notification settings - Fork 2
/
xyz-plate.scad
39 lines (36 loc) · 1.24 KB
/
xyz-plate.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* OpenSCAD design of XYZ Plate for Pumping Station:One's
* (www.pumpingstationone.org) ShopBot. You are free to
* use this file any way you like.
*
* Written by Ron Olson ([email protected])
* September 28, 2015
*/
/* This is the top section of the plate with the hole */
difference() {
translate([-5,5,3.5])
cube([25,25, 2.5], true);
translate([7,-7,0])
cylinder(15,6,6,true);
/* the hole for the plug */
translate([-10,15,2.5])
rotate([-90,0,0])
/* Have to resort to the $f variables for a nicer hole */
cylinder($fn = 0, $fa = .03, $fs = .03, h = 10, r1 = .75, r2 = .75, center = true);
}
/* This is the bottom part of the plate, with the
* bottom part removed (added +1 to the X and Y for
* the cube to clear the sides and prevent artifacting)
* and the hole
*/
difference() {
cube([35,35,5], true);
translate([-5,5,-1.4])
cube([26,26, 3], true);
translate([7,-7,0])
cylinder(15,6,6,true);
/* the hole for the plug */
translate([-10,15,2.5])
rotate([-90,0,0])
/* Have to resort to the $f variables for a nicer hole */
cylinder(15,$fn = 0, $fa = .03, $fs = .03, h = 10, r1 = .75, r2 = .75, center = true);
}