![[Laser cut and engrave] Custom box in any size](https://image-res.xtool.com/ali-res/community/making/a156d263-5735-441a-8239-7d4df9282085/IMG_2130.jpg?x-oss-process=image/resize,w_1200,h_900,limit_0/interlace,1/format,webp/auto-orient,1)
Custom box in any size

Information
This how-to will show you how to generate the SVG needed to cut out a box in custom sizes
Instruction
Step1: Goto Boxes.py and chose the type of box you would lilke

Step2: Settigns for our "Simple box"

In this how-to we will create a simple box with a lid.
- expand the lid setting and set the style to “overthetop”
- in ABox settings used for our sample box
x=100
y=100
h=50
unchecked “outside” so that the inside space of the box is 10x10x5cm - Verify the thickness of the wood you want to use.
Default is 3mm
you can leave the burn at 0.1 for a very tight fit of the joints. If the parts are too tight to assemble you can lower this value
Step3: Download the svg

Click the download button and save the generated svg file
Step4: xTool Creative Space

open xTool Creative Space and place a piece of plywood or MDF into your P2. I like to align a new piece of material to the front right of the machine, as I can then get the close view of the corner of the material.
Take a close view image of the top left of the material, set the material to MDF or plywood and let the machine determine the thickness
Step5: Add the SVG


Drag and drop the downloaded SVG file into your design.
Important: if the SVG is too big, Creative Space will show a popup. Make sure to select “No, display it in the original size” otherwise you won't be able to assemble the box.
Next I rotate the entire design so it fits on the material I chose. You can also move single parts around to optimize the usage of your material. Just be careful to also move the cutout holes belonging to the part you're moving. Easiest way is to select all the lines belonging to a part and grouping it.
Use the close view to ensure that all the parts will fit and move single parts as needed
ABox usually creates an additional box for description label. This can be deleted
Step6: Prepare to cut

Select everything (Ctrl+A) and change "Processing type" to “Cut”
Setting “Reference” has worked well for me, so I don't change speed or power
Step7: Cut your design

Click the green “Start” button and “Start” in the preview window
In my design I added a “Happy Birthday” text and some flowers which are engraved on the lid
Step8: Assembly



Start with the lid and align the cutouts from one of the narrow pieces with the cutouts from the lid. I needed some taps from a hammer to make the pieces join. don't Hammer on the small cutout edges because they will expand and break.
Repeat for all four sides.
For the box, the floor pegs fit into the cutout holes of the sides. Again I needed the hammer to get them to fit
Step9: final result


This is the finished box.