Currently, there is no formal support to mix rigid and SCM terrain patches (but this is something I plan on adding in the future). Until then, you can still include rigid objects fixed to the global frame with primitive or mesh collision shapes in a system that also has an SCM terrain patch. The only thing you need to keep in mind is that the SCM (virtual) grid extends to infinity beyond the boundary of the mesh you provide to initialize it (at a height equal to that at the closest mesh boundary); this introduces some limitations in what additional rigid terrain objects you can add and how they are positioned relative to the SCM patch.
--Radu From: [email protected] <[email protected]> On Behalf Of Prabasgarage Sent: Thursday, April 18, 2024 5:17 PM To: ProjectChrono <[email protected]> Subject: Re: [chrono] Deformable surface from obj file Thanks that was helpful. I am using chrono release 8.0 Also, Is it possible to create patches in deformable surface? So part of the terrain is rigid and part of the terrain is deformable? I am modelling a road way where the road has to be rigid and sides of the road has to be deformable. Any advise to achieve this? Thanks. On Thursday 18 April 2024 at 11:24:57 UTC+1 Radu Serban wrote: Prabanjan – you do not say what version of Chrono you are using. The ability to initialize an SCM patch from a mesh has been in there for a while. A demo that illustrates that is also available in the latest development code in the git ‘main’ branch. To do that, use the appropriate SCMTerrain::Initialize<https://urldefense.com/v3/__https:/github.com/projectchrono/chrono/blob/cd091cca25686fdcbc6db68ce650894e7b825b7c/src/chrono_vehicle/terrain/SCMTerrain.h*L256__;Iw!!Mak6IKo!MZhqy31u8Qhh5L3Rgs5V2g07JJQzc2RN94-UNRb9ps5z8kzMNZSBNQuZYMuS3zSODSPrMpCEF6LMudr8uU4w$> function. The latest demo_VEH_SCMTerrain_WheeledVehicle<https://urldefense.com/v3/__https:/github.com/projectchrono/chrono/blob/main/src/demos/vehicle/terrain/demo_VEH_SCMTerrain_WheeledVehicle.cpp__;!!Mak6IKo!MZhqy31u8Qhh5L3Rgs5V2g07JJQzc2RN94-UNRb9ps5z8kzMNZSBNQuZYMuS3zSODSPrMpCEF6LMue9n93Py$> illustrates initialization of an SCM deformable terrain patch as a flat rectangle, or from an OBJ mesh, or from a BMP height-map. --Radu From: [email protected] <[email protected]> On Behalf Of Prabasgarage Sent: Thursday, April 18, 2024 12:01 PM To: ProjectChrono <[email protected]> Subject: [chrono] Deformable surface from obj file Dear Community, I have a .obj file of a terrain. I would like to create a deformable SCM surface that fits this .obj file shape. Is it possible to do? I cant find any examples for this specific purpose. Thanks in advance. Regards, Prabanjan -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/238c0c3c-41a4-4c26-84b0-8a96d7e60a81n%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/238c0c3c-41a4-4c26-84b0-8a96d7e60a81n*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!LksgSrqUg0FZkyV0u9r3Z9ss8N2ryoBwrG08rDiMTrEKgJ7uWHMjIobrK93IOH2tHHozL6f2eHmXxYUcLTT8$>. -- 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 [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/1818eba4-1c30-450e-a3e8-eca74bf27a5cn%40googlegroups.com<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/1818eba4-1c30-450e-a3e8-eca74bf27a5cn*40googlegroups.com?utm_medium=email&utm_source=footer__;JQ!!Mak6IKo!MZhqy31u8Qhh5L3Rgs5V2g07JJQzc2RN94-UNRb9ps5z8kzMNZSBNQuZYMuS3zSODSPrMpCEF6LMuQHOdrn_$>. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/PH0PR06MB823712B560C1F10990DB374AA70C2%40PH0PR06MB8237.namprd06.prod.outlook.com.
