Files
3d-printer-models/brio-tracks/brio-tracks.scad
T
2025-01-14 12:50:58 -08:00

62 lines
2.8 KiB
OpenSCAD

/* https://github.com/torwanbukaj/ikea-brio-others-compatible-train-tracks-generator */
include <train_tracks_generator.scad>
// track_tester();
// A2 Mini Straight
*track(length = 54, end1 = "plug", end2 = "nest", cutout = false);
// B2 Mini Straight
*track(length = 54, end1 = "plug", end2 = "plug", cutout = false);
// C2 Mini Straight
*track(length = 54, end1 = "nest", end2 = "nest", cutout = false);
// A3 Middle Straight
*track(length = 72, end1 = "plug", end2 = "nest", cutout = false);
// A1 Short Straight
*track(length = 108, end1 = "plug", end2 = "nest", cutout = false);
// A Medium Straight
*track(length = 144, end1 = "plug", end2 = "nest", cutout = false);
// D Long Straight
*track(length = 216, end1 = "plug", end2 = "nest", cutout = false);
// E Large Curve
*track_arc(angle = 45, radius = 182, end1 = "nest", end2 = "plug", cutout = false, both_sides = true);
// E1 Short Curve
*track_arc(angle = 45, radius = 90, end1 = "nest", end2 = "plug", cutout = false, both_sides = true);
// H Cross
*intersection(angle = 90, lengthA = 108, lengthB = 108, end1A = "nest", end2A = "plug", end1B = "nest", end2B = "plug", both_sides = true);
// H2 Criss Cross
*intersection(angle = 45, lengthA = 144, lengthB = 144, end1A = "nest", end2A = "plug", end1B = "nest", end2B = "plug", both_sides = false);
// L Curved Switch
*switch(angleR = 0, radiusR = 0, endR = "none", angleL = 45, radiusL = 182, endL = "plug", lengthS = 144, endS = "plug", endCommon = "nest", both_sides = true);
// M Curved Switch
*switch(angleR = 0, radiusR = 0, endR = "none", angleL = 45, radiusL = 182, endL = "nest", lengthS = 144, endS = "nest", endCommon = "plug", both_sides = true);
// I Double Curved Switch
*switch(angleR = 45, radiusR = 182, endR = "plug", angleL = 45, radiusL = 182, endL = "plug", lengthS = 144, endS = "plug", endCommon = "nest", both_sides = false);
// J Double Curved Switch
*switch(angleR = 45, radiusR = 182, endR = "nest", angleL = 45, radiusL = 182, endL = "nest", lengthS = 144, endS = "nest", endCommon = "plug", both_sides = false);
// O Short Curved Switch
*switch(angleR = 45, radiusR = 90, endR = "plug", angleL = 45, radiusL = 90, endL = "plug", lengthS = 0, endS = "none", endCommon = "nest", both_sides = false);
// P Short Curved Switch
*switch(angleR = 45, radiusR = 90, endR = "nest", angleL = 45, radiusL = 90, endL = "nest", lengthS = 0, endS = "none", endCommon = "plug", both_sides = false);
// O1 Short Curved Switch
*switch(angleR = 0, radiusR = 0, endR = "none", angleL = 45, radiusL = 90, endL = "plug", lengthS = 108, endS = "plug", endCommon = "nest", both_sides = true);
// P1 Short Curved Switch
*switch(angleR = 0, radiusR = 0, endR = "none", angleL = 45, radiusL = 90, endL = "nest", lengthS = 108, endS = "nest", endCommon = "plug", both_sides = true);