Popup Toolbars

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:

Popup Toolbars

Post by clintonman »

Quick popup toolbars for point edit, view, point edit widgets and object navigation widget controls. The system replaces the older slower Quad Toolbar.
The point edit toolbar will hide itself instead of closing which makes it's operation much faster.
The new toolbars are mostly a collection of buttons for functions that only exist as shortcuts in the Unofficial Updates and adds zoom buttons that effect all open windows.
Quad Toolbar and Quad Menu buttons are named Point Edit and Point Edit 2 toolbars in the new buttons.

The main reason for it's creation was because the old Quad toolbars were too slow and because there are too many shortcut exclusive functions in the Unofficial Updates for me to memorize and use effectively.

http://clintons3d.com/plugins/truespace ... opups.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: Popup Toolbars

Post by clintonman »

Update Aug 31

undo friendly code
buttons closer in content to UU popup buttons
replaces pe end edit node with original - no auto close of toolbar when exit pe mode
restrictions on when panels can open added
will start pe mode for pe widget menu
will exit pe mode for obj nav widget menu
removes quad toolbar buttons and scripts
fixed quad toolbar size definition - get rid of extra blank line
set toolbar frame owner to the active window so they will be covered by other windows and less likely to show when tS is minimized

Dev Notes:
Restrictions loosely based on UU restrictions but doesn't allow selections like script nodes.
Point Edit Toolbars 1 and 2

Code: Select all

	if(!Node.IsRenderable(Node.FirstSelected())) return;
Point Edit Widget

Code: Select all

	var firstSel = Node.FirstSelected();

	if(!Node.IsRenderable(firstSel) || Node.IsCamera(firstSel) || Node.IsLight(firstSel)) return;

	if(!Node.ConExists(firstSel, "Selection")) {
		MeshModifiers.ActivatePointEditWidget('','','Default');
	}
Object Nav Widget

Code: Select all

	var firstSel = Node.FirstSelected();

	if(!Node.IsRenderable(firstSel) || Node.IsCamera(firstSel) || Node.IsLight(firstSel)) return;

	Widgets.ActivateDefaultWidget()
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: Popup Toolbars

Post by clintonman »

Update Sept 7 2021

additions to make it closer to the UU version and to add support for the upcoming point edit and object nav widget update which is a stripped down version of the UU widgets.
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: Popup Toolbars

Post by clintonman »

Update October 14, 2021

bug fix for incompatibility with the quadrify by normals tools

The quad by normals script alters the definition of what an array is. What I didn't know is that it does it globally for the current tS session and the change in quadrify was breaking the popup toolbars. Only way to get rid of the error was to restart truespace.
To see the error before installing the fix you can run quadrify on an object, start point edit mode and try to use the point edit popup toolbar.

script change is 1 line at line 21 of the OpenToolbars script

Code: Select all

		//if(i == "indexOf") continue;
		if(!tbs[i].toolbar) continue;
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: Popup Toolbars

Post by clintonman »

Oct 17 Update

reduced restrictions on popups
object nav popup now works with group objects
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: Popup Toolbars

Post by trueBlue »

clintonman wrote: 17 Oct 2021, 18:15 Oct 17 Update

reduced restrictions on popups
object nav popup now works with group objects
I am finding several toolbar commands that are not compatible with your NURBS! :x
Including the WorkspaceNav Toolbar
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Popup Toolbars

Post by clintonman »

June 28 2023
Added Light toolbar
add camera options - just panel to add/remove a nav widget to the camera

forgot to mentions...

March 2023 - added material node toolbars

February - added unofficial update widget functions
Last edited by clintonman on 28 Jun 2023, 21:34, edited 1 time in total.
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: Popup Toolbars

Post by clintonman »

Found that the latest Unofficial Updates will stop all installations from being permanent.

The plan is to create a script to unlock UU9 and allow installations again.
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: Popup Toolbars

Post by clintonman »

Installation on the Unofficial Updates v9 now requires running a UU9 Unlock script first.
Once the script is run all the installers on the website will work again.
Script is attached below for reference. It works by stopping the toolbars from being overwritten every time truespace is started.
Attachments
Unlock UU9.RsObj
(4.77 KiB) Downloaded 51 times
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: Popup Toolbars

Post by trueBlue »

clintonman wrote: 28 Jun 2023, 21:39 Installation on the Unofficial Updates v9 now requires running a UU9 Unlock script first.
Once the script is run all the installers on the website will work again.
Script is attached below for reference. It works by stopping the toolbars from being overwritten every time truespace is started.
This is totally inaccurate!

The Restore Widgets and Toolbars script looks for a few fundamental objects in Widgets and Toolbars that are needed in the Unofficial Update version 9
Maybe you should not be DELETING these few objects because the Unofficial Update version 9 needs these objects to run correctly!
Toolbars:
WorkspaceNavBAK
PEModelingToolbar
LENavigatorBar/Encapsulate

Widgets/WidgetScripts:
PE Navigation Widget
CamLightExtras
Navigation Widget
Light Navigation Widget

Preferences
AnimPref

These are your installers that I have identified and have asked you SEVERAL times in get inSync:
http://clintons3d.com/plugins/truespace ... index.html "[Widget Scripts] not compatible with UU9"
http://clintons3d.com/plugins/truespace ... inton.html "[UU4Clinton for trueSpace7.61] not compatible with UU9"
http://clintons3d.com/plugins/truespace ... aller.html "[Batch installer for trueSpace7.61] not compatible with UU9"
http://clintons3d.com/plugins/truespace ... tokey.html "[Animation Preference panel] is not compatible with UU9"

On top of all of the above, your installers that overwrite the Toolbars do not include the ToolbarsBACKUP that is required for your Toolbar Manager
This means, once a user uses your Toolbar Manager to Restore, all of your installer's modifications are gone
Post Reply