MacroMill CNC Automation Software

Two New Lessons in CNC Automation Pro 2026 — Bolt Hole Circle and A-Axis Rope Groove

Helical A-axis rope groove on a bar, cut with an R4 ball nose stepped across an R5 groove in 14 passes

Two new lessons are now live in CNC Automation Pro 2026. The first takes apart a bolt hole circle macro that helically mills eight holes on a pitch circle. The second walks through an A-axis rope groove macro: fourteen helical ball-nose passes that form an R5 groove with a smaller R4 ball. Each lesson has the full video, a line-by-line code breakdown and screenshots. MacroMill’s simulators and training are there to help you master this work safely, before a program reaches a real machine.

What’s been added to the course

Both lessons sit in the Cycle Library:

  • Bolt Hole Circle Macro: Helical Milling 8 Holes on a PCD – Full Breakdown — section 16 · Cycle Library: 3-Axis Milling. Program O9011.
  • A-Axis Rope Groove Macro (O9010): 14 Helical Ball-Nose Passes – Full Breakdown — section 20 · Cycle Library: 4-Axis & Rotary. Program O9010.

They sit alongside other recent course lessons, including the walkthrough of a 15 degree trapezoidal thread macro. The same idea runs through all of them: you edit the inputs, and the macro calculates the positions, the depths and the motion.

Bolt hole circle: helical milling eight holes on a PCD

One custom macro, eight helical holes on a pitch circle. In this lesson we take program O9011 (Bolt Hole Circle) apart, using the lines and live # values checked on the control in the MacroMill CNC simulator.

The pattern used in the video is a 200 mm pitch circle, centred at X0 Y0, with eight Ø42 holes milled 39 mm deep by a Ø14 cutter. The first hole is at 180°, the direction is clockwise, and the helix steps 0.75 mm down every quarter turn.

Setup tab inputs for bolt hole circle macro O9011: PCD 200 mm, 8 holes, first hole at 180 degrees, 42 mm holes with a 14 mm cutter, 39 mm deep
The setup tab for O9011. Change these inputs; the macro calculates the hole positions, the helix and the motion.
InputVariableValue
PCD centre X / Y#100 / #1010 / 0
Pitch circle diameter#102200 mm
Number of holes#1038
First hole angle#104180°
Direction#106−1 (clockwise)
Cycle#1070 (helical milling)
Hole diameter#10842 mm
Cutter diameter#10914 mm
Hole depth#11039 mm
Depth per quarter turn#1140.75 mm

How the holes and the helix are calculated

For a full 360° circle the angle step is 360 ÷ 8 = 45°, and the radius is half the PCD:

R = #102 / 2
  = 200 / 2 = 100

X = XC + R × COS(A)
Y = YC + R × SIN(A)

The first hole, at 180°, lands at X−100 Y0. The remaining seven follow at 45° steps around the circle.

The cutter centre then walks a circle around each hole centre. That helix radius is half the difference between the hole and the cutter:

#142 = (#108 − #109) / 2
     = (42 − 14) / 2
     = 14

A G03 half-circle leads the cutter onto that helix. A WHILE loop then steps the depth: 0.75 mm down every quarter turn, so 39 ÷ 0.75 = 52 steps (13 full turns) to Z−39. An IF clamp stops the last step going past full depth. After a clean-up circle and a lead-out, the outer loop moves to the next hole.

MacroMill CNC simulator graph showing eight helical holes on a 200 mm pitch circle, cut by bolt hole circle macro O9011
The pattern this program cuts: eight helical holes on a 200 mm PCD, each Ø42 × 39 deep.

This is helical milling of a hole, not CNC thread milling. The same hole pattern can also be drilled, pecked, tapped or bored: one input (#107) switches the macro from helical milling to G81, G82, G83, G73, G84 or G85.

Practise this bolt hole circle macro in the MacroMill VMC simulator. The simulator is sold separately and is not included in the course.

A-axis rope groove: 14 helical ball-nose passes

How do you cut a helical rope groove on a 4th axis with a smaller ball nose? In this lesson we take program O9010 (A Rope Groove) apart, check the maths against the live control in the MacroMill CNC simulator, and walk through the 14 helical ball-nose passes.

Helical A-axis rope groove on a bar, cut with an R4 ball nose stepped across an R5 groove in 14 passes
The result this program cuts: a single-start helical rope groove, an R4 ball nose stepped across an R5 groove, 14 passes.

This is a VMC 4th-axis program: the tool is on Z, and A rotates about X. Z0 is the A-axis centreline, so the top of the Ø50 bar is Z25. The groove centre line starts at X10 and runs 80 mm to X90, at a 20 mm pitch.

InputVariableValue
Stock diameter#10050 mm
Ball-nose diameter#1028 mm (R4)
Groove pitch#10320 mm
Groove length along X#10480 mm
Start X#10510 mm
Final groove depth#1072.0 mm
Depth per roughing level#1081.0 mm
Finish allowance#1090.2 mm
Groove radius#1115 mm (R5)
Flank cusp height#1120.05 mm

The helix itself is straightforward: 80 ÷ 20 = 4 turns = 1440° of A, which is 18° of A per millimetre of X. With a 2° step, that is 720 G1 blocks of 2° and 0.1111 mm each.

Depth is split into levels. Roughing leaves a 0.2 mm finish allowance, so 2.0 − 0.2 = 1.8 mm of roughing. FUP(1.8 ÷ 1.0) gives two rough levels, at 1.0 mm and 1.8 mm, then a finish level at 2.0 mm.

Why a smaller ball can cut a larger groove

An R4 ball can cut an R5 groove because its centre rides a small arc E = R − r = 1 mm. One full X/A helix is taken at every step across that arc.

MacroMill CNC simulator showing an R4 ball nose stepped across an R5 rope groove, with the ball-centre offset of 1 mm
The R4 ball is stepped across the R5 groove arc. The ball centre rides a small arc E = R − r = 1 mm.

The allowed flank cusp (0.05 mm) sets the maximum step angle, from the law of cosines: S = 32.58°. The number of passes at each level comes from the flank half-angle where the groove arc meets the bar:

P = ACOS((R − d) ÷ R)

That gives 4 passes at 1.0 mm, 5 at 1.8 mm and 5 at the 2.0 mm finish — 4 + 5 + 5 = 14 helical passes in total. A cosine Z ramp eases the tool into and out of each helix, so there is no plunge pocket, and the passes zig-zag so A never unwinds while cutting.

Practise this A-axis rope groove macro in the MacroMill A-axis VMC simulator. The simulator is sold separately and is not included in the course.

For training only — always verify tooling, offsets and clearances on your machine.

The full lessons in CNC Automation Pro 2026

Both lessons are now in CNC Automation Pro 2026: the bolt hole circle macro in section 16 · Cycle Library: 3-Axis Milling, and the A-axis rope groove macro in section 20 · Cycle Library: 4-Axis & Rotary. Open the course to follow each macro on screen, change the inputs, and work through the line-by-line breakdown.

Try the MacroMill CNC simulators

Try the MacroMill CNC simulators at macromillcnc.com. Write the inputs, step through the loops, and watch the toolpath before a program reaches a real machine. The practise simulators are sold separately and are not included in the course.

MacroMill

Get free CNC macro tips & simulator updates

New tutorials and MacroMill simulator deals, straight to your inbox.

We don’t spam! Read our privacy policy for more info.

Leave a Reply