Boy I hate it when people say, "one small bug..."

Sorry, i know that feeling

(i am a PLC programmer/Mechatronics engineer)
I can't duplicate your specific simulation bug because of unknown toolbits/shapefiles and this might be part of the problem as you're seeing it
I use the endmill shape from Mod\Path\Tools\Shape
I know now when the simulation errors out with this error:
Code: Select all
21:06:35 Running the Python command 'Path_Simulator' failed:
Traceback (most recent call last):
File "C:\Users\flori\Git Projekts\FreeCAD\FreeCAD\build\Mod\Path\PathScripts\PathSimulatorGui.py", line 533, in Activated
pathSimulation.Activate()
File "C:\Users\flori\Git Projekts\FreeCAD\FreeCAD\build\Mod\Path\PathScripts\PathSimulatorGui.py", line 88, in Activate
self.SimulateMill()
File "C:\Users\flori\Git Projekts\FreeCAD\FreeCAD\build\Mod\Path\PathScripts\PathSimulatorGui.py", line 178, in SimulateMill
self.SetupSimulation()
File "C:\Users\flori\Git Projekts\FreeCAD\FreeCAD\build\Mod\Path\PathScripts\PathSimulatorGui.py", line 114, in SetupSimulation
self.SetupOperation(0)
File "C:\Users\flori\Git Projekts\FreeCAD\FreeCAD\build\Mod\Path\PathScripts\PathSimulatorGui.py", line 138, in SetupOperation
raise RuntimeError("Path Simulation: Error in tool geometry - {}".format(self.tool.Name))
Path Simulation: Error in tool geometry - ToolBit
To get the error the shank diameter and the diameter of the cutting edge have the same diameter (like most endmills do). I guess its an error in the sketch of the Toolshape (the points of the line are on the same position).
Code: Select all
21:06:16 Updating geometry: Error build geometry(7): Both points are equal
21:06:16 Invalid solution from DogLeg solver.
It also happens on newly created tools
If i edit or create it with different diameters it works as expected
About this bug:

- 2020-11-10 21_25_48-FreeCAD 0.19.png (54.46 KiB) Viewed 203 times
I guess the shapefile is only updated when i double-click on here

- 2020-11-10 21_27_04-FreeCAD 0.19.png (22.65 KiB) Viewed 203 times
and not when i click ok in the edit task window.
When i open the edit task a second time without editing --> everything is fine again
Hope this helps
Florian
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22895 +9 (Git)
Build type: Release
Branch: pr/sliptonic/4014
Hash: f2d7979b3fc8c07f8890a0b6dce11c22603f81b1
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Austria (de_AT)