Heirarchy Tools

free scripts, plugins, models, textures
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Heirarchy Tools

Post by clintonman »

Tools for parenting and grouping.

Replaces the older parenting scripts.

Uses new parenting un-parenting that uses separate buttons so shortcuts can be assigned and an rmb options panel has been added. Something like "p" for parenting and "shift-p" for unparenting might be good shortcuts. The old parenting script would give strange result when parenting objects from different encapsulations. It would create the relationship, but the parent child relationship would be invisible in the link editor. Now the child will be moved or copied to the same encapsulation node as the parent.

New Add to Group, Add to Group3D and Remove from Group buttons. The add to group buttons work similarly to the parenting button. Select the objects to move, then add the group to the selection and press the button. The selected objects will be added to the group in a 2D or 3D way. The remove from group button will transfer the selection to the scene level.

The panel has options to turn on the invisible parenting, an option to copy nodes instead of moving them and some controls for preselecting nodes for grouping and parenting.

The new Global Function Set is required. All parenting functions have been moved into it.
This shares code with the upcoming Scene View v2 which also allows parenting and grouping in a tree view.

http://clintons3d.com/plugins/truespace ... archy.html
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Heirarchy Tools

Post by clintonman »

fixed spelling error
fixed broken copy option
(organization) moved hierarchy related functions out of the global function set

http://clintons3d.com/plugins/truespace ... archy.html
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Heirarchy Tools

Post by trueBlue »

Your HierarchyPanelFrame does not have the correct RootNode path
Also, your UU/Parenting toolbar icons are different from the UU9
Basically, the Index, HelpText, and the Commands

Also, I think you should be checking if the selection has a Matrix

Move to Scene
Copy not checked
1) Select a jScript in the scene and press the Move to Scene panel button gives an error and is copied
2) Select an Object in the scene and press the Move to Scene panel button, the object is renamed
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Heirarchy Tools

Post by clintonman »

trueBlue wrote: 04 Sep 2022, 19:48 Your HierarchyPanelFrame does not have the correct RootNode path
...
Are you saying the panel does not open when rmb the toolbar buttons?
trueBlue wrote: 04 Sep 2022, 19:48 ...
Also, your UU/Parenting toolbar icons are different from the UU9
Basically, the Index, HelpText, and the Commands
...
I didn't know you made changes to them. I'll need to reinstall the UU9 to see what changed.


trueBlue wrote: 04 Sep 2022, 19:48 ...
Also, I think you should be checking if the selection has a Matrix

Move to Scene
Copy not checked
1) Select a jScript in the scene and press the Move to Scene panel button gives an error and is copied
2) Select an Object in the scene and press the Move to Scene panel button, the object is renamed
Thanks, I'll check it out.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Heirarchy Tools

Post by trueBlue »

Are you saying the panel does not open when rmb the toolbar buttons?
Nope
HierarchyPanelFrame.png
The RootNode should be:
/Scripts/CustomCommands/Hierarchy
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Heirarchy Tools

Post by trueBlue »

I have a request...
How about making a Parenting toolbar with all of the buttons/icons exposed?
Or at least, add more buttons to the panel?
More importantly, currently there is two locations for the Global Function Set and all of the Parenting toolbar buttons/Icons have two different Commands in the installer
I know you have accommodated for both, except the UUCommanda/Global Function Set does not get updated by the current installer
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Heirarchy Tools

Post by clintonman »

trueBlue wrote: 05 Sep 2022, 00:48
Are you saying the panel does not open when rmb the toolbar buttons?
Nope
HierarchyPanelFrame.png
The RootNode should be:
/Scripts/CustomCommands/Hierarchy
There must be something else going on.
I installed UU9 to fresh tS
Copied your latest UUCommands and Widgets
Reset the default context
installed the Hierarchy tools
rmb opens the floating panel, not the image you showed.
Rootnode still set at "/Project/Space 3D"
Maybe the UU9 has departed from what I have here?
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Heirarchy Tools

Post by clintonman »

trueBlue wrote: 04 Sep 2022, 19:48 Your HierarchyPanelFrame does not have the correct RootNode path
Also, your UU/Parenting toolbar icons are different from the UU9
Basically, the Index, HelpText, and the Commands
...
Will change the rootnode path even though it has no effect that I can see it still might make some difference.
Will change HelpText to match your UU version
Not changing the Index. None of the installers make assumptions about the toolbar order.
The Commands have to change because the Commands changed. Much functionality moved into the Hierarchy Function Set so cannot use the same commands as before.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5208
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Heirarchy Tools

Post by trueBlue »

This is how it shows for me when the path is:
/Project/Space 3D
Notice the Title name?
Space 3D panel.png
Space 3D panel.png (20.9 KiB) Viewed 1062 times
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Heirarchy Tools

Post by clintonman »

trueBlue wrote: 05 Sep 2022, 04:12 This is how it shows for me when the path is:
/Project/Space 3D
Notice the Title name?
Space 3D panel.png
I see it. So the RootNode shows as the title. I wonder if that gets overridden if the title value is set.
Edit: Yep, Title overrides RootNode as title. So I'll set both. Do yo think the title should just say "Hierarchy" or something more wordy?

I misunderstood your answer from before. When you answered Nope and showed the picture I thought you were saying "Nope, not getting a popup" but you were actually saying, "Nope, I'm not saying the rmb doesn't work".
Clinton Reese

http://clintons3d.com
Post Reply