New bone select tool - scrolling bone list instead of menu

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

New bone select tool - scrolling bone list instead of menu

Post by heyvern »

Okay let's try this again. It works now. Give it another try please. I have spent hours fixing it and it works really perfectly now. I tested it more thoroughly with ASP this time.

Here is the description and download:
viewtopic.php?t=7842

Screen grab:
Image

-vern
Last edited by heyvern on Wed Jun 06, 2007 6:34 pm, edited 1 time in total.
User avatar
Víctor Paredes
Site Admin
Posts: 5817
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

finally you did it by yourself!
congratulations and than you. it will be very useful (you clearly know this)

there is just a little non-technical problem, in the "bone constraints" button, it says "lock bone".
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

Okay something WEIRD is going on!

I can't see any of the problems!

Genete's says Bone Constraints instead of Select Bone and it works very slow.

Now you say bone constraints says Lock Bone?

I just downloaded it twice and installed the new tool over my old tool and it still works...

I even tested it on my 300+ bone file. The menu popped right open almost instantly and everything looks fine.


I am baffled. This just doesn't make any sense.

If there is anyone out there that this script works for... please please post a response here. I have no idea what is happening.

-vern
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

viewtopic.php?t=7842

Please try this again! Please please! I spent hours on it. I am SURE it works now.


Much faster, better performance.

Look! I used big fonts with color... I never do that. I must be serious!

;)

-vern
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

YEAAAAH !!!
first impression is fantastic!. My CPU usage monitor stay as calm as the same original select bone tool!!!

Thanks soooo much Vern! This tool is one of the "good ones". It is as good as Fazek's ones ...

Congratulations!
-G

PD: Don't worry about using big font and high colors. Usually you don't need it because reputed people don't need to raise his voice to make him be heard by the crowd. But some times the excitement make you raise your voice and lost your serious composure... :D
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

The next feature I want to add is being able to leave the constraints window open while selecting bones.

I realized too late that this would be pretty easy to add in. You can do it with the bone lock check box which works the same way. That will REALLY speed up my work!!!

I want to add a way to select more than one bone. Unfortunately you can't select multiple items in a text list. Maybe in v6 of ASP... or maybe I will add an optional list that only appears with more than one bone selected.

I am adding the bone select scroll list to ALL the bone tools... that should be real fun.

I have learned enough about text lists now to be able to finish the bone copy/paste script I started!!! WOOHOOO!

-vern
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

The problem with the original "bad" version of the bone select tool was that text lists take a loooooong time to fill in and delete.

I had to delete the whole list and fill it in again every single time anything was clicked.

What I did to fix that performance issue was to only rebuild the list when a bone is added or deleted... when the original bone list created at the start is different from the actual bone count.

There is a tiny bit of waiting when you delete a bone while the list is rebuilt, but it only happens infrequently.

Text lists don't have the same features as menus. A menu has a built in command to empty it. A text list requires going one by one and deleting each item in a loop. Very slooooowwww.
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

Yes you're right (there is a small delay but less appreciable than in your original script).
-G
Post Reply