Path Workbench Code restructuring - heads up

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Path Workbench Code restructuring - heads up

Post by GeneFC »

chrisb wrote: Tue Sep 06, 2022 2:44 pm Until now Path workbench was written in Python. Is this still so? Then I could replace the whole Mod/Path directory to get the new stuff?
I actually tried that first. I simply replaced everything in Mod/Path. It did not work because there are some hooks back into the FreeCAD core that need to be recompiled.

Most of the Path WB source is python, but there are some important C++ portions as well.

I don't know if a more intelligent approach would work.

Gene
mlampert
Veteran
Posts: 1772
Joined: Fri Sep 16, 2016 9:28 pm

Re: Path Workbench Code restructuring - heads up

Post by mlampert »

GeneFC wrote: Tue Sep 06, 2022 2:51 pm
chrisb wrote: Tue Sep 06, 2022 2:44 pm Until now Path workbench was written in Python. Is this still so? Then I could replace the whole Mod/Path directory to get the new stuff?
I actually tried that first. I simply replaced everything in Mod/Path. It did not work because there are some hooks back into the FreeCAD core that need to be recompiled.
The issue was that I could not move the C++ and the Python backed classes into a single namespace without moving the C++ somewhere else first. So unfortunately a recompile is required.

For nerds:
The C++ classes now publish their python bindings in the module "PathApp". The "Path" namespace is now a pure python module which, upon it being imported, imports everything from the "PathApp" module which puts the C++ objects back where they were.
User avatar
sliptonic
Veteran
Posts: 3457
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Path Workbench Code restructuring - heads up

Post by sliptonic »

I found a couple small bugs and mlampert fixed them immediately. Gene found some issues with surface and those were fixed too. Otherwise this has not gotten much comment. So I'm assuming it's all good.

I'll be merging this as soon as mlampert gives me the final go-ahead.

If anyone has concerns, speak now or forever hold your peace.
LarryWoestman
Posts: 98
Joined: Fri Oct 09, 2020 4:56 pm
Location: Oregon, USA

Re: Path Workbench Code restructuring - heads up

Post by LarryWoestman »

So far I have found a couple of trivial bugs that were easily fixed.

Go for it!
mlampert
Veteran
Posts: 1772
Joined: Fri Sep 16, 2016 9:28 pm

Re: Path Workbench Code restructuring - heads up

Post by mlampert »

PR is merged - once it makes it through the pipeline the code structure hopefully makes more sense.
bmsaus4ax
Posts: 255
Joined: Sat Nov 14, 2020 9:16 pm
Location: Bargara, Queensland, Australia UTC+10

Re: Path Workbench Code restructuring - heads up

Post by bmsaus4ax »

Updated FreeCAD via the in program updater and am assuming this includes the recent merge of the code restructuring.
On opening my most recent project the result is as referenced in Gene's earlier post.
.
GeneFC wrote: Tue Sep 06, 2022 1:16 pm As pointed out above the change is rather dramatic. No sense in adding to master until it is quite thoroughly debugged at the PR level.

I have taken a first look. In general it seems to work pretty well for new Path WB jobs, but completely fails to handle existing jobs. They are not even recognized. I do not know if that can be fixed in any way or if some sort of converter might be possible, but that is why the testing period on the PR exists.

Gene
The directory tree structure has exploded, most branch links are broken although some Operations still have some members.
Access to items in Gui is mostly non existent , but using Python Console via Python dot scope shows contents still valid.

ReportView on initial opening of file:

Code: Select all

07:45:09  Recent macros : keyboard shortcut 1 disabled because conflicting with Std_ViewFront
07:45:09  Recent macros : keyboard shortcut 2 disabled because conflicting with Std_ViewTop
07:45:09  Recent macros : keyboard shortcut 3 disabled because conflicting with Std_ViewRight
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJob'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheet'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathStock'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBit'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolController'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathCustom'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupHoldingTags'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupHoldingTags'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathCustom'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBit'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolController'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheet'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJob'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDrilling'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathStock'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBit'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolController'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJob'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheet'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBit'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolController'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathStock'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathCustom'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupHoldingTags'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJob'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheet'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathStock'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBit'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolController'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBit'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolController'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathPocketShape'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSurface'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathCustom'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJob'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheet'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathStock'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBit'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolController'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBit'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolController'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathPocketShape'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSurface'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathCustom'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathProfile'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupHoldingTags'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathProfile'
07:45:15  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupHoldingTags'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJobGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheetGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBitGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolControllerGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupTagGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupTagGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBitGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolControllerGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheetGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJobGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBitGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolControllerGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJobGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheetGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBitGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolControllerGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupTagGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJobGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheetGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBitGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolControllerGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBitGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolControllerGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathJobGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathSetupSheetGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathIconViewProvider'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBitGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolControllerGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolBitGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathToolControllerGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupTagGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathOpGui'
07:45:16  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA0EhgPR/usr/lib/python3.10/site-packages/shiboken2/files.dir/shibokensupport/feature.py", line 139, in _import
    return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'PathScripts.PathDressupTagGui'
This Version:

Code: Select all

OS: Ubuntu 20.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.30669 (Git) AppImage
Build type: Release
Branch: master
Hash: 48b4eed55c05452d2cbabb9a8ba4c75e1a54481e
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/Australia (en_AU)
Installed mods: 
  * fcgear 1.0.0
  * Curves 0.4.4
  * Lithophane
  * CurvedShapes 1.0.3
Version in which file last modified and valid:

Code: Select all

OS: Ubuntu 20.04.5 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.30492 (Git) AppImage
Build type: Release
Branch: master
Hash: b4578fb3eae842eb510a1bc055d07d369a67ce94
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/Australia (en_AU)
Installed mods: 
  * fcgear 1.0.0
  * Curves 0.4.4
  * Lithophane
  * CurvedShapes 1.0.3
mlampert
Veteran
Posts: 1772
Joined: Fri Sep 16, 2016 9:28 pm

Re: Path Workbench Code restructuring - heads up

Post by mlampert »

As mentioned earlier, the refactor breaks all existing Jobs. You'll have to delete all Jobs, their operations and associated objects and create the anew.
bmsaus4ax
Posts: 255
Joined: Sat Nov 14, 2020 9:16 pm
Location: Bargara, Queensland, Australia UTC+10

Re: Path Workbench Code restructuring - heads up

Post by bmsaus4ax »

mlampert wrote: Tue Oct 18, 2022 1:16 am As mentioned earlier, the refactor breaks all existing Jobs. You'll have to delete all Jobs, their operations and associated objects and create the anew.
Or retain working copy of a pre-change AppImage. (My intention)
This covers historical projects for those of us with an archive of jobs.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Path Workbench Code restructuring - heads up

Post by Kunda1 »

mlampert wrote: Tue Oct 18, 2022 1:16 am As mentioned earlier, the refactor breaks all existing Jobs. You'll have to delete all Jobs, their operations and associated objects and create the anew.
Please post link to the previous mention of this. TIA!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply