Page 1 of 1

PyPRP2 and Blender 2.58

PostPosted: Tue Jul 05, 2011 4:00 am
by Sirius
Is there a way to use PyPRP2 on Blender 2.58 or should we better use 2.57 ?
I tried on 2.58 but it won't work: it seems it can't find one of the script files.

Re: PyPRP2 and Blender 2.58

PostPosted: Tue Jul 05, 2011 7:30 am
by tachzusamm
I tried with 2.58 (which can still be found here: http://download.blender.org/release/Blender2.58/ ) and with 2.58a (which was released yesterday), and it worked well for me.

Be sure to make all adaptions to the PyPRP files you might have done for getting it to work in 2.57 for 2.58 or 2.58a now as well.
This is needed because the GoW PyPRP2 Beta1 Version 0.8.1 ist still this: Version 0.8.1 , so newer patches are not included automatically.

By the way, I had a look at the Python API changelog (http://www.blender.org/documentation/bl ... e_log.html)
and also had a look at the latest changes they made from 2.58 to 2.58a (http://wiki.blender.org/index.php/Dev:R ... gelog_258a),
and I don't see any changes which would affect PyPRP2 behaviour, so it should still work (besides the fact that it does for me).

Re: PyPRP2 and Blender 2.58

PostPosted: Wed Jul 06, 2011 2:09 am
by Sirius
I am using version 0.8.1, with 2.58a and put the necessary files in the root folder. The script files are in 2.58→scripts→addons and 2.57→scripts→addons (I tested it as it didn't with the 2.58 folder).

I always get this error: in the Addons tab of the user preferences, PyPRP2 is at the bottom of the list and above it is written "Missing script files". I think there should be everything however. The console does not say anything.

Re: PyPRP2 and Blender 2.58

PostPosted: Wed Jul 06, 2011 3:42 am
by tachzusamm
Sirius wrote:I am using version 0.8.1, with 2.58a and put the necessary files in the root folder. The script files are in 2.58→scripts→addons and 2.57→scripts→addons (I tested it as it didn't with the 2.58 folder).

Just to avoid misunderstandings: Does it match this folder structure?

Scripts:
PyPRP2_Folders.png
PyPRP2_Folders.png (59.44 KiB) Viewed 3811 times


Bin/Root:
PyPRP2_Folders_bin.png
PyPRP2_Folders_bin.png (84.57 KiB) Viewed 3811 times



If this still does not work, replacing exporter.py, geometry.py and lights.py with the versions in this small fix might do the trick:
PyPRP2_081_fixes.zip
(11.62 KiB) Downloaded 347 times

(Fixes made by Lontahv, already in PyPRP2 trunk for next release, but currently not officially released)


EDIT: Link to the PyPRP2 Mercurial repository removed, because PyPRP2 project moved to GitHub (see announcement from Branan if you're interested) and the Mercurial part is now static and read-only - to avoid re-directing members stumbling accross this post to a no longer maintained PyPRP2 source.

Re: PyPRP2 and Blender 2.58

PostPosted: Thu Jul 07, 2011 6:09 am
by Sirius
Ok, it seems I messed up my files when installing the new version. Thank you, it works fine now.