586,647 active members*
2,386 visitors online*
Register for free
Login
IndustryArena Forum > Other Machines > PCB milling > Gsuite: free gcode tools
Results 1 to 17 of 17
  1. #1
    Join Date
    Sep 2009
    Posts
    9

    Gsuite: free gcode tools

    I have written a program which fixes any skew or non-squareness of the router by modifying the g-code. This is very useful when milling double sided pcb's.

    Another program is included which calculates machining time.

    And yet another which removes parallel lines situated closely together. This is handy when milling fine pitch smd pads.

    You are free to host the program or provide a link:

    program and source

    Tjeerd

  2. #2
    Join Date
    Sep 2008
    Posts
    142
    It will be some time before I probably need it, but I would like to thank you most kindly for your work and documentation. It looks very usefull...
    I would hope that any other user of your software does the same!
    Best regards
    Der Fisherman

  3. #3
    Join Date
    Sep 2009
    Posts
    9
    Thanks for the kind words.

    Tjeerd

  4. #4
    Join Date
    Sep 2009
    Posts
    9
    Gsuite V1.2

    I added some more programs. Here is an update.
    http://pilotpage.monosock.org/filead...suite_v1.2.rar


    Gflat v1.0 – Creates a milling pattern to flat the bed of the milling machine. It can generate both a conventional milling or climb milling path.


    Gopt 1.0 – Optimizes both drilling and milling paths. Tool changes are supported as well. This program is completely new and has different logic then existing optimization programs.


    Gpath v1.1– Removes close parallel tracks. This leaves only one track to be milled between pads which increases track quality. Handy for engraving fine pitch SMD IC's.


    Gskew v1.2– Compensates for skew or un-squareness in the milling machine. With some tweaking, the drill holes in the via's and pads can be aligned exactly. Handy for double sided PCB's.


    Gtime v1.1– Calculates the time it takes to finish the milling job. No more surprises. The job time is accurate to within about 10 minutes for large boards.

    Let me know what you think.
    Tjeerd

  5. #5
    Join Date
    Dec 2004
    Posts
    1137
    Very impressive set of tools Tjeerd. I ran a simple file through.

    gTime for
    unoptimized = 11m 45s
    optimized = 9m 39s

    The app is simple and self-contained. Congrats on a job well done. On request, I always liked seeing the reduction in length of distance traveled.

    I'll run some comparisons to Opti and follow up.

    Jay
    Attached Thumbnails Attached Thumbnails unopt.jpg   opt.jpg  

  6. #6
    Join Date
    Dec 2004
    Posts
    1137
    Tried the Gpath ... no so sure it's what I would ever use as I want the bit to remove all copper from the isolation distance ... can you give an example of why you made this?

  7. #7
    Join Date
    Sep 2009
    Posts
    9
    Jay C,

    Sure. It all started when I was milling a VTQFP (Very Thin Quad Flat Package) footprint with a pitch of 0.5mm. This means the track has to be only 0.2mm wide. pcb-gcode (and I think most other cam programs) draws two tracks through the middle of the pads. This is because the program wants to isolate both pads, hence two tracks. But the middle track is thin enough as it is so the trick is to get those isolation tracks as close as possible so they are effectively on top of each other. This will normally generate the thinnest milled track for two passes. But I noticed that even though the milling tracks are practically the same location, the track was made a little bit wider with the second pass. This has probably to do with the laws of physics like motion, resistance, etc.

    Anyway, Gpath makes sure that only one milling pass is made between closely located tracks. This makes the pads as wide as possible. They are thin enough as it is. For all other pads and tracks, of course you would like as much copper to be removed as you can. But not for the pads of these impossibly fine pitch IC's.

    Makes sense?
    Tjeerd

  8. #8
    Join Date
    Dec 2004
    Posts
    1137
    Makes sense, but that is not how the program behaved for me.
    Attached Thumbnails Attached Thumbnails path_opt.jpg  

  9. #9
    Join Date
    Sep 2009
    Posts
    9
    You have to adjust the "Distance Threshold".

    Find any parallel tracks you want to remove. Get the X or Y offset between the two. Set the distance threshold just a tiny bit larger than that. Be sure to use the same units as your gcode file.

    It looks like you have your distance threshold set far too large so the program removes all sorts of tracks you don't want it to. Besides, I don't see any tracks in your program you want to remove anyway. Remember, it is only designed for fine pitch SMD pads which have only two tracks in between them.

    Tjeerd

  10. #10
    Join Date
    Mar 2008
    Posts
    267
    Tjeerd,

    Great to see Your software. used it on sorting some Gcode. Obtained excellent results provided there were no arcs ( G02 and G03 elements).

    Any plans to include arcs ( I know the arcs introduce a level of complexity which is an order of magnitude higher)?

    Does the sorter algorithm output G code which has been restructured so as to cause the tool to go from tail to nearest head and or tail and thsu reverse order of traversal of individual vectors?

  11. #11
    Join Date
    Sep 2009
    Posts
    9
    Zig,

    No plans to include arcs. I can't use them anyway because it will be hard to make offsets to compensate for skew (Gskew), you'd get elipses. I could get it to work for just the Gopt program I guess, but that would be way down the pipeline.

    I don't quite understand your question about the sorting logic but it works like this:
    -Find out where the toolchanges are and treat the code in between as seperate blocks for the sorting logic.
    -Find the closest entry point to a line (track beginning and ending at a different location), or loop (track beginning and ending at the same location).
    -Find yet another closest entry point for another line or loop. Use the location where the previous line or loop ended as a reference point. If it was a loop, the entry and exit point are the same. If it is a line, the exit point is at the other end from the line.
    -Repeat this process for each tool change block.

    So it does reverse direction of the lines sometimes if this makes the rapid positioning path shorter. It doesn't reverse the direction of the loops, because this makes no difference.

    Hope this answers your question.
    Tjeerd

  12. #12
    Join Date
    Sep 2009
    Posts
    9
    New version: 1.3
    http://pilotpage.monosock.org/filead...suite_v1.3.rar

    I added a new program: Gcoil
    It can be used to turn your normal CNC milling machine into a coil winder. Not really PCB milling, but still very handy


  13. #13
    Join Date
    Feb 2009
    Posts
    2143
    Quote Originally Posted by schouten_tjeerd View Post
    New version: 1.3
    http://pilotpage.monosock.org/filead...suite_v1.3.rar

    I added a new program: Gcoil
    It can be used to turn your normal CNC milling machine into a coil winder. Not really PCB milling, but still very handy

    That's awesome! Thanks!

  14. #14
    Join Date
    Oct 2006
    Posts
    64
    gopt stopped lifting the z-axis one a big program I was running.
    Mus have happened around like 18000.

    Is there a limitation to number of lines?

  15. #15
    Join Date
    Sep 2009
    Posts
    9

  16. #16
    Join Date
    Mar 2016
    Posts
    45

    Re: Gsuite: free gcode tools


Similar Threads

  1. Newb to cnc - looking to cut 2.5D, gcode, free software
    By scales11 in forum Uncategorised CAM Discussion
    Replies: 9
    Last Post: 09-14-2013, 07:49 PM
  2. any decent free gcode editors?
    By glenthemann in forum G-Code Programing
    Replies: 7
    Last Post: 04-19-2010, 09:13 PM
  3. Free DXF to Gcode software
    By Crawler374 in forum Uncategorised CAM Discussion
    Replies: 2
    Last Post: 09-21-2009, 11:27 AM
  4. Free ruler gcode generator
    By ynneb in forum G-Code Programing
    Replies: 1
    Last Post: 03-30-2005, 04:21 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
  •