View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003082 | Arch | Bug | public | 2017-06-14 13:45 | 2018-08-26 15:21 |
Reporter | wolfcastle | Assigned To | yorik | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.01 |
Product Version | 0.16 | ||||
Fixed in Version | 0.17 | ||||
Summary | 0003082: Arch CutPlane - Error: tuple index out of range | ||||
Description | I have a slight problem with Arch CutPlane, I just wasted 4 hours getting it to work, but to no avail. I tried installing FreeCAD on two more machines, one of them being a 32 bit ubuntu 17.04. The problem persists now on all three machines. In the attached drawing, when I select in the following order "axle" then "Rectangle001", and follow the instructions here https://www.freecadweb.org/wiki/Arch_CutPlane I get this error: Traceback (most recent call last): File "/usr/lib/freecad/Mod/Arch/ArchCutPlane.py", line 109, in previewCutVolume cutVolume = ArchCommands.getCutVolume(FreeCADGui.Selection.getSelectionEx()[1].SubObjects[0], FreeCADGui.Selection.getSelectionEx()[0].Object.Shape) IndexError: tuple index out of range Running the Python command 'Arch_CutPlane' failed: Traceback (most recent call last): File "/usr/lib/freecad/Mod/Arch/ArchCutPlane.py", line 69, in Activated panel=_CutPlaneTaskPanel() File "/usr/lib/freecad/Mod/Arch/ArchCutPlane.py", line 88, in __init__ self.previewCutVolume(self.combobox.currentIndex()) File "/usr/lib/freecad/Mod/Arch/ArchCutPlane.py", line 109, in previewCutVolume cutVolume = ArchCommands.getCutVolume(FreeCADGui.Selection.getSelectionEx()[1].SubObjects[0], FreeCADGui.Selection.getSelectionEx()[0].Object.Shape) | ||||
Steps To Reproduce | In the attached drawing, when I select in the following order "axle" then "Rectangle001", and follow the instructions here https://www.freecadweb.org/wiki/Arch_CutPlane the error occurs. | ||||
Additional Information | OS: Ubuntu 16.10 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.6710 (Git) Build type: None Branch: releases/FreeCAD-0-16 Hash: f8eca0f9311f07c125dd6742a607724c1fa0b77c Python version: 2.7.12+ Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 6.8.0.oce-0.17 Forum Thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=22933&p=178039 | ||||
Tags | Arch | ||||
FreeCAD Information | |||||
|
|
|
@wolfcastle please also associate the appropriate forum thread with this ticket. Thanks. |
|
Looks like @bejant can't reproduce your issue. Need more testers. |
|
@kunda1, As I mentioned in my edit: I can now reproduce the issue on 3 different machines, two Ubuntu 16.04 64bit and one Ubuntu 17.01 32 bit So either I don't have the mental capacity (times three) to make a CutPlane, or there is something seriously wrong. |
|
@wolfcastle Hehe, sorry just trying to cut down on tracker bloat. I changed the status to confirmed, so no worries ;) |
|
@kunda1 Pheeew, that takes a load of my chest ;-) BTW the Ubuntu 17.01 32 bit was a fresh install on a VBox |
|
I can reproduce exactly (including the empty "PreviewCutVolume" shape being added to the tree, in OS: Windows 7 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.6706 (Git) Build type: Release Branch: releases/FreeCAD-0-16 Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0 Python version: 2.7.8 Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 6.8.0.oce-0.17 The key is to select Rectangle001 in the tree. It works if you select a face of Rectangle001 in the 3D view. The tool becomes in-active if you Double click on the Rectangle001 face in 3D view (thus selecting to whole object) In OS: Windows 7 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.11284 (Git) Build type: Release Branch: master Hash: 1854d3de696cc51c769d82f19d7d2fb1e0ce787e Python version: 2.7.8 Qt version: 4.8.7 Coin version: 4.0.0a OCC version: 7.1.0 Selecting Rectanle001 in the tree and running the command gives this error: You must select a face from the second object (cut plane), not the whole object So I think this is fixed in 0.17 but the documentation on the wiki needs to be updated to state that the cut plane face must be selected in the 3D view. I'll try to do this this weekend. |
|
@sgrogan1 have the docs been updated? |
|
It is now. I thought I'd already done this. Still feels like there is a UI improvement here but I don't have a suggestion. |
|
@yorik any ideas? |
|
yorik committed fix in https://github.com/FreeCAD/FreeCAD/commit/0adf582b1 c:FreeCAD:0adf582b1: |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-06-14 13:45 | wolfcastle | New Issue | |
2017-06-14 13:45 | wolfcastle | File Added: sample_1.fcstd | |
2017-06-14 13:45 | wolfcastle | Tag Attached: Arch | |
2017-06-14 18:11 | Kunda1 | Note Added: 0009372 | |
2017-06-14 18:29 | Kunda1 | Additional Information Updated | |
2017-06-14 18:31 | Kunda1 | Note Added: 0009374 | |
2017-06-14 18:50 | Kunda1 | Tag Attached: #tobeclosed | |
2017-06-14 19:04 | wolfcastle | Note Added: 0009375 | |
2017-06-15 11:53 | Kunda1 | Tag Detached: #tobeclosed | |
2017-06-15 11:57 | Kunda1 | Status | new => confirmed |
2017-06-15 11:57 | Kunda1 | Note Added: 0009376 | |
2017-06-15 12:11 | wolfcastle | Note Added: 0009379 | |
2017-06-15 20:44 |
|
Note Added: 0009390 | |
2017-06-15 20:46 |
|
Note Edited: 0009390 | |
2017-07-03 12:09 | Kunda1 | Tag Attached: #pending | |
2017-08-14 00:20 | Kunda1 | Note Added: 0009924 | |
2017-08-14 21:48 |
|
Note Added: 0009936 | |
2017-08-14 23:18 | Kunda1 | Note Added: 0009937 | |
2017-08-17 02:01 | Kunda1 | Assigned To | => yorik |
2017-08-17 02:01 | Kunda1 | Status | confirmed => resolved |
2017-08-17 02:01 | Kunda1 | Resolution | open => fixed |
2017-08-17 02:01 | Kunda1 | Fixed in Version | => 0.17 |
2017-08-17 02:01 | Kunda1 | Note Added: 0009939 | |
2017-08-17 13:50 | yorik | Status | resolved => closed |
2018-08-26 15:21 | Kunda1 | Tag Detached: #pending |