Hello Guest it is March 28, 2024, 02:01:55 PM

Author Topic: New PlugIn just about done..  (Read 181647 times)

0 Members and 1 Guest are viewing this topic.

Re: New PlugIn just about done..
« Reply #70 on: May 10, 2009, 10:48:11 AM »
I'm still looking for a DIY pendant and not $148 for a box of parts.
Re: New PlugIn just about done..
« Reply #71 on: July 18, 2009, 01:35:54 AM »
It is possible to publish a source code of ShuttlePRO v.2 plugin?

Offline lemo

*
  •  135 135
    • View Profile
Re: New PlugIn just about done..
« Reply #72 on: July 23, 2009, 08:14:28 AM »
I am using this great plugin with success. The only thing I would love is the option to reverse the axis movement. The Y axis is not running in the expected direction of my shuttle jog wheel. I have to be very careful moving that axis as I often mix up the direction. However, it seems that this plugin has sort of been abandoned after an initial creative phase and the developer has found some more interesting things to focus on... sighhhh. There is a benefit of open source in that respect. People interested in more functionality can actually pick up semi abandoned items and spruce them up. I second the friendly request for a compilable package. Whining and lamenting would end as well lol.
Lemo
Cut five times and still to short...

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: New PlugIn just about done..
« Reply #73 on: July 23, 2009, 10:11:52 AM »
Hi Lemo,

You may want to contact member "Leed3" (maker of the X box 360 controller plugin) as he offered his plugin writing services for a fee or trade to me at one point.

Maybe if we all chip in, maybe he'll do all of our requests if they're doable.  ;)

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline lemo

*
  •  135 135
    • View Profile
Re: New PlugIn just about done..
« Reply #74 on: July 23, 2009, 11:50:03 AM »
Why rewrite something when the tool at hand is already there 99.99%?! Right now, I'm not interested in any new ventures before V4 is out and stable. Any investment in the current platform is in vain IMHO.
And there are a few other items more important on my list. Like smooth stepper issues and cv issues. However, if the source for the pendant would be available it would take me about 2 minutes to reverse that one axis.
Lemo
Cut five times and still to short...

Offline budman68

*
  • *
  •  2,352 2,352
    • View Profile
Re: New PlugIn just about done..
« Reply #75 on: July 23, 2009, 11:54:16 AM »
Sorry, I misunderstood and was trying to help-

Dave
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !

Dave->    ;)

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: New PlugIn just about done..
« Reply #76 on: July 23, 2009, 10:16:24 PM »
Dave, thanks for pointing this out to me. I'd say you are great help  ;) .

Attached is the source code for the shuttle pro plug-in.
Thanks Art

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline lemo

*
  •  135 135
    • View Profile
Re: New PlugIn just about done..
« Reply #77 on: July 23, 2009, 10:31:30 PM »
Sorry, I misunderstood and was trying to help-

Dave
Very much appreciated!!!! Don't get me wrong either...

Dave, thanks for pointing this out to me. I'd say you are great help  ;) .

Attached is the source code for the shuttle pro plug-in.
Thanks Art

Brett

AWESOMEEEEEEEEEEEEEEEEEEEEEEEEEEEEE !!!

Now let's get the compiler going and see how we can mutate it 8))))

Lemo
Cut five times and still to short...
Re: New PlugIn just about done..
« Reply #78 on: July 23, 2009, 10:33:27 PM »
Dave, thanks for pointing this out to me. I'd say you are great help  ;) .

Attached is the source code for the shuttle pro plug-in.
Thanks Art

Brett

Hey, since you guys have the source code handy.....  Howzabout modifying it so we can have more than two macro buttons?  Looks like a straight-forward change to make, but I don't have VC++, so no way to compile it myself.  I'd love to have at least four macro buttons - but the more the merrier!

Regards,
Ray L.
Regards,
Ray L.

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: New PlugIn just about done..
« Reply #79 on: July 23, 2009, 11:26:30 PM »
Hey Lemo,

   If you want to reverse the Y axis in relation to the Y button, here is a place in the code you can change it.

Make a new gloabal int var called:

int JoggDirValue;

//thien in the ShuttleWin.cpp find the below

case( 810 ):
               if(LockWheel)
               {
                  SetMachError( " Wheel Locked. Unlock first. ");
                  break;
               }
               Jogging = true;
               ////////////////////////////// what I added //////////
                    if (CurrentAxis == 1)
                    {JoggDirValue = 1;} //reverses the direction of the Y
                    else
                    {JoggDirValue = 0;}
                    //////////////////////////////////////////////////////
               Engine->Axis[ CurrentAxis ].MaxVelocity = MainPlanner->Vels[ CurrentAxis ];
               Engine->Axis[ CurrentAxis ].Acceleration = MainPlanner->Accs[  CurrentAxis ];
               Engine->Axis[ CurrentAxis ].MasterVelocity = MainPlanner->Vels[  CurrentAxis ];
               Engine->Axis[ CurrentAxis ].Dec = false;
               Engine->Axis[ CurrentAxis ].Jogging = true;
               Engine->Axis[ CurrentAxis ].JoggDir = JoggDirValue; //normally 0, for all other axis but Y then = 1
               Code("DOJOG");
               break;
      case( 811 ):
               if(LockWheel)
               {
                  SetMachError( " Wheel Locked. Unlock first. ");
                  break;
               }
               Jogging = true;
               ////////////////////////////// what I added //////////
                    if (CurrentAxis == 1)
                    {JoggDirValue = 0;}  //reverses the direction of the Y
                    else
                    {JoggDirValue = 1;}
                    //////////////////////////////////////////////////////
               Engine->Axis[ CurrentAxis ].MaxVelocity = MainPlanner->Vels[ CurrentAxis ];
               Engine->Axis[ CurrentAxis ].Acceleration = MainPlanner->Accs[  CurrentAxis ];
               Engine->Axis[ CurrentAxis ].MasterVelocity = MainPlanner->Vels[  CurrentAxis ];
               Engine->Axis[ CurrentAxis ].Dec = false;
               Engine->Axis[ CurrentAxis ].Jogging = true;
               Engine->Axis[ CurrentAxis ].JoggDir = JoggDirValue; //normally 1, for all other axis but Y then = 0
               Code("DOJOG");
               break;

//scott
fun times