Added screw holder to X gear cover

pull/20/head
Carlos Garcia Saura 2014-09-10 00:51:50 +02:00
parent 84064ef44b
commit fa4309f6d7
2 changed files with 12209 additions and 16325 deletions

View File

@ -44,16 +44,23 @@ module Cyclone_X_leftFrame(isLeft=true) {
module Cyclone_XsubPart_gearCover() { module Cyclone_XsubPart_gearCover() {
margin = 4; margin = 4;
wallThickness = 2; wallThickness = 2;
screwHeadSpaceHeight = 4;
screwHeadSpaceDiam = 7;
coverHeight = gearWallSeparation+axes_XgearThickness+wallThickness+margin;
nema_screw_separation = lookup(NemaDistanceBetweenMountingHoles, Nema17); nema_screw_separation = lookup(NemaDistanceBetweenMountingHoles, Nema17);
difference() { difference() {
union() { union() {
rotate([0,90,0]) rotate([0,90,0])
cylinder(r=axes_XgearSeparation/(1+1/axes_XgearRatio)+wallThickness+margin, h=gearWallSeparation+axes_XgearThickness+wallThickness+margin); cylinder(r=axes_XgearSeparation/(1+1/axes_XgearRatio)+wallThickness+margin, h=coverHeight);
// Translate to motor position // Translate to motor position
rotate([motorRotatedOffset,0,0]) { rotate([motorRotatedOffset,0,0]) {
translate([0,axes_XgearSeparation,0]) translate([0,axes_XgearSeparation,0])
rotate([-motorRotatedOffset,0,0]) { rotate([-motorRotatedOffset,0,0]) {
rotate([0,90,0]) cylinder(r=axes_XgearSeparation/(1+axes_XgearRatio)+wallThickness+margin, h=gearWallSeparation+axes_XgearThickness+wallThickness+margin); rotate([0,90,0]) cylinder(r=axes_XgearSeparation/(1+axes_XgearRatio)+wallThickness+margin, h=coverHeight);
// Support screw
translate([0,-nema_screw_separation/2,nema_screw_separation/2])
//rotate([0,90,0]) cylinder(r1=screwHeadSpaceDiam/1.5, r2=0, h=coverHeight);
rotate([0,90,0]) cylinder(r=screwHeadSpaceDiam/1.5, h=coverHeight);
} }
} }
} }
@ -66,14 +73,21 @@ module Cyclone_X_leftFrame(isLeft=true) {
rotate([motorRotatedOffset,0,0]) { rotate([motorRotatedOffset,0,0]) {
translate([0,axes_XgearSeparation,0]) translate([0,axes_XgearSeparation,0])
rotate([-motorRotatedOffset,0,0]) { rotate([-motorRotatedOffset,0,0]) {
rotate([0,90,0]) cylinder(r=axes_XgearSeparation/(1+axes_XgearRatio)+margin, h=gearWallSeparation+axes_XgearThickness+margin); difference() {
rotate([0,90,0]) cylinder(r=axes_XgearSeparation/(1+axes_XgearRatio)+margin, h=gearWallSeparation+axes_XgearThickness+margin);
translate([0,-nema_screw_separation/2,nema_screw_separation/2])
rotate([0,90,0]) cylinder(r=screwHeadSpaceDiam/1.5, h=wallThickness);
}
rotate([0,90,0]) cylinder(r=7/2, h=30); rotate([0,90,0]) cylinder(r=7/2, h=30);
translate([0,nema_screw_separation/2,-nema_screw_separation/2]) translate([0,nema_screw_separation/2,-nema_screw_separation/2])
rotate([0,90,0]) cylinder(r=10/2, h=10); rotate([0,90,0]) cylinder(r=screwHeadSpaceDiam/2, h=screwHeadSpaceHeight);
translate([0,-nema_screw_separation/2,nema_screw_separation/2])
rotate([0,90,0]) cylinder(r=10/2, h=10);
translate([0,-nema_screw_separation/2,-nema_screw_separation/2]) translate([0,-nema_screw_separation/2,-nema_screw_separation/2])
rotate([0,90,0]) cylinder(r=10/2, h=10); rotate([0,90,0]) cylinder(r=screwHeadSpaceDiam/2, h=screwHeadSpaceHeight);
// Support screw
translate([0,-nema_screw_separation/2,nema_screw_separation/2])
rotate([0,90,0]) cylinder(r=3.5/2, h=coverHeight+0.1);
translate([wallThickness,-nema_screw_separation/2,nema_screw_separation/2])
rotate([0,90,0]) cylinder(r=screwHeadSpaceDiam/2, h=coverHeight+0.1);
} }
} }
} }

File diff suppressed because it is too large Load Diff