mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-10-21 08:48:13 +00:00
run on oses without /proc/cpuinfo and fix lines width
This commit is contained in:
1 parent
fdd2c4b059
commit
129d26ed5e
4 files changed
+31
-26
No files matched your search
+2
-2
@@ -241,8 +241,8 @@ class GMachine(object):
|
||||
def safe_zero(self, x=True, y=True, z=True):
|
||||
""" Move head to zero position safely.
|
||||
:param x: boolean, move X axis to zero
|
||||
:param y: boolean, move X axis to zero
|
||||
:param z: boolean, move X axis to zero
|
||||
:param y: boolean, move Y axis to zero
|
||||
:param z: boolean, move Z axis to zero
|
||||
"""
|
||||
if x and not y:
|
||||
self._move_linear(Coordinates(-self._position.x, 0, 0, 0),
|
||||
|
||||
Reference in new issue
Block a user