View Full Version : The magical spiral


paul3112
08-05-2006, 05:25 AM
Has anybody got the g-code for a spiral so i can make video of my mill strutting its stuff ;-)

tobyaxis
08-05-2006, 06:23 AM
Sure, what diameter do want and how many turns would you like? :wave: :cheers:

tobyaxis
08-05-2006, 06:35 AM
Here this is a quicky. 1/2 inch diameter, 3 turns, and 1/2 inch deep. You can input the beginning and end to your liking.

G0X0.25Y0.Z0.
G3X-0.1077Y0.2256Z-0.0535R0.2531F30.0
X-0.1011Y-0.2287Z-0.114R0.2531
X0.2488Y0.0247Z-0.1693R0.2531
X-0.1474Y0.2019Z-0.2251R0.2531
X-0.229Y-0.1003Z-0.261R0.2529
X0.0936Y-0.2318Z-0.3018R0.253
X0.0338Y0.2477Z-0.3714R0.2533
X-0.2031Y-0.1458Z-0.4332R0.2532
X0.25Y0.Z-0.5R0.2532

:cheers:

rippersoft
08-06-2006, 10:46 AM
By the way, there is a thread on the site about a VB6 program for creating spirals in gcode. Has a good interface to enter your criteria and see the program draw the result to the screen, and the gcode.

Here is the thread: http://www.cnczone.com/forums/showthread.php?t=13277&highlight=spiro

Very long read, however, at the last page is the fully finished product as freeware. Very cool.

RipperSoftware