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.

| Input | Variable | Value |
|---|---|---|
| PCD centre X / Y | #100 / #101 | 0 / 0 |
| Pitch circle diameter | #102 | 200 mm |
| Number of holes | #103 | 8 |
| First hole angle | #104 | 180° |
| Direction | #106 | −1 (clockwise) |
| Cycle | #107 | 0 (helical milling) |
| Hole diameter | #108 | 42 mm |
| Cutter diameter | #109 | 14 mm |
| Hole depth | #110 | 39 mm |
| Depth per quarter turn | #114 | 0.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.

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.

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.
| Input | Variable | Value |
|---|---|---|
| Stock diameter | #100 | 50 mm |
| Ball-nose diameter | #102 | 8 mm (R4) |
| Groove pitch | #103 | 20 mm |
| Groove length along X | #104 | 80 mm |
| Start X | #105 | 10 mm |
| Final groove depth | #107 | 2.0 mm |
| Depth per roughing level | #108 | 1.0 mm |
| Finish allowance | #109 | 0.2 mm |
| Groove radius | #111 | 5 mm (R5) |
| Flank cusp height | #112 | 0.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.

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 software — simulators and training, including 3-axis and 4-axis macros.
- Join the MacroMill WhatsApp group for tips and updates: chat.whatsapp.com/Htae97asBiD14QiwMXjGJA
MacroMill

Leave a Reply