(* The following code builds a vector (Table?) of rotation matrices. *)
p = {0, 0, 0};
wx = {1, 0, 0}; (*About X*)
Table[rtx[i], {RotationTransform[i, wx, p], Pi/4, Pi, Pi/4}];
(* I need to use it in a loop to build a vector of objects. *)
line = {{-1, 0, 0}, {1, 0, 0 }};
b = Ball[{0, 0, 0}, 1];
For [x = 0, x < 4, x++,
(* Rotate line about wx and produce rotatedLine ??? *)
c = Cylinder[rotatedLine, 1/8];
b = RegionDifference[b, c];
]
Can you explain how I use this table to create rotatedLine? I can build another table, but I need to do more.