update: added next rev pix & notes at end
Just a "quick" note about cable management because I'm thinking about it while iterating the 3d printed parts design to print a set that doesn't require artisanal handcrufting to finish.
Wires around moving parts need help to stay out of trouble:
Easy answer: Big stiff loops that can't fit into small places help. And that works fine in a big or open frame with lots of room for (relatively) big stiff loops to move around. If you're just here for the CNC mechanics and don't care about compacting the whole works, then you get the easy button.
But I want more smallness; Crowding the moving wires into less space, without binging complexity, is less easy. Between this project and its laser-cut precursor, I've spun several variations of this basic mechanical configuration and still don't really have cable management solved. Here's the latest XY stage -- the thing I should be iterating into obsolescence instead of rambling here...
The folded bundle of wires between the fixed base and lower stage cycles back and forth in a vertical plane pretty close alongside the side without getting into trouble. Breaking the 2d motion of the upper stage into two 1d motions keeps the upper part similarly simple while the lower part is just a few more wires in the bundle that's already there.
The visible wires feed the motors. The limit switches and their cables are internal, which was an aspiration that came along with the freedom of 3d printing to make parts busy on the inside.
In that (currently current latest) iteration I wanted to include connectors to disconnect above the deck without pulling any wire up from the lower compartment, and include some provision for managing excess wire within the footprint of the XY stage. Because wires won't be exactly the correct length, and can't be too short, so they will be too long. Especially while "correct length" keeps changing. That makes it much easier to remove/replace the XY stage for whatever reason. I like the functional benefit but that version isn't the answer. Next rev is printing while I'm typing here.
I had convinced myself to stop thinking about wiring the motors internally because that wasn't going to happen without ditching the (relatively) bulky connector on (some of) these motors. My current thinking is that adapting the design to the motor wires & connectors will net-simplify construction vs requiring to mess with the received motor wiring.
(aside: That may change. Especially because there are two flavors of the motor I'm using and differences include the length & termination of wires -- and I just received a 'type A' motor with 'type B' wire length and connector so "be sure to order type A" might fail to make the received wiring predictable.
...now returning to the previous digression...)
...of this log entry was to note that, while (distracted from) iterating the 3d printed parts to print a set that doesn't require artisanal artishandcrufting to finish, I think I accidentally figured out how route the motor wires internally. That could be très slick, enable a little more compactness of frame footprint, and get more working parts out of the milling debris field. But I really have to not go down that rabbit hole right now. But I don't not consider it anymore.
The next rev
I really liked how that (above) worked out functionally -- and also noted a bunch of flaws, and reconsidered some deferred questions.
No artisanal handcrufting required:
A couple bits of tape make life easier when the unit isn't bolted down to a surface.
Using "serpentine" strain reliefs for a relatively gentle hold on the cables to answer expectation that they will actually get pulled on -- because nothing holds the DuPont-like housings from sliding out (they're blocked from pushing in). Funny that I made the motor cable channels bigger then put thinner cables in them.
Hmm - the serpentine behind the white connector is superfluous. I guess it's there because this arrangement had to fit 4x DuPont connectors first, then modified for the different housing
While the buttoned-down look is nice, the real motivation for the little outrigger wire guide is to establish where the moving cables attach to the deck without having to measure and mark. If you like this cable dress from the motors to the deck but don't want to fuss with leading the cables through the base, you can just use the guide to mark the deck and the wires for where to anchor the wires on the deck, then ̶ ̶c̶h̶u̶c̶k̶ ̶i̶t̶ ̶ send it to your favorite PLA reprocessor.