- This topic has 4 replies, 2 voices, and was last updated 4 years, 8 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] One object with different collision definitions for different parts
Tagged: 32_bits, collision, Plugin_other, SOFA_other, Windows_7
Hi everyone,
I was wondering if it is possible to upload an object as one .stl file but define different collision models for two different parts. For instance, if I load the geometry of a needle, is it possible to use a TTriangleModel for the shaft and TLineModel and TTriangleModel for the tip (with different contact and friction parameters)?
Thanks,
Marina
Hi @marina
Good to see you on the forum!
Yes creating subpart of an object with different representations (e.g. different collision models) should be possible using the SubsetMapping. You can have a look at the example: examples/Components/mapping/SubsetMapping.scn
I hope this helps.
Best,
Hugo
Hi Hugo,
awesome, many thanks! I have an idea, I want to try out.
I will let you know if there are interesting outcomes.
Best,
Marina
Hi Hugo,
I used the SubsetTopologicalMapping and it worked well.
Many thanks,
Marina
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.