[SOLVED] Windows 10, OpenCamLib mandatory now??
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 991
- Joined: Wed Mar 27, 2019 10:45 am
Re: Windows 10, OpenCamLib mandatory now??
+1 your working on OCL for Windows has had several professional and personal benefits.
Re: Windows 10, OpenCamLib mandatory now??
APeltauer,
I noticed a recent PR to fix this PathWB dependency on OCL. As of the recent PR #2157, OCL is not required to use the PathWB.
This will not help users of versions prior to the recent PR, but it will SOLVE the problem moving forward. For that reason, I think this topic may deserve a title change to include [SOLVED], so long as readers of this topic understand that the issue is only fixed beginning in pre_0.19 releases after about 0.19.16699, roughly.
ATTENTION users of older versions prior to the release version mentioned above.
This patch is to allow EXPERIMENTAL FEATURES WORKBENCH to display without OCL.
If you are unable to use the PathWB due to the OCL dependency error (can't import ocl), you can easily fix the issue if you are willing to download and replace a file in your FreeCAD/Mod/Path/PathScripts folder with a patched version. Be aware that you will not be able to use the experimental feature: 3D Surface without OCL installed; however, the remainder of the PathWB should be operational for you!
Follow these steps to install the patch:
Thanks,
Russell
I noticed a recent PR to fix this PathWB dependency on OCL. As of the recent PR #2157, OCL is not required to use the PathWB.
This will not help users of versions prior to the recent PR, but it will SOLVE the problem moving forward. For that reason, I think this topic may deserve a title change to include [SOLVED], so long as readers of this topic understand that the issue is only fixed beginning in pre_0.19 releases after about 0.19.16699, roughly.
backport SOLUTIONapeltauer wrote: ↑Thu May 09, 2019 11:26 am Hi Path/CAM dev team,
i have the following problem:
see this topic: https://forum.freecadweb.org/viewtopic.php?f=4&t=36230
ATTENTION users of older versions prior to the release version mentioned above.
This patch is to allow EXPERIMENTAL FEATURES WORKBENCH to display without OCL.
If you are unable to use the PathWB due to the OCL dependency error (can't import ocl), you can easily fix the issue if you are willing to download and replace a file in your FreeCAD/Mod/Path/PathScripts folder with a patched version. Be aware that you will not be able to use the experimental feature: 3D Surface without OCL installed; however, the remainder of the PathWB should be operational for you!
Follow these steps to install the patch:
- download the attached 'PathGuiInit_ocl_patch.py' script
- navigate to your FreeCAD binary folder
- navigate to 'Mod/Path/PathScripts'
- rename your current 'PathGuiInit.py' file to save it
- paste the patched version you downloaded into the same location
- rename the patched version to the original, 'PathGuiInit.py'
- restart FreeCAD
Thanks,
Russell
- Attachments
-
- PathGuiInit_ocl_patch.py
- PathGuiInit_ocl_patch.py
- (3.87 KiB) Downloaded 77 times
Last edited by Russ4262 on Wed May 15, 2019 2:43 pm, edited 2 times in total.
Re: Windows 10, OpenCamLib mandatory now??
I will try the latest main branch tomorrow and if everything works I will mark the topic as solved...