Converting code generated by chrono solidworks in Python to C++

10 views
Skip to first unread message

akash vardhan

unread,
Jan 5, 2022, 5:10:30 AMJan 5
to ProjectChrono
Hello, I am relatively new to the use of Chrono and I have been able to generate the python executable for A Cad assembly I am trying to simulate using the chrono solidworks plug in, but need to know how to translate the code to run with the C++ version of the Engine.

Alessandro Tasora

unread,
Jan 5, 2022, 6:21:12 AMJan 5
to projec...@googlegroups.com

Dear Akash

unfortunately the only way to do this is to translate the Python code to C++ code by hand... There is no automatic conversion, you must do it by yourself.

Note that I was planning a feature in the SolidWorks plugin so that it could generate C++ code as an alternative to Python code, but I had to give up because I have other high-priority developments to do.

Alessandro

On 05/01/2022 11:10, akash vardhan wrote:
Hello, I am relatively new to the use of Chrono and I have been able to generate the python executable for A Cad assembly I am trying to simulate using the chrono solidworks plug in, but need to know how to translate the code to run with the C++ version of the Engine.

--
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/1dc767a5-5127-447c-938e-01f7f1bace3dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages