sivicncdriver.ui.preprocessor module

The preprocessor module

Provides the PreprocessorDialog class.

class sivicncdriver.ui.preprocessor.PreprocessorDialog(gcode, parent=None)[source]

Bases: PyQt5.QtWidgets.QDialog, sivicncdriver.ui.preprocessor_window.Ui_dialog

The preprocessor dialog.

accept()[source]
cancel()[source]
get_minimize_bounding_box()[source]

Computes a new origin for the drawing.

remove_useless()[source]

Remove useless things in the code according to the UI options.

run_preprocessor()[source]

Runs the preprocessor on the G-Code.