where can i buy a rotary y axis cable it has to be 6 pon on both ends
Try this one. It has 6 pins of both ends but 4 wires. This matches the rotary I have. I don’t think you need all six wires. Its a standard JST-PH 2.0 cable for stepper motors
https://www.etsy.com/listing/1307694005/stepper-motor-extension-cable-20in-jst?ref=yr_purchases
I need it to be female on both ends
Thats going to be hard to find. You may have to buy a JST 2.0 kit and make your own:
Try this one. Its only 100mm. If that’s not long enough then your back to making your own
Here’s a longer one. Buy two and solder them together
This one is 30cm