parametres.scad 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. include <../../../openscad/meca.scad>
  2. include <../../../openscad/math.scad>
  3. use <../../../openscad/Nema17.scad>
  4. include <../../../openscad/module_laser.scad>
  5. use <../../../openscad/fixations.scad>
  6. /**************************************************************
  7. ************************PIÈCES ACHETÉES************************
  8. **************************************************************/
  9. courroie_larg = 10;
  10. /**************************************************************
  11. ***************************CHARIOT X***************************
  12. **************************************************************/
  13. chariot_X_ecart_LM8LUU = 40;
  14. chariot_X_epaisseur = 3;
  15. chariot_X_marge = [4, 2, 6];
  16. chariot_X = [ LM8LUU_long + chariot_X_marge[0],
  17. LM8LUU_diam_ext/2 + chariot_X_marge[1],
  18. chariot_X_ecart_LM8LUU + LM8LUU_diam_ext + chariot_X_marge[2]];
  19. chariot_Y_ecart_poulie = poulie_lisse_GT2_20_dents_diam_ext + 1;
  20. chariot_X_ecart_delta_courroie1 = -chariot_Y_ecart_poulie/2 + poulie_crantee_GT2_20_dents_diam_int/2;
  21. chariot_X_ecart_delta_courroie2 = chariot_Y_ecart_poulie/2 - poulie_lisse_GT2_20_dents_diam_int/2 - courroie_GT2_epais_bande;
  22. courroie_ecart = chariot_X_ecart_delta_courroie2 - chariot_X_ecart_delta_courroie1;
  23. chariot_Y_marge = [4, 6, 6];
  24. chariot_Y_ecart_LM8LUU = chariot_X_ecart_LM8LUU + LM8LUU_diam_ext + 8 + 2;
  25. chariot_Y = [ LM8LUU_diam_ext/2 + chariot_Y_marge[0],
  26. LM8LUU_long + chariot_Y_marge[1],
  27. chariot_Y_ecart_LM8LUU + LM8LUU_diam_ext + chariot_Y_marge[2]
  28. ];
  29. chariot_Y_surplus_fin_de_course = 4;
  30. /**************************************************************
  31. ***************************FIXATION****************************
  32. **************************************************************/
  33. fixation_d1 = 19.6;
  34. fixation_d2 = 30.3;
  35. fixation_diam = (fixation_d2 - fixation_d1)/2;
  36. fixation_ecart_z = fixation_d1 + fixation_diam;
  37. fixation_delta_y = 5.2;
  38. fixation_epaisseur = 1.9;
  39. fixation_long = 71;
  40. fixation_hauteur = 6*fixation_ecart_z;
  41. milieu_Z = fixation_hauteur/2;
  42. /**************************************************************
  43. ****************************MOTEUR*****************************
  44. **************************************************************/
  45. /*le décallage des guides par rapport à l'axe du moteur :
  46. Ce décalage prend en compte la poulie moteur
  47. l'épaisseur de la courroie
  48. et la poulie du chariot Y
  49. */
  50. Moteur_axes_Y_delta_X = poulie_crantee_GT2_12_dents_diam_int/2 + courroie_GT2_epais_bande + poulie_crantee_GT2_20_dents_diam_int/2;
  51. /*pour que la partie moteur ne dépasse pas le chariot Y il faut que :
  52. X = 22.5 + Moteur_axes_Y_delta_X + chariot_Y[0]
  53. Sur l'axe Y, la partie moteur sera simplement la longueur de la fixation
  54. Y = fixation_long
  55. Sur l'axe Z cela dépend de la distance entre les guides :
  56. marge = 20;
  57. Z = chariot_Y_ecart_LM8LUU + marge_Z
  58. */
  59. Moteur_marge_Z = 20;
  60. Moteur_position = [Nema_17_largeur/2 - 22.5 + 1, 0, milieu_Z];
  61. Moteur_taille = [22.5 + Moteur_axes_Y_delta_X + chariot_Y[0] + Moteur_position[0], fixation_long, chariot_Y_ecart_LM8LUU + Moteur_marge_Z];
  62. Moteur_fixation_long = 5;
  63. /*************************************************************
  64. ************************FIN DE COURSE*************************
  65. **************************************************************/
  66. fin_de_course_taille = [40 + 5, 16.5];
  67. fin_de_course_haut = 10;
  68. fin_de_course_entraxe_1 = 15.4;
  69. fin_de_course_entraxe_2 = 22.7;
  70. fin_de_course_diam = 3.5;
  71. /**************************************************************
  72. *************************BLOC POULIES**************************
  73. **************************************************************/
  74. bloc_poulies_taille = [22.5 - 8 + Moteur_axes_Y_delta_X + chariot_Y[0] + Moteur_position[0] - 4, fixation_long, chariot_Y_ecart_LM8LUU + Moteur_marge_Z];