View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003787||Draft||Bug||public||2019-01-21 18:57||2020-06-16 14:18|
|Target Version||0.19||Fixed in Version||0.19|
|Summary||0003787: Can't add point to wire|
|Description||After creating a wire in the draft workbench, I'm unable to add a point to it. Whenever I try it, I get an exception in the report view:|
Forum entry: https://forum.freecadweb.org/viewtopic.php?f=3&t=33622
|Steps To Reproduce|
|Additional Information||Version Info|
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15656 (Git)
Build type: Release
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
I've tried both the "regular" x64 build as well as the Conda build, with same results.
|Tags||No tags attached.|
||I made quite a lot of changes to draft edit since that version. Is it working as expected in 0.19?|
||@rschaeuble care to test latest 0.19pre ?|
||I'm for closing also this bug. I can't reproduce with current upstream masted. And that part of the code has been refactored i think. @Kunda1, @wmayer, what do you think? can you reproduce it now?|
I have tested it with v0.18.4 and it works most of the time but sometimes it silently fails.
With v0.19 I couldn't test at all because when trying to edit a Wire there are no buttons any more to add/remove points.
@wmayer buttons have been moved to the context menu (Alt+click or pressing E key). It's something quite hidden, I know. (I wanted it in the context menu but was not able to do it).
The reason is that Draft Edit now enables multi object editing and the options in the menu change according to the clicked object or to the clicked node.
But if even you could't spot that... perhaps this really means it's not good...
||OK, found it now. Yes, the tool seems to work reliably now. So yes the ticket can be closed as fixed.|
Nice, @wmayer, if you have some hints to enable the actions to be added to the right click context menu on the fly instead of using another dedicated context menu let me know!
(I was thinking to implement better the pivy graphics nodes by looo, so perhaps I can also ask him)
||Solved during 0.19 dev cycle.|
You can adjust the function ContextMenu() of the DraftWorkbench. If the recipient is "View" (that's the 3d view) you can check if an object is in edit mode to add points you can add the command.
However, you still have a lot of other commands in the context-menu and it's not very convenient for the user to click the right item afterwards.
A better way is to use the task panel and add watchers to it. With a watcher you have a fine control when to show the command or not. As an example have a look at DraftCreateWatcher.
|2019-01-21 18:57||rschaeuble||New Issue|
|2019-09-05 19:58||Kunda1||Note Added: 0013536|
|2019-09-05 19:58||Kunda1||Status||new => confirmed|
|2019-09-05 19:58||Kunda1||Target Version||=> 0.19|
|2019-11-12 23:15||carlopav||Note Added: 0013824|
|2020-01-11 12:31||Kunda1||Note Added: 0014047|
|2020-01-11 12:31||Kunda1||Status||confirmed => feedback|
|2020-06-14 19:45||carlopav||Note Added: 0014541|
|2020-06-16 09:35||wmayer||Note Added: 0014557|
|2020-06-16 10:00||carlopav||Note Added: 0014558|
|2020-06-16 12:23||wmayer||Note Added: 0014561|
|2020-06-16 12:55||carlopav||Note Added: 0014562|
|2020-06-16 12:56||carlopav||Assigned To||=> carlopav|
|2020-06-16 12:56||carlopav||Status||feedback => closed|
|2020-06-16 12:56||carlopav||Resolution||open => fixed|
|2020-06-16 12:56||carlopav||Fixed in Version||=> 0.19|
|2020-06-16 12:56||carlopav||Note Added: 0014563|
|2020-06-16 14:18||wmayer||Note Added: 0014565|