Sfoglia il codice sorgente

ajout des boucles for pour créer la mire

Jackbot 4 anni fa
parent
commit
aee8fb0897
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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