<p>I would have to see your design to comment more but why not just change your model with the lid or top that can be either fused on later or attached in some other fashion? </p>

<p>It is possible to turn off the heated bed after a certain layer. It looks like there is a discussion here with the G-code: <a href="https://forum.lulzbot.com/viewtopic.php?t=2061" rel="nofollow noreferrer">Can Cura Turn Off a Heated Bed Partway Into a Print?</a></p>

<p>I would personally avoid exposing the battery to the heat generated by the hotend or the build plate. Printers alone can burn your house down. Why combine it with the awesome power of a lithium ion battery?</p>

CC BY-SA 3.0
2018-04-25T08:10:00.283Z
The first sentence of your answer should be a comment on the original question (though the question itself already partially addresses it). You are linking to a discussion on turning the heated bed off, but we prefer to have self-contained answers. Could you summarize the main points of the linked discussion here?
Tom van der Zanden
CC BY-SA 4.0
2018-04-24T20:09:53.927Z
2018-07-30T16:04:54.823Z
2018-07-30T16:04:54.823Z
Aaron Havens
<p>If your heatbed is at 40°C, and it's not dangerous until 60°C, I wouldn't worry.</p>

<p>The heatbed is what heats up the printed object, not the print head.
It will obviously heat it up a tiny bit in a small local area when printing, but the heat dissipates rapidly, only affecting the temperature of the object very little.</p>

<p>If you're worried, try getting a laser thermometer, and monitor the surface temperature of the battery during a test print.
They're like $10, so it's not a big investment to try it out.</p>

<p>Alternately, maybe you can do a test print with a stand-in for the battery, and embed a temperature probe in the stand-in, and monitor the temperature real-time while printing.</p>

CC BY-SA 3.0
2018-04-25T17:11:16.417Z
Laser thermometer is a great idea.
K Mmmm
CC BY-SA 4.0
2018-05-23T16:15:18.247Z
I've personally had bad luck with laser thermometers. I'd also look at those Flir thermal cameras, at least recordings of. Get some idea how it works.
MakerModder
CC BY-SA 4.0
2018-05-25T06:48:40.177Z
Could you elaborate on how you've had bad luck with laser thermometers? So far when I've used them, they've always worked as expected. They do require some area available to measure, can't measure something as small as a few millimeters, you need at least a few square centimeters, but a battery like this will have a surface area large enough to measure.
Gertsen
CC BY-SA 4.0
2018-04-25T10:39:29.703Z
2018-05-23T15:53:40.390Z
2018-05-23T15:53:40.390Z
Gertsen
<p>Although the bed may only reach 60°, the extrusion above the battery will be at closer to 200°C. Granted there will be a fairly low heat flux, but it will still cause ageing of the battery. At a minimum, some insulation or packing above the battery would seem like a sensible move. This could be printed material, and you could print over the top if you really want to seal the part.</p>

<p>Also remember that as LiPo cells age, they generate gas (this is designed to be trapped in the pouch) and swell. You should try and avoid any risk of puncture if this happens.</p>

CC BY-SA 4.0
2018-07-30T19:37:53.293Z
2018-07-30T22:18:34.783Z
2018-07-30T22:18:34.783Z
Sean Houlihane
<p>Well. First. If you ever think, hmm this might cause an explosion. DON'T DO IT. SERIOUSLY. Modify the design so you can insert the battery. </p>

<p>That said, most softwares will let you set a heater temp per layer. I have mine set through simplify 3d. I usually use this setting for the hot end, as I like to have the first layer hot. You will have bad results doing this with the bed as you will likely cause the print to expand or shrink enough to pop off. You are better not using the heated bed for the print than to turn it off. Look into rafts as well. That is how makerbot helps mitigate their heatless beds. A fan will also help..</p>

<p>AGAIN do not try anything that can possibly might blow something up. There are a lot of variables you do not know, such as how conductive the plastic is and how much will travel through the hotend to the battery. Or how off the specs are for this battery.</p>

CC BY-SA 4.0
2018-05-22T21:26:08.857Z
2018-05-22T21:26:08.857Z
MakerModder
<p>Discharge the battery entirely, then there is no danger of ignition if the membrane breaks. The battery cells are usually protected by Kapton tape (LiPo) or maybe even metal (LiIon). Both will withstand the temperature of 240°C. The downside is that the cells are damaged after a deep discharge. You should discard the battery afterwards. </p>

<p><strong>What I would expect when you do that:</strong></p>

<p>A deeply discharged battery will bloat up because the solvents will gas out. This will also happen if you heat up the battery enough (>>60 degree). The gases themselves can be ignited again but are captured in our air sealed Kapton envelope :) Igniting these gases will be comparable to a short flash with a spray can. </p>

<p>The temperature is not enough to damage the envelope. The solvents will be also not very dangerous in that temperature range. In case of mechanical breakdown of the membrane nothing will happen anymore. </p>

<p>From <a href="https://www.sigmaaldrich.com/materials-science/material-science-products.html?TablePage=107476223" rel="nofollow noreferrer">Solvents and Additives</a>:</p>

<blockquote>
  <p><a href="https://i.sstatic.net/HgIFF.png" rel="nofollow noreferrer" title="Solvents and Additives"><img src="https://i.sstatic.net/HgIFF.png" alt="Solvents and Additives" title="Solvents and Additives"></a></p>
</blockquote>

CC BY-SA 4.0
2018-05-23T15:52:09.847Z
Could you provide any references that you can link to which would back up your claim? Not only, as you say, would the LiPo  be (probably irrevocably) damaged, but I am also not sure that it would be terribly safe to heat up even a _fully discharged_ LiPo .
Greenonline
CC BY-SA 4.0
2018-10-15T18:30:59.547Z
Recharging a fully discharged LiPo is a pretty bad idea too. I've had some of them burst (not explode) after doing that.
K Mmmm
CC BY-SA 4.0
2018-10-16T08:47:35.253Z
Should be clear, why you write this?
dgrat
CC BY-SA 4.0
2018-05-23T10:27:27.183Z
2018-10-12T16:19:23.560Z
2018-10-12T16:19:23.560Z
dgrat
<p>There is an option to directly insert extra commands at a specific Z height, no need to enter them manually.</p>

<p>That said, it is a bad idea to turn off the heated bed while printing, because this will often detach the object from the bed completely (that's kind of the point of having the heated bed in the first place: better adhesion while printing, and easier removal afterwards).</p>

<p>I wouldn't print over a battery to enclose it, not just because it is likely to damage the battery, but also to keep the battery exchangeable. Enclosing the rest of the design in a case is possible, but normally it is easier to print two separate parts that can be screwed together through a hole in the PCB.</p>

<p>So, experience: it's not worth it usually.</p>

CC BY-SA 3.0
2018-04-25T08:12:49.933Z
2018-04-25T08:12:49.933Z
Simon Richter
<p>So I bought a Lulzbot Mini a couple months ago and finally downloaded Ultimaker's version of Cura... Boy... have I been missing out...</p>

<p>One feature Ultimaker Cura implemented that I've been looking for is a "pause at z-height" feature ("post-processing tool"). I'm building prototypes of an electronics device, and creating two pieces that snap together looks a lot worse than printing a single piece. If I could pause my print, insert my electronics, and continue printing, my device would look a lot more professional (even if it took longer to make).</p>

<p>My one concern is the lithium ion battery. Right now I'm printing in TPU. With a heated bed of 40 degrees Celsius, and a heated extruder at 240 degrees Celsius, there seems to be a significant risk that the lithium ion battery reaches a temperature above 60 degrees Celsius (damaging the cell, causing a potential explosion). Granted, I am not sure what "60 degrees Celsius" actually means. It could mean only one part of the packaging needs to reach this temperature, or it could mean the entire LiPo's internal temperature would need to reach this. In either case, the numbers don't look good.</p>

<p>On the other hand, the heated bed surely doesn't need to remain heated beyond the first few layers? Additionally, I can create a "roof" for the LiIon battery that I can slip it under, providing some insulative TPU before the rest of the device. I think the print would happen safely like this, but obviously, an explosion would be really really bad. Like it would probably burn my house down, and I would be asleep when it happened.</p>

<p><strong>Does anyone have any experience doing this?
Is there a way to turn off the heated bed mid-print? I guess I can insert a g-code line during the pause? Will this affect the remainder of the print you think?
Am I being paranoid? Can the extruder actually pass heat through a 1–2 mm of insulation and cause an explosion?
Anyone know how heat travels from the initial, liquid print material through the rest of the structure?</strong></p>

<p>Any more advice or things I should consider before pursuing this?</p>

<p>A more specific pause type might be helpful, if anyone knows of any.</p>

CC BY-SA 3.0
2018-04-25T04:36:44.790Z
Is wrapping the battery into something heat dissipating an option? Usually putting a battery next to a heater is a big no-no. You don't want to be close when it goes wrong, neither does your house.
Mast
CC BY-SA 3.0
2018-04-25T04:37:46.717Z
I'm not sure why you'd embed the battery like this either. It sounds like your construction will make it non-removable.
Mast
CC BY-SA 3.0
2018-04-25T09:58:25.673Z
@Mast Because no electronics manufacturer does that.
ProgrammingLlama
CC BY-SA 3.0
2018-04-26T13:26:58.910Z
One further drawback to this method of printed your part is that you are only able to produce the part when you have internal components on hand. If you design the part so that it can be printed without the internal components you can have parts created even without the internal components and perhaps improve speed of creation of additional "devices" by having a supply of this part that you just draw from.
Aaron Havens
CC BY-SA 3.0
2018-04-26T16:30:15.180Z
True, but for one or two very nice prototypes it could be okay.
K Mmmm
CC BY-SA 3.0
2018-04-28T10:16:52.980Z
freeze the battery before printing, and print the layers next to the battery as fast+thick as possible. you can set temp in gcode or manually over-ride on the front panel.
dandavis
CC BY-SA 4.0
2018-05-23T16:16:19.290Z
I'm going to note that if you choose to go this route, look into how to put out battery fires. I believe water will just make it worse..
MakerModder
<ultimaker-cura><lulzbot>
Danger in 3D printing over a lithium ion battery
K Mmmm
# Danger in 3D printing over a lithium ion battery

(Asked by: username_0 on 2018-04-24)

So I bought a Lulzbot Mini a couple months ago and finally downloaded Ultimaker's version of Cura... Boy... have I been missing out...

One feature Ultimaker Cura implemented that I've been looking for is a "pause at z-height" feature ("post-processing tool"). I'm building prototypes of an electronics device, and creating two pieces that snap together looks a lot worse than printing a single piece. If I could pause my print, insert my electronics, and continue printing, my device would look a lot more professional (even if it took longer to make).

My one concern is the lithium ion battery. Right now I'm printing in TPU. With a heated bed of 40 degrees Celsius, and a heated extruder at 240 degrees Celsius, there seems to be a significant risk that the lithium ion battery reaches a temperature above 60 degrees Celsius (damaging the cell, causing a potential explosion). Granted, I am not sure what "60 degrees Celsius" actually means. It could mean only one part of the packaging needs to reach this temperature, or it could mean the entire LiPo's internal temperature would need to reach this. In either case, the numbers don't look good.

On the other hand, the heated bed surely doesn't need to remain heated beyond the first few layers? Additionally, I can create a "roof" for the LiIon battery that I can slip it under, providing some insulative TPU before the rest of the device. I think the print would happen safely like this, but obviously, an explosion would be really really bad. Like it would probably burn my house down, and I would be asleep when it happened.

**Does anyone have any experience doing this?
Is there a way to turn off the heated bed mid-print? I guess I can insert a g-code line during the pause? Will this affect the remainder of the print you think?
Am I being paranoid? Can the extruder actually pass heat through a 1–2 mm of insulation and cause an explosion?
Anyone know how heat travels from the initial, liquid print material through the rest of the structure?**

Any more advice or things I should consider before pursuing this?

A more specific pause type might be helpful, if anyone knows of any.

**Tags:** ultimaker-cura, lulzbot
> **Comments:**
> **username_1**: Is wrapping the battery into something heat dissipating an option? Usually putting a battery next to a heater is a big no-no. You don't want to be close when it goes wrong, neither does your house.  
> **username_1**: I'm not sure why you'd embed the battery like this either. It sounds like your construction will make it non-removable.  
> **username_2**: @Mast Because no electronics manufacturer does that.  
> **username_3**: One further drawback to this method of printed your part is that you are only able to produce the part when you have internal components on hand. If you design the part so that it can be printed without the internal components you can have parts created even without the internal components and perhaps improve speed of creation of additional "devices" by having a supply of this part that you just draw from.  
> **username_0**: True, but for one or two very nice prototypes it could be okay.  
> **username_4**: freeze the battery before printing, and print the layers next to the battery as fast+thick as possible. you can set temp in gcode or manually over-ride on the front panel.  
> **username_5**: I'm going to note that if you choose to go this route, look into how to put out battery fires. I believe water will just make it worse..  

---

## 6 answers

### Answer by username_11 on 2018-04-25. Score: 9 | Accepted answer

There is an option to directly insert extra commands at a specific Z height, no need to enter them manually.

That said, it is a bad idea to turn off the heated bed while printing, because this will often detach the object from the bed completely (that's kind of the point of having the heated bed in the first place: better adhesion while printing, and easier removal afterwards).

I wouldn't print over a battery to enclose it, not just because it is likely to damage the battery, but also to keep the battery exchangeable. Enclosing the rest of the design in a case is possible, but normally it is easier to print two separate parts that can be screwed together through a hole in the PCB.

So, experience: it's not worth it usually.


---

### Answer by username_3 on 2018-04-24. Score: 9

I would have to see your design to comment more but why not just change your model with the lid or top that can be either fused on later or attached in some other fashion?

It is possible to turn off the heated bed after a certain layer. It looks like there is a discussion here with the G-code: [Can Cura Turn Off a Heated Bed Partway Into a Print?](https://forum.lulzbot.com/viewtopic.php?t=2061)

I would personally avoid exposing the battery to the heat generated by the hotend or the build plate. Printers alone can burn your house down. Why combine it with the awesome power of a lithium ion battery?

> **Comments:**
> **username_6**: The first sentence of your answer should be a comment on the original question (though the question itself already partially addresses it). You are linking to a discussion on turning the heated bed off, but we prefer to have self-contained answers. Could you summarize the main points of the linked discussion here?  

---

### Answer by username_7 on 2018-04-25. Score: 3

If your heatbed is at 40°C, and it's not dangerous until 60°C, I wouldn't worry.

The heatbed is what heats up the printed object, not the print head.
It will obviously heat it up a tiny bit in a small local area when printing, but the heat dissipates rapidly, only affecting the temperature of the object very little.

If you're worried, try getting a laser thermometer, and monitor the surface temperature of the battery during a test print.
They're like $10, so it's not a big investment to try it out.

Alternately, maybe you can do a test print with a stand-in for the battery, and embed a temperature probe in the stand-in, and monitor the temperature real-time while printing.

> **Comments:**
> **username_0**: Laser thermometer is a great idea.  
> **username_5**: I've personally had bad luck with laser thermometers. I'd also look at those Flir thermal cameras, at least recordings of. Get some idea how it works.  
> **username_7**: Could you elaborate on how you've had bad luck with laser thermometers? So far when I've used them, they've always worked as expected. They do require some area available to measure, can't measure something as small as a few millimeters, you need at least a few square centimeters, but a battery like this will have a surface area large enough to measure.  

---

### Answer by username_8 on 2018-07-30. Score: 3

Although the bed may only reach 60°, the extrusion above the battery will be at closer to 200°C. Granted there will be a fairly low heat flux, but it will still cause ageing of the battery. At a minimum, some insulation or packing above the battery would seem like a sensible move. This could be printed material, and you could print over the top if you really want to seal the part.

Also remember that as LiPo cells age, they generate gas (this is designed to be trapped in the pouch) and swell. You should try and avoid any risk of puncture if this happens.


---

### Answer by username_5 on 2018-05-22. Score: 1

Well. First. If you ever think, hmm this might cause an explosion. DON'T DO IT. SERIOUSLY. Modify the design so you can insert the battery.

That said, most softwares will let you set a heater temp per layer. I have mine set through simplify 3d. I usually use this setting for the hot end, as I like to have the first layer hot. You will have bad results doing this with the bed as you will likely cause the print to expand or shrink enough to pop off. You are better not using the heated bed for the print than to turn it off. Look into rafts as well. That is how makerbot helps mitigate their heatless beds. A fan will also help..

AGAIN do not try anything that can possibly might blow something up. There are a lot of variables you do not know, such as how conductive the plastic is and how much will travel through the hotend to the battery. Or how off the specs are for this battery.


---

### Answer by username_9 on 2018-05-23. Score: -2

Discharge the battery entirely, then there is no danger of ignition if the membrane breaks. The battery cells are usually protected by Kapton tape (LiPo) or maybe even metal (LiIon). Both will withstand the temperature of 240°C. The downside is that the cells are damaged after a deep discharge. You should discard the battery afterwards.

**What I would expect when you do that:**

A deeply discharged battery will bloat up because the solvents will gas out. This will also happen if you heat up the battery enough (>>60 degree). The gases themselves can be ignited again but are captured in our air sealed Kapton envelope :) Igniting these gases will be comparable to a short flash with a spray can.

The temperature is not enough to damage the envelope. The solvents will be also not very dangerous in that temperature range. In case of mechanical breakdown of the membrane nothing will happen anymore.

From [Solvents and Additives](https://www.sigmaaldrich.com/materials-science/material-science-products.html?TablePage=107476223):

> [![Solvents and Additives](https://i.sstatic.net/HgIFF.png "Solvents and Additives")](https://i.sstatic.net/HgIFF.png "Solvents and Additives")

> **Comments:**
> **username_10**: Could you provide any references that you can link to which would back up your claim? Not only, as you say, would the LiPo  be (probably irrevocably) damaged, but I am also not sure that it would be terribly safe to heat up even a _fully discharged_ LiPo .  
> **username_0**: Recharging a fully discharged LiPo is a pretty bad idea too. I've had some of them burst (not explode) after doing that.  
> **username_9**: Should be clear, why you write this?  

---

