FreeCAD: master 5162f146

Author Committer Branch Timestamp Parent
GeneFC GeneFC master 2020-06-10 17:51:09 master 11a2b948
Changeset Path Simulator - Recognition of canned cycle cancellation

The Path Simulator was designed to handle canned cycle drilling operations, G81, G82, and G83, but it expects the industry standard continuous uninterrupted set of G8x commands until the operation is completed. A recent change to the Path Drilling operation adds commands that cancel each G8x command immediately after that command is used. This confuses the Path Simulation function and leads to visual artifacts when the simulation is performed.

G-code standards say that canned cycle cancellation can be accomplished by a specific G80 command or by any motion command in the set G0, G1, G2, or G3. This PR modifies PathSimulationGui.py to add recognition for canned cycle cancellation and resets the simulator to treat the next G8x command as the first element of a new series of canned cycles operations rather than a continuation of the previous series.
mod - src/Mod/Path/PathScripts/PathSimulatorGui.py Diff File