Back to docs

Flat Angle

The angle parameter of flat_angle() sets the angle between the two arms.

Customizing flat_angle with OpenSCAD parameters

flat_angle is a plate bent into two arms that meet at a configurable angle:

flat_angle( angle = 60, length1 = 5, length2 = 5, plate_thickness = 2.5, hole_diameter = 3.2, chamfer_depth = 0.75, hole_faces = 20, echo_parameters = true );
angle the angle between the two arms in degrees (default 60).
length1 the first arm length in 1 cm units (default 5).
length2 the second arm length in 1 cm units (default 5).
plate_thickness plate thickness in mm (default 2.5).
hole_diameter mounting hole diameter in mm (default 3.2, sized for m3 screws).
chamfer_depth edge chamfer in mm (default 0.75).
hole_faces the number of sides used for the round holes (default 20). Higher values give smoother holes but slower renders.
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:

flat_angle(); flat_angle(angle=45); flat_angle(angle=90, length1=4, length2=2);