diff --git a/utils/gui/pyqt/main_window/Workers/PreProcessWorker.py b/utils/gui/pyqt/main_window/Workers/PreProcessWorker.py index 546bf40..389d7e9 100644 --- a/utils/gui/pyqt/main_window/Workers/PreProcessWorker.py +++ b/utils/gui/pyqt/main_window/Workers/PreProcessWorker.py @@ -16,8 +16,10 @@ class PreProcessWorker(Worker): :param name: The name of the worker :param objpath: The path to the 3d object + :param discretisation_value: The delta z :ivar objpath: The path to the 3d object + :ivar deltaZ: The delta z :ivar progress_value: The current progress value :ivar progress_weight: The weight of the progress bar :ivar processed_obj: The signal to emit the processed object @@ -35,8 +37,9 @@ class PreProcessWorker(Worker): def run(self): """ - Pre process the object, read the file, verticalise it and normalise it - Emit the processed object in the processed_obj signal + This function is called when the thread is started. + It reads the file specified in the objpath, parses it, verticalises it and normalises it. + It then emits the processed object. """ # Read the file self.set_status("Loading file...")