Saturday, November 17, 2012

Timing Pulley Creator


This program written in VB6 by me and will help you create a perfect timing pulley with a help of a rotary axis.It uses all 4 axis to cut a perfect pulley.
The project is still in progress but it can generate Gcode for many pulley types.

At first sight the program looks difficult but if know what do you want to generate it will be much easier.
At the "pulley type" you can select the type you want to generate.
Below select how many "teeth s" you want to have.
Now at "material data" you will see the calculated diameter for the pulley you have to write the part diameter. If you already turned in a lathe or it's the same size with the calculated one just write the same value in the box.
At the tooth you don't need to change anything but if needed you have to write the 3 dimensions of 4 and press calculate for the other in case a new or different pulley needed.
At "Tool data" at top is for the roughing the part in case of diameter of part is larger than the calculated one.
At bottom in "finishing - Tooth" the tool diameter must be smaller than the bottom size of the tooth.
Finally you have two choices on to generate normally by meaning the Rotary axis will rotate from 0-360 degrees if you are sure that you don't have any backlash and "Generate No Backlash" that will generate only in one direction of rotary axis in that case the backlash is eliminated.The rotary axis must be free to rotate over 360 degrees. Users of Mach3 the Rot 360 rollover must be checked in order to work.
Test it before you cut anything if the direction of x y z a are the same with the app.
The file is saved in the same folder of the app.
The project is still in progress it will have many many more when and if it's finished. "No free time lately"
 Pulley Gcode Creator Download
VB6 Source Files
You may need these files if it doesn't run.
VB6 Runtimes

Machine setup axis.


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.