@@ -0,0 +1,614 @@
+#!/usr/bin/env python%0A# coding=UTF-8%0A%22%22%22Module containing Gcode parsing functions%22%22%22%0A%0A__author__ = %22Dylan Armitage%22%0A__email__ = %22d.armitage89@gmail.com%22%0A%0A%0A####---- Imports ----####%0Afrom pygcode import Line, GCodeLinearMove%0A%0Adef bounding_box(gcode_file):%0A    %22%22%22Take in file of gcode, return dict of max and min bounding values%22%22%22%0A    raise NotImplemented%0A%0Adef box_gcode(min_xy, max_xy):%0A    %22%22%22Take in min/max coordinate tuples, return G0 commands to bound it%22%22%22%0A    raise NotImplemented%0A%0Adef mid_gcode(min_xy, max_xy):%0A    %22%22%22Take in min/max coord tuples, return G0 to go to midpoint%22%22%22%0A    raise NotImplemented%0A%0A

CREATE module to parse gcode