- This topic has 3 replies, 2 voices, and was last updated 8 years, 5 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Programming with SOFA › [SOLVED] Estimate Pressure
Tagged: 64_bits, Linux_ubuntu, SOFA_other
Hello guys
in SOFA when hold shift button and pull the object to another point
How can estimate the pressure of object ?
Hi Binesh,
When pulling a point of the mesh with the mouse interaction, what occurs is that a spring (StiffSpringForceField) is created between the mouse location and your object. This spring will apply a force on your object. So, there is two ways of recovering the nodal force (and not the pressure): either you modify the StiffSpringForceField to export/print the value of the force applied in addForce function, or you directly export the field “force” of your object (MechanicalObject). The second option was already discussed here.
Cheers,
Hugo
Hi Binesh,
Was my anwer helpful enough?
Cheers,
Hugo
Hi dear Hugo
yes of course . your answer was helpful
after 3 month i can develop the sofa . thanks a lot for every things
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.