Skip to content

How to display .stl files so that they can be deformed by mouse dragging #5193

Discussion options

You must be logged in to vote

Hello !

You are using a TriangleFEMForceField. This only gives stiffness on the element itself, but noting between elements. Meaning that no bending between triangles is computed : thus the resulting 'cloth-like' behavior.

For the lack of internal structure, it might be because the stl file only contains surface triangle and is meant either for contact handling or visualization (I don't know what is in this file, I am just pointing potential issues, but the fact that you are using a TriangleFEMForceField makes me think that you tried with a TerahedronFEMForceField but it didn't work because no Tetrahedron were present in the loaded topo...)

What I suggest is to make sure first that the lo…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cdy123456-HUB
Comment options

@bakpaul
Comment options

@cdy123456-HUB
Comment options

Answer selected by cdy123456-HUB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants