Skip to content

Add deformation to the mode shape animation #1644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Rfaelv opened this issue Jun 28, 2024 · 1 comment
Open

Add deformation to the mode shape animation #1644

Rfaelv opened this issue Jun 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Rfaelv
Copy link

Rfaelv commented Jun 28, 2024

Description of the feature

The actual mode shape animation looks like this example presented in the documentation. Even though the method animate_mode allows the deform_scale_factor parameter, only the colors changes in the animation. I expected that the node coordinates changes too (acording to the mode shape).

If some of you could please implement that feature I would apreciate it so much.

Steps for implementing the feature

No response

Useful links and references

No response

@Rfaelv Rfaelv added the enhancement New feature or request label Jun 28, 2024
@Rfaelv
Copy link
Author

Rfaelv commented Jun 28, 2024

I've driven into the code and found a way (not necessarily the better) to show the mode shape deformation. Below I describe the solution:

Here:

wf.set_output_name("field", scaling_op.outputs.field)
I added an addtional workflow output for deform_by as follows:
wf.set_output_name("deform_by", scaling_op.outputs.field)

Finally, in method

I passed the parameter scale_factor with the following value: scale_factor[frame]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant