1
$\begingroup$

I need one object to mimic shape of another, so that it would fit it's volume and shape. Circle (2d) needs to be shaped like those crooked cube. As if you put something soft into some hard box, I need changed circle, cube is just for shaping (preferably for Blender 2.8, but not necessarily). enter image description here

$\endgroup$
  • $\begingroup$ you don't give enough details about what your objects look like, but have you tried shapekeys? $\endgroup$ – moonboots Apr 4 at 21:48
  • $\begingroup$ @moonboots I updated question, no I didn't - don't know yet how to use them. $\endgroup$ – R S Apr 4 at 22:02
  • $\begingroup$ so maybe check shapekeys and see if it could answer, if your shapes are really basic I think it will easily do the trick $\endgroup$ – moonboots Apr 4 at 22:04
  • $\begingroup$ @moonboots I took a look at shapekeyes - it seems that's not what I need. I need circle automatically fit into the box. $\endgroup$ – R S Apr 5 at 9:48
  • $\begingroup$ why is it not what you need? with shapekeys you can transform a circle into another shape, like a square for example $\endgroup$ – moonboots Apr 5 at 10:17
2
$\begingroup$

Here is a try with some shapekeys:

  • Create your object, a circle if it begins with a circle.
  • In the Properties panel > Data > Shape Keys, create a basic shapekey, then a second one.
  • Switch to Edit mode, select the second shapekey and edit your mesh, make it a bent square.
  • Now back to Object mode, if you play with the shapekey Value you can morph from a shape to the other.

enter image description here

$\endgroup$
  • $\begingroup$ You said "make it a bent square" - how do I do that ? Manually ? That's exactly what should be avoided. And bent square is already there as a separate object. Good tutorial though, thanks. $\endgroup$ – R S Apr 5 at 12:38
  • $\begingroup$ why don't you want to make it one object? why avoid manually? $\endgroup$ – moonboots Apr 5 at 12:43
  • $\begingroup$ because it will take a lot of time to move all circle's vertexes into positions that I need and it's not gonna be that precise. I don't need shapekeys at all to shape it into something else, I could just do it. $\endgroup$ – R S Apr 5 at 12:48
  • $\begingroup$ it took me 2 minutes to do it and it can be as precise as you want so I'm not sure what you mean... $\endgroup$ – moonboots Apr 5 at 14:40
2
$\begingroup$

How about:

  • Make a box
  • Make a circle which fits the box
  • Make a Lattice object which fits the box
  • Assign a Lattice modifier to the circle and the box

Now, whatever you do to the lattice, will happen to the circle and the box.

enter image description here

Or, if you have to fit to an existing box, make the Lattice to fit the circle, and then snap its vertices to the box.

$\endgroup$
  • $\begingroup$ Not quite automatic, but not bad at all, thanks. $\endgroup$ – R S Apr 5 at 17:32

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.