You can do it with the $30 board as well (the most famous MKS DLC32 board features multiple I/O signals that can be wired to buttons and an SD card slot for offline use) But the Ruida is offering more functionality, I guess. I have no experience using those.
What I meant is that the amount of glue will vary with the length of the shape (but this might be desirable, as you said). What I had in mind was more like dispensing defined drops of glue that always have the same amount of glue, no matter if the shape differs. That’s more simple but less flexible, I think.
That’s why I mentioned the z-axis function. This already drives a stepper at a defined amount, so you can start right away without thinking about the PWM to stepper conversion
I misused this function as well to integrate a turn table to a diode laser, see my post here: DIY laser turn table Imagine each turn of the disc is a glue dispersion operation of a defined amount.