OpenSCAD V-rail extrusion library

This lightweight library for use in OpenSCAD produces the V-Rail extrusions used in a lot of projects. This particular version is kept small and fast by re-using the most basic repeated geometry present in the rail. Since the math is kept to a minimum, it will render and display quickly.

Usage:

  • Place file in your OpenSCAD library folder or local project folder.
  • Add the library to your project.

use <v_rail_extrusion.scad>;
v_rail_extrusion(size, height, smoothing);

Parameters:

  • size
    (in mm) the profile size (square) of the extrusion
    default: 20
  • height
    (in mm) the length of an extrusion to produce
    default: 100
  • smoothing
    (boolean) smooth the outer corners of the extrusion?
    default: true