NVil Forum

General Category => Feature Requests => Topic started by: samardac on December 25, 2015, 05:14:21 pm

Title: On Exit
Post by: samardac on December 25, 2015, 05:14:21 pm
IStonia, can you pleas add Event Action "On Exit" for SL tools.
Wanted it for so long time it will allow us to enable some tools during SL tool is ON and than disable them when SL Exits. It can be some User Window, Snap, Wire Frame, Multy Selection, Mods or whatever... It will be so awaysome!

Title: Re: On Exit
Post by: samardac on December 26, 2015, 12:05:45 am
Hay IStonia tell me pleas, does it is possible?
I just plane some workflow need to know.

I plane to make some context windows (using User Windows) that will stay alive only while some SL tools are ON.
Also I plane to Enable Multy selection for some SL tools only while they are ON.
And in some SL tools I plane to enable Snap only while they are On.
Also have some more ideas with this On Exit event. So pleas let me know.
Title: Re: On Exit
Post by: IStonia on December 26, 2015, 01:02:25 am
http://www.digitalfossils.com/Download/NVil-Dec-24-15.rar
  * Some new events are added to streamline tools. On Exit, On LMB/MMB/LMB/X1/X2 Up.
Title: Re: On Exit
Post by: samardac on December 26, 2015, 06:38:09 am
 On mouse, up it is - On mouse up without action event?
Title: Re: On Exit
Post by: samardac on December 26, 2015, 06:45:50 am
Awaysome!!!
Title: Re: On Exit
Post by: IStonia on December 26, 2015, 06:50:12 am
On mouse, up it is - On mouse up without action event?

No, it still fires if no action.
Title: Re: On Exit
Post by: samardac on December 26, 2015, 07:03:12 am
Awaysome IStonia!!! So much enthusiasm having all that stuff!!

Now we have ON click Actions - On LMB Click, ON MMB Click, etc...
But Actually it is ON Mouse Down Actions! Because they runs when you press mouse down.

It would be great to have true On Click action. For example it will work like this:
If interval between Mouse Down and Mouse Up less then 100 milliseconds this action will be fired.

We need it, because for example you could assign to On RMB Click - Action Cancel Command or Clear Selection. Now it is impossible if you have Basic SL tools on this MB because they will start together.
Title: Re: On Exit
Post by: samardac on December 26, 2015, 07:33:56 am
Some more thoughts about On Click.
I think you have to set up variable for interval and if real interval less than this variable NVil will start  On Click Action. If this Interval more than that variable NVil will start LMB Tool, RMB Tool, etc...

So having this mechanize we can freely add On Drag Actions!!! An it will be absolutely awaysome because we will get absolute control on mouse actions.

Title: Re: On Exit
Post by: samardac on December 27, 2015, 09:30:22 am
I just thought about On Click action that I suggested but it is the same as On mouse up without action event.
So it reserved for LMB and RMB for selection.
So in this situation it only can look like On RMB up without action event.
So I don know if it worth to spend time on it.

Title: Re: On Exit
Post by: IStonia on December 27, 2015, 12:41:06 pm
http://www.digitalfossils.com/Download/NVil-Dec-24-15.rar

* Some new events are added to streamline tools. On Exit, On LMB/MMB/LMB/X1/X2 Up/Clic.
  * Edit > Preference > General > StreamLine click event Timing(default: 0.15 seconds). Mouse-Clcik event fires only if the intervale between Mouse-Down and Mouse-Up is under this specified time.
  * Edit > Preference > General > StreamLine mouse event Timing(default: 0 seconds). If value is not 0 and both mouse event and function tool are assigned, Mouse-Down/Clcik events fire only if the intervale between tool activated and Mouse-Down is under this specified time, mouse function tools can only be activated after this specified time.
  * Some tools for option setting change and restorations for working with streamline tools. Edit > Customize > Tools > Options. R_Turne On/Off MultiSelection, R_Restore MultiSelection, R_Turne On/Off Snapping, R_Restore Snapping, R_Turne On/Off Manipulator_Position/Orientation_World/..., R_Restore Manipulator_Position-Orientation, R_Set Subdivision0/2/3/4, R_Restore Subdivision.
 
 
Title: Re: On Exit
Post by: samardac on December 27, 2015, 01:33:48 pm
Absolutely Awaysome!!!
The last thing that we need is On Drag Events!
Check this events:
(https://monosnap.com/file/JZRJ9t0sglbjf85BF1ZOQqun060WWp.png)

1. I think nobody never used them. So we can replace them with On Drag Events to keep space and simplify things!

2. Now if you have basic SL tools on MMB or RMB and click the same button on subobject it makes selection. For example if I have Axis_Move on RMB and RMB click on subobject it will make section. So it do not allow us to assign any selection commands to that buttons on event ON Click because it will produce selection under cursor every time you click. Can you pleas disable it?

Title: Re: On Exit
Post by: IStonia on December 27, 2015, 08:18:45 pm
2. Now if you have basic SL tools on MMB or RMB and click the same button on subobject it makes selection. For example if I have Axis_Move on RMB and RMB click on subobject it will make section. So it do not allow us to assign any selection commands to that buttons on event ON Click because it will produce selection under cursor every time you click. Can you pleas disable it?

Why MMB/RMB ? What is the reason for this?

It is not possible for all basic streamline tools. Because some of them will make changes on selection or geometry.
Title: Re: On Exit
Post by: samardac on December 27, 2015, 08:25:08 pm
Because, I wanted to set On RMB click to Clear selection. Now if I run this command it deselect everything except subobject under cursor   :)
Title: Re: On Exit
Post by: IStonia on December 27, 2015, 09:06:35 pm
What's the reason for mmb?
Title: Re: On Exit
Post by: samardac on December 27, 2015, 09:15:49 pm
Quote
What's the reason for mmb?
I wrote about it because think that we can also use it for selection commands like clear selection.
Title: Re: On Exit
Post by: samardac on December 27, 2015, 09:24:35 pm
I just started to use this new events and wanted to create contex windows for SL tool and found that we lack comands for User Windows like R_Show/Hide window, R_Restore Window.
Title: Re: On Exit
Post by: IStonia on December 28, 2015, 09:21:54 am
http://www.digitalfossils.com/Download/NVil-Dec-24-15.rar

Absolutely Awaysome!!!
The last thing that we need is On Drag Events!
Check this events:
(https://monosnap.com/file/JZRJ9t0sglbjf85BF1ZOQqun060WWp.png)

1. I think nobody never used them. So we can replace them with On Drag Events to keep space and simplify things!

2. Now if you have basic SL tools on MMB or RMB and click the same button on subobject it makes selection. For example if I have Axis_Move on RMB and RMB click on subobject it will make section. So it do not allow us to assign any selection commands to that buttons on event ON Click because it will produce selection under cursor every time you click. Can you pleas disable it?


I just started to use this new events and wanted to create contex windows for SL tool and found that we lack comands for User Windows like R_Show/Hide window, R_Restore Window.

All done. Please test. All the new tools are located in new group, Set-Restore Tools. If you have assigned any of them, you need to redo again.
Title: Re: On Exit
Post by: samardac on December 28, 2015, 02:40:44 pm
Wow, many thanks!!!
Now so much opportunity to experiment and found best workflow!