mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-10-20 08:47:05 +00:00
limit min velocity
This commit is contained in:
1 parent
1c88c8ad41
commit
e441b5dc1f
3 files changed
+5
-2
No files matched your search
+2
-2
@@ -324,8 +324,8 @@ class GMachine(object):
|
||||
radius = gcode.radius(Coordinates(0.0, 0.0, 0.0, 0.0),
|
||||
self._convertCoordinates)
|
||||
# check parameters
|
||||
if velocity <= 0:
|
||||
raise GMachineException("negative feed speed")
|
||||
if velocity < MIN_VELOCITY_MM_PER_MIN:
|
||||
raise GMachineException("feed speed too low")
|
||||
# select command and run it
|
||||
if c == 'G0': # rapid move
|
||||
vl = max(MAX_VELOCITY_MM_PER_MIN_X,
|
||||
|
||||
Reference in new issue
Block a user