0a1,8 > use > use > use > use > use > use > > 13a22,25 > //Basic dimensions of the ribs > rib_th = 8; > rib_w = 20.6; > 25a38,48 > //2D shape of rib. Flat sides rounded ends > rib2D = rounded_rectangle_profile(size=[rib_th,rib_w], r = rib_th/2); > //Path of sweep for back rib > path_def = [ > trajectory(forward = 60, pitch = 90) > ]; > > //Turn the trajectories into an array of transformations > //representing the path > sweep_path = quantize_trajectories(path_def, steps=100, loop=false); > 33,36c56,59 < translate([0,0,base_h/2]) < cube([base_l, base_w, base_h], < center = true); < //[ 12.56, -6.99, 17.54 ] --- > // translate([0,0,base_h/2]) > // cube([base_l, base_w, base_h], > // center = true); > // //[ 12.56, -6.99, 17.54 ] 38,40c61,63 < translate([12.8,0,total_h - upper_h/2]) < cube([upper_l, upper_w, upper_h], < center = true); --- > // translate([12.8,0,total_h - upper_h/2]) > // cube([upper_l, upper_w, upper_h], > // center = true); 42,47c65,74 < hull_shape([ < [ -41.33, 8.53, 60.00 ], < [ -41.33, 8.53, 47.00 ], < [ -21.33, 8.53, 41.00 ], < [ -31.33, 8.53, 60.00 ]], < y_sym = true) cube(0.01,center=true); --- > // hull_shape([ > // [ -41.33, 8.53, 60.00 ], > // [ -41.33, 8.53, 47.00 ], > // [ -21.33, 8.53, 41.00 ], > // [ -31.33, 8.53, 60.00 ]], > // y_sym = true) cube(0.01,center=true); > //********** Back Rib ********** > translate([27,0,5]) > rotate([0,-40,0]) > sweep(rib2D, sweep_path);