Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: Bichler on January 22, 2013, 08:21:36 AM

Title: translator wizard
Post by: Bichler on January 22, 2013, 08:21:36 AM
Hallo I pleased you to help me!!
I have 3 cad programs and I want to write a wizard that does something like this:

1.   Open NC file ( mastercam, solid cam or jet cam )
2.   Read each line
3.   Compare it with an array of signs for example: @740, M03, M05,
4.   
         If @740 ->delete line       M03->delete line     
If G0 50 writes line G0 50 m3…………
5.   If nothing like: @740, M03, M05,                                                                                                   
Read line and write line into a new created file named by user defined.

Safe it and call it into Mach 3
I need it to convert a mill file to a plasma cut file

Hope you can help me
Thank you Bichler