that sounds like solitary confinement in jail and very harsh. I would just take all the eggs and make her nest box uncomfortable like a flash light so it is not so dark and cozy or put something in her favorite box so she can not get in it. I did this nine years ago with my sons basket ball, she moved to diff boxes and the ball followed and she gave up after about a week. But confining her to an uncomfortable cage that would most likely scare her I think is very cruel. I am sorry. Just my opinion.
It isn't punishment, it is a way to cool them off underneath and speed up the hormone changes. They are not scared in the cage, at least not here since it is in the coop and up on the roost bars. They can see their normal surroundings and are still sleeping with their flock mates. No solitary for them.
I don't know how many hours you spent moving the basketball and keeping her out of all the nest but most don't have that kind of time. Isn't it more cruel to keep tossing a brooding hen out of the nest just so she can go back in when your back is turned? My broodies will sit in a nest day and night for days and probably weeks if I let them. No flashlight is going to make it uncomfortable enough for them to leave. And again, isn't THAT more like torture in solitary than a cage with food and water in their normal environment?
My buster is made of 1/2" hardware cloth so it isn't uncomfortable for them to stand on. I wouldn't use wire fencing with larger spacing.