I need to attach the axles to the boxes to drive the XYZ axles

Reference to the project. “demo-snaps.html”
github
I want to do something like this
youtube
I’m not comfortable with that choice of axles.
2123


I tried to do this, but it didn’t work out

Hi!
This phrase means nothing without information about what and how you tried.

This script uses axes in photo number 3
axis.js (2.2 KB)
This is the script that I edited to add axes to the list
demo-snaps.js (6.1 KB)