Add h1 cross and track supports
This commit is contained in:
@@ -2,7 +2,7 @@ SCAD=train_tracks_generator.scad
|
|||||||
SUFFIX=.stl
|
SUFFIX=.stl
|
||||||
|
|
||||||
# match "module foobar() { // `make` me"
|
# match "module foobar() { // `make` me"
|
||||||
TARGETS != sed -n 's/^module *\([A-Za-z0-9_-]*\)() *.*make.* me.*$$/\1$(SUFFIX)/p' $(SCAD)
|
TARGETS != sed -n 's/^module *\([A-Za-z0-9_-]*\)(.*) *.*make.* me.*$$/\1$(SUFFIX)/p' $(SCAD)
|
||||||
|
|
||||||
$(shell mkdir -p output)
|
$(shell mkdir -p output)
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,5 @@
|
|||||||
|
include <BOSL2/std.scad>
|
||||||
|
|
||||||
// Train tracks generator for IKEA Lillabo, Brio and others
|
// Train tracks generator for IKEA Lillabo, Brio and others
|
||||||
//// by torwan @ January 8th, 2023
|
//// by torwan @ January 8th, 2023
|
||||||
|
|
||||||
@@ -1518,6 +1520,22 @@ module tracks_adapter(length = 30, nest = "B", plug = "I") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ### TRACK SUPPORT
|
||||||
|
|
||||||
|
module track_support(base_height = 60.7, base_width_top = 44.6, base_width_bottom = 42.8, side_width_top = 3.7, side_width_bottom = 4.6, side_offset = 3.1, thickness = 25) { // make me
|
||||||
|
linear_extrude(thickness) {
|
||||||
|
difference() {
|
||||||
|
group() {
|
||||||
|
rect([base_width_top+2*side_width_top,base_height],rounding=1);
|
||||||
|
translate([0,-(base_height+side_offset)/2])
|
||||||
|
rect([base_width_bottom,side_offset],rounding=[0,0,1,1]);
|
||||||
|
}
|
||||||
|
translate([0,(base_height-side_offset)/2])
|
||||||
|
rect([base_width_top,side_offset]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ### BRIO TRAIN TRACKS AS MODULES
|
// ### BRIO TRAIN TRACKS AS MODULES
|
||||||
|
|
||||||
// A2 Mini Straight
|
// A2 Mini Straight
|
||||||
@@ -1567,7 +1585,12 @@ module curve_short_e1() { // make me
|
|||||||
|
|
||||||
// H Cross
|
// H Cross
|
||||||
module cross_h() { // make me
|
module cross_h() { // make me
|
||||||
intersection(angle = 90, lengthA = 108, lengthB = 108, end1A = "nest", end2A = "plug", end1B = "nest", end2B = "plug", both_sides = true);
|
intersection(angle = 90, lengthA = 108, lengthB = 108, end1A = "nest", end2A = "plug", end1B = "nest", end2B = "plug", both_sides = false);
|
||||||
|
}
|
||||||
|
|
||||||
|
// H1 Cross
|
||||||
|
module cross_h1() { // make me
|
||||||
|
intersection(angle = 90, lengthA = 116, lengthB = 116, end1A = "nest", end2A = "nest", end1B = "plug", end2B = "plug", both_sides = false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// H2 Criss Cross
|
// H2 Criss Cross
|
||||||
|
|||||||
Reference in New Issue
Block a user