Just built this, quite happy with it, and it works well.
I used the code from kquiggle linked in post #475
If anybody wants to have a play with it, I put it in an Arduino simulator. (
I hope kquiggle is OK with me doing this.)
Rotary Table.ino - Wokwi Arduino and ESP32 Simulator
This is kquiggle's code. I'm not taking any credit for this.
Couple of important things to note about the Simulation:
The Stepper driver and motor are powered by the Arduino.
Don't do that. The simulation doesn't have an option to add an extra power supply.
For some reason the stepper motor starts at -2 steps instead of 0. I get this on most steppers on all of my simulations so your steps will be off by 2, but only in the simulation.
I had to comment out the getSettings() to get it to work on the simulation. Delete lines 1232 (/*) and 1246 (/) before you upload the code to the Arduino.
You can also delete lines 521 to 523.
Don't forget the AccelStepper library.
I used an Arduino Uno. this code almost maxes out the memory, so if you want to change any of it, you won't be adding much to it. (It's got room for maybe half a dozen new lines.)
I never thought I'd use the "Arc" option, but after taking out the bulk of the material, I set the dividing head up to the vertical position, set the arc to move from 0° to I think 292° and used it to finish off the outside arc of this piece. (Taking very light cuts, but it did it well)