New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UI] Sketcher: icon overhaul for the sketcher workbench to unify the appearance #11785
Conversation
@abdullahtahiriyo this also compliments this PR with cursor symbols: |
This PR is missing the activation of the coincident unified icon. I will push a separate PR to fix that. That other PR about cursors, I am going to let Paddle review first. |
@abdullahtahiriyo I did not push the activation of the new icon, as on the sketch canvas only the on point icon is displayed, never the coincident icon. I was not sure if the unified icon should be in the toolbar when the on point is only shown. |
When the merge of the PoO and Coincident is enabled in preferences, the icon that is shown after this PR for this merged tool is the one of PointOnObject (curve with one point on it). I think you want the one that @obelisk79 is showing. Then, you need to change this line above. My internet connection, for some reason, is not working properly for GH, so I cannot push this ATM. I will try tomorrow... |
@abdullahtahiriyo I know and did this for my test builds but I was not sure if the new unified icon from @obelisk79 is good for the toolbar. |
Regarding a PR that is not draft, the expectation of a maintainer is that there have been enough discussion and that what is proposed has substantial consensus and is final. If for any reason, it is not the case, the PR should be draft and any issue should be raised right away. This is not aimed as criticism, but as improve future PRs. From what is posted above, I understood that this PR is "just" so that: (a) the same visual principles (thicknesses,...) are applied to all icons to remove an inconsistency of drawing design, (b) some clear errors about wrongly marked selection of elements of geometry icons are corrected, and (c) some icons that are difficult to tell apart each other are better differentiated. All those changes belong to the realm of "art", they do not change functionality, which is the reason why it was merged quick. Now, let's try to see if I understand the matter ok and to resolve the open issue (also others are welcome here):
I think that: What I wrote above, I think applies to any change relating to "tools for generating constraints". So if we accept that they will have a different icon (and then I would introduce the patch of my previous post), what is left is how we are going to (re)arrange them, or if we are going to do anything different, because they are not the same. That I think is part of another different PR. In that other PR, we do need to address the fact that we still have users who want "concise toolbars" and others who are not at lack of screen space, or are learning CAD and prefer to have a more "traditional" arrangement. When we accept that the requirements of both groups cannot be reconciled, I think we should still aim for the higher amount of common elements. So, coming back to this PR, let me know if we want the behaviour as the patch above, or if we want anything else. |
Ok then I am fine with the patch, as the unified tool can be toggled in the preferences and people who like individual toolbar buttons and that the icon is reflected on the 3D view could change it anyways. |
I like this idea but what if the geometry is fully constrained? Then all points become green: |
I don't think both ideas are incompatible actually. They would be nice together. Because you can have a closed shape without the points being coincident. |
Not sure if you actually can have a closed shape without a closed wire |
Isn't this a bit out of scope of this pr? I agree with paddle about combining the two could be complimentary. But also there are no closed shapes that don't have all segment points coincident. |
Yes it's out of scope. I was just commenting about it because abdullah mentioned this topic. |
I understand the convenience of islands for the 3D building process. However a sketch does not build 3D geometry on its own (it could be a path for a milling bit, laser, or a sewing machine). Somehow, what could become a positive or negative space rather depends on the tool which uses a sketch as input. That is not even necessarily a pad. I think I would prefer a system which does not impose restrictions on what the user expects for the 3D tool at sketch level, but rely on objective information of what is happening at sketch level. Regarding Paddle's proposal, I think it is a better way. There are no blue points in the sketcher (as a construction point is red by convention, and hardly ever used sketch-defining points are white, as any defining geometry). The drawbacks I see are: On a separate point, moving construction points to blue by default would likely mean changing all art in the sketcher for consistency. Not a technical argument. Just a note. I think some time ago we talked about adding some material around coincident constraints (as the rays of the coincident icon). Nobody ever implemented it and I am unsure if there were arguments against. In any case, when/if we address that, we need to have a separate GH issue open. |
This conversation should move to a GitHub issue. I agree. |
Issue : #11799 |
This PR is only changing the .svg icons, no other WB code is touched.
The sketcher toolbar icons currently have different stroke widths, colors and point sizes. This PR unifies the appearance of the icons in the Sketcher WB. The icons were adjusted or redrawn to match the FreeCAD design guidelines and progress was discussed in the Design Working Group. The icons for the constraint group were made by @obelisk79
Here are a few screenshots before and after, GitHub seems to compress the copied screenshots.
If otherwise not specified, the theme in the screenshots is OpenDark. Please ignore the dropdown arrows on the toolbar icons.
There is another PR to change the cursor icons as well, to match the toolbar icons: #11749
Toolbar icons 24x24 and 32x32:
Dropdowns, right mouse menu and menu items plus elements:
24x24 px icons and constraints "in action":
Toolbar icons in FreeCAD Classic theme:
and for comparison the inconsistency of the current icons...
Current toolbars and menu items