diff --git a/brio-bridge/brio-bridge-double.stl b/brio-bridge/brio-bridge-double.stl index ec9b242..e5e1e1b 100644 Binary files a/brio-bridge/brio-bridge-double.stl and b/brio-bridge/brio-bridge-double.stl differ diff --git a/brio-bridge/brio-bridge.3mf b/brio-bridge/brio-bridge.3mf index 7b2ada5..8e2ec4e 100644 Binary files a/brio-bridge/brio-bridge.3mf and b/brio-bridge/brio-bridge.3mf differ diff --git a/brio-bridge/brio-bridge.scad b/brio-bridge/brio-bridge.scad index e845a32..1573ece 100644 --- a/brio-bridge/brio-bridge.scad +++ b/brio-bridge/brio-bridge.scad @@ -1,8 +1,10 @@ /* https://github.com/BelfrySCAD/BOSL2 */ include +track_tolerance = 2; // Additional space to the tracks' side to allow for better fit + /* Brio variables, this file copies all Brio information rather than importing them */ -track_width = 40; +track_width = 40 + track_tolerance; track_height = 12; track_well_depth = 2.9; track_well_width_top = 6.75; @@ -32,21 +34,18 @@ tr_co_w = 0.75 * (track_well_spacing-track_well_width_top); cc = 0.001; switch_cut_ext = 1; -track_tolerance = 2; // Total space to the tracks' side to allow for better fit - bridge_height = 61; // Height below the track bridge_length = 144; -bridge_inner_width = track_width + track_tolerance; // Width between the side supports side_width = 6; -total_width = bridge_inner_width + 2 * side_width; +total_width = track_width + 2 * side_width; track_support_height = 3.5; // Thickness of the plank below the track track_support_overhang = 6; -track_support_width = bridge_inner_width + side_width; +track_support_width = track_width + side_width; tunnel_rounding = 10; -tunnel_width = track_width + track_tolerance; // Double: 2 * track_width + track_tolerance + 6 +tunnel_width = track_width; // Double: 2 * track_width - track_tolerance + 6 tunnel_height = bridge_height + 3; $fn=150; @@ -87,12 +86,13 @@ module track(length = 144, // Track shape blueprint module track_blueprint(grooves = true, both_sides = false, part_chamfers = true) { difference() { - square([bridge_inner_width, track_height]); - + square([track_width, track_height]); + // Corner champers if (part_chamfers) { part_chamfers(); } + // Rail grooves if (grooves) if (both_sides) grooves(true); @@ -171,7 +171,7 @@ module track_nest(radius = track_nest_radius, translate([neck_l-cc, 0, 0]) rotate([0, 0, 180]) { rotate_extrude(angle = 360) { - #polygon([[0, -cc], + polygon([[0, -cc], [radius + track_chamfer/2, -cc], [radius, track_chamfer/2], [radius, track_height - track_chamfer/2], @@ -195,7 +195,7 @@ module side() { difference() { group() { - translate([-bridge_length/2,-bridge_inner_width/2,bridge_height]) { + translate([-bridge_length/2,-track_width/2,bridge_height]) { track(length = bridge_length, end1 = "nest", end2 = "plug", @@ -204,12 +204,12 @@ difference() { both_sides = false); // Plank below the track to support bridges on both sides - translate([bridge_length/2,bridge_inner_width/2,-track_support_height/2]) + translate([bridge_length/2,track_width/2,-track_support_height/2]) cuboid([bridge_length+2*track_support_overhang,track_support_width,track_support_height], chamfer=track_chamfer/sqrt(2)); } - fwd(bridge_inner_width/2) side(); - rotate([0,0,180]) fwd(bridge_inner_width/2) side(); + fwd(track_width/2) side(); + rotate([0,0,180]) fwd(track_width/2) side(); } // Tunnel diff --git a/brio-bridge/brio-bridge.stl b/brio-bridge/brio-bridge.stl index 8f3f146..29b119d 100644 Binary files a/brio-bridge/brio-bridge.stl and b/brio-bridge/brio-bridge.stl differ