yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02973
Re: Experiments on a rotating cylinder
1) Do you have vtk-feature enabled in scons.profile-default?
2) Update your YADE to the latest BZR-version:
bzr up
scons
______________________________
Anton Gladkyy
2010/5/5 ADERSH V K <advk.tvm@xxxxxxxxx>
>
>
> On Wed, May 5, 2010 at 11:02 AM, Anton Gladky <gladky.anton@xxxxxxxxx>wrote:
>
>>
>>
>> 2010/5/5 ADERSH V K <advk.tvm@xxxxxxxxx>
>>
>> Still I couldnt solve the problem.
>>> Could u please explain how to export to VTK files.
>>>
>>
>>
>> http://bazaar.launchpad.net/~yade-dev/yade/trunk/annotate/head%3A/examples/bulldozer/bulldozerVTK.py#L83<http://bazaar.launchpad.net/%7Eyade-dev/yade/trunk/annotate/head%3A/examples/bulldozer/bulldozerVTK.py#L83>
>>
>> VTKRecorder(iterPeriod=1000,fileName='/tmp/bulldozer-',recorders=['spheres','facets'])
>>
>>
>> But am getting the following error
>
>>
>> Welcome to Yade bzr2153
>> Running script cyl.py
>> Traceback (most recent call last):
>> File "/usr/local/YADE/bin/yade-bzr2153", line 112, in <module>
>> execfile(args[0])
>> File "cyl.py", line 53
>>
>>
>> VTKRecorder(iterPeriod=1000,fileName='/tmp/bulldozer-',recorders=['spheres','facets'])
>>
>
>
>> SyntaxError: invalid syntax
>>
>>>
>>> Also I tried the buldozer.py, then
>
> Running script buldozer.py
> Traceback (most recent call last):
> File "/usr/local/YADE/bin/yade-bzr2153", line 112, in <module>
> execfile(args[0])
> File "buldozer.py", line 85, in <module>
>
>
> VTKRecorder(iterPeriod=1000,fileName='/tmp/bulldozer-',recorders=['spheres','facets'])
> NameError: name 'VTKRecorder' is not defined
> [[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both,
> F9 generator, F8 plot. ]]
>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> More help : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> ADERSH
> +91-9995165951
>
Follow ups
References