Deform object using a box as a template

Hi,

I’m trying to take an arbitrary object and use a box as a “deformation guide”.

My use case: I want to take any arbitrary Brep, arrange multiple copies of it around a circle and deform it so it is continuous. The screenshots and the GH file hopefully clarify what I mean.

In the doc below I arranged the object as I need them and then I created a “box” that I would like to use to deform the object.

Is there a way to do this?



morphing_example.gh (30.4 KB)

MidPoint component from a plugin… :zipper_mouth_face:

You can do this with the Sporph component

Unless you have a good reason not to do so, I would build circular objects oriented on the origin.

Your approach with minor adjustments:

morphing_example.gh (21.4 KB)

But I would do it like this:

morphing_example_mrtn.gh (22.5 KB)