// -*- C -*- whole_depth = 90; whole_width = 120; antifoot_width = 15; antifoot_height = 15; antifoot_slope = 1.0; antifoot_depth = 10; antifoot_base = 8; antifoot_front = 5; antifoot_back = antifoot_depth + antifoot_height/antifoot_slope; module AntiFoot(){ translate([-antifoot_front-antifoot_back, antifoot_width/2, 0]) rotate([90,0,0]) translate([antifoot_front, antifoot_base, 0]) linear_extrude(height=antifoot_width) polygon([[-antifoot_front, -antifoot_base], [-antifoot_front, antifoot_height], [0, antifoot_height], [0, 0], [antifoot_depth, 0], [antifoot_back, antifoot_height], [antifoot_back, -antifoot_base]]); } module LeftLeg(){ effective_depth = whole_depth - antifoot_back; translate([-effective_depth, -whole_width/2, 0]) AntiFoot(); } module RightLeg(){ mirror([0,1,0]) LeftLeg(); } module Stand(){ LeftLeg(); RightLeg(); } Stand();