# Temp Tower Gcode

**URL:** <https://forum.snapmaker.com/t/temp-tower-gcode/18877>\
**Category:** Snapmaker Luban\
**Created:** [May 24, 2021, 1:31am UTC](https://forum.snapmaker.com/t/temp-tower-gcode/18877 "2021-05-24T01:31:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![JAllen](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@JAllen](https://forum.snapmaker.com/u/JAllen)\
**Post date:** [May 24, 2021, 1:31am UTC](https://forum.snapmaker.com/t/temp-tower-gcode/18877/1 "2021-05-24T01:31:03Z")

</div>

I am having a bear of a time trying to print a simple Temp Tower.  
I know the concept, the STL is just the tower, the gcode should change the temp by “x” degrees each layer. I’ve follower youtube tutorials on how to do this (using Cura as there are none for Luban). I import the gcode to the machine and it either does nothing, or prints a base layer and stops. Banging my head on the wall here.  
Does anyone have a gcode file for a simple temp tower?  
Thanks.

---

<div class="post-metadata">

**Author:** ![ElloryJaye](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/elloryjaye/32/13979_2.png) [@ElloryJaye](https://forum.snapmaker.com/u/ElloryJaye)\
**Post date:** [May 24, 2021, 1:52am UTC](https://forum.snapmaker.com/t/temp-tower-gcode/18877/2 "2021-05-24T01:52:34Z")

</div>

@xchrisd posted several pre-sliced temperature towers in this thread: [3d Print Guide\_Walk Through](https://forum.snapmaker.com/t/3d-print-guide-walk-through/5945) (expand section 4 in the first post). Just pick one suited to your machine and filament type.

---

<div class="post-metadata">

**Author:** ![sdj544](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/sdj544/32/11365_2.png) [@sdj544](https://forum.snapmaker.com/u/sdj544)\
**Post date:** [May 24, 2021, 5:45am UTC](https://forum.snapmaker.com/t/temp-tower-gcode/18877/3 "2021-05-24T05:45:52Z")

</div>

Also some here:

> [@Issues printing with certain color PLA filament](https://forum.snapmaker.com/t/issues-printing-with-certain-color-pla-filament/15376/9):
>
> try even more heat i guess some of the filled filaments do better with wider nozzles, i dont know if that applies to marble though. i say find a temp tower that starts hot and works its way to cold, maybe a 250 i can share one that starts at 240, but thats not much better than where you were [Heat\_tower\_190-240\_Bridge.gcode](https://forum.snapmaker.com/uploads/short-url/aG7fev33lfdWFAjpwDeJ3gx6Pcu.gcode) (2.0 MB)

Are you trying to run from luban or are you transferring the gcode to the SM and running from there?  
-S

---

<div class="post-metadata">

**Author:** ![Edwin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/edwin/32/13481_2.png) [@Edwin](https://forum.snapmaker.com/u/Edwin)\
**Post date:** [May 24, 2021, 6:41am UTC](https://forum.snapmaker.com/t/temp-tower-gcode/18877/4 "2021-05-24T06:41:23Z")

</div>

Users can insert G-code command to set different temperature values to create a temp tower.

### Step 1, Find the layers in Snapmaker Luban.

After you generate G-code in Snapmaker Luban, you can see the number of layers in the 3D printing section.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/2X/e/e5f9a85a6eed32818c38c19df39dc0caf6938898.png)

Please find the layers in which you want to change the temperature.

![Luban15](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/2X/1/17a0b1762cd6aafd0cecf33440763ed673d2975e.gif)  
Luban151330×944 879 KB  
]([https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/2X/1/17a0b1762cd6aafd0cecf33440763ed673d2975e.gif](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/2X/1/17a0b1762cd6aafd0cecf33440763ed673d2975e.gif))

### Step 2, Insert `M600` in G-code file

- Open the G-code file in VS code or other text editors

 ![image](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/2X/0/0b05445e31bafd9448931753806fc5f2da19ea13.png)

You can find use `Ctrl + F` to find the layers, in which you want to switch the filament, and then insert `M104 S190` before the layers start.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/snapmaker/original/2X/2/27837245fb073478b837ba766ab4d5572137df7a.jpeg)

---

<div class="post-metadata">

**Author:** ![JAllen](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@JAllen](https://forum.snapmaker.com/u/JAllen)\
**Post date:** [May 24, 2021, 6:15pm UTC](https://forum.snapmaker.com/t/temp-tower-gcode/18877/5 "2021-05-24T18:15:54Z")

</div>

Thanks everyone for the tips!

---

<div class="post-metadata">

**Author:** ![JAllen](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@JAllen](https://forum.snapmaker.com/u/JAllen)\
**Post date:** [May 24, 2021, 6:26pm UTC](https://forum.snapmaker.com/t/temp-tower-gcode/18877/6 "2021-05-24T18:26:16Z")

</div>

I saved the gcode to a file and opened it and ran it with Luban.
