Papercraft With Blender

by sdfgeoff in Craft > Paper

60909 Views, 102 Favorites, 0 Comments

Papercraft With Blender

IMG_20160730_131314.jpg
ship.png

Making things out of paper is a lot of fun. However, many of the instructables and other instructions around the web reccomend Pepkura for converting a 3D model into a template. While I have nothing against a paid software product, it is nice to know that it can be done just as well with an open source solution: Blender3D.

Blender3D is the 3D modelling tool in the open source world. It get's used for a huge number of things, and there is a great community around it who continously extend and develop it. In particular, one community member made a plugin called "Export Paper Model"

Setting Up Blender

downloadblender.jpg
downloadextension.jpg
userprefs.jpg
installaddon.jpg
installaddonfromfile.jpg
enableaddon.jpg
checkinstalled.jpg

First things first is to get your tools set up. So download blender from the blender website. I did this instructable with 2.77a, the latest version as of the time of publishing. Now you need the paper extension. So download it from this link. You will probably have to right-click "Save File As" otherwise it will just open in your browser.

Now we have to install the extension on blender, so open blender and click:

  1. File-> user preferences
  2. Go to the addons tab annd click the button in the bottom corner: "Install from file"
  3. Select the extension file (should be called io_export_paper_model.py) and click "Install from file"
  4. Enable the addon by clicking the checkbox next to it's name

Check that it has installed by seeing if there is an entry "Paper Model (.svg)" under export. If it isn't there you probably didn't click the checkbox to enable it.

Every new blend you make you'll need to re-enable the paper model export addon. Not reinstall it, just click the tick next to it's name.

A Trivial Example (Paper Cube)

testexport.jpg
cube.jpg
islanderror.jpg

First, let's check it's working by exporting the default cube.

  1. Select the cube with right mouse button (blender is a right-click interface)
  2. File->Export->Paper Model
  3. Set the scale to 1:100 (see image)
  4. Give it a name and export it

Voiala, we have a paper cutout for a cube. It's automatically put in tabs and numbered them. The scale of 1:100 made it smaller so it fits in the corner of the page. With a scale of 100, a cube 2 blender units wide will be 2cm wide.

If you get an error about the island not fitting on the page (last image), check that you set the scale to 1:100

A quick overview of blender's interface

Blender is a bit of a behemoth. It can do a huge amount more than I am explaining in this instructable. Here are the user interactions that tend to be the most useful. I'll explain these when needed as well, so don't be too concerned.

  • Middle Mouse button to rotate the view
  • Shift + middle mouse button to pan the view
  • Scroll wheel to zoom
  • Right Click to select
  • Left Click to intereact with the UI (eg draggable handles on selected objects)
  • Space and type to execute a command (if you don't want to look for the button)
  • Tab key to toggle mesh edit mode

Trivial Example 2: Seams

editmode.jpg
edgemode.jpg
select edges.jpg
markseam.jpg
cube2.jpg
uveditor.jpg
preview.jpg

That cube template is a little weird isn't it? A more typical shape is the cross shape. So how can we get it to do that? We use ... seams!

  1. Go into edit mode using the button at the bottom of the 3D view (or press the tab key)
  2. Put the selection type into "edge" mode
  3. Select the edges you want to turn into seams with right-mouse button (use shift to select multiple)
  4. On the sidebar click "Shading/UV's" and then "Mark Seam" (or press space and type "Mark Seam")
  5. The seams should be marked in red.
  6. Exit edit mode (switch to object mode or press tab key) and export the model again.

If the sidebar isn't visible, try pressing "T" on the keyboard.

Previewing Seams

Wouldn't it be great if we could preview the seams? Well, we can.

  1. Change one of the windows to UV editor
  2. Go into edit mode and press the "a" key to select all
  3. Go to the Paper Model tab and press "Unfold"
  4. Ensure the "Create UV Map" is ticked.

Now a preview can be seen in the UV editor.

A Deer Head Example

dearhead.jpg
import mesh.jpg
remesh.jpg
deer_head_page3.jpg
deer_head_page2.jpg
deer_head_page4.jpg
deer_head_page1.jpg

This seems to be the standard 3D papercraft demo here on instrutables doesn't it? So I'll join in.

  1. Download the stl from thingiverse. (Thanks Takeshi for providing this under CC-BY-SA license)
  2. Import it into blender using file->import->stl
  3. Scale the model down to a managable size by pressing "S" key and typing 0.01 followed by enter.
  4. Add a decimate modifier and set it to "0.003" See the image for how to do this.
  5. Apply the modifier using the apply button on the modifier.

The deer head 3D model is very highly detailed, and your computer may run slowly. On my (mid-gaming-spec) computer the decimate modifier took several seconds to update. Now go through the process of adding seams and unfold the mesh as per the previous two steps. You don't have to mark all the seams, the unfold is slightly intelligent.

I have attached the final blend file.

Handling Errors:

  1. Does it fit on the page? Try changing the scale
  2. Is there any malformed geometry (faces that overlap/intersect etc)? Remove them by merging vertices (M key), moving them (G key). Look up how to use blender for mesh manipulation for more detail.

Downloads

Textured Space Ship Example

ship.png
frommaterials.jpg
DescentShip_page2.jpg
DescentShip_page3.jpg
DescentShip_page1.jpg
IMG_20160730_131314.jpg

The first model I did this for was the player space ship from the 1995 game Descent. The model came from the game and was extracted by some member of the community. I can't find where the original came from, it's been sitting on my hard drive for several years now.

This time we want to preserve the textures into our paper model. Once again I've uploaded the blend file so you can see where I placed the seams. Because this is a lot simpler model than the deer head, the seams were placed manually to make the printouts easy to fold.

Preperation

  1. First off I needed to clean up the model for paper-craft. This included making sure there were no overlapping faces. (Of which there were a few).
  2. Then I textured it, as when I got it it was just polygon data, so the textures were made in Gimp.


Making the Paper Model

The only difference here is that we need to use multiple UV layers. One for the color, and another to preview the unfold. That involves making sure the texture sheet in the material use the correct UV map. I don't particularly feel like explaining how to use blender's material system so I'll point you at this tutorial.

Then it's just a case of using the 'From Materials' option in the paper exporter.

Downloads

Where to From Here?

Well, there is a whole world. You could talk about the journey from concept art to 3D model, you could look at baking the details on a high resolution model into a low resolution one. I may well make some more tutorials at some point, as doing papercraft is really fun, especially if you're the person who made the pattern.

I'd also like to investigate slicing for papercraft in blender, so that shapes can be built up from layers, but (to my knowledge) no-one has made an addon for that yet.

Well, have fun and go make stuff!