<p>Slic3r is available <a href="https://github.com/alexrj/Slic3r" rel="nofollow noreferrer">on Github</a>.</p>

<p>I think the section you'd be looking for <a href="https://github.com/alexrj/Slic3r/blob/bc35063a57788a23381b9e789289c27110fe07b7/xs/src/libslic3r/Fill/Fill.cpp" rel="nofollow noreferrer">is here</a></p>

CC BY-SA 3.0
2017-04-25T01:34:51.653Z
Yups! Thank you for the comment! I have found that by changing the out angle you can command the angle at your will (Of course in programming terms).
Jiong Le
CC BY-SA 3.0
2017-04-24T21:51:00.040Z
2017-04-24T21:51:00.040Z
Matt
<p>I'm working on developing alternative infill layers to print at different angles, using Slic3r. Using Slic3r's rectilinear infill, printing at <strong>specific angles for 3 layers then repeat</strong>.</p>

<p>I'm working towards finding the code in the source code where they alternate the layers and change it to alternate it for every 3 layers.</p>

<p>I know I will need some C++ knowledge to fiddle around with the Slic3r's source code, but if there is someone who can point me in the right direction I would gladly appreciate it!</p>

CC BY-SA 3.0
2017-03-16T11:38:43.303Z
It would be nice if there were a way to do this, or to specify NO angle changes.
Davo
<software><slic3r><infill>
How do I repeat the layers of Slic3r for every 3 infill layers with different angles? (Might need some programming knowledge)
Jiong Le
# How do I repeat the layers of Slic3r for every 3 infill layers with different angles? (Might need some programming knowledge)

(Asked by: username_0 on 2017-03-16)

I'm working on developing alternative infill layers to print at different angles, using Slic3r. Using Slic3r's rectilinear infill, printing at **specific angles for 3 layers then repeat**.

I'm working towards finding the code in the source code where they alternate the layers and change it to alternate it for every 3 layers.

I know I will need some C++ knowledge to fiddle around with the Slic3r's source code, but if there is someone who can point me in the right direction I would gladly appreciate it!

**Tags:** software, slic3r, infill

> **Comments:**
> **username_1**: It would be nice if there were a way to do this, or to specify NO angle changes.  

---

## 1 answers

### Answer by username_2 on 2017-04-24. Score: 1

Slic3r is available [on Github](https://github.com/alexrj/Slic3r).

I think the section you'd be looking for [is here](https://github.com/alexrj/Slic3r/blob/bc35063a57788a23381b9e789289c27110fe07b7/xs/src/libslic3r/Fill/Fill.cpp)

> **Comments:**
> **username_0**: Yups! Thank you for the comment! I have found that by changing the out angle you can command the angle at your will (Of course in programming terms).  

---

