Tutorial: 3D Printing Pepakura Files with Blender

unlimitedbacon

New Member
Hi Everyone,

I've been working on 3D printing a Mark III Iron Man suit based on DancinFool's Pepakura files. It turns out that 3D printing pep files is a lot harder than just converting them to STL and hitting print. I didn't find any really thorough guides already, so I collected all the information on the problems I've run into and the techniques I learned to solve them, and put them in this tutorial.

I'm going to cover cleaning up the models, giving them thickness. getting the scaling right, adding some detail, and then cutting everything up into pieces small enough for printing. We're going to do all of this using Blender, a very powerful free tool for 3D modeling. Blender is scary, but I hope this guide will be a good introduction for people who have never used it before.

I'm posting everything here, but you can also find it in a much nicer format at
http://matterhackers.dozuki.com/Guide/How+To+Print+Pepakura+Designs/38

This guide is written with pep files in mind, but I think a lot of it is applicable to printing game models or any other sort of meshes. A coworker of mine did a nice guide on using the same techniques for printing game models. You can find it here.
http://www.matterhackers.com/articles/how-to-use-blender-to-improve-your-designs


Step 1: Export OBJ from Pepakura Designer

  • First we will need to export the model from Pepakura Designer.
  • To do this, go to File > Export > Texture Editing > 3D Model with UV Info.

sASnKpTM3PM3SoAn.jpg


Step 2: Import into Blender

  • We are now going to take the model into Blender and make some modifications to get it ready for 3D printing.
  • Many of you may already be familiar with basic editing in Blender, but I'm going to try and be as thorough as possible for those that aren't. The best way to learn things is to have a specific task you want to accomplish, or problem you want to solve. I hope this guide will be a good way for newbies to get to know this extremely powerful program.
  • First you will want to delete all the objects in Blender's default scene. To do this, press A until everything is selected, then press X to delete them.
  • To import the OBJ file, go to File > Import > Wavefront (.obj). Select the file you exported in step 1.

mMjJgGDRSWwAwxO4.jpg


Step 3: Navigating in Blender

  • Here are the basics of getting around in Blender.
  • Drag MMB (Middle Mouse Button): Rotate view
  • Shift + MMB: Pan view
  • Scroll wheel: Zoom in/out
  • RMB (RIght Mouse Button): Select an object

Step 4: Center the objects

  • When your model is imported, it will likely be off in the distance. Lets move it back to the center of the scene.
  • Select the group by right clicking on it.
  • Move it to the center by dragging the arrows on each axis.
  • You can also move things by pressing G.
  • To make things easier, you may want to reset the object's origins. To do this, go to Set Origin > Origin to Geometry.
  • At this point you will probably also want to save the model with CTRL-S.

ELWsZtNUhhQxExNR.jpg


aYwYoJLeoN6KKdNM.jpg


Step 5: Check scale

  • Models in Pepakura may have a scaling factor that is not applied to them when exporting. Lets check the scale in Pepakura and adjust our Blender model accordingly.
  • In Pepakura Designer, go to 2D Menu > Change Scale > Set Scale.
  • Copy the scale value.
  • In Blender, right click on your model to select it and then press N to bring up the Object Transformation panel.
  • Change the scale of all three axes to what you copied from Pepakura.

kNvTvZxacJHaOTYZ.jpg


uGSyhkZHEUrnXWYF.jpg


mDPvlfeWnExlCSAo.jpg


Step 6

  • You will also probably want to adjust the scaling factor so that the costume fits you better. To help you choose the correct size, you can take measurements from the model in Blender.
  • Select the object and then switch to Edit Mode.
  • Press A until everything is deselected.
  • Go to Grease Pencil > Ruler/Protractor
  • Hold CTRL and drag the mouse from one point to another.
  • Press ESC to clear the measurements.

DcLQvdrGiUFAgdNB.jpg


3P3eQAb4NGWMIjKw.jpg


1NgXZYa1qKEaNpj2.jpg


Step 7

  • You can also take the same measurements in Pepakura.
  • Right click anywhere in the 2D view and select Measure Distance between Two Points.
  • Now you can click on any two points in the 3D view to get a measurement.

esedWfrD5VvGRIcJ.jpg


AZqKGX2HjxNDhjKM.jpg


Step 8: Separate objects

  • Many Pepakura designs have multiple pieces on the same sheet. When you import them into Blender, they all come together as one group. We need to separate them in order to work on them individually.
  • Select the group and switch to Edit Mode, if you are not there already.
  • Press A until nothing is selected, then right click on one piece to select one of its vertexes.
  • Press CTRL-L to select the entire piece (all linked vertices).
  • Press P then choose Selection to separate that piece from the group.

EPtSKGb2ZNHba6di.jpg


tECCDic1WgSTdFQf.jpg


PRt6kEpqn3S3d6el.jpg


Step 9: Remove support structures

  • Now lets start working on cleaning up these pieces. Many Pepakura models have built in support structures, which are useful when building molds but not so much when 3D printing. We are going to remove these.
  • Select a piece and go into Edit Mode.
  • Switch to Face Select mode.
  • You can select faces of the support structures by right clicking on them individually, but I find it easier to use Circle Select.
  • Press C then click to select faces touching the circle.
  • You can use the scroll wheel to increase/decrease the size of the circle.
  • When you are done selecting, press ESC.
  • To delete the faces, press X and then select Faces.

GFGQwPROTtVpWpBh.jpg


hFSFQUKCDqEFBpWK.jpg


jH3q2QBvkVsnW6A1.jpg


Step 10

  • Tip: You can hide the pieces you aren't working on right now by clicking the eyeball icon next to them in the Outliner.
  • Also remember to save your progress as you go (CTRL-S).

4JX3PCJnQI2kEFWv.jpg


Step 11: Enthicken

  • The problem with Pepakura models is that, since they are made to be printed on paper, they are only a surface. They have no thickness or volume. This means that there is not actually anything to print (i.e. the printer has nothing to fill in).
  • There are a couple ways we can give the model some thickness. I'll go over doing it automatically, and a couple of manual methods for different situations.
  • The easiest way to do this is with the Solidify modifier.
  • Select your object, then go to the Modifiers tab of the Properties editor.
  • Click Add Modifier and then choose Solidify from the Generate section.
  • Increase the thickness to whatever you think is best. I think 3.0 is a good starting point.
  • If you want to make the changes permanent, you can hit Apply. This is not really necessary, though. You can leave it as is, which will allow you to edit the modifier later.

wFAI3hERMcNXJs3q.jpg


NwGIuxHcM3n43jST.jpg


gnvyWV5qp5ZfdqA6.jpg


Step 12

  • Here is an example where we don't even need to use the Solidify modifier. This piece has a front and sides. All we need to do is give it a back.
  • Switch to edge select mode and select one of the outer edges.
  • Go to Select > Edge Loops to select the rest of the ring.
  • Press ALT+F to fill in the back with polygons.

[H5VIDEO]https://dozuki-guide-objects.s3.amazonaws.com/igo/video/matterhackers/t5G3cANeGQtPBdHe_MP4_720.mp4[/H5VIDEO]

Step 13

  • This piece is tubular. We need to give it an inside.
  • Go into edit mode and press A to select everything.
  • Press E to extrude. This will make a copy of the mesh that is linked to the original around the edges. You can move this copy around with the mouse, but in this case we want to keep it in the same place so just press ESC.
  • Now press S to scale down the copy. We are going to turn it into the inside surface.
  • We want the inside of this tube to be just as tall as the outside, so press SHIFT+Z to tell blender not to scale the Z axis. Conversely, you could press Z if you only wanted to scale the Z axis. The same goes for the X and Y axes as well.
  • Move the mouse until the tube is the right thickness, then press ESC when you are done.

[H5VIDEO]https://dozuki-guide-objects.s3.amazonaws.com/igo/video/matterhackers/osBeY1TL6aEadEMt_MP4_720.mp4[/H5VIDEO]

Step 14: Check for thin sections

  • Once you have given the mesh some depth, it is important to check and make sure there is no intersecting geometry, or thin sections that may be flimsy or not print at all.
  • You can use ALT+B to slice open the mesh and see inside of it.
  • Here you can see a part of the inside that's sticking through the outside. I'll need to fix this by deleting faces and moving things around.
  • This part is also very thin and might not print well.
  • You can also switch the view to wireframe mode, to make everything transparent.

BfgUfYxXpFTtUqQK.jpg


6JVOSmZo5H6KSftS.jpg


xdmf6UWGiVIEBrrY.jpg


Step 15: Splitting pieces

  • You may want to split parts into multiple pieces. For instance, if you want to print sections in different colors or if the whole piece is too large for your printer. In this case I am going to split Iron Man's thigh into the gold section and the red section.
  • We need to select the line where the cut will be made. Select one edge and then keep selecting more using SHIFT or CTRL.
  • CTRL makes it easy by selecting the shortest path between the first line and the one you click on.
  • Press V and ESC to rip the mesh along the line you selected.
  • Press CTRL+L to select the entire linked section, then move it away from the rest.
  • Press P to ungroup it from the original.

M2IMwip5yELJCKjJ.jpg


2tGgplOMH1IDJsLA.jpg


HMGrMLjg3JboeKaj.jpg


Step 16

  • We now need to fill in the space where the cut was made.
  • Select one of the edges of the open area, then go to ``Select > Edge Loops".
  • Press ALT+F to fill in the area.

LKASmIciRvH2q6ER.jpg


u4jZnPHhbvYqV6AD.jpg


lpXrlKvBJ5AicfWf.jpg


Step 17

  • Sometime the auto-fill will not work well, in which case you will need to add faces manually.
  • Select 3 points, then press F to make a face from them.

DE3iBKT6AN3nVqjA.jpg


JfsOFsAAQRQ4J5YX.jpg


Step 18: Clean up mesh

  • Before we continue, lets make sure there are no problems with the mesh.
  • Normals are what determines which side of a face is the inside, and which side is the outside. If these are reversed, it can cause slicing errors.
  • Select all then go to Mesh > Normals > Recalculate Outside. If you see any faces change color slightly, it means they were reversed before.
  • Now lets check for non manifold geometry. These are parts of the mesh that either have holes or are intersecting with itself.
  • Go to Select > Select All by Trait > Non Manifold.
  • Any parts of the mesh that are now selected have issues. You will need to manually fix these. The best way is to probably delete those faces and reconstruct that area.
  • One thing that often leads to non manifold geometry is vertices which are very close to each other but not actually linked. To fix these, select all and then go to Mesh > Vertices > Remove Doubles

MXLtGNZI2uMkTKyX.jpg


O2gO3Oyj5sDYnFjj.jpg


YGYmnsErZqMWAhYK.jpg


Step 19: Smooth surfaces

  • Congratualtions, we now have a printable mesh. However, it doesn't look that good. Unless you are cosplaying as a low polygon video game character, you are going to want to smooth things out.
  • To smooth things out we are going to use Blender's Subdivision Surface Modifier. Open to the Modifiers tab and then go to Add Modifier > Subdivision Surface.
  • The setting you want to play with now is the number of subdivisions (View, not Render). I generally like to do 3 or 4. The more subdivisions, the smoother the surface. However it will also make more polygons which means larger file sizes and slower performance.

UNoMGygOaFyhdWcX.jpg


k6yBJ32WgDFoCAyd.jpg


LJNqUdiTW3KTVhEV.jpg


Step 20

  • Blender's smoothing algorithm will, by default, round off all edges. Even edges you may want to keep sharp. To prevent this, we need to tell it which edges we want to preserve by creasing them.
  • Lets start off by temporarily disabling the Subdivision Surface modifier. You can do this by clicking the eyeball icon.
  • Now lets select the edges we want to crease. An easy way to do this is by going to Select > Sharp Edges. This will select all edges with a sharp angle.
  • Play with the sharpness threshold until it looks like it has most of the important edges. It does not have to be perfect. We can add or remove more later. This is just to give you a good starting point.
  • Crease the edges by pressing SHIFT+E then type 1.0 and press ENTER.
  • To uncrease an edge, you would type -1.0 instead
  • You can now unhide the modifier to see how it looks, then go back and crease/uncrease more edges as needed.

pQ2xABlENUdAgZ2w.jpg


oN2ctCYWjhbkMJIu.jpg


pWdAoJk1s6KWHbwO.jpg


Step 21 Print!

  • Thats it! You now have a model thats ready for printing. Go to File > Export > Stl (.stl) to export the currently selected object.
  • Now bring it into your favorite slicer and start printing.

nPcBXF4MjKBExpQT.jpg


GChRUkluQTNpNo1W.jpg


OLwV21jpRoBfLhIM.jpg
 
Thanks for this, there were a few tricks I hadn't tried myself yet. I too have taken on the task of modifying a pep file for 3D printing and have been fumbling through it with some success. My biggest issue right now is having used the solidify modifier on the helmet, setting to 2 cm and finding it thickens at most maybe 3mm. I will have to play around a bit more and see if I can get better results.
 
I HATE Blender! But this is a very useful tutorial and I may give it a try, good job.

I've a project I've being meaning to go back to because I need to clean up a model, It's not a pepakura file, it's just a low polygon model. I've tried the whole subdivide thing but always found the model ended up loosing too much detail, So I will try your tutorial and see how it goes
 
Thanks heaps for this tutorial, exactly what I've been looking for! Unfortunately I gave up when I had a piece from the inside that was sticking out on the outside like you have mentioned in Step 14, guess I will have to keep trying hahaha
 
Last edited:
Really nice tutorial! I have a 3d model with no wall thickness, do you think you can use this method to build wall thickness to an existing model?
 
Really nice tutorial! I have a 3d model with no wall thickness, do you think you can use this method to build wall thickness to an existing model?
I did exactly that using this tutorial 2 days ago, I only did step 11 and tried a print. It went well but my sizing was off ..no fault of this tutorial though, just bad measuring on my part.
 
This is great tutorial, thanks for sharing. I've always avoided pepakura and game models due to all the issues you covered. I've never used blender before but I definitely want to five this a try.
 
Thanks for all the nice feedback everyone!

Question ? Are you planning on sharing these files when you are done? Also if you would like help with these i would be glad to lend a hand. :D

Yes, I am planning on posting the files. And I could use a little help actually. I'll try and post what I have tomorrow.
 
Sorry to revive this old thread, but can anyone please clarify for Blender 2.82a (with addon XPS to Blender 2.7x) how to:
-export xps to obj with provided texture for 3d model; I'm going nuts looking at the crowded layout and I cannot for the life of me find my way through all the tabs.I just need to figure out how to attach the skin/texture to the model before I export it.
-fuse different 'layers' before export, as almost every model from a video game seems to consist of multiple 'broken' layers that will cause 'red lines' when opening them in pepakura designer.

I very much appreciate any help I can get on the subject.I am a novice when it comes to Blender, but I have no 3d designing aspirations; I merely wish to convert a few xps files to obj files so I can unfold them in pepakura designer to make a cardstock cosplay suit.
Thank you all in advance for your reply and advice.
 
Sorry to revive this old thread, but can anyone please clarify for Blender 2.82a (with addon XPS to Blender 2.7x) how to:
-export xps to obj with provided texture for 3d model; I'm going nuts looking at the crowded layout and I cannot for the life of me find my way through all the tabs.I just need to figure out how to attach the skin/texture to the model before I export it.
-fuse different 'layers' before export, as almost every model from a video game seems to consist of multiple 'broken' layers that will cause 'red lines' when opening them in pepakura designer.

I very much appreciate any help I can get on the subject.I am a novice when it comes to Blender, but I have no 3d designing aspirations; I merely wish to convert a few xps files to obj files so I can unfold them in pepakura designer to make a cardstock cosplay suit.
Thank you all in advance for your reply and advice.

If you need an xps converted quickly, I can do it for you now (just attach the file).

If you want to learn how to do it yourself? Install blender 2.79 in another directory(not Blender), open 2.79 up by clicking on blender.exe in that new directory, go to preferences, install the add on, import .xps file, export as .obj.

personally, I like Blender 2.79 more than the newer layout.
 
Moe, you rock.I really appreciate your help (and Laellee - thanks for your patience).
I will send the files through PM, is that alright?

So after a few headaches and hours of looking at a jungle of info I managed to extract the obj of a few Marvel characters I'm a fan of, and in pepakura I can attach the textures like Laellee taught me (thanks for that), but eventhough I include files while exporting from Blender 2.82a I cannot seem to make them stick to the obj as
I open that up in Windows10 3D Builder.I also cannot find a shortcut inside 3D Builder to search and manually attach these textures; that would be a whole lot easier, since I am a novice with Blender.Normally 3D Builder will ask you to choose .png/.mtl files from your material library to accompany the .obj, but no joy so far...

Again: it's just about a few (low poly) characters from Marvel video games that I appreciate.If I like something really that much, I don't mind diving into 200 pages of a manual, but for 3 convertions that sounds a bit steep.

Thanks again for your help !
 
I would like to give credit to MoeSizzlac and laellee for their help and infinite patience to help me understand Blender better and for answering all my questions concerning exporting obj files with texture to 3D Builder.You guys are the best.Thanks a million
 
Hey All, I know this is posting years later, but hoping someone is active that can help

I’m using Pep 5 and Blender 3.6

When I go to export the Pep file, the path is different, talks about removing UV, saves as a BMP etc - Then when I go to import into Blender, it shows as an OBJ but nothing happens and nothing gets imported from what I see

Any suggestions of what I’m doing wrong?
 
Last edited:

Your message may be considered spam for the following reasons:

If you wish to reply despite these issues, check the box below before replying.
Be aware that malicious compliance may result in more severe penalties.
Back
Top