593,416 active members*
6,823 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Visual Mill > Program to Convert Mill g code To Laser g code - CMTL
Results 1 to 3 of 3
  1. #1

    Program to Convert Mill g code To Laser g code - CMTL

    I got a little laser to do some R&D. VisualMill writes code for a mill (obviously).
    Not to disparage all those other CAM programs but I prefer VM - it just doesn't do laser.
    So, I wrote a program to convert mill g code to laser.

    Here's the best part - I'm giving it away for FREE!

    Just so there is no confusion, CMTL (that's what I'm calling it) doesn't do scans, it does lines and circles. You know, mill type stuff.
    Engrave Mops, profile Mops. I suppose if you wanted to really fill something in you could do a pocket Mop.



    As you can see from the screen shot, the user is able to choose the type of M Code that suits them best.
    The output file is automatically written to the same place the input file was gotten from.
    The output file name is the same as the input file name but has Rev1 added to it. i.e. myfile.nc becomes myfile_Rev1.nc.

    The ZIP file contains the program and a sample file so you can see the before and after.
    The program is a .jar file so it requires java to run. Most computers already have Java but if you don't, it's a free download.
    It should be able to run under Windows, Mac or Linux but has only been tested under Win XP, 7 and 10.

  2. #2
    Join Date
    Oct 2024
    Posts
    1

    Re: Program to Convert Mill g code To Laser g code - CMTL

    thank you for this program, it allows me to do almost what I was looking for. Even if I have not tested yet (I am currently setting up a laser head on my CNC milling with mach3, succeeding in power it up) I think if M3 and M5 were placed after moving down and before moving up it would be better. Maybe it will not change anything but if I could modify the source code maybe I could tune the program to do other things eventually. As I am not used to java it would also teach me how it works and I would really enjoy learning how to code (I am 44 yo, former engineer and now carpenter and still looking to learn and go ahead). So if yo would agree to, would it be possible to share the source code or what is needed to have little modified .jar? Thanks.

  3. #3
    Join Date
    Mar 2006
    Posts
    2

    Re: Program to Convert Mill g code To Laser g code - CMTL

    Looks like a cool little program you wrote. I am wondering if you have tried to use the graphical post processor generator to make a post that works for your laser directly? I just seems like if you were able to create a post that works from within VisualCAM it would eliminate steps and be a more efficient workflow. I have used the post generator to make some customized versions of the post for my thermwood router, and have found it to be very capable and easy to use. Just curious if you tried it.
    Nice job on your app!

Similar Threads

  1. How do you convert STL file from 3D printer to G-code or a CNC desktop mill file
    By imperial90303 in forum Uncategorised CAM Discussion
    Replies: 4
    Last Post: 01-25-2015, 08:37 PM
  2. fanuc program code vs. Haas code
    By sixty8frbrd in forum Fanuc
    Replies: 6
    Last Post: 03-11-2011, 04:05 AM
  3. Program g-code for mill as multiple tool lathe?
    By Monte in forum G-Code Programing
    Replies: 12
    Last Post: 04-19-2008, 05:18 AM
  4. Help Convert .dfx to g-code please?
    By jsnbrgg in forum G-Code Programing
    Replies: 4
    Last Post: 11-29-2007, 06:02 PM
  5. Can someone convert it to G-code for me ?
    By rceebuilder in forum BobCad-Cam
    Replies: 6
    Last Post: 11-10-2006, 10:56 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •