Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pychrono AddMesh error. TypeError: in method 'ChAssembly_AddMesh', argument 2 of type 'std::shared_ptr< fea::ChMesh >' #215

Open
LeoG2 opened this issue Jan 15, 2020 · 1 comment

Comments

@LeoG2
Copy link

LeoG2 commented Jan 15, 2020

Hi,
I have trying to run a code by creating a mesh using nodes 3D positioning and computing the links between them. I colleague created a code and it was working. The code was running both, in linux and in windows 10, running perfectly. I am using the same working code in a different computer with windows 10. When running the code there is an error when using mysystem.AddMesh(mesh). in the visualization setup. The following error is prompted:

TypeError: in method 'ChAssembly_AddMesh', argument 2 of type 'std::shared_ptr< fea::ChMesh >'

If I do not use this function the software runs perfectly. I also tried the demos and no issues are shown.

Any Idea what this could be?

@Benatti1991
Copy link
Member

Hi Leo,
could you please post the cose that is giving the error?
Are you using the same pychrono version?
Are you using the same python version?
Thanks,
Simone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants