Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 11:38:22 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  New PlugIn just about done..
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »   Go Down
Print
Author Topic: New PlugIn just about done..  (Read 42638 times)
0 Members and 2 Guests are viewing this topic.
bfairey
Active Member

Offline Offline

Posts: 39


View Profile
« Reply #70 on: May 10, 2009, 09:48:11 AM »

I'm still looking for a DIY pendant and not $148 for a box of parts.
Logged
Andrey67
Active Member

Offline Offline

Posts: 32


View Profile
« Reply #71 on: July 18, 2009, 12:35:54 AM »

It is possible to publish a source code of ShuttlePRO v.2 plugin?
Logged
lemo
Active Member

Offline Offline

Posts: 140



View Profile WWW
« Reply #72 on: July 23, 2009, 07: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
Logged

Cut five times and still to short...
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
*
Offline Offline

Posts: 1,968



View Profile
« Reply #73 on: July 23, 2009, 09: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.  Wink

Dave
Logged

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

Dave->    Wink
lemo
Active Member

Offline Offline

Posts: 140



View Profile WWW
« Reply #74 on: July 23, 2009, 10: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
Logged

Cut five times and still to short...
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
*
Offline Offline

Posts: 1,968



View Profile
« Reply #75 on: July 23, 2009, 10:54:16 AM »

Sorry, I misunderstood and was trying to help-

Dave
Logged

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

Dave->    Wink
Chaoticone
South Carolina, US
Administrator
*
Offline Offline

Posts: 3,565


Precision Chaos



View Profile WWW
« Reply #76 on: July 23, 2009, 09:16:24 PM »

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

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

Brett

* ShuttlePro.zip (405.84 KB - downloaded 166 times.)
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
lemo
Active Member

Offline Offline

Posts: 140



View Profile WWW
« Reply #77 on: July 23, 2009, 09: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  Wink .

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 Cool)))

Lemo
Logged

Cut five times and still to short...
HimyKabibble
V4 Screen Contributor

Online Online

Posts: 1,286



View Profile
« Reply #78 on: July 23, 2009, 09:33:27 PM »

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

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.
Logged

Regards,
Ray L.
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,690


Briceville, TN, USA


View Profile WWW
« Reply #79 on: July 23, 2009, 10: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
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!