Files
klipper/test/klippy/polar.test
T
Neelix 373f200ca6 polar: add velocity scaling (#7172)
Print near the origin lead in to fast motor movements, therefore the
movement needs to be scaled down. The start of the scaling is done via
a rotation velocity limit from the config.

Signed-off-by: Nils Hensch <nils.hensch@gmx.de>
2026-04-16 10:52:33 -04:00

117 lines
1.2 KiB
Plaintext

# Test case for basic movement on polar printers
CONFIG ../../config/example-polar.cfg
DICTIONARY atmega2560.dict
; Start by homing the printer.
G28
G90
G1 F6000
; Z / X / Y moves
G1 Z1
G1 X1
G1 Y1
; Delayed moves
G1 Y2
G4 P100
G1 Y1.5
M400
G1 Y1
; diagonal moves
G1 X10 Y0
G1 X1 Z2
G1 X0 Y1 Z1
; extrude only moves
G1 E1
G1 E0
; regular extrude move
G1 X10 Y0 E.01
; Multiple rotations
g1 X10 Y10
g1 X-10 Y10
g1 X-10 Y-10
g1 X10 Y-10
g1 X10 Y15
g1 X-10 Y15
g1 X-10 Y-15
g1 X10 Y-15
g1 X10 Y20
g1 X-10 Y20
g1 X-10 Y-20
g1 X10 Y-20
g1 X10 Y25
g1 X-10 Y25
g1 X-10 Y-25
g1 X10 Y-25
; Multiple rotations in reverse direction
g1 X-15 Y-25
g1 X-15 Y25
g1 X15 Y25
g1 X15 Y-25
g1 X-20 Y-25
g1 X-20 Y25
g1 X20 Y25
g1 X20 Y-25
g1 X-25 Y-25
g1 X-25 Y25
g1 X25 Y25
g1 X25 Y-25
g1 X-30 Y-25
g1 X-30 Y25
g1 X30 Y25
g1 X30 Y-25
; Moves near center - straight lines on axis
g1 X30 Y0
g1 X1 Y0
g1 X30 Y0
g1 X0 Y30
g1 X0 Y1
g1 X0 Y30
g1 X-30 Y0
g1 X-1 Y0
g1 X-30 Y0
g1 X0 Y-30
g1 X0 Y-1
g1 X0 Y-30
; Moves near center
g1 X30 Y1
g1 X-30 Y1
g1 X30 Y1
g1 X30 Y-1
g1 X-30 Y-1
g1 X30 Y-1
g1 X1 Y30
g1 X1 Y-30
g1 X1 Y30
g1 X-1 Y30
g1 X-1 Y-30
g1 X-1 Y30
g1 X30 Y5
g1 X-30 Y-1
g1 X30 Y5
g1 X5 Y30
g1 X-1 Y-30
g1 X5 Y30