Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 08:37:10 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Repetitive Wizzard
Pages: 1   Go Down
Print
Author Topic: Repetitive Wizzard  (Read 902 times)
0 Members and 1 Guest are viewing this topic.
OmenCues
Active Member

Offline Offline

Posts: 5


View Profile
« on: July 18, 2009, 01:57:50 PM »

Hi All,

I'd like to create a wizard to cut multiple parts from a tap file that only contains code for cutting one part.
I'd like the Wizard to ask how many parts across and how many parts high. It would also ask for part width and height.  It would then create a new tap file that would contain all start up messages, plus the looping plus the gcode from the selected file, then the stop and clean up code.

I would like to be able to use a gcode file that is capable of cutting a single part if possible, meaning that I'd like the wizard to strip off the begin and end of the program.  I would have no problem creating the actual cutting code as a subroutine (M98, M99)

Has anyone out there done something like this before?  Is it possible?

Mad Scientist
Logged
Ron Ginger
V4 Screen Contributor

Online Online

Posts: 568



View Profile WWW
« Reply #1 on: July 18, 2009, 08:58:01 PM »

Its already in the free Mach wizard set- its called Nesting, by Oliver Adler. It installs with every Mach system.
Logged
OmenCues
Active Member

Offline Offline

Posts: 5


View Profile
« Reply #2 on: July 20, 2009, 07:01:53 AM »

Hi Ron,

Thanks for the info, That wizard is similar to what I want, but not exactly.  Perhaps I can modify that one.

Thanks
Logged
OmenCues
Active Member

Offline Offline

Posts: 5


View Profile
« Reply #3 on: July 21, 2009, 10:43:43 AM »

OK, I checked out the nesting wizard and I have a question.  The Wizard makes you place a M99 at the end of the code, but then if you try and load it, you get an error that a return statement was encountered without a sub... looping. 

Any thoughts on how to get around this?"
Logged
vmax549
Guest
« Reply #4 on: July 21, 2009, 11:38:48 AM »

just hit the cancell button in the popup window and the code will STAY loaded in mach.

THEN go to the wizard.

(;-) TP
Logged
Pages: 1   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!