# Synovial joint teaching model - SADDLE joint (like the base of the thumb)
# Two curved saddles sit across each other at 90 degrees - the top one rocks side to side and front to back.
# SIMPLIFIED TEACHING MODEL - not anatomically exact. Educational use only; not a medical device.
# All-printed, working joint. Clearance set by $GAP - tune for your printer.
# NOTE: the rotate angles are tuned for the default radii; keep 110 degrees if you change them.
$GAP = 0.5

$SADR = 18
$SADT = 3
$SADW = 34
$SADR2 = 16
$SADW2 = 24

/parametric box 46 4 46
/move 0 2 0
/tag_last base
/setprop @base color #d9d9d9
# lower saddle - open trough, channel along Z (fused to the base)
/parametric bend $SADR $SADT $SADW 110
/rotate -90 125 0
/move 0 24.5 0
/tag_last saddlelow
/setprop @saddlelow color #f5f0e6
# upper saddle - same curve, smaller radius for clearance, across at 90 degrees (free moving part)
/parametric bend $SADR2 $SADT $SADW2 110
/rotate 145 0 90
/move 0 26 0
/tag_last saddleup
/setprop @saddleup color #2e6fb7
# palm plate - fuses to the upper saddle rim ledges, rocks with it
/parametric box 38 3 38
/move 0 18.1 0
/tag_last palm
/setprop @palm color #2e6fb7
/view iso
/view fit
