Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 01:26:55 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach Screens
| | |-+  Flash Screens
| | | |-+  No Toolpath
Pages: 1 2 »   Go Down
Print
Author Topic: No Toolpath  (Read 1062 times)
0 Members and 1 Guest are viewing this topic.
ger21
Global Moderator
*
Offline Offline

Posts: 2,465



View Profile WWW
« on: August 15, 2010, 12:30:30 PM »

I'm trying to figure out Flash screens on my own (and I have no Flash experience), and can't get a toolpath to display. Even with the finished flash screens, I don't get a toolpath. I also downloaded the Mach Nation .fla, and publish it, and no Toolpath. I tried copying and pasting the toolpath from the beta components, doesn't work.

Can someone tell me how to create a toolpath display in Flash? I think that once I get a working toolpath, I can go from there.

Also, the tutorial video's start on Video #2. I know I've seen #1 before, is it available anywhere?
Logged

zealous
Active Member

Offline Offline

Posts: 486



View Profile WWW
« Reply #1 on: August 19, 2010, 03:09:51 PM »

Yes the toolpath code has changed since now you can display up to 25 toolpaths:
Acualy this code would be best, place this code on the starting frame( it is a global function and only needes to be seen once)
Code:
/////////Display toolpath ("TN" is the argument tool to display)////////
_global.gettool = function(TN) {

// X Y positioning
ToolX = getProperty(machscreen_mov, _x);
ToolY = getProperty(machscreen_mov, _y);

// find height width
ToolWidth = getProperty(machscreen_mov, _width);
ToolHeight = getProperty(machscreen_mov, _height);

//Toolpathscreen/////
///Send to mach "TN" is toolpath////////
fscommand("Tool"+TN, "Show");
fscommand("Tool"+TN+"X", ToolX);
fscommand("Tool"+TN+"Y", ToolY);
fscommand("Tool"+TN+"Width", ToolWidth);
fscommand("Tool"+TN+"Height", ToolHeight);

};


then call on it with
Code:
gettool("1");
Logged

Regards, Jason Blake

www.Fusioncnc.com
zealous
Active Member

Offline Offline

Posts: 486



View Profile WWW
« Reply #2 on: August 19, 2010, 03:11:35 PM »

or simply do:

Code:
//Toolpathscreen 1/////
fscommand("Tool1", "Show");
fscommand("Tool1X", "100");
fscommand("Tool1Y", "100");
fscommand("Tool1Width", "100");
fscommand("Tool1Height", "100");
Logged

Regards, Jason Blake

www.Fusioncnc.com
ger21
Global Moderator
*
Offline Offline

Posts: 2,465



View Profile WWW
« Reply #3 on: August 19, 2010, 06:03:30 PM »

Thanks, I'll give it a shot.

While I've got your attention. Smiley In the videos, you have some text files where you copy and paste code for buttons, and LED's and stuff. Are these available anywhere?

I'd gladly pay $25 for a Flash screen manual. Smiley
Logged

zealous
Active Member

Offline Offline

Posts: 486



View Profile WWW
« Reply #4 on: August 19, 2010, 07:54:02 PM »

Thank you for the offering, I was hoping that some one else was doing it  Wink
I will talk to Brain and get one made up.
In the mean time use this fla and select rhe objet and copy and past the code.
If you need any help email me.

* Mach Nation 11-20.zip (661.7 KB - downloaded 57 times.)
Logged

Regards, Jason Blake

www.Fusioncnc.com
zealous
Active Member

Offline Offline

Posts: 486



View Profile WWW
« Reply #5 on: August 19, 2010, 07:56:25 PM »

also check out :
http://www.machsupport.com/forum/index.php/topic,15603.0.html

I will have TCP code done as well, so you can talk to anything that commmunicates over an IP to/from Mach.
Logged

Regards, Jason Blake

www.Fusioncnc.com
ger21
Global Moderator
*
Offline Offline

Posts: 2,465



View Profile WWW
« Reply #6 on: August 19, 2010, 08:06:43 PM »

Thanks, Jason.
Logged

ger21
Global Moderator
*
Offline Offline

Posts: 2,465



View Profile WWW
« Reply #7 on: August 21, 2010, 01:24:58 PM »

The problem seems to be that I get no toolpath with ANY Flash screens. I download the MachNation .fla you posted, and publish it. I can load and run g-code, but there's no toolpath.

So I guess It's not that I don't know how to do it, but why isn't it working?? Any idea? Using 3.42.40
Logged

ger21
Global Moderator
*
Offline Offline

Posts: 2,465



View Profile WWW
« Reply #8 on: August 22, 2010, 10:25:57 AM »

OK, I tried it on my Laptop that has Mach 3.041 and the toolpath works fine there. So, is anyone using a Flash screen with 3.42.40? Or is my problem somewhere else?
Logged

ger21
Global Moderator
*
Offline Offline

Posts: 2,465



View Profile WWW
« Reply #9 on: August 22, 2010, 10:29:35 AM »

OK, went back to 3.42.20, and it works!!
Logged

Pages: 1 2 »   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!