48 lines
804 B
OpenSCAD
48 lines
804 B
OpenSCAD
// rostock igus/traxxas-mod with customized front-belt assembly
|
|
// front clamp
|
|
// by zeus - zeus@ctdo.de - CC-BY-NC-4.0
|
|
// -> https://www.thingiverse.com/zeus
|
|
// -> https://github.com/zeus86
|
|
//2014-10-01
|
|
// ---
|
|
// some vars:
|
|
height = 24;
|
|
hole = 3.5;
|
|
thickness = 1.5;
|
|
|
|
// model
|
|
module holes() {
|
|
union() {
|
|
|
|
translate([0, 0, 5]){
|
|
rotate([90, 0, 0]){
|
|
cylinder(r=hole/2, h=thickness*2, center=true, $fn=12);}}
|
|
|
|
translate([0, 0, -5]){
|
|
rotate([90, 0, 0]){
|
|
cylinder(r=hole/2, h=thickness*2, center=true, $fn=12);}}
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
module blocko() {
|
|
intersection() {
|
|
translate([0, 0, 0])
|
|
cube([10, thickness, height-3], center=true);
|
|
rotate([90,0,0]){
|
|
cylinder(r=height/2-height*0.1, h=10, center=true, $fn=64);
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
translate([0, 0, 0]){
|
|
difference() {
|
|
blocko();
|
|
holes();
|
|
}
|
|
}
|