}
FamLinextr(){
- if ($foreaftmaint_rail_z > foreaftmaint_top_block_zs[0] - bolt_z) {
+ if ($foreaftmaint_top_block) {
rectfromto([ -foreaftmaint_top_block_zs[0] + bolt_z, 0 ],
[ -foreaftmaint_top_block_zs[1] + bolt_z, block_y_min] );
}
module Front(){ ////toplevel
// xxx elevation is wrong
Principal($reverse_sign = -1,
+ $foreaftmaint_top_block = false,
$elevation_nominal=
elevation_of_bolt_for(rear_to_cross_rail + rear_bolt_to_front_bolt),
$foreaftmaint_dz= front_to_cross_rail);
module Rear(){ ////toplevel
Principal($reverse_sign = +1,
+ $foreaftmaint_top_block = true,
$elevation_nominal=
elevation_of_bolt_for(rear_to_cross_rail),
$foreaftmaint_dz= rear_to_cross_rail);