View Issue Details

IDProjectCategoryView StatusLast Update
0002764PathBugpublic2016-11-14 18:59
ReporterHackscribble Assigned Tosliptonic  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version16.04
Product Version0.17 
Summary0002764: Cannot add second holding tab
DescriptionIn both Face Profile and Edge Profile paths, adding one holding tab is successful. Attempting to add a second tab to the same path causes a blank tab to be added to the list box. The blank entry is not editable. Error in Python window.
Steps To ReproduceOpen FreeCAD
Open test-item.fcstd
Switch to Path workbench
Select Pad in tree
Create job - use default values
Select the top face of part
Create Face Profile - use default values and click OK.
In tree, right click on Profile and select Add Holding Tab
Use the cursor to select a point on the path on one long side of the part for the holding tab
Confirm that Tab 1 has been added to the list box with valid values shown, then click OK
Repeat previous steps to add a tab on the opposite side of the part
Confirm that Tab 2 has been added to the list box with no values and is not editable
Additional InformationTraceback (most recent call last):
  File "/usr/lib/freecad-daily/Mod/Path/PathScripts/PathProfile.py", line 709, in edit
    self.resetObject()
  File "/usr/lib/freecad-daily/Mod/Path/PathScripts/PathProfile.py", line 743, in resetObject
    self.obj.locs = loc
TypeError: Property 'locs': type must be 'Vector' or tuple of three floats, not float
Traceback (most recent call last):
  File "/usr/lib/freecad-daily/Mod/Path/PathScripts/PathProfile.py", line 394, in setEdit
    taskd.setupUi()
  File "/usr/lib/freecad-daily/Mod/Path/PathScripts/PathProfile.py", line 829, in setupUi
    self.setFields()
  File "/usr/lib/freecad-daily/Mod/Path/PathScripts/PathProfile.py", line 626, in setFields
    l = self.obj.locs[i]
<type 'exceptions.IndexError'>: list index out of range


OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8890 (Git)
Build type: None
Branch: master
Hash: 10bb1d6feae6334f8b8639ed450aee57eb2b0d47
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
TagsNo tags attached.
FreeCAD Information

Activities

Hackscribble

2016-11-10 23:58

reporter  

test.fcstd (17,486 bytes)

sliptonic

2016-11-14 18:59

manager   ~0007457

Fixed in PR 336

Issue History

Date Modified Username Field Change
2016-11-10 23:58 Hackscribble New Issue
2016-11-10 23:58 Hackscribble File Added: test.fcstd
2016-11-14 18:59 sliptonic Note Added: 0007457
2016-11-14 18:59 sliptonic Status new => closed
2016-11-14 18:59 sliptonic Assigned To => sliptonic
2016-11-14 18:59 sliptonic Resolution open => fixed