T 1 1 end-to-end, T22 right-angle 90-degree cutter
Clamp the threaded hole end of the lathe by 6-7mm with a round bar with a diameter of 16 and a length of 16. The end face of the lathe:
G00 XI50 Z200
T 1 1
M03 S600
G00 X 17 Z0
G0 1 X0 F30
G00 Z 1
X 150 Z200
T22
G00 Z 1
M00
Move the tailstock, drill a hole with a diameter of 5mm as needed, tap and return to the tailstock, and close the door.
Start periodically
G00 X 16
G7 1 X0 I6 K2 L2 F30
G0 1 Z0
G02 X 15 Z-7.5
G00 X 17
X 150 Z200
M30
Then turn the chuck to clamp a rod with M6 thread and screw on the ball thread to fix the other half arc of the lathe:
G00 X 150 Z200
T22
G00 X 16 Z 1
G7 1 X0 I6 K2 L2 F30
G0 1 Z0
G02 X 15 Z-7.5
G0 1 Z-8.5 F30
G00 X 17
X 150 Z200
M30