When I open the same file in 0.20 (current daily), it still opens and displays fine, but upon clicking "recompute" on the drilling operation it creates a traceback:
Code: Select all
Traceback (most recent call last):
File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathUtils.py", line 71, in new_function
res = function(*args, **kwargs)
File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathOp.py", line 819, in execute
result = self.opExecute(obj)
File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathCircularHoleBase.py", line 194, in opExecute
self.circularHoleExecute(obj, holes)
File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathDrilling.py", line 253, in circularHoleExecute
PathFeedRate.setFeedRate(self.commandlist, obj.ToolController)
File "/usr/share/freecad-daily/Mod/Path/PathFeedRate.py", line 80, in setFeedRate
if _isVertical(machine.getPosition(), command):
File "/usr/share/freecad-daily/Mod/Path/PathFeedRate.py", line 72, in _isVertical
return PathGeom.isVertical(Part.makeLine(currentposition, endpoint))
File "/usr/share/freecad-daily/Mod/Path/PathScripts/PathGeom.py", line 180, in isVertical
if type(obj.Curve) == Part.Line or type(obj.Curve) == Part.LineSegment:
<class 'Base.FreeCADError'>: Unknown exception while reading attribute 'Curve' of object 'TopoShape'
Code: Select all
OS: Ubuntu 21.10 (ubuntu:GNOME/ubuntu-xorg)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: c360c6e5f5a8cee3bd85c01cf97128a0b9e0e169
Python 3.9.7, Qt 5.15.2, Coin 4.0.0, OCC 7.5.2
Locale: C/Default (C)
Installed mods:
* FreeCAD_assembly3 0.11.0