Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
function elevation_of_bolt_for(z) = rear_elevation_nominal
- (z - brk_block_z/2) * rack_shear_ratio;
+function rack_rail_y_of_elevation(elevation_nominal) =
+ brk_bottom_y - elevation_nominal - general_gap_y - rack_rail_dia/2;
+
echo(rack_shear_ratio);
module GraspElevation(){
module Principal(){
// calculated
- $rack_rail_y = brk_bottom_y - $elevation_nominal
- - general_gap_y - rack_rail_dia/2;
+ $rack_rail_y = rack_rail_y_of_elevation($elevation_nominal);
$strap_barrel_y = $rack_rail_y + rack_rail_dia/2 + strap_barrel_dia/2;