13,14c13,23 < anvil(); < //pointer([ -31.33, 8.53, 60.00 ], [0,0,0]); --- > hole_pos() > union() > { > cylinder(r=hole_dia/2, h = 20, center=true); > translate([0,0,base_h-hole_cs_depth]) > cylinder(r1=hole_dia/2 - 0.1, r2 = hole_cs_dia, h = 2*hole_cs_depth,center=false); > } > //anvil(); > //pointer($vpt, [0,0,0]); > //[ -26.11, 18.71, 4.56 ] > //[ 21.26, 19.97, 3.39 ] 25a35,39 > //Mounting hole parameters > hole_dia = 4.25; > hole_cs_dia = 9; > hole_cs_depth = 1.4; > 154a169,188 > } > //[ -26.11, 18.71, 4.56 ] > //[ 21.26, 19.97, 3.39 ] > // Mounting hole location parameters > hole_fr_x = -26; > hole_bk_x = 21; > hole_y = 19; > > /* > * This module is an example of using a module when one has > * several operations to do at the same location. It is also > * an example of creating one solid to be used to multiple > * locations > */ > module hole_pos() > { > translate([hole_fr_x,hole_y,0]) children(0); > translate([hole_fr_x,-hole_y,0]) children(0); > translate([hole_bk_x,hole_y,0]) children(0); > translate([hole_bk_x,-hole_y,0]) children(0);