"Index out of range" when simulating engraving path

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
drosenbauer
Posts: 1
Joined: Thu Jun 03, 2021 7:03 pm

"Index out of range" when simulating engraving path

Post by drosenbauer »

I have set up a basic text engraving path, following along with a Youtube video tutorial. On clicking into the Simulate screen and then the Play button, I receive the following in the output console:
15:10:40 Traceback (most recent call last):
15:10:40 File "/Applications/FreeCAD.app/Contents/Resources/Mod/Path/PathScripts/PathSimulatorGui.py", line 313, in PerformCut
15:10:40 self.PerformCutVoxel()
15:10:40 File "/Applications/FreeCAD.app/Contents/Resources/Mod/Path/PathScripts/PathSimulatorGui.py", line 276, in PerformCutVoxel
15:10:40 cmd = self.opCommands[self.icmd]
15:10:40 IndexError: list index out of range
The play button goes gray as though the play proceeds, and eventually "finishes", but nothing changes in the display.

Is this a bug? Am I doing something wrong?

Installation details:

OS: macOS 10.16
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: (HEAD detached at 0.19.1)
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
chrisb
Veteran
Posts: 54225
Joined: Tue Mar 17, 2015 9:14 am

Re: "Index out of range" when simulating engraving path

Post by chrisb »

Moved to Path forum.

Hi and welcome to the forum!

Can you upload the file?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
dubstar-04
Posts: 698
Joined: Mon Mar 04, 2013 8:41 pm
Location: Chester, UK
Contact:

Re: "Index out of range" when simulating engraving path

Post by dubstar-04 »

drosenbauer wrote: Thu Jun 03, 2021 7:14 pm I have set up a basic text engraving path, following along with a Youtube video tutorial. On clicking into the Simulate screen and then the Play button, I receive the following in the output console:
15:10:40 Traceback (most recent call last):
15:10:40 File "/Applications/FreeCAD.app/Contents/Resources/Mod/Path/PathScripts/PathSimulatorGui.py", line 313, in PerformCut
15:10:40 self.PerformCutVoxel()
15:10:40 File "/Applications/FreeCAD.app/Contents/Resources/Mod/Path/PathScripts/PathSimulatorGui.py", line 276, in PerformCutVoxel
15:10:40 cmd = self.opCommands[self.icmd]
15:10:40 IndexError: list index out of range
The play button goes gray as though the play proceeds, and eventually "finishes", but nothing changes in the display.

Is this a bug? Am I doing something wrong?

Installation details:

OS: macOS 10.16
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: (HEAD detached at 0.19.1)
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.8
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
Are you able to upload your file?

It looks like the operation has no valid path / commands.

Thanks,

Dan
Post Reply