[Update] Toolbar for Fusion 16 Viewer  [SUBMITTED]

Moderator: SecondMan

User avatar
SecondMan
Site Admin
Posts: 3772
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#16

Post by SecondMan » Sat Jun 01, 2019 5:06 pm

And hop! It's there in Reactor :)

User avatar
ShadowMaker SdR
Fusionista
Posts: 692
Joined: Sun Sep 21, 2014 6:17 am
Answers: 4
Been thanked: 27 times

Re: [Update] Toolbar for Fusion 16 Viewer

#17

Post by ShadowMaker SdR » Sun Jun 02, 2019 2:07 am

Practical question: how do you move the toolbar? Since it appears at the mouse position, it always appears somewhere in the middle of my view (because that's where my script-submenu lives.

User avatar
Movalex
Sir Requestalot
Posts: 154
Joined: Fri Nov 03, 2017 5:36 am
Answers: 2
Been thanked: 44 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#18

Post by Movalex » Sun Jun 02, 2019 3:15 am

I use shortcut to launch the script, and it shows just where I need it. I put cursor under the PlayForward button where split window cursor appears and and press alt+shift+T

User avatar
JUNE
Fusionista
Posts: 261
Joined: Wed Aug 06, 2014 5:45 am
Been thanked: 16 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#19

Post by JUNE » Sun Jun 02, 2019 6:43 am

I was wondering if I could make a top button to determine whether to execute the command
WindowsStaysOnTopHint = true

User avatar
Movalex
Sir Requestalot
Posts: 154
Joined: Fri Nov 03, 2017 5:36 am
Answers: 2
Been thanked: 44 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#20

Post by Movalex » Tue Jun 04, 2019 10:04 am

I think it would be nice to create small preferences window, with a couple of options, like 1) stay on top and 2) save window position on exit, then save it to Fusion:SetPref(), and invoke on launch.

User avatar
SecondMan
Site Admin
Posts: 3772
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#21

Post by SecondMan » Tue Jun 04, 2019 10:12 am

Phew. I was afraid you had another update for a second.

User avatar
SirEdric
Fusionator
Posts: 2055
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 161 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#22

Post by SirEdric » Tue Jun 04, 2019 10:39 am

Sometimes updates seem to get submitted faster than new submissions....:-)

User avatar
SecondMan
Site Admin
Posts: 3772
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#23

Post by SecondMan » Tue Jun 04, 2019 10:46 am

SirEdric wrote:
Tue Jun 04, 2019 10:39 am
Sometimes updates seem to get submitted faster than new submissions....:-)
I was actually wondering if after viewtopic.php?p=23995#p23995 you were going to revise the categories of your submissions?

(sorry to go off topic here, we can continue in their respective topics...)

User avatar
SirEdric
Fusionator
Posts: 2055
Joined: Tue Aug 05, 2014 10:04 am
Answers: 4
Real name: Eric Westphal
Been thanked: 161 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#24

Post by SirEdric » Tue Jun 04, 2019 10:59 am

Hmmmm.....dunno....no real need to revise them, I think...:-)

User avatar
Movalex
Sir Requestalot
Posts: 154
Joined: Fri Nov 03, 2017 5:36 am
Answers: 2
Been thanked: 44 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#25

Post by Movalex » Thu Jun 13, 2019 2:48 pm

version 1.55 brings save window position

I realized I mostly tend to put the UI to the same place.
Launch the UI and mouse pointer with a shortcut, the window position will be saved in Fusion data, and last position will be restored on next launch. To reset position data, click Refresh button (this is a temporary solution, until preferences window arrives).

https://gitlab.com/WeSuckLess/Reactor/merge_requests/87

User avatar
SecondMan
Site Admin
Posts: 3772
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#26

Post by SecondMan » Thu Jun 13, 2019 2:54 pm

In Reactor now. BAM!

User avatar
Movalex
Sir Requestalot
Posts: 154
Joined: Fri Nov 03, 2017 5:36 am
Answers: 2
Been thanked: 44 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer  [SUBMITTED]

#27

Post by Movalex » Thu Jun 20, 2019 10:06 am

update 2.0: add preferences window
-- the script now works correctly with 3D viewer
-- you can save preferences for stay on top of all windows and optional remember last position
-- flush button resets position data
-- little triangle button on the right toggles preferences dialogue
-- added check if main UI is already launched to prevent multiple windows

Many thanks to PeterLoveday for invaluable UI hints!



https://gitlab.com/WeSuckLess/Reactor/merge_requests/88

Image

User avatar
SecondMan
Site Admin
Posts: 3772
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#28

Post by SecondMan » Thu Jun 20, 2019 10:17 pm

Exciting :)

Just checking - the merge request also contains changes for LoaderFromSaver and SaverManager. Is this intentional?

User avatar
Movalex
Sir Requestalot
Posts: 154
Joined: Fri Nov 03, 2017 5:36 am
Answers: 2
Been thanked: 44 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#29

Post by Movalex » Fri Jun 21, 2019 2:53 am

Yep!
There was a bug preventing it to install manager on mac (did not copy a script file), I fixed it.
Also I added a tool script to convert regular saver to a plus version.
Last edited by Movalex on Fri Jul 12, 2019 3:27 pm, edited 1 time in total.

User avatar
SecondMan
Site Admin
Posts: 3772
Joined: Thu Jul 31, 2014 5:31 pm
Answers: 7
Location: Vancouver, Canada
Been thanked: 146 times
Contact:

Re: [Update] Toolbar for Fusion 16 Viewer

#30

Post by SecondMan » Fri Jun 21, 2019 6:34 am

Thanks for clarifying :)

Update available in Reactor now :cheer: