no pause, just wait

This commit is contained in:
v 2024-12-23 01:43:51 +01:00
parent 84999e277e
commit 6c1cc9c5ad
2 changed files with 4 additions and 5 deletions

View file

@ -21,5 +21,4 @@ with open("FREUDE.gcode", "w") as f:
length = int(duration) * base_duration / 60 * feedrate
position += -length if position > 100 else length
f.write(f"G0 X{position:.6f} Y{position:.6f} F{feedrate} \n")
f.write(f"G4 P{int(int(duration) * base_duration * 50)} ; wait a bit\n")
f.write("G4 ; wait\n")
f.write("G4\n")

View file

@ -44,8 +44,8 @@
2,2
0,2
2,2
-5,2
4,4
-5,4
4,2
4,2
5,2
7,2