šŸ˜Ž Sunglasses | GH plugin to display object names

Icons make you see without looking and I can’t imagine using GH without icons. I was also doing this trick with grouping components and naming the group :smiley: which worked ok, but now it is reserved only for the very important inputs.
In the past, I was using Bifocals (thank you too) , but this plugin took it to the next level. @Dani_Abalde your plugin is extremely helpful and I am not going anywhere without the Sunglasses anymore.
Thank you very much.

Hi,

I manage to clone from Github and rebuild 2.4.1.0, I set up folder in GH library copied all 3 files and all works fine…
thanks
tested on both Rhino 6, Rhino 7 and Rhino.Inside Revit - APPROVED :wink:

please change your settings here @seltzdesign it is already included

Please note that Sunglasses is copyleft licensed, if you distribute your version you have to publish your code. If you only use it for yourself, that’s fine. But I don’t understand why you did it, what have you changed? If you wanted to contribute, you should make a fork and ask for a pull request.

what’s that? Current version is 1.2.0.

which three files? :thinking:

I just clone your repo, rebuild code and use file… when I use GHA file from release it did not work for me… I did not modify anything… yes I would create PR if I make any change…
when I rebuild I copied all 3 files…
image

I was referring to this version… I could not fine reference to 1.2.0 where should I look?

Well, you don’t need to do that to install it, just download from here or here and install it as any other .gha. You just need to compile the plugin if you change the source code.

You only need the .gha file, the .dll and .pdb are ignored by Grasshopper.

Pancake and Sunglasses are different plugins, should not have any relationship. Why did you think it belonged to Pancake?

yes it works with .GHA only…
sorry no idea why I mixed up with Pancake, please ignore

how we can check Sunglasses version ?

One of these days I will correct what was mentioned in the previous comments and also add the version to the filename and/or maybe from the UI.

Yes, small bug here : the names of the panels and the groups are shown although the ā€œSpecialā€ and ā€œGraphicsā€ options are unchecked :

Also, I put the Telepathy components (Sender and receiver) in the exclusion list, but the names still show up :

In fact the bug is that the Filter objects is not disabled when Display custom names, as it should, since Display custom nicknames has a different filtering. I’ll fix it some of these days.

OK, thanks !

I fixed #7 & #9 issues, submit a pull request through GitHub resolving the following issues as well. You may merge my code into your main branch.

  1. I believe there’re some logic issues regarding custom names.

    • Enable display nickname
    • Enable display custom names
    • Disable display nicknames
    • Although the ā€œdisplay custom nicknamesā€ is deselected but Settings.DisplayCustomNicknames remains true.
  2. I think Groups should be always excluded. When they have a custom nickname, regardless of settings, texts overlap; when they don’t, they just show ā€œGroupā€ which doesn’t quite provide information.

Thank you @gankeyu! I’ll look at it this week.

:fire: Update v1.3.0! :fire:

This version fix some issues (many thanks for the help @gankeyu) and adds a new option ā€œBig nicknames on groupsā€, to display the nickname of the groups when the zoom is too low.

Hey @Dani_Abalde
There is one thing that I think would be a logical addition to your great plugin:

  • List of components that are always displayed in ā€œShort namesā€ mode.
  • per instance override of full/short name display?

I am using Icons & Nicknames at the same time and Full names.
The problem with using full names is that my definitions are way too spread out. The majority of components I could use with short names, but there are always some that I need to see with full names.

Would it be possible to add something like this?

This implies that the plugin understand which are your most common components and the less common components. I think this could be hard, since this vary user by user…

But, not saying it’s a bad idea, it would be great a feature like that… maybe with the Markov widget??

I didn’t mean anything that sophisticated, but it is indeed an interesting idea.
I would be satisfied with something identical as it is right now for displaying names.

Indeed! would be nice something like this…

Hi,

I have Sunglasses in my Library folder and I can see it in Rhino 7 and is working perfectly, however when I open via Rhino.Inside Revit I can not see it…any idea or suggestion?

I made what you wrote step by step, i was able to install it in Rhino 6, and now that i have the new Rhino 7 with licence commercial, it is impossible to install, i verify that it is unlock, i copy paste in the library of grasshopper folder, and i restartes rhino, and i can’t have it in Grashopper, i have a problem…