Skip to content
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

SOFA displacement contraint not reached #241

Open
markus-stoll opened this issue May 27, 2015 · 2 comments
Open

SOFA displacement contraint not reached #241

markus-stoll opened this issue May 27, 2015 · 2 comments
Assignees

Comments

@markus-stoll
Copy link

Ther SOFA time step for the keyframe of a displacement constraint is calculated with
timestep = float(timeSteps) * float(dt)

There seems to be something wrong, the final displacement is not reached in the final vtk export.

@markus-stoll
Copy link
Author

Fix with 8425876:
timestep = (float(timeSteps)/2) * float(dt) / 10.0 #endtime of simulation must be divided by 10 for the constraint for some reason.

Keyframe of a displacement constraint is now at half-time of the simulation (to give also some relaxiation time)

@markus-stoll
Copy link
Author

Is this ok on linux side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants