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://github.com/projectchrono/chrono/blob/cd091cca25686fdcbc6db68ce650894e7b825b7c/src/chrono_vehicle/terrain/SCMTerrain.h#L256> function. The latest demo_VEH_SCMTerrain_WheeledVehicle<https://github.com/projectchrono/chrono/blob/main/src/demos/vehicle/terrain/demo_VEH_SCMTerrain_WheeledVehicle.cpp> 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]<mailto:[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]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/PH0PR06MB82378CD9AE8AF66A14776BE3A70E2%40PH0PR06MB8237.namprd06.prod.outlook.com.
