Hello Guest it is April 16, 2024, 02:17:46 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dude1

1051
Mach4 General Discussion / Re: Needing help with screens
« on: December 06, 2014, 09:37:20 PM »
yea I thought I was doing it wrong I would probley be better off doing it as a macro

thanks scott

1052
Mach4 General Discussion / Re: Needing help with screens
« on: December 06, 2014, 07:56:42 PM »
got it working I think its showing up in log as, No script engine found for ./?.lua;C:/Mach4Hobby/scripts/LaserZeroscript

the script I am using is this

Code: [Select]
--Laser Zero call
local inst= mc.mcGetInstance();
local myScriptpath = "C:/Mach4/scripts";
package.path = "./?.lua;c:/Mach4Hobby/scripts/?.mcc;"
mc.mcScriptExecute( inst, "./?.lua;C:/Mach4Hobby/scripts/LaserZeroscript" ,0);
 

1053
Mach4 General Discussion / Re: Needing help with screens
« on: December 06, 2014, 05:20:25 PM »
can some one help me I am trying to run a scripts from a folder named scripts.

I cant get the call right this is one thing I have tried I can get it to compile but not run I have it in a button script

 package.path = "./?.lua;c:/Mach4Hobby/scripts/?.mcc;"
mc.mcScriptExecute(0, inst,  "./?.lua;C:/Mach4Hobby/scripts/LaserZeroscript",0);

I have put this in screen load scripts its fine   package.path = "./?.lua;c:/Mach4Hobby/scripts/?.mcc;"

is there something I am missing or can someone please give me an example of how to do it

1054
Show"N"Tell ( Your Machines) / Re: The "Mach4" 3D Laser Build
« on: December 06, 2014, 03:43:02 PM »
look nice and simple good work like the hight you have it at

looks like it could wobble a little bit but at a guess you wont know to you run it flat out

1055
Mach4 General Discussion / Re: Screen Set Ideas
« on: December 05, 2014, 05:47:10 PM »
this is what I have got working so far a on off switch for turning my centring laser on and off with a mouse click I really like have the ability to change colours on buttons for different states

I have got the laser zeroing working sort of it will do the move turn laser off, it just wont zero if I push laser zero button again it will zero the dro`s its a timing problem I just need to work out how to make it into a macro

1056
Mach4 General Discussion / Re: Trying to get the current Gcode line #
« on: December 05, 2014, 01:58:49 PM »
thanks for that scott

1057
Mach4 General Discussion / Re: Trying to get the current Gcode line #
« on: December 05, 2014, 02:47:51 AM »
whats the full code you used.

on my playing today I found there is a order stuff needs to be in.

and you more than likely know this needs to be at the start, everything I did today it did anyway
local inst = mc.mcGetInstance();

1058
Mach4 General Discussion / Re: Mach 4 Turn
« on: December 05, 2014, 12:35:20 AM »
it has a turn screen set

1059
Mach4 General Discussion / Re: Screen Set Ideas
« on: December 04, 2014, 10:52:04 PM »
is there anything you cant do, I am stubling along just to do the scripts I wont

1060
you mean the second development team squired