Page 1 of 1

Lead in/out causes Path Simulator error

Posted: Thu Jun 16, 2022 2:24 pm
by charleyann
This is in the .20 release. Adding the lead in/out dressup stops the simulation from running. If the dressup is removed the simulation runs ok.

Code: Select all

07:14:07  Traceback (most recent call last):
07:14:07    File "/app/freecad/Mod/Path/PathScripts/PathSimulatorGui.py", line 411, in PerformCut
07:14:07      self.PerformCutVoxel()
07:14:07    File "/app/freecad/Mod/Path/PathScripts/PathSimulatorGui.py", line 357, in PerformCutVoxel
07:14:07      dz = (cmd.z - self.curpos.Base.z) / n
07:14:07  TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'
leadinError.png
leadinError.png (86.79 KiB) Viewed 736 times

Code: Select all

OS: KDE Flatpak runtime (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.9, Qt 5.15.4, Coin 4.0.0, Vtk 8.2.0, OCC 7.6.2
Locale: English/United States (en_US)