Commit cb954797 authored by Guillaume Seguin's avatar Guillaume Seguin

Document the abs_* properties

parent 8f594cc6
...@@ -147,6 +147,9 @@ class GCode(object): ...@@ -147,6 +147,9 @@ class GCode(object):
est_layer_height = None est_layer_height = None
# abs_x is the current absolute X in machine current coordinate system
# (after the various G92 transformations) and can be used to store the
# absolute position of the head at a given time
def _get_abs_x(self): def _get_abs_x(self):
return self.current_x - self.offset_x return self.current_x - self.offset_x
abs_x = property(_get_abs_x) abs_x = property(_get_abs_x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment