morphing using a script

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi

i currently try develop a TCL script to morph a body with a simplified geometry to a given target shape.

Since my target geometry is a surface mesh, I defined a global domain with a grid of handles.

Afterwards I move the handles to respective points on my target geomtry.

So far this procedure works, but I morph every individual handle successively. The macro runs ages that way.

Does anyone know a possibility to morph all handles to their target points at the same time (using a macro preferably)?

I do have the feeling Hyperworks should be capable of that, because it is actually the same thing like mapping a surface domain to another surface. The only difference in my approach is, that I explicitly calculated the directions and distance for the mapping of each point in advance.

I appreciate every idea. Thanks

Falko

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited May 2012

    I finally decided to extract a surface from the target mesh and map my generic model to that mesh. this procedure is way faster and works fairly well