Cheapo90 need help August 13, 2014 12:09AM |
Registered: 12 years ago Posts: 279 |
module bearing_holder(bearing, bar_height, populate = false, rad = 0) { bearing_length = 19.1; //bearing[0]; bearing_dia = 11.15; //bearing[1]; below = 6 * bearing_dia / 15; height = bar_height + bearing_dia/2 - below; offset = below + height / 2 - bearing_dia / 2; fence = 1.2; fence_width = sqrt(bearing_dia * bearing_dia - 4 * below * below) + eta; width = bearing_holder_width(bearing); length = bearing_holder_length(bearing); fence_offset = bearing_dia / 2 - fence + (fence + 1) /2;these are the changes I made I didn't want to mess with too much because I wanted the drill mask to still line up, could use some help
Re: Cheapo90 need help August 13, 2014 03:47AM |
Admin Registered: 17 years ago Posts: 7,879 |
Re: Cheapo90 need help August 13, 2014 05:59AM |
Registered: 12 years ago Posts: 279 |
Re: Cheapo90 need help August 13, 2014 07:08AM |
Admin Registered: 17 years ago Posts: 7,879 |
Re: Cheapo90 need help August 13, 2014 11:19AM |
Registered: 12 years ago Posts: 279 |
Re: Cheapo90 need help August 13, 2014 12:32PM |
Admin Registered: 17 years ago Posts: 7,879 |
Re: Cheapo90 need help August 14, 2014 12:07AM |
Registered: 12 years ago Posts: 279 |
// // Mendel90 // // GNU GPL v2 // nop.head@gmail.com // hydraraptor.blogspot.com // // Linear bearings // LM10UU = [29, 19, 10]; LM8UU = [24, 15, 8]; LM6UU = [19, 12, 6]; LM4UU = [12, 8, 4]; OL516 = [19, 11.11, 7.93]; function bearing_length(type) = type[0]; function bearing_radius(type) = type[1] / 2; function bearing_rod_dia(type) = type[2]; module linear_bearing(type) { vitamin(str("LM",type[2],"UU: ","LM",type[2],"UU linear bearing")); color(bearing_color) render() rotate([0,90,0]) difference() { cylinder(r = bearing_radius(type), h = type[0], center = true); cylinder(r = type[2] / 2, h = type[0] + 1, center = true); } }
Re: Cheapo90 need help August 14, 2014 04:54AM |
Admin Registered: 17 years ago Posts: 7,879 |
Re: Cheapo90 need help August 16, 2014 01:45PM |
Registered: 12 years ago Posts: 279 |
Re: Cheapo90 need help August 17, 2014 09:19PM |
Registered: 12 years ago Posts: 279 |
M2_nut = [2, 4.9, 1.6, 2.4, M2_washer, M2_nut_trap_depth]; M2p5_nut = [2.5, 5.8, 2.2, 3.8, M2p5_washer, M2p5_nut_trap_depth]; M3_nut = [3, 6.4, 2.4, 4, M3_washer, M3_nut_trap_depth]; M4_nut = [4, 8.1, 3.2, 5, M4_washer, M4_nut_trap_depth]; M5_nut = [5, 9.2, 4, 6.25, M5_washer, M5_nut_depth]; M6_nut = [6, 11.5, 5, 8, M6_washer, M6_nut_depth]; M6_half_nut = [6, 11.5, 3, 8, M6_washer, 3]; M8_nut = [8, 15, 6.5, 8, M8_washer, M8_nut_depth];A definition like i.e. // m(x) nut =[ diameter of screw, measured distance between flats (I am assuming) or measured distance between flats plus fudge factor or measured distance between points),nut_height?, something, m2washer =diameter (or thickness) of washer(variable lives in file x.scad), m2_nut_trap_depths= height of nut plus layer height for example (variable lives in file y.scad)
Re: Cheapo90 need help August 18, 2014 08:19AM |
Admin Registered: 17 years ago Posts: 7,879 |
Quote
terramir
well having some problems with python will try today on my dual boot lappy with windowz.
#2 in sheets scad the first definition is MD I assume for MDF, I'd like to change that to PB for particle board however I dunno where that definition lives
terramir
Re: Cheapo90 need help August 18, 2014 08:39AM |
Admin Registered: 17 years ago Posts: 7,879 |
Re: Cheapo90 need help August 21, 2014 11:52PM |
Registered: 12 years ago Posts: 279 |