Back to docs

Nut Wrench
A prpol nut_wrench part

This is what is generated from nut_wrench();.

Customizing nut_wrench with OpenSCAD parameters

nut_wrench is a socket tool for tightening m3 nuts in prpol assemblies. A cylindrical socket has a hex pocket for the nut and a thruhole for the bolt, and a flat handle gives you leverage. Here it is called with every parameter spelled out:

nut_wrench( nut_width = global_default_nut_width, nut_clearance = 0.3, socket_depth = 3, socket_wall = 1.5, socket_height = 20, thruhole_diameter = 3.4, handle_length = 60, handle_width = 12, handle_thickness = 5, chamfer_depth = 0.6, echo_parameters = true );
nut_width nut width across flats in mm (default global_default_nut_width, 5.5 mm, sized for m3 nuts).
nut_clearance extra clearance around the nut inside the socket in mm (default 0.3).
socket_depth depth of the hex socket pocket in mm (default 3).
socket_wall socket wall thickness in mm (default 1.5).
socket_height height of the socket cylinder in mm (default 20).
thruhole_diameter thruhole diameter for the bolt in mm (default 3.4).
handle_length handle length in mm (default 60).
handle_width handle width in mm (default 12).
handle_thickness handle thickness in mm (default 5).
chamfer_depth how deep the chamfers cut in mm (default 0.6).
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:

nut_wrench(); nut_wrench(handle_length = 100);