This is still in development - if you find a problem or have suggestions for improvement please send feedback.
The initial inspiration was to create a representation of a coal load or ballast track bed.
The code is capable of generating a simulation of a full coal load, part used coal load or wagon fill, coal pile, flat spread/ballast, straight track base, radius track base.
The track bases can be used to merge with track models before printing or can have a slot cut for using loose track.
Code was initially developed on OpenSCAD version 2021.01 but experienced issues with preview updating and not responding so have been using version 2024.01.06 daily build.
Current known issues;
--
Screen shots which show customizer values and generated output are shown below.
Customiser fille (.json) contains example values
Currently generated stl output has been sliced using Creality slicer 4.8.2 and printed using Ender 3 S1.