2c2 < translate([ -5.34, 3.50, -0.54 ]) --- > #translate([ -5.34, 3.50, -0.54 ]) 5c5,7 < anvil(); --- > //anvil(); > pointer($vpt, [0,0,0]); > //[ -41.33, 8.53, 60.00 ] 26c28 < #union() --- > union() 39c41,67 < } \ No newline at end of file --- > } > > /* > * This module creates a pointer to make measurements. The point is a very small > * cube with center = false. That puts the corner of the cube at the origin. During > * measurement this point will be at $vpt. To make the pointer visible we hull the > * small cube with a larger one placed roughly along the line of the center of the small > * cube. This puts the body of the pointer in the first quadrant. > * > * The trans parameter determines where the point is placed. Normally we will pass > * $vpt as this parameter. That will allow interactive measurement. The rot parameter > * allows us to rotate the body of the pointer for the best angle. For example, > * if there is a solid in the first quadrant, the point needs to come from a different > * quadrant. > */ > module pointer(trans = [0,0,0],rot = [0,0,0]) > { > > %translate(trans) rotate(rot) > hull() > { > cube(0.01, center = false); > translate([10,10,10]) > cube(5); > } > } >