# How to set the dimensions of the inner part in boxes.py

**URL:** <https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372>\
**Category:** Finished Creations\
**Created:** [June 24, 2024, 12:45pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372 "2024-06-24T12:45:30Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alcan](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/alcan/32/36381_2.png) [@Alcan](https://forum.lightburnsoftware.com/u/Alcan)\
**Post date:** [June 24, 2024, 12:45pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/1 "2024-06-24T12:45:31Z")

</div>

Hi, I’m configuring boxes.py so that the black part can be inserted into the blue part. I can’t get it to work, this way the fingers will always be wider than the inner hole. Does anyone know how to set this in boxes so that the inner hole is smaller?  
Thanks for response.

 ![2024-06-24 14_38_44-untitled _ - Monor 6445G - LightBurn 1.5.06](https://forum.lightburnsoftware.com/uploads/default/original/3X/5/e/5e23770081eff88d9a308c775b33b12d0b0d9cab.png)

---

<div class="post-metadata">

**Author:** ![Marcus\_Wakefield](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Marcus\_Wakefield](https://forum.lightburnsoftware.com/u/Marcus_Wakefield)\
**Post date:** [June 24, 2024, 12:59pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/2 "2024-06-24T12:59:06Z")

</div>

> [@Alcan](#):
>
> Does anyone know how to set this in boxes so that the inner hole is smaller?

Don’t you mean larger?!

Try changing the “burn” value:

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/5/8/5808c0fed29e926d871363c05c53a3b9ed6d54bb.png)

---

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [June 24, 2024, 1:03pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/3 "2024-06-24T13:03:52Z")

</div>

Is a kerf being applied?

😸

---

<div class="post-metadata">

**Author:** ![Alcan](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/alcan/32/36381_2.png) [@Alcan](https://forum.lightburnsoftware.com/u/Alcan)\
**Post date:** [June 24, 2024, 1:18pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/4 "2024-06-24T13:18:09Z")

</div>

Yes, when I apply kerf, it only shows up on the blue part. And I need the other one.

---

<div class="post-metadata">

**Author:** ![Marcus\_Wakefield](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Marcus\_Wakefield](https://forum.lightburnsoftware.com/u/Marcus_Wakefield)\
**Post date:** [June 24, 2024, 1:21pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/5 "2024-06-24T13:21:18Z")

</div>

What value do you have set for the “burn” value in Boxes.py?

---

<div class="post-metadata">

**Author:** ![Alcan](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/alcan/32/36381_2.png) [@Alcan](https://forum.lightburnsoftware.com/u/Alcan)\
**Post date:** [June 24, 2024, 1:24pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/6 "2024-06-24T13:24:13Z")

</div>

my settings are as follows:

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/d/2/d20e5b76345426736d06d9efd1f2c5dd4ac15bf4.png)

---

<div class="post-metadata">

**Author:** ![Marcus\_Wakefield](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Marcus\_Wakefield](https://forum.lightburnsoftware.com/u/Marcus_Wakefield)\
**Post date:** [June 24, 2024, 1:32pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/7 "2024-06-24T13:32:10Z")

</div>

Ok, I’d set the burn value to 0 then use the kerf setting in LB if you need to apply kerf adjustment. The reason there’s 0.2mm difference is that 0.05mm is being added to each side of the tab and 0.05mm is being subtracted from each side of the socket. If you set the burn value to 0.0mm you should get 22.70mm width for both. You can then use the kerf offset in LB. If you really want to apply the offset in Boxes.py you’ll need to go negative to give a looser fit (as per the comment next to the burn field).

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Alcan](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/alcan/32/36381_2.png) [@Alcan](https://forum.lightburnsoftware.com/u/Alcan)\
**Post date:** [June 24, 2024, 1:42pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/8 "2024-06-24T13:42:09Z")

</div>

Thank you, I’ll try that. Please explain to me what is the difference between the kerf specification in boxes.py and in LB ?

when I set kerf in LB, it doesn’t show in the picture, right? Only by burning?

---

<div class="post-metadata">

**Author:** ![Marcus\_Wakefield](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Marcus\_Wakefield](https://forum.lightburnsoftware.com/u/Marcus_Wakefield)\
**Post date:** [June 24, 2024, 2:01pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/9 "2024-06-24T14:01:31Z")

</div>

Ok, here’s my view: Adding kerf offset via the burn setting in Boxes.py makes the design specific to a certain laser. If you want to transfer the design to a laser with a different kerf width you’ll either need to go back to Boxes.py and generate a new design or add a fudge-factor additional kerf offset in LB. I’d rather start off with geometry which is theoretically the exact size then allow for the kerf in LB. If you then need to transfer it to another machine it’s a simple task of adjusting the LB kerf accordingly. Obviously the choice is yours but that’s what I would do.

> [@Alcan](#):
>
> when I set kerf in LB, it doesn’t show in the picture, right? Only by burning?

That’s correct.

---

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [June 24, 2024, 4:34pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/10 "2024-06-24T16:34:22Z")

</div>

> [@Alcan](#):
>
> I apply kerf, it only shows up on the blue part

The objects have to be on a layer and they have to be closed objects for kerf to be applied.

On the top object, the whole object will have a kerf applied.

I do this all the time with mine.

I agree with @Marcus_Wakefield, in that I use a zero kerf during box generation, then apply a kerf with Lightburn.

😸

---

<div class="post-metadata">

**Author:** ![Alcan](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/alcan/32/36381_2.png) [@Alcan](https://forum.lightburnsoftware.com/u/Alcan)\
**Post date:** [June 24, 2024, 7:28pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/11 "2024-06-24T19:28:03Z")

</div>

thank you @Marcus_Wakefield and @jkwilborn

---

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [June 24, 2024, 7:58pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/12 "2024-06-24T19:58:49Z")

</div>

The kerf on my machine is different with acrylic, mdf, plywood and anything else, so it’s really beneficial to not compute the kerf when creating the design.

It’s also advantageous if you import this into another piece and manipulate it.

Have fun…

😸

---

<div class="post-metadata">

**Author:** ![Alcan](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/alcan/32/36381_2.png) [@Alcan](https://forum.lightburnsoftware.com/u/Alcan)\
**Post date:** [June 24, 2024, 8:02pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/13 "2024-06-24T20:02:34Z")

</div>

Just for interest @Marcus_Wakefield and @jkwilborn. I just tried the finger test on a small sample box and it fits perfectly fine at kerfu 0.0 !  
I just wonder how it behaves in the whole box area. But I won’t know until I cut it completely :))))

 ![photo_2024-06-24_22-00-40](https://forum.lightburnsoftware.com/uploads/default/original/3X/8/9/899ab950e26074f44fbc18efbeaed0529006c6d2.jpeg)

---

<div class="post-metadata">

**Author:** ![Marcus\_Wakefield](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Marcus\_Wakefield](https://forum.lightburnsoftware.com/u/Marcus_Wakefield)\
**Post date:** [June 24, 2024, 8:19pm UTC](https://forum.lightburnsoftware.com/t/how-to-set-the-dimensions-of-the-inner-part-in-boxes-py/142372/14 "2024-06-24T20:19:02Z")

</div>

That’s exactly what I’ve found with my Ortur. Zero kerf and the parts fit perfectly.

Just a little heads-up: Something to bear in mind is that with a diode laser the beam is rectangular, so in theory you’d need more kerf offset in one axis than the other, if you find some joints are looser than others that could be the reason for it.
