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

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

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

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)