暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

fuellfix.scad 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. include <config.scad>;
  2. use <table.scad>;
  3. use <gearbox.scad>;
  4. use <common.scad>;
  5. draw_assembly = true;
  6. module print() {
  7. for (i = [1 : 4])
  8. translate([0, (i - 2) * (real_belt_pulley_dia + 20), 0])
  9. belt_pulley(teethcount, real_belt_pulley_dia, i < 3);
  10. translate([y_carriage_x + real_belt_pulley_dia, 0, y_carriage_h])
  11. rotate([0, 180, 0])
  12. y_carriage(1); // x carriage
  13. translate([10 + 2 * y_carriage_x + real_belt_pulley_dia, 0, y_carriage_h])
  14. rotate([0, 180, 0])
  15. y_carriage(2); // y carriage
  16. translate([y_carriage_x / 2 + real_belt_pulley_dia, -10 - y_carriage_y / 2, 0])
  17. y_carriage_posts();
  18. translate([10 + 3 * y_carriage_x / 2 + real_belt_pulley_dia, -10 - y_carriage_y / 2, 0])
  19. y_carriage_posts();
  20. for (i = [1, -1])
  21. scale([1, i, 1])
  22. translate([20 + 2 * y_carriage_x + real_belt_pulley_dia, 5, 0])
  23. x_carriage_holder();
  24. for (i = [0, 20 + 2 * belt_tensioner_wall + 10])
  25. translate([-real_belt_pulley_dia - 10 - i, 0, 0]) {
  26. translate([0, belt_tensioner_moving_len, belt_tensioner_moving_height / 2])
  27. belt_tensioner_moving();
  28. translate([0, -20, 20 + belt_tensioner_wall])
  29. rotate([0, 180, 0])
  30. belt_tensioner_mount(2);
  31. }
  32. for (i = [0, 70])
  33. translate([-real_belt_pulley_dia - i, belt_tensioner_moving_len + 20, 0])
  34. rotate([0, -90, 0])
  35. motor_mount(2);
  36. for (i = [0, -100])
  37. translate([-real_belt_pulley_dia - 140, belt_tensioner_moving_len + i, endstop_mount_depth])
  38. rotate([-90, 0, 0])
  39. endstop_mount();
  40. }
  41. top_rail_len = x_axis_rail_len + plate_x - 70;
  42. top_rail_height = 200;
  43. top_rail_off = 150;
  44. echo("top rail length", top_rail_len);
  45. module fuellfix_assembly() {
  46. xy_table();
  47. %color("magenta")
  48. dispenser();
  49. translate([0, 0, 200 + 100])
  50. whole_extruder();
  51. translate([-top_rail_len / 2, top_rail_off, top_rail_height])
  52. rail_2020_x(top_rail_len, "top rail");
  53. }
  54. echo(); echo(); echo();
  55. if (draw_assembly) {
  56. fuellfix_assembly();
  57. } else {
  58. //belt_pulley(teethcount, real_belt_pulley_dia, 0);
  59. //x_carriage_holder();
  60. //y_carriage(0);
  61. //endstop_mount();
  62. print();
  63. }
  64. echo(); echo(); echo();