Aidan,
A ChBodyEasyCylinder is just a convenience class to create a ChBody with a cylindrical visualization and/or collision shape. You can do the exact same thing yourself in your user code creating a ChBody and then attaching a cylindrical visualization shape and a cylindrical collision shape. Of course, the latter route is more general and flexible as you have full control on the visualization and collision models you attach to your body.
I only took a quick look at your code. To get any visualization, you must use the Irrlicht PyChrono module (this is the only one exposed to PyChrono; the C++ Chrono base code has other options). You don’t have any of that in your code.
The best way to get started with Chrono and PyChrono is by looking at the demos that are bundled with the code. For PyChrono, look at demos in the appropriate place (depending on how you installed PyChrono). See https://api.projectchrono.org/tutorial_table_of_content_pychrono.html
Having said that, for the type of work you plan, I think you’ll be better off working with the core C++ Chrono libraries. PyChrono wraps only some of the Chrono functionality (for several reasons, including Python limitations).
--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/ab9316cc-b45b-4ac3-91e3-bdc6d3061a46n%40googlegroups.com.