lp2 = this_cnr + clockwise2d(l_uvec) * bigr;
lp3 = this_cnr - clockwise2d(r_uvec) * bigr;
lp4 = right_cnr - clockwise2d(r_uvec) * bigr;
- ctr = line_intersection_2d(lp1,lp2,lp3,lp4)
+ ctr = line_intersection_2d(lp1,lp2,lp3,lp4);
+ ctr3 = concat(ctr,[0])
')
module RoundCorner_selector(ci, adj) {
ROUNDCORNER_VARS;
difference(){
RoundCorner_selector(ci, -0.1);
- translate(concat(ctr,[0]))
+ translate(ctr3)
cylinder(center=true, h=20, r= bigr);
}
}
intersection(){
RoundCorner_selector(ci, +0.1);
INREFFRAME_EDGE {
- translate(concat(ctr,[0])){
+ translate(ctr3){
rotate_extrude(convexity=10, $fn=50)
translate([bigr, 0])
difference(){