POV-Ray : Newsgroups : povray.unix : Pyvon 1.2 : Re: Pyvon 1.2 Server Time
6 Oct 2024 15:23:05 EDT (-0400)
  Re: Pyvon 1.2  
From: HENON fabien
Date: 8 Jan 2003 10:20:04
Message: <web.3e1c3fc984d5eda27ff7c9e30@news.povray.org>
Warp wrote:
>fabien Henon <fab### [at] caramailcom> wrote:
>> What message do you get when you type python d35.py in the pyvon directory?
>
>  Oh, it works that way.
>
>  The 'pyvon' script seems to start "python res.py" instead, which causes
>the problem I described (ie. it just terminates immediately without saying
>anything).

That's right, pyvon script starts 'python res.py'.

res.py does too things :

1 - calculate the height and width of your screen ( in
order to display an xterm box just below pyvon). All povray streams are
directed to that xterm console.

2 - starts the main pyvon script that is supposed to be in /usr/local/pyvon.

In the file res.py, you have a line that looks like :
[......]d+0+%d -e python /usr/local/pyvon/d35.py" % [.....]

Just replace '/usr/local/d35.py' with '~/pyvon/d35.py' and you should have
both the stream out and the pyvon window.


Fabien H


>
>#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
>N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
>N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.