Introduction: Generating Elliptical Boxes Using a Laser Cutter and Inkscape

Picture of Generating Elliptical Boxes Using a Laser Cutter and Inkscape

This Instructable will teach you how to make elliptical boxes of different shapes and sizes like the ones pictured above. These boxes are easy to customize so you can add your own personal touch.

Step 1: Tools and Materials

  1. A computer.
  2. Inkscape, a free and open source vector drawing application.

  3. The elliptical box Inkscape plugin, available from github (see below). There are two reasons for using this plugin instead of drawing everything by hand:

    1. Inkscape prints lines in the order and direction in which they are drawn. The plugin generates the cut pattern in a way that tries to minimize unnecessary laser movement.
    2. Generating the notch pattern on an ellipse is tricky. On a circle the notches are evenly spaced and the distance along an arc is easy to calculate, for ellipses it is much harder.
  4. Access to a laser cutter. Since laser cutters can be set up in different ways it is important to be aware of how your laser is set up. The one I have access to is set up as follows: red lines are to be cut, blue lines are shallow cuts (i.e. they don’t cut through the material but they leave a visible line) black or grayscale is engraved (this can also be a bitmap image).

  5. Material to make the box. MDF or multiplex works well, plexiglass is also possible but it is harder to bend. It is best if the material is not too thick, 3 or 4 mm works great.

(Edit September 30th: add reasons why to use the plugin)

Step 2: Software Installation

You can get an installer for the latest Inkscape version here. The installation is very straight forward and should not give you any problems.

To install the elliptical box plugin first download it here, this will download a zip archive containing three files. To install the plugin you need to copy ell_box.py and ell_box.inx to your Inkscape extensions directory.

The location of this directory depends on your operating system and on whether you want to install it only for yourself or for all users on the computer.

Windows

For a personal install copy the files to C:\Users\USERNAME\AppData\Roaming\inkscape\extensions (where USERNAME is your username). You can create the directory if it doesn't exist yet.

If you want all users to have access, copy the files to C:\Program Files\Inkscape\share\extensions (you need to have administrative rights in order to do this).

Mac or Linux

Personal install: put both files in~/.config/inkscape/extensions

Install for all users: put them in /usr/share/inkscape/extensions

If you start Inkscape the plugin will show up in the Extensions menu under Laser tools --> Elliptical box maker.

Step 3: Plugin Parameters Explained

Picture of Plugin Parameters Explained

Here is a quick overview of the parameters. Don't worry if they don't make much sense right now. The next step will be a step-by-step walk-through.

  • Unit: The unit that you want to use.
  • Material thickness: It is best if your material is not too thick because you’ll need to bend it. 3 or 4 mm works very well; 6mm is too thick for a small box (it may still work for a larger box).
  • Height: The inside height of the box.
  • Width:The inside width of the box. It is best to make this value bigger than the height if you want to prevent it from tipping over.
  • Depth: Outside depth of the box (slight inconsistency here, sorry)
  • Cut distance:The distance between the cuts on the round wraparound part.

The closer you put these cuts the more flexible it will be. Note that there will be an offset cut at half this distance. 2 – 4 mm works well.

This distance is recalculated to get an even spread over the available space so the actual value will be slightly different.

  • Number of cuts: This is the number of in line cuts across the depth of the wraparound. The fewer the cuts the more flexible the wraparound will be.
  • Lid angle:This is the angle that the lid takes up, measured from the center of the ellipse. 120° works well.
  • Invert lid notches: This inverts the notch pattern on the lid. Normally there is one notch on the body that keeps the lid from sliding sideways. If you invert it the lid can slide to the side (it's a bit hard to explain, just try it and you'll see the difference).
  • Central rib:This option creates a notch pattern and corresponding holes that allow you to easily create things such as: handles, center dividers or other decorations (see examples at the end of this tutorial)

Step 4: Creating a Simple Box With a Handle: Making the File

Picture of Creating a Simple Box With a Handle: Making the File

The output of plugin does require a little more work before it is ready to send to the laser so here is a step-by-step guide to create the box as shown in the pictures. It is made from 3mm thick MDF.

This page also mentions several Inkscape operations if you need more help on using Inkscape, check this page.

Start Inkscape.

  1. It is a good idea to set the page size equal to your material size (you can find this under File --> Document properties
  2. Run the elliptical box maker with the following parameters
    • Units: mm

    • Material thickness: 3

    • Heigh: 55

    • Width: 70

    • Depth: 60

    • Cut distance: 3

    • Number of cuts: 2

    • Lid angle: 120

    • Create central rib in the lid: Checked

  3. Click “apply” and close the popup window.

    You’ll notice that five items appear on the page. The
    topmost part is the body wraparound, below that is the lid wraparound. Then there is the side panel (there is only one for now, we’ll duplicate it after we have drawn the separating line between body and lid). The lowermost parts are the notch patterns for the inner and outer ribs.

    You don’t need the inside rib so go ahead and delete it (click on it and press the delete key).

  4. Finish the side of the box. By default the constituent parts are grouped so they can easily be moved as a whole. Before you can edit the side you need to ungroup it by selecting it and then selecting Object-->Ungroup and then click on a blank part of the page so you have nothing selected.

    Now delete the text on the side. You’ll also notice two green lines, these indicate the division between body and lid and you need to draw a cutting line. In order to do this use the Bezier tool from the menu on the left.

    It helps to also enable snapping in the right side menu and make sure snap to cusp nodes is selected.

    Now just draw over the green lines, the snap should help to hit the points exactly. Your last point should be a double click (otherwise you will continue to draw line segments).

    To turn this line into a curve use the path node tool from the left side menu , select the middle node and make it symmetric.

    Use the path node tool to make something that looks like the example above. You can also go for a different shape if you like.

    You can now delete the green guide lines.

    The side is now complete. It is a good idea to group all the lines (use the select tool from the left menu, draw a box around the side panel and use Object-->Group).

    Now use Edit-->Duplicate to make a copy of the side panel and position it on an empty part of your sheet.

  5. To create the handle you need the outside rib. Ungroup and delete the text like you did for the side. There is also one line too many on the right side, delete that as well.

    Use the Bezier, Ellipse and Path node tools to draw a handle that is attached to the notches like in the image on the left. Use your creativity; there is absolutely no need to copy my design.

    Once again it’s a good idea to group all parts of the handle if you are done with it.

  6. All parts are now ready to be cut. Like I said before the laser I use will only cut the lines that are in red.

    To make all lines red use Edit-->Select all and then Object-->Fill and stroke…, this will give you a popup window. Select the Stroke paint tab and pull the red slider all the way to the right (or type 255 in the textbox next to it) all your lines are now red and ready to be cut.

Step 5: Creating a Simple Box With a Handle: Cutting and Assembling

Picture of Creating a Simple Box With a Handle: Cutting and Assembling

Using the laser

I cannot give an explanation for every type of laser so here is just a very short general description.

To your computer the laser cutter looks like a printer with some extra software to manage settings and control the laser. Make sure the laser is properly focused and that you have selected the proper material template.

If you have never worked with the laser ask if someone can help you get started.

Assembling the box

This can be slightly fidgety but with a bit of patience it is certainly doable.

It can be tricky to fit the second side because you can make the first side fall out. You can always use tape or rubber bands to keep it together.

Assembling the lid should be easier as it is smaller and less curved. Always start with the center rib.

The box should stay together without any glue. If you want to make it more robust you can use a little bit of glue (wood glue works well for MDF).

Step 6: Beyond Simple Boxes

Picture of Beyond Simple Boxes

As you can see in the above images it is possible to use the plugin as a base for more imaginative designs.

Here are some tips and observations:

  • Always start your assembly with the central notch part
  • Fitting the central part can be tricky, especially on strongly curved parts.
  • You can use a thin knife to help push or pull the wraparound when you are assembling a tricky bit (just be careful that you don't cut yourself).

Converting notches to holes

You can see that the notches in the side panels have been changed to create holes where the front fins are. The easiest way to do this is by using the ellipse tool and editing the start and endpoints of the elliptical arcs (see also the last picture above). Inkscape has the tendency to change the arc to a segment when you do this so you may have to switch it back to arc.

Removing holes on the wraparound

If you tick the Central rib check-box you will get the holes and notches to make a rib. If you do not want the rib to go all the way round you can delete parts of it. Removing the notches is trivial, just select them and press delete.

Removing the holes in the wraparound is slightly more work but not very hard either. First delete the horizontal lines that make up the top and bottom of the hole.

You may now notice that the vertical lines above and under where the hole used to be are shorter than the ones to the side of it. If it doesn't bother you then fine, you are done.

It is however not too hard to make them longer. First select all short lines on the upper side (use shift-click to select multiple items) and then adjust the length. Then use the same procedure for the lower side.

Step 7: Closing Thoughts

Picture of Closing Thoughts

Thanks for reading this far.

This is my first instructable, I hope you like it.

There are some of my files on this page, try them if you like (they all require 3mm thick material).

The plugin is hosted at Github so if you want to add features, report bugs or just take a look please go here. The programming language is python.

Comments

modelaratrod (author)2017-09-03

Great Instruckable!!!

Are the shark and dino available?

citybadger (author)2015-12-24

The new version of this inkscape extension needs the inkscape_helper module, which is downloadable from the author's github repositories. Put the two files in a folder called "Inkscape_helper" (note the capital I) and put the folder into the extensions directory where you put the ell_box.pi and ell_box.inx files.

_mpo_ (author)citybadger2017-08-17

Put the two files in a folder called "Inkscape_helper"

which two files do you mean? there are more files in the "inkscape_helper-master" folder -->

crazy24 (author)citybadger2016-01-21

True. I have that problem. Where I find the helper module. Please download link.

fred_dot_u (author)2017-07-14

Even with the Inkscape_helper files in place, this plugin does not work with 0.92 version of Inkscape. That's unfortunate, as this could be quite a wonderful add-on for the program.

GoDt made it! (author)2014-09-24

My first attempt, great plugin!!! Will be making more of these I guess :-) THX

AashishJ12 (author)GoDt2017-03-18

pl mail me dxf file for ur creatives

greenpeace.indore@gmail.com

thomas.pilkington.378 made it! (author)2014-09-23

Really nice Plugin! Works like a train :)

It takes some training to assemble but we got it right :)

Great Job Bas!

pl mail me dxf file for ur creatives

greenpeace.indore@gmail.com

stuww (author)2016-12-07

Fantastic plugin and great Instructable! just made this little box, worked first time :-) Thanks

espot428 (author)2016-04-07

I am still trying to get this to work. I had the helper module problem, i did what was said below, now i'm getting this...

Traceback (most recent call last):

File "ell_box.py", line 230, in <module>

effect.affect()

File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 263, in affect

self.getoptions(args)

File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 159, in getoptions

self.options, self.args = self.OptionParser.parse_args(args)

AttributeError: EllipticalBox instance has no attribute 'OptionParser'

BvdP (author)espot4282016-04-13

I'm not sure what's going on here. The error occurs in inkex.py which is a module that comes with Inkscape.

It's probably best to try and use the plugin from here:

https://github.com/BvdP/elliptical-box-maker/archive/v1.0.zip which is the released version.

DukeP (author)BvdP2016-06-25

I have exactely the same error:

Traceback (most recent call last):

File "ell_box.py", line 230, in <module>

effect.affect()

File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 263, in affect

self.getoptions(args)

File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 159, in getoptions

self.options, self.args = self.OptionParser.parse_args(args)

AttributeError: EllipticalBox instance has no attribute 'OptionParser'

I have tried to uninstall and reinstall Inkscape and I have copied the helper module in - as it says below.

DukeP (author)DukeP2016-06-25

And now - for some for me unknown reason - it works!! Strange.. ;)

espot428 (author)BvdP2016-04-13

HUZZAH!!!!!!!!!! IT WORKS NOW!!!!!!!! thank you thank you thank yoU!!!!!!!!!!!!!!

rn2it (author)2016-05-21

Great project and thank you for the files.

crazy24 (author)2016-01-21

Thank for sharing about nice plugin but I have an error about helper module. How can I try for that?

BvdP (author)crazy242016-03-29

The helper module can be found here:

https://github.com/BvdP/Inkscape_helper/archive/ma...

See citybadger's reply below about where you should put these files.

juggler made it! (author)2014-09-28

Thank you very much for your sharing!

MongiaV (author)juggler2015-12-02

HI CAN U SHARE THE FILE FOR THIS BOX

WaldoR1 (author)2015-11-08

Awesome tutorial...really want to try that plug in but i am an Illustrator guy..any idea where to get a similar plugin for illustrator?

YouryDW (author)2015-04-07

Hey Bass, could you send me the svg of the small box in the upper picture as a start file? thanks :) I Like the design of it...

BvdP (author)YouryDW2015-04-29

I added it to the files in step 7 of the instructable. It is called foobarbox 3mm.svg.

jkimball (author)2014-09-30

These look really nice. How durable are they?

BvdP (author)jkimball2014-10-03

They are pretty strong if you glue them.

raj.sanchania.7 (author)BvdP2015-03-03

Hello, thanks for your reply to my mail....but Sir i cant download the software

raj.sanchania.7 (author)2015-01-22

I cant open SVG files....can you please send me CDR X3 File i want to learn to make this kind of box

thank you

BvdP (author)raj.sanchania.72015-03-03

I don't have Corel Draw so I can't help you with that.

Inkscape is a free download though.

ChrisB24 (author)2015-02-28

Excuse my total ignorance... but how do I get the plugin to work on Inkscape?

BvdP (author)ChrisB242015-03-03

The installation instructions are in the readme.MD. I also copied it here:

You need to copy ell_box.py and ell_box.inx to your Inkscape extensions directory.
If you then start Inkscape the plugin should show up in the Extensions menu under Laser Tools --> Elliptical Box Maker.

On Windows:

  • Local install: put both files in
    C:\Users\USERNAME\AppData\Roaming\inkscape\extensions (where USERNAME is
    your username, i.e. the name you use when you log in)
  • System wide install: put the files in C:\Program Files\Inkscape\share\extensions

On Linux or Mac:

  • Local install: put both files in ~/.config/inkscape/extensions
  • System wide install: put them in /usr/share/inkscape/extensions

(You need to be admin to do a system wide install.)

eddie5839 (author)2014-09-29

Brilliant plugin, thank you

ldworkshop (author)2014-09-22

Gongrat's (sorry)

ldworkshop (author)2014-09-22

Contrats for this first instructable and thanks for those great ideas.

Paige Russell (author)2014-09-22

I've been wanting to try some projects with the bendy laser cut wood! Thanks for providing such clear instructions.

MsSweetSatisfaction (author)2014-09-22

These are really neat! Thanks for sharing!

About This Instructable

29,035views

235favorites

License:

More by BvdP:Generating elliptical boxes using a laser cutter and Inkscape
Add instructable to: