- rotate([-atan(rack_shear_ratio), 0,0])
- translate([0, rack_rail_y, brk_block_z/2 + rack_rail_y*rack_shear_ratio]) {
- for (m=[0]) mirror([m,0,0]) {
- linextr(-50, 50 + rear_to_cross_rail)
- translate([rack_rail_x, 0])
- circle(r= rack_rail_dia/2);
- }
- translate([0,0, rear_to_cross_rail])
- linextr_x_yz(rack_rail_x, -rack_rail_x)
+ rotate([atan(
+ front_to_rear_elevation_change /
+ cross_rail_distance
+ ), 0,0])
+ translate([0, rack_rail_y, brk_block_z/2 + rack_rail_y*rack_shear_ratio])
+ children();
+}
+
+module RackForDemoRails(){
+ ForRackForDemo() {
+ for (m=[0]) mirror([m,0,0]) {
+ linextr(-(50 + cross_rail_distance), 50 + rear_to_cross_rail)
+ translate([rack_rail_x, 0])