Solid Wheel
solid_wheel() is a wheel with a rounded torus rim, spokes, a central hub, and a lock bore.
Customizing solid_wheel with OpenSCAD parameters
solid_wheel is the standard prpol wheel:
solid_wheel(
size = 7,
thickness = 10,
rim_radius = 8,
axis_bore_diameter = global_default_hole_diameter,
nut_clearance = 0.1,
nut_width = global_default_nut_width,
nut_thickness = 2.25,
nut_offset = 3.5,
hub_diameter = 18,
spoke_count = 5,
spoke_width = 4,
echo_parameters = true
);
| size | the nominal wheel size in 1 cm units. The overall diameter is size * 10 mm (default 7). |
| thickness | wheel thickness in mm (default 10). |
| rim_radius | radius of the rounded torus rim cross section in mm (default 8). |
| axis_bore_diameter | center bore diameter in mm (default global_default_hole_diameter, 3.2 mm, sized for m3 screws). |
| nut_clearance | extra clearance around the nut pocket in mm (default 0.1). |
| nut_width | nut width across flats in mm (default global_default_nut_width, 5.5 mm, sized for m3 nuts). |
| nut_thickness | nut thickness in mm (default 2.25). |
| nut_offset | distance from the lock bore center to the nut pocket center in mm (default 3.5). |
| hub_diameter | central hub diameter in mm (default 18). |
| spoke_count | number of spokes (default 5). |
| spoke_width | spoke width in mm (default 4). |
| 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:
solid_wheel();
solid_wheel(size=10);
solid_wheel(size=10, thickness=15, spoke_count=6);