Hello Guest it is March 28, 2024, 05:50:29 AM

Author Topic: cutting a spiral  (Read 3472 times)

0 Members and 1 Guest are viewing this topic.

cutting a spiral
« on: September 14, 2018, 11:02:34 PM »
I'm trying to mill a spiral. anyone know the code? I found a G2.1 code but Mach3 doesn't like it.
Thanks,
Chuck
Re: cutting a spiral
« Reply #1 on: September 15, 2018, 12:07:35 AM »
Hi,
codes G2 and G3 are circular arc/helical interpolation moves.
See for instance 'CNC Programming Handbook' by Peter Smid, its pretty much the Gcode bible.

They are fixed radius, you cannot to my knowledge use them as a spiral.

The way to do it is use CAD to draw the part including the spiral toolpath then use CAM to generate the Gcode.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: cutting a spiral
« Reply #2 on: September 15, 2018, 07:59:00 AM »
Quote
They are fixed radius, you cannot to my knowledge use them as a spiral.

In Mach3, you can cheat with G2/G3 to create a spiral, by specifying the end of the arc to be offset from where it should be.
Load this code into Mach3 and you'll see a spiral.

G40 G90
G91.1
S10000 M3
G0 Z0.1250
G0 X0.0000 Y-0.7400 Z0.1250
G1 X0.0000 Y0.1233 Z-0.1000 F75
G2 X0.0000 Y0.1233 Z-0.1000 I0.0000 J-0.1233 F100
G2 X0.0000 Y0.2467 Z-0.1000 I0.00 J-0.1233
G2 X0.0000 Y0.3700 Z-0.1000 I0.00 J-0.2467
G2 X0.0000 Y0.4933 Z-0.1000 I0.00 J-0.3700
G2 X0.0000 Y0.6167 Z-0.1000 I0.00 J-0.4933
G2 X0.0000 Y0.7400 Z-0.1000 I0.00 J-0.6167
G2 X0.0000 Y0.7400 Z-0.1000 I0.00 J-0.7400
G0 Z0.1250
G0 X0.0000 Y0.7500 Z0.1250
G1 X0.0000 Y0.7500 Z0.0000 F75
G2 X0.0000 Y0.7500 Z-0.1000 I0.0000 J-0.7500 F100
G2 X0.0000 Y0.7500 Z-0.1000 I0.0000 J-0.7500
G0 X0.0000 Y0.7500 Z0.1250
M30
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: cutting a spiral
« Reply #3 on: September 16, 2018, 02:17:09 PM »
 Thanks  Gerry,
That’s what I’m looking for I will give it a try.
Chuck
Re: cutting a spiral
« Reply #4 on: September 17, 2018, 11:09:52 AM »
Worked great!!!
Did you do this manually or is there a program to create the code?
Chuck

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: cutting a spiral
« Reply #5 on: September 17, 2018, 11:25:09 AM »
I use this AutoCAD macro that I wrote. It creates these "spirals" when pocketing circles.

http://www.thecncwoodworker.com/ac2gc.html
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: cutting a spiral
« Reply #6 on: September 17, 2018, 11:49:13 AM »
 Nice, I use solideorks.
 Maybe I can find a macro for it.
Re: cutting a spiral
« Reply #7 on: September 17, 2018, 03:22:02 PM »
 As it turns out Brian wrote a wizard for cutting spirals in Mach3
Chuck

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: cutting a spiral
« Reply #8 on: September 17, 2018, 06:13:01 PM »
Forgot all about that.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: cutting a spiral
« Reply #9 on: September 18, 2018, 01:02:29 PM »
CamBam does spirals too. I cut flange faces to mate to round tanks. I project the spiral onto a surface with the tank radius and spiral inwards from the outside edge. Very efficient tool path.