1
$\begingroup$

I posted a question yesterday, today I'm here again with another stupid problem. I'm sorry for the dumb questions, but I'm trying my best to learn how to use the program with what I have (I'm def going to follow some kind of Blender class, If everyone here is available for private online lessons just let me know, my goal is to learn how to create product packaging in Blender).

But let's get to today's problem:

enter image description here

I created the structure of a box, but when I try to rotate the elements of it, to fold it, I cannot do it without changing the shape of it.

I rotate with the 3d cursor on and the snap to the selected object on, but it doesn't work. I tried and tried but can't figure out whats the error.

P.s. Thank you to MirkoCG for the answer to my previous post!!!

$\endgroup$
6
  • $\begingroup$ hello, maybe show 2 drawings: the box unfolded and the box folded, so that we can propose a topology $\endgroup$
    – moonboots
    Sep 15 '21 at 10:40
  • $\begingroup$ please provide blend file $\endgroup$
    – Chris
    Sep 15 '21 at 10:59
  • $\begingroup$ Here is quite an old tutorial for modelling and animating a cardboard box from BlenderNation. $\endgroup$
    – John Eason
    Sep 15 '21 at 11:07
  • 1
    $\begingroup$ Perhaps related: How to model a burger package with beveled edges? $\endgroup$ Sep 15 '21 at 11:41
  • 1
    $\begingroup$ I would just rig it… $\endgroup$
    – Chris
    Sep 15 '21 at 13:32
1
$\begingroup$

Each flap needs to be its own separate object with its origin point at the pivot of your flap.

Edit mode - Select a face & hit P to separate the selected object.

Go back to object mode and make sure you select ONLY the piece you’ve separated

Back into edit mode with the separated object selected.

Edge select - the edge you want the flap to pivot around.

Hotkey CTRL+S - Cursor to selected, which will move the 3D cursor to the middle of that edge you’ve selected.

Make sure you have scales applied before the next step. Object mode - CTRL+A - Apply Scale

Back into object mode - Right-click on flap - Set origin - Origin to the 3D cursor.

It should rotate around like a door at this point you just have to make sure you're rotating on the correct axis.

The origin is also called the pivot point in other programs and where ever that point is located is where the object will rotate around.

$\endgroup$
0
$\begingroup$

Use shape keys for this. Faces don't need to be separated. Put the 3D cursor at vertices, make it pivot and rotate faces to get the following result:

folding a box animation

https://www.dropbox.com/s/fblq1yxq1yibyng/Animacja_Zapakowanie.avi?dl=0

$\endgroup$
1
  • $\begingroup$ Faces change size during animation $\endgroup$
    – Crantisz
    Sep 16 '21 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.