Broken path

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
freman
Veteran
Posts: 2214
Joined: Tue Nov 27, 2018 10:30 pm

Broken path

Post by freman »

On opening the attached file I get the following errors, though it looks OK in 3D view.

Code: Select all

Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
Enumeration index -1 is out of range, ignore it
On selecting "central-hole-Pocket" in Operations I get errors in report window.

Code: Select all

PathOpGui.INFO: Title: 'Pocket Shape'
Pocketing Select Mode
PathPocketShape.ERROR: getDirection(): tangent.cross(FreeCAD.Vector(0, 0, 1)).normalize()
PathPocketShape.ERROR: Cannot normalize null vector
PathPocketShape.ERROR: extendWire(): (ePts[0] - endPts[0]).Length
PathPocketShape.ERROR: list index out of range
PathPocketShape.ERROR: extendWire(): (ePts[0] - endPts[0]).Length
PathPocketShape.ERROR: list index out of range

The path looks to be as expected but I can't find out how to clean up the file to get rid of the errors. ( The gcode seems to make GRBL barf too, so I'm guessing I can't brush this under the rug. )

I previously had tried to add a third operation to face the surface but it did not work out so I deleted it. That is likely the source of the problems.

This is quite a complex profile sketch which I really don't want to start from scratch , again.

Is there a way to fix and clean up this file?

TIA.




OS: Linux (LXDE/LXDE)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17119 (Git)
Build type: Release
Branch: master
Hash: e72b48e0cfcf4773e4b6527c74f2bac11ccff1ab
Python version: 2.7.15
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Attachments
housing.FCStd
(49.66 KiB) Downloaded 29 times
Post Reply