How do I repeat the layers of Slic3r for every 3 infill layers with different angles? (Might need some programming knowledge)
Slic3r is available on Github.

I think the section you'd be looking for is here