Spoked Wheel Too
by BrianM, published
Inspired by Cathral Parametric Spoked Wheel I needed some wagon wheels. I have added to the script to generate a varity of spoked wheels.
This script is somewhat expermental as some of the generated wheels will be difficult to print.
Three types of spokes, Round, Square (actually rectangaular), and Square to Round. First two stright forward, the third the spoke starts off Square at the hub and ends Round at the rim.
To enable the wheels to be printed without support, I have added two options, one to cut off the wheel at the back of the spokes to give a flat start to the print. The other option is to split the wheel in half, print two and stick them together.
Also the script can angle the spokes to form a dish shape wheel, as was a lot of old time wagon wheels. If that wasn't complicated enough, some some wheels had their axles angled to the ground, so the spoke at the bottom of the wheel was vertical, but the one at the top was angled away from the wagon.
$fn is a global OpenSCAD variable determining the number of faces to divide a curved surface into. Higher gives more detailed circular structures (Which is everything in this model but make it too big and it will take some time to render the wheel).
OuterRadius is the measure from the centre of the wheel to the outer edge.
InnerRadius is the measure from the centre of the wheel to the inner edge.
EdgeThickness is how thick the rim of the wheel is.
HubRadius is the measure of the central wheel hub, from the centre to its edge.
HubThickness is how thick the hub is.
Axle is a 1/0 boolean to determine whether there is an axle-hole desired.
AxleRadius is the radius of the WheelAxle, if it is set to 1 above.
SpokeNumber is how many wheel spokes to include.
SpokeRadius is the radius of each cylindrical Spoke.
SpokeAngle is the angle in degrees of the spokes for a dished wheel, 0 degrees for a strights wheel
1 = Round ,uses SpokeRadius
2 = Square ,uses SpokeTenonHeight and Width
3 = Square to round
0 = Full Wheel, may need support while printing
1 = Half Wheel, that is print two, and stick them, together for a full wheel
2 = Split wheel, chops off the back of the while to give a flat back for printing without support
Note: 1 and 2 do not work for angled spokes.
Print and Enjoy.