Select panel

Hi, I got the layout changes you asked me about.

But the lasso one has a problem, I don’t get anything to show in the info panel when using the buttons on the toolbar, and using the command from the keymap editor doesn’t work.

I can use another python command for lasso select, but the problem is that it works as many toolbar buttons did in 2.79, starting right when you click to select.
The addon you asked for doesn’t work on my end, so until that developer does something I can’t add it yet.

Hi Bloox64. I hope you feel confident about your exams.

Thank you for your explanations about the Lasso Tool.
Could you create two (temporary) Github branches with these two versions of Lasso Tool (even if they don’t work as expected)?

Hi, they were fine, they were assignments rather than exams but was lazy to find the appropiate word.

Back to the topic, I updated the main branch with the UI changes, and I added a branch with the bad lasso behaviour.

From this addon here https://github.com/SavMartin/LeftClickAddon I’ve seen that making the toolbar behaviour to work is more complex and requires more than a single code line and I don’t understand what going on there exactly for now…

1 Like

I have just had an idea to to extend this feature : Objects Groups (in Object mode).

Have a look at this (now, obsolete) add-on for Blender 2.7 that allowed to create unlimited sets of objects:

I think that it would be very handy to add a similar feature onto the Select Panel, in Object mode.
To do it, I guess you’d just have to reuse the Vertex Groups UI.

You might have noticed that the Selection Sets addon has two frames: one for “Sets” and another one, “Items”, to list objects.

  • you could decide to mimic its UI (with these two frames)
  • or you could just keep one frame for the Groups (or Sets), and selecting a group would simply highlight objects on the Outliner.

Here is the source code of the version 0.3 of Selection Sets :

What do you think about this idea?

1 Like

I really like it, and hope to be able to include it, but as you know I can barely code some buttons, I hope it’s easier looking at that code, my guess is that it will be just placing it in the N panel.

The creator hasn’t updated it to 2.8, and if he has abandoned it I hope he doesn’t care.


I’ve also seen this which I want to include, as I’ve shown you on twitter.

https://twitter.com/dpdp/status/1236031375775498241

And found this tweet which showed me it’s probably easier than I thought combining selections, problem is that it requires an input to have an user value before executing them.
If it’s not a value it could also require a selected face, but I need to see how could I activate what to combine before as well.

2 Likes

Hi @bloox64, I hope you’re well.

I have a feature request about "adding an option to customize the location of the tab" :

Summary

Could you add an option in the addon preferences to give the user the choice of the tab to display the addon?
… To move the addon from its own Select tab to a custom one?

It would be nice to be able to move the “Select” tab to “View” or “Tools”, or elsewhere (if the user wants that).

Some addons have this feature and it’s very convenient for the user, especially when there are many addons that add their own tab on the N panel (it could become overcrowded vertically).

Backface Hiding:

SpeedRetopo:

Backface Hiding source code: https://gitlab.com/ChameleonScales/Backface_Hiding

SpeedRetopo: https://gumroad.com/l/speedretopo

1 Like

Hi, I’m well so is everyone in my family for now, hope you’re good as well.
I really like it, I’ve done that before opening the .py and changing the categories by hand. I don’t think it would be too hard for a noob like me.

Take into consideration that now I don’t have that much time or mostly energy. Thank you for providing me an addon that has the code as well.

2 Likes

Hi! I updated the adon with an option to change the tab name and refactored the code a little bit to make it a bit more standard.
To change the addon tab location you have to disable and enable it.

2 Likes

Thanks for adding this option!
I guess it wasn’t possible to directly change the tab location as soon as the user presses Enter (after typing the name of another tab)?
In other addons, it works this way (you don’t have to disable then enable the addon).

I don’t know, all the code is aparently there but looks like there’s something missing.

Wow great, edit mode looks quite different. What did you change in object mode?
For now I think I would like to include those new selctions, could you do a pull request to github?

Ohh, I thought you did actually code it my bad :sweat_smile:

Oh, then yes post it here, but the image panel has nothing to do with selections and neither do those other buttons in the T panel?

But PLEASE, edit this comment, don’t flood the thread by posting multiple times continuously.

Hi @bloox64. I hope you are well.

Blender version: 2.91
Add-on version: 0.1.0
(No other add-on enabled)

I noticed many errors like the one below, in the console, when I use the rectangle Select-Box tool in the viewport (even if I select nothing), in Edit mode.

E:\blender_Portable\2.91\scripts\addons\select_panel.py:161
rna_uiItemO: operator missing srna ‘mesh.ext_deselect_boundary’

Maybe something has changed in the Blender API ?

That’s the thing. That operator name looks like the one from my old add-on, which you can get here:

1 Like

I tried using both the menu and my addon and seems like the operator is the same, I’m using this version which is 1.1.0 but didn’t upload to github and I have no problem, I forgot what I changed since them, but try and tell me select_panel.py (9.4 KB)

Thank you for this 0.1.1 version but when I test it with Blender 2.91 here is the error message that I notice in the Console:

E:\blender_Portable\2.91\scripts\addons\select_panel.py:162
rna_uiItemO: operator missing srna ‘mesh.ext_deselect_boundary’

Note that for the error to appear (and flood the Console), you must select an edge in Edit mode and the “Select Panel tab” (in the N panel) has to be active:

The error doesn’t appear anymore if you click on another tab of the N panel (for example, Item, Tool or View).

Jeebus, @xan2622, look two posts up :slight_smile:

You’re getting the error because the operator the panel wants to show isn’t there, because it’s an operator from another add-on. If you install that add-on the error should go away and you should get another button in the select panel.

EDIT: someone please tell him in case he has me on ignore or something :face_with_hand_over_mouth:

Sorry, I didn’t reply cause I didn’t understand you, I thought you said something like, “yeah, I used that native blender operator on my addon too, I don’t anymore cause they don’t have it” but what you meant is that I’m referencing an operator that is only there thanks to your addon.

I thought I had to find the fix in your code too, well, I guess I should point out that people should install your addon then :man_facepalming:

Idk how to throw a warming yet, for now I’ll just add that…
@xan2622 I guess the other option is removing the line that gives you an error…

I hope that to use Select Panel, the user won’t have to install another add-on (one the user doesn’t necessary want to activate).

I hope that you will find a way to get rid of this error. In the meantime, yes, I will remove this line in the .py file.

I guess the other option is removing the line that gives you an error…

Won’t that break the Select Panel add-on somehow?

1 Like