Hello everyone,

After successfully installing (thanks to Radu),  I have looked around at 
the demo files and I noticed that some of the variables are named 
differently in cpp and python versions while the documentation is only 
available for Cpp version.

Eg.  in Demo, Cables.py, the sphere is defined as
msphere = chrono.ChSphereShape()
msphere.GetSphereGeometry().rad = 0.02
constraint_hinge.AddVisualShape(msphere)

here, the radius is specified with rad while in cpp, documentation it is 
referred [image: Screenshot_20220819_090538.png]

Similarly, when I tried to create a cylinder, I couldn't find the variable 
for height.

I tried "h", "height". Similarly, for radius, "radius" doesn't work, and 
only "rad" works.



So can someone tell me if there is a documentation for Python Chrono? How 
to know which variable to use?

-- 
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/7cd798cc-1eaa-4c10-972c-945684bfc24cn%40googlegroups.com.

Reply via email to