GCode-Generator/main.py

10 lines
242 B
Python
Raw Normal View History

import hardware as hw
import controller as ctl
import GCode_Interpreterdc as gci
b = "socket.sock"
sh = hw.SimuHardware(b)
ctrl= ctl.DummyController()
gtm1 = gci.GCodeToMotors(ctrl, sh)
gtm1.instruction_converter("G0 X2.000 Y30.000 F1.000")