Commit f7d7d620 authored by Guillaume Seguin's avatar Guillaume Seguin

Merge branch 'master' of github.com:kliment/Printrun

parents e837a271 893202d6
......@@ -197,6 +197,12 @@ class GCode(object):
self._preprocess_layers()
else:
self.lines = []
self.append_layer_id = 0
self.append_layer = Layer([])
self.all_layers = [self.append_layer]
self.layers = {}
self.layer_idxs = array('I', [])
self.line_idxs = array('I', [])
def __len__(self):
return len(self.line_idxs)
......
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