Welcome! Log In Create A New Profile

Advanced

not matching objects in raspi camera addon

Posted by bastard 
not matching objects in raspi camera addon
June 21, 2014 10:24AM
Hi there,

you might know, that I'm currently printing the Raspi+Camera addons for my printer.

But during my faulty prints I recognised, that the two camera bars don't match together:




So I changed the raspberry_pi_camera.scad a little:

module camera_bar(male = false) {
    length = bar_length / 2 + (male ? -bar_overlap / 2 : bar_overlap / 2);

    translate([0, base_depth / 2 - bar_y, 2 * 1.2])
        difference() {
            union() {
                tube(or = bar_dia / 2, ir = bar_dia / 2 - bar_wall, h = length - 2 * 1.2, center = false);
                if(male)
                    translate([0, 0, length - 6 * layer_height])
                        cylinder(r = bar_dia / 2 - wall - 0.1, h = bar_overlap + 6 * layer_height);
            }
            if(!male)
                translate([0, 0, length])
                    cylinder(r = bar_dia / 2 - wall, h = 2 * bar_overlap + 2, center = true);

            *translate([-100, 0, 0])
                cube([200, 200, 200]);
    }
}

Where does the 2 * 1.2 come from? It's defined in frame_edge_clamp.scad:

pivot_h = 1.2;

This gives me matching bar clamps - I hope - ask me in a few hours ... ;-)




MfG / Regards

Stefan

Blog / Gallery / Wiki / Mendel90 kit since Sep 2013 from Nophead / Original Prusa I3 MK3 since Feb 2018 /
OpenScad Workshop: Kursdateien
Octoprint Patron since April 2016
Re: not matching objects in raspi camera addon
June 21, 2014 11:54AM
Whoops, that is a bug due to a late change, sorry.


[www.hydraraptor.blogspot.com]
Re: not matching objects in raspi camera addon
June 21, 2014 12:15PM
I fixed it on Github by changing frame_edge_clamp.scad, see [github.com]


[www.hydraraptor.blogspot.com]
Sorry, only registered users may post in this forum.

Click here to login