Hi Jiapeng,
You would create a trimesh collision shape, based on a ChTriangleMeshConnected object.
I added the ability to read a ChTriangleMeshConnected from an STL file a few months ago (see ChTriangleMeshConnected::CreateFromSTLFile and ChTriangleMeshConnected:: LoadSTLMesh), so you can only do this with the latest code in the ‘main’ branch of the Chrono git repository.
--Radu
--
You received this message because you are subscribed to the Google Groups "ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/3c2b8893-9632-4b0a-b901-cdf2b7d0bcc4n%40googlegroups.com.