Lead in/out causes Path Simulator error

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Post Reply
charleyann
Posts: 19
Joined: Fri Dec 24, 2021 8:39 pm

Lead in/out causes Path Simulator error

Post 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 272 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)
Post Reply