소스 검색

ajout des boucles for pour créer la mire

Jackbot 4 년 전
부모
커밋
aee8fb0897
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      etalonnage/mire.sh

+ 2 - 1
etalonnage/mire.sh

@@ -108,7 +108,8 @@ verification "$TAILLE" "taille" 100
 TAILLE=$VALEUR
 echo -e "taille=$TAILLE"
 
-echo $longueur
+longueur=$(echo "scale=1; $TAILLE/16.0" | bc)
+echo -e "longueur=$longueur"
 
 echo -e "G91\nG21\nG0 Z $FOCALE" > sortie.gcode
 echo -e "G1 F$VITESSE\n" >> sortie.gcode