refactor
move coordinates from models to utils, deleted models
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
from gcodeextractor.models.Coordinates import Coordinate
|
from gcodeextractor.utils.Coordinates import Coordinate
|
||||||
|
|
||||||
|
|
||||||
def findEndOfLine(image, direction, line, column, sequence):
|
def findEndOfLine(image, direction, line, column, sequence):
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
|
|
||||||
from gcodeextractor.gcode.GcodeCreator import createSequence, findDirection, findEndOfLine
|
from gcodeextractor.gcode.GcodeCreator import createSequence, findDirection, findEndOfLine
|
||||||
from gcodeextractor.models.Coordinates import Coordinate
|
from gcodeextractor.utils.Coordinates import Coordinate
|
||||||
|
|
||||||
|
|
||||||
class TestGcodeCreator(TestCase):
|
class TestGcodeCreator(TestCase):
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
|
|
||||||
from gcodeextractor.gcode.GcodeBuilder import listToGCode
|
from gcodeextractor.gcode.GcodeBuilder import listToGCode
|
||||||
from gcodeextractor.models.Coordinates import Coordinate
|
from gcodeextractor.utils.Coordinates import Coordinate
|
||||||
|
|
||||||
|
|
||||||
class TestListToGCode(TestCase):
|
class TestListToGCode(TestCase):
|
||||||
|
|||||||
Reference in New Issue
Block a user