platform.scad 727 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. include <../assets/platform.scad>
  2. $fn = 100;
  3. platform_mount_object();
  4. top_position_y
  5. = platform_height / 2
  6. + platform_thickness / 2;
  7. top_position_z
  8. = platform_depth / 2
  9. - platform_full_support_depth() / 2;
  10. translate([0, top_position_y, top_position_z]) {
  11. rotate([90, 0, 0]) {
  12. platform_top_object();
  13. }
  14. }
  15. side_position_x
  16. = platform_width / 2
  17. + platform_thickness / 2;
  18. side_position_z
  19. = platform_depth / 2
  20. - platform_full_support_depth() / 2;
  21. translate([side_position_x, 0, side_position_z]) {
  22. rotate([90, 0, 90]) {
  23. platform_side_object();
  24. }
  25. }
  26. translate([-side_position_x, 0, side_position_z]) {
  27. rotate([90, 0, 90]) {
  28. platform_side_object();
  29. }
  30. }
  31. platform_connector();