-
Notifications
You must be signed in to change notification settings - Fork 1
/
bar-clamp.scad
38 lines (30 loc) · 892 Bytes
/
bar-clamp.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
// PRUSA Mendel
// Bar clamp
// Used for joining 8mm rods
// GNU GPL v2
// Josef Průša
// prusadjs.cz
// http://www.reprap.org/wiki/Prusa_Mendel
// http://github.com/prusajr/PrusaMendel
include <configuration.scad>
/**
* @id bar-clamp
* @name Bar clamp
* @category Printed
* @using 2 m8nut
* @using 2 m8washer
*/
module barclamp(){
outer_diameter = m8_diameter/2+3.3;
difference(){
union(){
translate([outer_diameter, outer_diameter, 0])cylinder(h =outer_diameter*2, r = outer_diameter, $fn = 20);
translate([outer_diameter, 0, 0])cube([17.5,outer_diameter*2,outer_diameter*2]);
}
translate([9, outer_diameter/2+1, 0])cube([18,05,20]);
translate([outer_diameter, outer_diameter, 0]) #cylinder(h =20, r = m8_diameter/2, $fn = 18);
translate([17, 17, 7.5]) rotate([90, 0, 0]) #cylinder(h =20, r = m8_diameter/2, $fn = 10);
}
}
barclamp();