Hello Guest it is April 25, 2024, 04:21:41 PM

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 - Cbyrdtopper

331
Mach4 General Discussion / Re: Un-Supported wxNumberEntryDialog
« on: January 20, 2019, 04:50:34 PM »
Steve, great suggestion converting text to number; I just had to try it out, works great!

I remember going to the class that Scott had up in Michigan when Mach4 was first released, he strongly suggested downloading wxFormBuilder to make stuff.  I have tried to mess with wxFormBuilder before, I just don't know where to start with the code.  Maybe it's worth another try, it has been a while since I have opened it up.

332
Mach4 General Discussion / Re: Poor Mans Wizard
« on: January 20, 2019, 01:30:56 PM »
Yes I agree!   
I have used dialog boxes to get user input, text and integers.  There is a thread on here somewhere with that information.   Brett pointed me in the right direction for that.   If I were on my laptop I would find the post and copy a link;  but I'm on my phone at the moment.

333
Mach4 General Discussion / Re: Poor Mans Wizard
« on: January 20, 2019, 12:53:38 PM »
Craig,
That's  some in depth research. 
I was trying to just make a macro that would, when ran, open a save dialog box that would write to a text file.  And that's all.  I kept getting a panel error using your example and the M400 or M401 example. 
So, from what you have said, it wasn't getting the parent components, I was trying to ignore the mainframe and it wasn't going right.
So, I've got to have the mainframe to do this.


334
Mach4 General Discussion / Re: Poor Mans Wizard
« on: January 19, 2019, 02:20:52 PM »
Thanks, Craig.   Once I'm at my laptop again I'm going to comb through this.

335
Mach4 General Discussion / Re: How to generate gcode to do pearling
« on: January 19, 2019, 09:25:21 AM »
Craig,
I took the bolt hole wizard and stripped it down once before, last year sometime so I barely remember what I did, but I took that shell to make a wizard.
Do you know the syntax to make GCode output and to save ot to a file? That would be awesome for some ideas I have in mind for some second op stuff at work; I couldnt find any examples of just outputting to GCode and then saving to a file.   

336
Mach4 General Discussion / Re: G-Code Just Cutting Circles
« on: January 19, 2019, 12:27:47 AM »
Cutter compensation problem?   Share your G code file on here so we can try it out.   I've never had that kind of issue with my Fusion posts.

337
Mach4 General Discussion / Re: How to generate gcode to do pearling
« on: January 19, 2019, 12:25:26 AM »
I like this.   Very good use for LUA.   I'm curious though, and want to make a macro program out of it.   I'll try this tomorrow and see what happens.   Great code, Craig!   Curious, will this lock the GUI or run fine?   I left my laptop at work so I can't test it.

338
Mach4 General Discussion / Re: How to generate gcode to do pearling
« on: January 18, 2019, 03:09:13 PM »
How are you achieving this?
Taking a brush and jogging down onto the material?

339
Mach4 General Discussion / Re: Add or edit Mach4 Lathe screen
« on: January 18, 2019, 08:21:14 AM »
Put your E STop signal in the SigLib in the screen load script.

[mc.ISIG_EMERGENCY] = function (state)
    if (state == 1) then
       local Coolant = mc.mcSignalGetHandle(inst, mc.OSIG_COOLANTON)
       mc.mcSignalSetState(Coolant, 0)
    end
 end,

340
I started my programming with Mach3 and VB.   LUA wasn't too bad to get a grasp of, especially with all thr examples on the forum.   
I'm not sure if you add libraries or not, I think so, but that's a question for a few other people on this forum.