Straight Marble Track
straight_marble_track() is a marble trough with rounded lips.
Customizing straight_marble_track with OpenSCAD parameters
straight_marble_track is a trough with rounded lips on both sides. The lip placement angles set where the gaps in the lips sit, which is where marbles enter and exit.
The mounting holes at each end are 200 mm apart horizontally and 10 mm apart vertically.
Here it is called with every parameter spelled out:
straight_marble_track(
inner_diameter = 18,
wall_thickness = 2,
left_lip_placement_angle = 180,
right_lip_placement_angle = 0,
mirrored = false,
echo_parameters = true
);
| inner_diameter | inner diameter of the marble trough in mm (default 18). |
| wall_thickness | trough wall thickness in mm (default 2). |
| left_lip_placement_angle | angle in degrees where the left lip gap sits (default 180). |
| right_lip_placement_angle | angle in degrees where the right lip gap sits (default 0). |
| mirrored | when true, mirrors the track (default false). |
| echo_parameters | when true (default), the OpenSCAD console echoes the full parameter list when you preview or render the module. |
If you leave a parameter out of the module call, that parameter will just have the default value. For example, these are all valid module calls:
straight_marble_track();
straight_marble_track(inner_diameter=20);
straight_marble_track(mirrored=true);