← Back to team overview

yade-dev team mailing list archive

Re: Fixing the examples


Jan Stránský said:     (by the date of Sun, 20 Jan 2019 21:44:29 +0100)

> > If you have any hints on how to fix any of those examples, please tell!  
> several mentioned not working script is from me. I think than correcting
> them and pushing to gitlab is better than telling :-)

Hi Jan,

I'm not sure if you have seen my question on

1. you marked helix.py as working. I would expect the sphere to move
in a helix around the rod. But this does not happen.

Why do you mark it as working? Maybe it is working and I just don't
see it. I only would like some explanation :)

2. pv_section.py - wow, works nicely in paraview, but only after I
commented out line 45 and 51, otherwise I had this error:

  File "<string>", line 45, in <module>
NameError: name 'HideScalarBarIfNotNeeded' is not defined
  File "<string>", line 51, in <module>
NameError: name 'HideScalarBarIfNotNeeded' is not defined

For now I commented these two lines. Maybe you have a better idea.

I just pushed a new commit to
please have a look.

Janek Kozicki