Element widget for Sketcher WB
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Element widget for Sketcher WB
A further minor bug: if you select some lines or arcs in the sketcher (or the element widget) and then click the right mouse button in an empty place of the element widget the selection is lost. This should not happen with a right-click, only with a left-click. Only if you press the right mouse over a selected item the selection is kept.
Re: Element widget for Sketcher WB
some more promised icons
firstly I came up with these for Sketcher_ConnectLines and a Sketcher_CloseShape
Sketcher_ConnectLines
at 16px at 32px and the svg
Sketcher_CloseShape
at 16px at 32px and the svg
firstly I came up with these for Sketcher_ConnectLines and a Sketcher_CloseShape
Sketcher_ConnectLines
at 16px at 32px and the svg
Sketcher_CloseShape
at 16px at 32px and the svg
Re: Element widget for Sketcher WB
then these modifications
and the svg
and the matching Sketcher_CloseShape
and the svg
and the svg
and the matching Sketcher_CloseShape
and the svg
Re: Element widget for Sketcher WB
finally I thought this might differentiate Sketcher_CloseShape a little better while still matching the previous Sketcher_ConnectLines
at 16 px at 32px and the svg
the 2nd Sketcher_CloseShape in the previous post and this 3rd Sketcher_ConnectLines above are my preferences but you guys like this theme then you choose which you prefer.
Jim
at 16 px at 32px and the svg
the 2nd Sketcher_CloseShape in the previous post and this 3rd Sketcher_ConnectLines above are my preferences but you guys like this theme then you choose which you prefer.
Jim
Re: Element widget for Sketcher WB
Back again
if you wanted another icon for Sketcher_SelectConstraints perhaps you guys might like one of these?
Firstly I came up with this one
at 16px
at 32px
svg but you prefer a simplified version, then perhaps this one?
at 16px
at 32px and the svg
if you wanted another icon for Sketcher_SelectConstraints perhaps you guys might like one of these?
Firstly I came up with this one
at 16px
at 32px
svg but you prefer a simplified version, then perhaps this one?
at 16px
at 32px and the svg
Re: Element widget for Sketcher WB
The thread is growing as I fix things up...
Ok... I go one by one:
Of course, if you can think of a better way to have the "preselection on hoover" live happily together with the droplist, I am all ears (I will not remove preselection on hoover ).
Thanks for the screenshots!!
The fixed version is currently published in branch: element_widget_fixes
I will now back to the other thread... you guys are fast...
Ok... I go one by one:
This is fixed now (branch not yet pushed). Thanks for pointing it out.Then I discovered a further bug. In the context-menu of the element widget the commands "Select origin", "Select vertical axis" and "Select horizontal axis" become only active if you select something in the widget while the same commands in the Sketcher menu become active.
I agree with what you say. However, in this case the "user education" value is taken away by the annoyance of not achieving what you expect. I could (and this I really let you take the decision), enable the droplist for the "Jim-Abdullah" mode and disable it for the "Sponsi" mode. In your decisions you have to take into account that, if I would not have disable the droplist, you would "never" have realise the usefulness of using "z".Regarding the drop down list, I think it was a good idea and I am sorry to see it go.
In terms of GUI usability in general, I think the following.
2) a GUI tool does two things, firstly it obviously exists to allow the user to perform a function but very importantly it also exists to advertise a functions existence i.e. it educates the user. For example your drop down list educates the user by showing them that there are 4 (or however many it is) options available, some of which may or may not be valid.
Of course, if you can think of a better way to have the "preselection on hoover" live happily together with the droplist, I am all ears (I will not remove preselection on hoover ).
Could you please elaborate a little bit what exactly this is?. I am very ignorant about FreeCAD. I do not see how I could add a checkbox to solve the aforementioned problem.Yorik's Draft Dimensions tool is a typical example of this
FYI, I will enable a branch for the fixes (see pull request thread). Not yet available.Since this is now in master, I will base my testing and comments on the version that is in master.
Yep. I did not though of this. I am really open to change the key "z" if you can find a better option (must be a letter close to "ctrl" and "shift" for ergonomics). But it eventually will collapse with another functionality (if I put "a" with "Ctrl-a" "Shift-a"...)."z" and Ctrl-z. Not really a bug, can be worked around, but I would expect it will catch out a few new users.
Definitely. As decent icons appear I can add them to the toolbar. I doubt about the "select origin,vertical, horizontal" ones, because I really do not see the added value over clicking directly on the Inventor view, but the others can be added. Of course!Now I see how "close shape" and "connect" work on a line and arc...works great.
"Close shape" only has an icon on the tool bar in sketcher, perhaps "connect", and select constraints could too?
Also perhaps that tool bar should be in PartDesign as well?
Thanks for the screenshots!!
I must have had fixed that when fixing the other context menu bug you described. I have created two lines, selected them, right-clicked on an empty part of the element widget and the selection is maintained...A further minor bug: if you select some lines or arcs in the sketcher (or the element widget) and then click the right mouse button in an empty place of the element widget the selection is lost. This should not happen with a right-click, only with a left-click. Only if you press the right mouse over a selected item the selection is kept.
The fixed version is currently published in branch: element_widget_fixes
I will now back to the other thread... you guys are fast...
Re: Element widget for Sketcher WB
Hi Abdullah
you posted while I was typing, you have possibly addressed this below in your fix branch, but I'll still post this in case it helps in some way....
similarly if you did the above so that you have a selection of the horizontal axis and the line, if you right click again on the same line you can select the vertical axis (or deselect the horizontal axis), in other words the second context menu operation is in multi-selection mode ....however if you right click on a different item in the widget list (e.g. Arc) to further select/deselect an axis, then it clears the previous selection i.e. does not work in multi selection mode.
Jim
you posted while I was typing, you have possibly addressed this below in your fix branch, but I'll still post this in case it helps in some way....
related to this..... if you right click on something in the widget to get to the context menu, it selects the item you right click on, rather than just giving you the context menu. E.G. This means that if if you right click on a Line to get the context menu and then click on "select horizontal axis", you get a selection of the horizontal axis and the line.wmayer wrote: Then I discovered a further bug. In the context-menu of the element widget the commands "Select origin", "Select vertical axis" and "Select horizontal axis" become only active if you select something in the widget while the same commands in the Sketcher menu become active.
similarly if you did the above so that you have a selection of the horizontal axis and the line, if you right click again on the same line you can select the vertical axis (or deselect the horizontal axis), in other words the second context menu operation is in multi-selection mode ....however if you right click on a different item in the widget list (e.g. Arc) to further select/deselect an axis, then it clears the previous selection i.e. does not work in multi selection mode.
Jim
Re: Element widget for Sketcher WB
Right-click on an element consistently selects the element and deselects any previously selected thing (unles Ctrl pressed). This is the default behaviour in any list in my OS (ubuntu). I just checked in the Firefox preferences.related to this..... if you right click on something in the widget to get to the context menu, it selects the item you right click on, rather than just giving you the context menu. E.G. This means that if if you right click on a Line to get the context menu and then click on "select horizontal axis", you get a selection of the horizontal axis and the line.
If you want the context menu without selecting any item, you have to right-click in an empty spot of the widget.
Would you mind to test on the branch "element_widget_fixes" ?
Let me know if you thing anything weird...
Not to be greedy... but do you have handy another of those beautiful icons for the Select Constraints of Elements command?
Re: Element widget for Sketcher WB
Sorry Jim. Your post got in the way. I like the first one of your proposals. But I should be banned to have an opinion about anything related to aesthetics.
People reading this thread: Do I push the first one or the second one??
People reading this thread: Do I push the first one or the second one??
Re: Element widget for Sketcher WB
I have momentarily pushed icon 1, so that you can see how it looks like...