Hello gents,
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19327 (Git)
Build type: Release
Branch: master
Hash: 65c4e1bd11e0820cd1f1d6577d23bf9cdbb54247
Python version: 3.7.3
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Switzerland (en_CH)
for some reason on this version 0.19 pre when I open path and type into the python console "import ocl" OCL isnt found. It used to be pre-packaged, am I doing something wrong?
I do have the EnableExperimentalFeatures set to true (which has no bearing on OCL) but that's when I realized I still dont have access to 3D surface.
Can you help?
EDIT: marked as solved
[SOLVED] Cannot find OCL on recent version
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
[SOLVED] Cannot find OCL on recent version
Last edited by RatonLaveur on Sun Feb 23, 2020 10:55 pm, edited 1 time in total.
Re: Cannot find OCL on recent version
I have a few packages from the freecad-community PPA, and it looks like the python-opencamlib I have installed only has files for python 2.7; apt's history log says I updated it on February 8, not sure if it worked before nevermind, that's when I upgraded to ubuntu 18.04, that package hasn't been rebuilt since 2018 or so
do you have any kind of python console on windows? I mean, apart from the one in freecad... is the library somewhere in sys.path?
do you have any kind of python console on windows? I mean, apart from the one in freecad... is the library somewhere in sys.path?
-
- Posts: 991
- Joined: Wed Mar 27, 2019 10:45 am
Re: Cannot find OCL on recent version
I'll go check as soon as I'm back on the old cow.
Re: Cannot find OCL on recent version
Evening Sir,
This has been an issue in the Windows builds for a while now.
I've been going back to older binaries that I keep and copying the file, `ocl.pyd`. Go to the main directory of a previous FreeCAD binary with OCL working, and search for the file. Copy it. Paste it in the `lib` directory of the root FreeCAD directory of current nightly builds.
I have sent a PM to
Russ
This has been an issue in the Windows builds for a while now.
RatonLaveur wrote: ↑Fri Feb 14, 2020 8:54 am Hello gents,
...
for some reason on this version 0.19 pre when I open path and type into the python console "import ocl" OCL isnt found. It used to be pre-packaged, am I doing something wrong?
I do have the EnableExperimentalFeatures set to true (which has no bearing on OCL) but that's when I realized I still dont have access to 3D surface.
Can you help?
I've been going back to older binaries that I keep and copying the file, `ocl.pyd`. Go to the main directory of a previous FreeCAD binary with OCL working, and search for the file. Copy it. Paste it in the `lib` directory of the root FreeCAD directory of current nightly builds.
I have sent a PM to
about the issue.sgrogan wrote:@SGrogan
Russ
-
- Posts: 991
- Joined: Wed Mar 27, 2019 10:45 am
Re: Cannot find OCL on recent version
Yes, that's what i did. Thanks for confirming and thank you for pinging sgrogan.
Re: Cannot find OCL on recent version
Should be fixed now. ocl build is also available here:https://github.com/sgrogan/opencamlib/r ... ag/8612634
"fight the good fight"
Re: Cannot find OCL on recent version
this thread got me to finally look into getting OCL ubuntu packages for python3 building
hopefully it will make into the freecad-community PPA soon:
https://forum.freecadweb.org/viewtopic. ... 33#p369333
hopefully it will make into the freecad-community PPA soon:
https://forum.freecadweb.org/viewtopic. ... 33#p369333