sivicncdriver.thread_send module

class sivicncdriver.thread_send.SendThread(serial_manager, gcode)[source]

Bases: PyQt5.QtCore.QThread

A thread to send a list of instructions without blocking the main thread.

confirm(st)[source]

Receive confirmation from the readThread.

Parameters:st – Everything ok ?
read_allowed
run()[source]

Runs the thread.

The commands are sent using the serial manager. If an error occurs or if the thread is stopped by the user, then it quits.

stop()[source]

A simple slot to tell the thread to stop.

update_progress