Improve Brio bridge
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 21 KiB |
@@ -32,18 +32,21 @@ tr_co_w = 0.75 * (track_well_spacing-track_well_width_top);
|
|||||||
cc = 0.001;
|
cc = 0.001;
|
||||||
switch_cut_ext = 1;
|
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_height = 61; // Height below the track
|
||||||
bridge_length = 144;
|
bridge_length = 144;
|
||||||
|
bridge_inner_width = track_width + track_tolerance; // Width between the side supports
|
||||||
|
|
||||||
side_width = 6;
|
side_width = 6;
|
||||||
total_width = track_width + 2 * side_width;
|
total_width = bridge_inner_width + 2 * side_width;
|
||||||
|
|
||||||
track_support_height = 3.5; // Thickness of the plank below the track
|
track_support_height = 3.5; // Thickness of the plank below the track
|
||||||
track_support_overhang = 6;
|
track_support_overhang = 6;
|
||||||
track_support_width = track_width + side_width;
|
track_support_width = bridge_inner_width + side_width;
|
||||||
|
|
||||||
tunnel_rounding = 10;
|
tunnel_rounding = 10;
|
||||||
tunnel_width = track_width + side_width;
|
tunnel_width = track_width + track_tolerance;
|
||||||
tunnel_height = bridge_height + 3;
|
tunnel_height = bridge_height + 3;
|
||||||
|
|
||||||
$fn=150;
|
$fn=150;
|
||||||
@@ -84,7 +87,7 @@ module track(length = 144,
|
|||||||
// Track shape blueprint
|
// Track shape blueprint
|
||||||
module track_blueprint(grooves = true, both_sides = false, part_chamfers = true) {
|
module track_blueprint(grooves = true, both_sides = false, part_chamfers = true) {
|
||||||
difference() {
|
difference() {
|
||||||
square([track_width, track_height]);
|
square([bridge_inner_width, track_height]);
|
||||||
|
|
||||||
// Corner champers
|
// Corner champers
|
||||||
if (part_chamfers) {
|
if (part_chamfers) {
|
||||||
@@ -192,7 +195,7 @@ module side() {
|
|||||||
|
|
||||||
difference() {
|
difference() {
|
||||||
group() {
|
group() {
|
||||||
translate([-bridge_length/2,-track_width/2,bridge_height]) {
|
translate([-bridge_length/2,-bridge_inner_width/2,bridge_height]) {
|
||||||
track(length = bridge_length,
|
track(length = bridge_length,
|
||||||
end1 = "nest",
|
end1 = "nest",
|
||||||
end2 = "plug",
|
end2 = "plug",
|
||||||
@@ -201,12 +204,12 @@ difference() {
|
|||||||
both_sides = false);
|
both_sides = false);
|
||||||
|
|
||||||
// Plank below the track to support bridges on both sides
|
// Plank below the track to support bridges on both sides
|
||||||
translate([bridge_length/2,track_width/2,-track_support_height/2])
|
translate([bridge_length/2,bridge_inner_width/2,-track_support_height/2])
|
||||||
cuboid([bridge_length+2*track_support_overhang,track_support_width,track_support_height], chamfer=track_chamfer/sqrt(2));
|
cuboid([bridge_length+2*track_support_overhang,track_support_width,track_support_height], chamfer=track_chamfer/sqrt(2));
|
||||||
}
|
}
|
||||||
|
|
||||||
fwd(track_width/2) side();
|
fwd(bridge_inner_width/2) side();
|
||||||
rotate([0,0,180]) fwd(track_width/2) side();
|
rotate([0,0,180]) fwd(bridge_inner_width/2) side();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tunnel
|
// Tunnel
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user