Hello guys,
I have been investigated the situation as I could, and the following additions I have:
The most commands of the Path workbench of
the Appimage:
Code: Select all
OS: openSUSE Leap 15.3 (GNOME/default)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.19.2)
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
does not work for me, either. (e.g the drilling function, which is not related to opencamlib I think),
while the Path commands of the
compiled version:
Code: Select all
OS: openSUSE Leap 15.3 (GNOME/default)
Word size of FreeCAD: 64-bit
Version: 0.20.25935 (Git)
Build type: Unknown
Branch: master
Hash: 745f8e044d6bef5fe33a75828dfd63dafb500984
Python version: 3.6.13
Qt version: 5.12.7
Coin version: 3.1.3
OCC version: 7.5.3
works pretty well. I mean all commands of the compiled are working in Path wb, except the Opencamlib related ones, and all of opencamlib related commands give similar errors to:
e.g:
Waterline:
Code: Select all
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathOpGui.py", line 1156, in clicked
self.panelGetFields()
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathOpGui.py", line 1171, in panelGetFields
page.pageGetFields()
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathOpGui.py", line 236, in pageGetFields
self.getFields(self.obj)
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathWaterlineGui.py", line 68, in getFields
PathGui.updateInputField(obj, 'BoundaryAdjustment', self.form.boundaryAdjustment)
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathGui.py", line 57, in updateInputField
if not PathGeom.isRoughly(attrValue, value):
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathGeom.py", line 92, in isRoughly
return math.fabs(float1 - float2) <= error
<class 'TypeError'>: unsupported operand type(s) for -: 'float' and 'NoneType'
the
3D Surface:
Code: Select all
Traceback (most recent call last):
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathUtils.py", line 60, in new_function
res = function(*args, **kwargs)
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathOp.py", line 760, in execute
result = self.opExecute(obj) # pylint: disable=assignment-from-no-return
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathSurface.py", line 510, in opExecute
self.cutter = oclTool.getOclTool()
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathSurfaceSupport.py", line 2649, in getOclTool
oclToolMethod()
File "/home/zivatarw/MyDev/freecad-build/Mod/Path/PathScripts/PathSurfaceSupport.py", line 2559, in _oclBallCutter
self.oclTool = self.ocl.BallCutter(
<class 'AttributeError'>: module 'ocl' has no attribute 'BallCutter'
for me it smells like something symlink is not present at its place, or folder/file name is all lowercase and the PathScripts can not find their needed content. Unfortunately i am not good in python (YET), so this is why I ask others who are better than me in this topic.
All the files in the compiled OpenCamLib folder are lowercase in spite of the FreeCAD's camelCase style. I don't know whether it is a useful information.
Kind Regards,
Tivadar