Saturday, November 17, 2012

PCB Gcode Optimizer V1.01 Updated

G-code Optimizer written in VB6 to optimize generated Gcode files by the ULP pcb-gcode  EAGLE and perhaps from others.The gcode files created by this plugin is a mess look at first image.
How it works: The first rapid move will be the closest to X0.0000 Y0.0000 the second closest value will be from the end point of first move etc.
Just Drag & Drop the file/s that you want to optimize and wait until it's done it's super fast. The new file/s will be created in the same folder of the original.

Update:Tool Size and Borders. The tool size, if you define any size in mm on the box then the calculation will change and will not retract to safe Z when the move from one point to another is equal or less than the tool size in that case the gcode will be faster and smaller. And borders are to keep gcode inside of them since the plugin does not have any option for that and will go over if you have to mill cut your boards on small PCB's.

Example: Unoptimized
optimized:
PCB Gcode Optimizer V1.00 Download 64Kb
VB6 Source Files V1.00

PCB Gcode Optimizer V1.01 Download 76Kb
VB6 Source Files V1.01
You may also need these file in case not running:
VB6 runtime files
and these in case that you get an ocx control error.
comctl32.dll and comctl32.ocx place them under windows system folder and register them with regsvr32.
These are my settings of the ULP.




5 comments:

  1. Is your source code available?
    Will this code work for droll files?
    How about compatibility with auto leveler?

    ReplyDelete
    Replies
    1. Source for the latest version in VB6.
      http://www.mediafire.com/?p35u2z7wplaq1pt.
      what is the auto leveler?
      For the drill files it needs more work but it can optimize a drill file you can check it by your self and if the optimized file is not good i'll see what i can do.

      Delete
  2. Sorry, I meant 'drill' not 'droll'

    ReplyDelete
  3. HI I am using PCB Gcode 3.6.0.4 and the drill opt does not work at all
    there is a fault "type mismatch - counter - 0 - line:372"
    I am using simple drill code option.

    Kind Regards
    David

    ReplyDelete
  4. Hi, you can make a tool like this Optimizer to work with DXF files coordinates x, y instead G-code? (same thing but with DXF)

    ReplyDelete