I made this partly as an exercise in learning OpenSCAD, and partly as a convenient way of adding rails to designs for 3d printable nerf blasters.

There’s several OpenSCAD Picatinny rail generators on printables, but I think mine has the most features. I may have gotten a bit carried away in terms of adding more and more options - so I’m calling this done, at least for now.

I’d be happy to hear suggestions for more features, though it might be a little while before I get around to implementing them.