The computer calculated how many passes were needed, and generated the code:
Here’s the result after 20 minutes of cutting. The edges were nice and flat:
I’d forgotten how much of a joy milling acrylic can be. It behaved really nicely, and the noise wasn’t even that loud (the vacuum cleaner used to clean the mess was much louder). I’m certainly going to use it again in the future.