Complete the code to start a G85 boring cycle at X10 Y5 Z-20.
G85 X[1] Y5 Z-20 R1 F100;
The X coordinate for the boring cycle start point is 10, so you fill in 10.
Complete the code to set the feed rate to 150 mm/min in a G85 boring cycle.
G85 X10 Y5 Z-20 R1 F[1];
The feed rate (F) should be 150 mm/min as specified.
Fix the error in the G85 boring cycle code by completing the missing retract plane value.
G85 X10 Y5 Z-20 R[1] F150;
The retract plane (R) is usually a small positive value like 1 mm above the part to safely retract.
Fill both blanks to complete the G85 boring cycle with correct spindle speed and coolant on.
G85 X10 Y5 Z-20 R1 F150 S[1] M[2];
S is spindle speed, here 1000 RPM. M8 turns coolant on (flood coolant) in many CNC controls.
Fill all three blanks to create a dictionary comprehension that maps hole diameters to feed rates for boring.
feed_rates = { [3].[1]: [3].[2] for [3] in holes if [3].[2] > 0 }This comprehension maps each hole's diameter to its feed rate if feed rate is positive.
