[SOLVED] Windows 10, OpenCamLib mandatory now??

Here's the place for discussion related to CAM/CNC and the development of the Path module.
RatonLaveur
Posts: 303
Joined: Wed Mar 27, 2019 10:45 am

Re: Windows 10, OpenCamLib mandatory now??

Postby RatonLaveur » Fri May 10, 2019 10:02 am

+1 your working on OCL for Windows has had several professional and personal benefits.
User avatar
Russ4262
Posts: 216
Joined: Sat Jun 30, 2018 3:22 pm

Re: Windows 10, OpenCamLib mandatory now??

Postby Russ4262 » Sun May 12, 2019 3:25 am

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.
apeltauer 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
backport SOLUTION
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
If anyone needs assistance with this solution, please let us know.

Thanks,
Russell
Attachments
PathGuiInit_ocl_patch.py
PathGuiInit_ocl_patch.py
(3.87 KiB) Downloaded 19 times
Last edited by Russ4262 on Wed May 15, 2019 2:43 pm, edited 2 times in total.
User avatar
apeltauer
Posts: 205
Joined: Fri Aug 11, 2017 2:19 pm

Re: Windows 10, OpenCamLib mandatory now??

Postby apeltauer » Sun May 12, 2019 8:34 am

I will try the latest main branch tomorrow and if everything works I will mark the topic as solved...