Brio buffer stops

This commit is contained in:
Stefan Thoss
2025-04-02 21:48:03 -07:00
parent 17ce6095e5
commit f4e34d897b
7 changed files with 110 additions and 0 deletions
Binary file not shown.
+56
View File
@@ -0,0 +1,56 @@
include <train_tracks_generator.scad>
/* https://github.com/BelfrySCAD/BOSL2 */
include <BOSL2/std.scad>
stopper_length = 34;
plug_extension = 5;
nest_top_tolerance = 0.5;
module stopper() {
rotate([90,0,0])
linear_extrude(track_width) {
group() {
translate([0,9+track_height])
rect([15,14],chamfer=[track_chamfer,track_chamfer,0,0], anchor=BOTTOM);
translate([0,7+track_height])
trapezoid(2,10,15, anchor=BOTTOM);
translate([0,4+track_height])
rect([10,3], anchor=BOTTOM);
translate([0,2+track_height])
trapezoid(2,stopper_length-track_chamfer,10, anchor=BOTTOM);
rect([stopper_length,track_height+2],chamfer=[0,0,track_chamfer,track_chamfer],rounding=[track_chamfer/2,track_chamfer/2,0,0], anchor=BOTTOM);
}
}
}
translate([0,50,0]) {
stopper();
// Add plug
translate([stopper_length/2-plug_extension, -track_width/2, 0])
track_plug(neck_l = track_plug_neck_length+plug_extension);
}
difference() {
stopper();
// Add nest
translate([stopper_length/2, -track_width/2, 0])
rotate([0,0,180])
translate([track_nest_neck_length-cc, 0, 0])
rotate([0, 0, 180]) {
rotate_extrude(angle = 360) {
polygon([[0, -cc],
[track_nest_radius + track_chamfer/2, -cc],
[track_nest_radius, track_chamfer/2],
[track_nest_radius, track_height + nest_top_tolerance - track_chamfer/2],
[track_nest_radius, track_height + nest_top_tolerance + 2*cc],
[0, track_height + nest_top_tolerance + 2* cc]]);
}
translate([0, -track_nest_neck_width/2, -cc])
difference() {
cube([track_nest_neck_length, track_nest_neck_width, track_height + nest_top_tolerance + 2*cc]);
}
}
}
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

+54
View File
@@ -0,0 +1,54 @@
include <train_tracks_generator.scad>
/* https://github.com/BelfrySCAD/BOSL2 */
include <BOSL2/std.scad>
stopper_length = 34;
plug_extension = 5;
nest_top_tolerance = 0.5;
module stopper() {
rotate([90,0,0])
linear_extrude(track_width) {
group() {
translate([0,9+track_height])
rect([15,14],chamfer=[track_chamfer,track_chamfer,0,0], anchor=BOTTOM);
translate([0,7+track_height])
trapezoid(2,10,15, anchor=BOTTOM);
translate([0,3+track_height])
rect([10,4], anchor=BOTTOM);
rect([stopper_length,track_height+3],chamfer=track_chamfer,anchor=BOTTOM);
}
}
}
translate([0,50,0]) {
stopper();
// Add plug
translate([stopper_length/2-plug_extension, -track_width/2, 0])
track_plug(neck_l = track_plug_neck_length+plug_extension);
}
difference() {
stopper();
// Add nest
translate([stopper_length/2, -track_width/2, 0])
rotate([0,0,180])
translate([track_nest_neck_length-cc, 0, 0])
rotate([0, 0, 180]) {
rotate_extrude(angle = 360) {
polygon([[0, -cc],
[track_nest_radius + track_chamfer/2, -cc],
[track_nest_radius, track_chamfer/2],
[track_nest_radius, track_height + nest_top_tolerance - track_chamfer/2],
[track_nest_radius, track_height + nest_top_tolerance + 2*cc],
[0, track_height + nest_top_tolerance + 2* cc]]);
}
translate([0, -track_nest_neck_width/2, -cc])
difference() {
cube([track_nest_neck_length, track_nest_neck_width, track_height + nest_top_tolerance + 2*cc]);
}
}
}
Binary file not shown.
Binary file not shown.