Loading

MakerBot Print is our newest print-prepration software, which supports native CAD files and STL assemblies,
allows you to interact with all your printers via the Cloud, and many other exciting new features.

Download Now

BouncyMonkey

Parametric Railway Tracks - Curve

by BouncyMonkey Feb 3, 2019
Download All Files

Thing Apps Enabled

Please Login to Comment

What are the chances that this could be modified to provide 3 rails for dual-gauge modeling? I've started playing around with it for standard gauge F scale and I like the track it produces but would like to also make 45/72mm gauge track.

Hi TrotFox
Yep. Works for me. I hadn't thought about the possibilities of adding additional rails. Nice going. Feel free to post your variation up as a new derivative if you like.

Update: Aha! You already have put it up. Cool.

I got so excited when it worked correctly that I lost track of things for a minute. Currently trying to work out how to put together a crossover for the narrow-gauge rails... I'm not sure there aren't too many variables to use OpenSCAD for it though... plus this was the first success I had creating Anything in the language.

A cross over. Hmmm I have been thinking about some more complex pieces myself. The straight cross over should be easy using a variation of the straight track generator (although dragging it into Blender and doing it manually would also be a nice easy solution too). I am currently trying to get my head round bezier curves with the view of ultimately making parametric railway points. I'm impressed with the power of the later versions of OpenSCAD to make quite complex pieces.

I'm going to have to invest some serious time to figuring out how it works. Beyond what I accomplished with your files as seeds I can't seem to get anything done without creating syntax errors..... This is why I went into electro-mechanical devices instead of software. Creating arbitrary paths and extruding along them is super easy in the software I use for work and play but in SCAD I'm having trouble figuring out how it might work.

I know what you mean. Extruding along a path is easy in Blender, but OpenSCAD is lacking that. This may be of interest to you though: https://www.thingiverse.com/thing:186660. This is an extra library for OpenSCAD that will allow you to extrude along a path. For my own explorations into that space I think I'll do it with a whole bunch of little linear extrusions but use a curve formula or bezier to describe the shape so I can achieve a fine resolution. This worked quite successfully with my parametric propellers - http://www.techmonkeybusiness.com/parametric-propellers.html or here: https://www.thingiverse.com/thing:3506692.

Good luck with figuring it out.

Extrude Along Path
by gringer
Parametric Multi-Blade Propellor Generator

Dude... Sweeeeet.

I was going to try extruding along a sequence of straight and curved instructions but I don't know enough about the language yet to understand if that's even a reasonable approach. Thanks for the suggestions!

Blender is another package I need to try out. I'm used to editing in Designspark Mechanical and I professionally use Creo at work.