Machsupport Forum

General CNC Chat => Share Your GCode => Topic started by: tuscani on February 08, 2021, 08:40:09 AM

Title: bolt fluting
Post by: tuscani on February 08, 2021, 08:40:09 AM
i got a 3040 CNC router running on mach 3
now i am looking for a g code to do thise?
got a 4th axle so that is not a problem
but i am really new to  G code and got no idea how to make somthingthat works
https://m4k6q6s9.stackpathcdn.com/wp-content/uploads/2017/12/DrilledCylinder.jpg (https://m4k6q6s9.stackpathcdn.com/wp-content/uploads/2017/12/DrilledCylinder.jpg)

Title: Re: bolt fluting
Post by: Graham Waterworth on February 08, 2021, 04:25:11 PM
Lets say you want 4 x 100mm long scrolls rotating 360 degrees on a spindle 25mm diameter.

In general config turn OFF 'Rot 360 rollover' and 'Ang Short Rot on G0'

First set your x datum on end of spindle.
Set Y datum on centre line of spindle.
Set Z datum on centre line of spindle.

%
O1234
G21 G40 G00 G99
G53 Z0 (Send Z to home)
G92 A0 (Reset A to zero)
G00 G90 X0 Y0 A0
Z50. S10000 M3
Z14.
G01 Z11. F500
X-100. A360. F1000
G00 Z14.
X0 A90.
G01 Z11. F500
X-100. A450. F1000
G00 Z14.
X0 A180.
G01 Z11. F500
X-100. A540. F1000
G00 Z14.
X0 A270.
G01 Z11. F500
X-100. A630. F1000
G00 Z50.
X0 A0
M30
%
Title: Re: bolt fluting
Post by: tuscani on February 08, 2021, 11:34:16 PM
need 6 flutes on a 12.7 mm dia
with 0.2mm steps till 1.5 mm depht
and i think 30 degre wil do