//---------- wells (relating to the -ve space in holders) ----------
-module WellSurroundGapElevation(z_bottom, z_edge, z_wayhigh, gap) {
+module WellSurroundGapElevation(z_bottom_def, z_edge, z_wayhigh, gap) {
x_min = gap[0];
x_max = gap[1];
+ z_bottom = is_undef(gap[2]) ? z_bottom_def : z_edge + gap[2];
rectfromto([ x_min, z_bottom ],
[ x_max, z_wayhigh ]);
// Amount by which the object protrudes above z==0
half_height,
// gaps for picking up object, [ [ x_min, x_max ], ... ]
+ // also allowed: [ [ x_min, x_max, z_depth ] ]
gaps,
// screw locations in stride units, [ [ screw, ...], ... ]
// in hull groups (screw receptacles are hulled within each group)
module RatchetHandleHolder() { ////toplevel
WellSurround(ratchet_handle_nom_depth/2, [
- [ -30, -10 ],
+ [ -30, -10, -7 ],
[ 10, 40 ],
], fixing_positions_2row(-7, 4), offset=[-5, 0])
RatchetHandleWell();