News:

 

Topic: On Exit  (Read 7436 times)

0 Members and 2 Guests are viewing this topic.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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!

« Last Edit: December 25, 2015, 05:50:33 pm by samardac »
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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.
« Last Edit: December 26, 2015, 12:31:03 am by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
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.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 26, 2015, 06:38:09 am
 On mouse, up it is - On mouse up without action event?
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 26, 2015, 06:45:50 am
Awaysome!!!
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
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.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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.
« Last Edit: December 26, 2015, 03:42:20 pm by samardac »
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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.

Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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.

« Last Edit: December 27, 2015, 10:15:29 am by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
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.
 
 

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 27, 2015, 01:33:48 pm
Absolutely Awaysome!!!
The last thing that we need is On Drag Events!
Check this events:


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?

« Last Edit: December 27, 2015, 05:53:47 pm by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
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.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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   :)
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
December 27, 2015, 09:06:35 pm
What's the reason for mmb?

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
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.
Portfolio: www.samardac.com