Skip to content
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

Wrong tree icons for PD Pad and Revolution #14066

Closed
2 tasks done
NomAnor opened this issue May 16, 2024 · 20 comments · Fixed by #14074
Closed
2 tasks done

Wrong tree icons for PD Pad and Revolution #14066

NomAnor opened this issue May 16, 2024 · 20 comments · Fixed by #14074
Labels
Feature FR for improvements or new features UI/UX WB Part Design Related to the Part Design Workbench

Comments

@NomAnor
Copy link
Contributor

NomAnor commented May 16, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

The icons for Pad and Revolution are blue, but the toolbar icon are yellow. Loft for example uses the same icon for the toolbar as for the tree. Pad and Revolution should do the same to be consistent in the color scheme for additive and subtractive features.

Full version info

OS: Arch Linux (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37330 (Git)
Build type: Debug
Branch: main
Hash: a094bf0df7e2b3e5c5b2e3b158a9040a6474892f
Python 3.12.3, Qt 5.15.13, Coin 4.0.2, Vtk 9.3.0, OCC 7.3.0
Locale: German/Germany (de_DE)
Installed mods: 
  * Manipulator 1.5.7
  * ThreadProfile 1.84.0
  * DynamicData 2.62.0
  * Assembly3.backup1715897154.0970206 0.11.3 (Disabled)
  * lattice2 1.0.0
  * 3D_Printing_Tools
  * freecad.gears 1.2.0
  * fasteners 0.4.21

Subproject(s) affected?

PartDesign

Anything else?

There are two special icons:

while the others features all seem to use the PartDesign_*.svg icons.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz
Copy link
Collaborator

maxwxyz commented May 17, 2024

not sure why but this was done intentionally at some time. Same in Part WB. All tree icons should be blue was the intention.
@FreeCAD/design-working-group

@kadet1090
Copy link
Contributor

Frankly, I don't see a good reason why it should be all blue. It is harder to quickly connect the action on toolbar with feature in the tree. Additive/Subtractive features are also harder to distinguish that way.

Coloring them all blue would make more sense If we do additive/subtractive like it done in other cad packages so it is the same feature with simple switch to make it subtractive or creates new body instead. Not saying that it would be better design but at least it would be easier to implement.

@maxwxyz
Copy link
Collaborator

maxwxyz commented May 17, 2024

I agree but then all should be updated, not just 2

@kadet1090
Copy link
Contributor

Description says that only those two are special cases - so I assume that other features already reuse icon from toolbar. if that is not the case - sure we should make it consistent at least in part design and part workbenches

@maxwxyz maxwxyz added WB Part Design Related to the Part Design Workbench UI/UX Feature FR for improvements or new features labels May 17, 2024
@NomAnor
Copy link
Contributor Author

NomAnor commented May 17, 2024

Frankly, I don't see a good reason why it should be all blue. It is harder to quickly connect the action on toolbar with feature in the tree. Additive/Subtractive features are also harder to distinguish that way.

That's what I'm thinking as well.

I would keep this issue confined to Part and PartDesign. For other workbenches new issues should be created if there are also inconsistencies.

I looked through PartDesign and so far I see the following:

  • Pad has a different icons for the tree (blue) and the command (yellow)
  • Revolution has a different icons for the tree (blue) and the command (yellow)
  • InvoluteGear and InternalExternalGear are the same icon the first seems not to be used
  • Body (command) and Body_Tree (tree) are the same icons
  • Body_old seems to be unused

These are easy to resolve.

I will look into Part later.

@maxwxyz
Copy link
Collaborator

maxwxyz commented May 17, 2024

If possible, it should be consistent, Part WB as well.

Not sure about BIM/Arch: most commands are yellow and tree icons white
@yorikvanhavre what's your opinion on that and do you know the history of the current implementation?
@marcuspollio FYI

@obelisk79
Copy link
Contributor

Agree with just making the tree icons consistent with the toolbar icons. special cases don't seem to make any sense, perhaps just leftovers from long ago?

@NomAnor
Copy link
Contributor Author

NomAnor commented May 18, 2024

Here are my findings from the Part Workbench:

  • The toolbar primitives have different icons for the tree (blue, parametric folder) and the command (yellow, create folder)
  • The primitives from the "Create primitives" command have blue icons
  • The features/tools use mostly blue icons

For Part it seems that the toolbar primitives are the outlier, everything else ist blue.

Part

I'm not familiar with the Part workbench, but the same color theme for all features make sense. As far as I can tell all features create some kind of new oder altered geometry and this new geometry seem to be represented in blue. Whereas the support geometry is depicted in red. It's not always the case, Part extrude has no red "Wire" vs Part Desing extrude (tree) for example. Booleans are the only way to remove something form the geometry.
Sweep and Loft look the same as in Part Desing, just the colors are inverted. This could make it more difficult to distinguish between Part and Part Design Features, but Part Design features are always inside a Body.

Based on this the primitives would be better to use their tree icons (showing their parameters in red) than the current yellow ones.
Some icons could be altered to fit in with the red support theme (Extrude, revolve, fillet, chamfer).

Part Design

In PartDesign there is a clear distinction between additive and subtractive features. Currently distinguished in the toolbar by a yellow or blue/red icon. Red on the other hand is not used consistently, in the additive features is seems to depict the support geometry and in the subtractive features the tool shape that gets removed.
Then there are altering features (fillet, chamfer, draft, thickness), here blue is used for the existing geometry and red for the altered faces.
The transformation features show the existing geometry in blue and the new patterned geometry in yellow. If the new geometry is additive or subtractive depends on the selected features.

Using the toolbar icons in the tree for the additive features feels to be more in line with the rest. And it would help to distinguish them in the tree.

1.0

I don't think the icons are bad and I'm probably used to them so they don't seem confusing. Looking at them to figure out what the colors could mean was interesting. They are somewhat inconsistent and I can understand that a new user could be confused.

If 1.0 should benefit from a bit more consistency in the icons, I would propose the following changes:

  • Change Part primitive toolbar icons to use their tree icons
  • Change Part Design tree icons to use their toolbar icons
  • Make the support wire in Part Design Pad red instead of white.

Then Part icons are predominently blue and consistent in the tree. Part Design icons are also consistent and a bit better to distinguish. Both changes are easy to make and hopefully not to disruptive for existing users.

For the future the DWG could discuss if a more stringent use of certain colors (e.g. support geometry) is needed to help new users understand the features based on the icons. We should create a new issue for this and close this one if the above changes are merged.

@maxwxyz
Copy link
Collaborator

maxwxyz commented May 18, 2024

I agree, thanks for the thorough look into this!
@FreeCAD/design-working-group FYI

@NomAnor
Copy link
Contributor Author

NomAnor commented May 18, 2024

I added all changes to my draft PR. Here are some screenshots:
partdesign_pad_tree_before partdesign_pad_tree_after

partdesign_pad_before
partdesign_pad_after

part_primitives_before
part_primitives_after

task_panel_before
task_panel_after

Someone more talented than me should look at these three icons:

  • PartDesign_Pad (The black outline is not consistent with the darker red outlines of the other icons)
  • create/Part_Primitives.svg (should be blue)
  • create/Part_Shapebuilder.svg (should be blue)

@maxwxyz
Copy link
Collaborator

maxwxyz commented May 18, 2024

@Reqrefusion maybe? you can post the .svg files directly here in a comment

@Reqrefusion
Copy link
Contributor

@NomAnor Very nice work, congratulations. While you're trying to create consistency in colors, I'm trying to do it in size. When @maxwxyz said svg file, I think he wanted me to throw away the keyline I used.

All icons follow this pattern according to their shapes and occupy equal space on the plane, so none of them stand out or fall behind. I'm working on adding this to the Guide. It is not in the Guide right now, but if you follow it, I would be very grateful.

The relevant svg file is here. Since it is drawn in black, it does not appear on a dark background. I would be happy if you download it and check it out.
///////////////
keyline////
///////////////

@maxwxyz
Copy link
Collaborator

maxwxyz commented May 18, 2024

@Reqrefusion no I meant maybe you can help with the last 3 icons he mentioned and post them here.

@Reqrefusion
Copy link
Contributor

Reqrefusion commented May 18, 2024

Part_Shapebuilder
Part_Primitives
PartDesign_Pad
Done. I couldn't help but solve a few more problems, but I held back for sizing. I made it according to your comment @NomAnor , so there may be something missing, please tell me.

Sorry @maxwxyz , I misunderstood. Unfortunately, my mind is always on sizing.

@MisterMakerNL
Copy link
Contributor

Why is the extrude floating above the sketch tho?

@Reqrefusion
Copy link
Contributor

Why is the extrude floating above the sketch tho?

I don't know, you have to ask the person who did it first. Since this is just a work to make the colors more harmonious, the absence of renewals is normal, renewals are now for other PRs. I also really want to change part_primative.

@MisterMakerNL
Copy link
Contributor

Why is the extrude floating above the sketch tho?

I don't know, you have to ask the person who did it first. Since this is just a work to make the colors more harmonious, the absence of renewals is normal, renewals are now for other PRs. I also really want to change part_primative.

Owh if you feel ambitious make another PR and fix those weird things that makes no sense 👍
Like these 2:
Tree_PartDesign_Revolution
Tree_PartDesign_Pad

@Reqrefusion
Copy link
Contributor

Why is the extrude floating above the sketch tho?

I don't know, you have to ask the person who did it first. Since this is just a work to make the colors more harmonious, the absence of renewals is normal, renewals are now for other PRs. I also really want to change part_primative.

Owh if you feel ambitious make another PR and fix those weird things that makes no sense 👍 Like these 2: Tree_PartDesign_Revolution Tree_PartDesign_Pad

I'm going over each icon one by one, and these will come from time to time. There are a lot of flaws that I haven't touched even when correcting the colors. I even thought one of them was a feature. Open a topic on discord for these so I don't forget when the time comes.

@NomAnor
Copy link
Contributor Author

NomAnor commented May 19, 2024

The relevant svg file is here. Since it is drawn in black, it does not appear on a dark background. I would be happy if you download it and check it out.

I lack the skill to create icons, so your help is appreciated.

partdesign
part

I added Reqrefusion's icons and removed some unused files. As far as I can tell, all PartDesign tree icons are the same as the toolbar icons and all Part icons have a blue theme.

I update my PR for review and if there are no objections, it's merge can close this issue.

@Reqrefusion do you want to open a new issue to discuss and track the overhaul of Part and PartDesign icons according to the newer design guide?

@Reqrefusion
Copy link
Contributor

@NomAnor Great congratulations. I personally struggle with this sizing. I started a discussion to write a new guide for this to be added to the guide. It will probably be in the new guide, but I don't think it's solid enough to become an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature FR for improvements or new features UI/UX WB Part Design Related to the Part Design Workbench
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants