// -*- C -*- laptop_w = 310; laptop_th_rear = 14; laptop_th_front = 11; include bar_w = 20; bar_th = 10; flex_allow = 3; claw_th = 5; claw_overlap = 10; module ClawProfile(laptop_th){ laptop_zmin = bar_th + flex_allow; laptop_zmax = laptop_zmin + laptop_th; difference(){ rectfromto([-claw_overlap, 0], [claw_th, laptop_zmax + claw_th]); rectfromto([-claw_overlap-1, laptop_zmin ], [ 0, laptop_zmax ]); } } ClawProfile(laptop_th_front);