Forum: Poser Python Scripting


Subject: Bump moving scripts : versions to operate on all actors.

nruddock opened this issue on Jan 21, 2006 · 15 posts


nruddock posted Sat, 21 January 2006 at 12:29 PM

Following posts have versions of my bump map fixup and move Wacros, modified to work on a whole scene.

Details of the originals :
Move "Gradient Bump" to "Bump" and Move "Bump" to "Displacement"
Reconnect bump map to "Gradient_Bump"

The new versions will operate on all actors (body parts, props, and hair props) present in a scene.

Run from the File menu or the Python palette.
While they will run from the Warco palette or UserDefined list, they aren't really Wacros due to their "operate on everything" nature.


msg24_7 posted Sat, 21 January 2006 at 3:56 PM

Thanks :) Your original scripts were as important as the delete all lights script! The new ones will save even more time! Thanks again! Martin

Yesterday's the past, tomorrow's the future, but today is a gift. That's why it's called the present.


jonthecelt posted Wed, 01 February 2006 at 5:23 PM

Having a problem with these scripts, nruddock... it's not recognising a definition of 'mats' in line 47. Conversely, the original files seem to work fine for me. Any idea what I might be doing wrong? jonthecelt


nruddock posted Wed, 01 February 2006 at 5:38 PM

Your not doing anything wrong, that line shouldn't be there. Corrected versions below.


nruddock posted Wed, 01 February 2006 at 5:39 PM

Rename to moveGrads2BumpEverything.py

Message edited on: 02/01/2006 17:42


nruddock posted Wed, 01 February 2006 at 5:39 PM

Rename to moveBumps2DispEverything.py

Message edited on: 02/01/2006 17:42


nruddock posted Wed, 01 February 2006 at 5:41 PM

Rename to reconnectBumpEverything.py

Message edited on: 02/01/2006 17:45


jonthecelt posted Wed, 01 February 2006 at 5:42 PM

Thanks for the swift reply, nruddocks. for a minute there, figured it had to be me, since no one else had posted a problem! :) jonthecelt


nruddock posted Wed, 01 February 2006 at 5:46 PM

I think the others were using them on Props only, so the problem wouldn't have shown up.


PilotHigh posted Wed, 22 February 2006 at 5:13 PM

I'm just now trying to run these scripts from the file menu. When it runs it says that I must select a material. What? I'm in the material room with a material right in front of me in the window but it won't work. What material is it asking for?


nruddock posted Wed, 22 February 2006 at 5:45 PM

The scripts in this thread don't ask for a material selection.

"moveGrads2BumpEverything" and "moveBumps2DispEverything" ask for a Bump value and Displacement value respectively.

The scripts linked in post #1 do contain that message.
I'll need you to post a screenshot so that I can see what's present in your scene and what you have selected when you get the message.


PilotHigh posted Wed, 22 February 2006 at 6:03 PM

Hi nruddock. I think I might have older versions of your scripts. I'll download these and try again. Thanks.


nruddock posted Sun, 02 July 2006 at 3:11 PM

Note, that due to the new forum software you need to right click on the broken images and choose "Save As ..." (or equivalent) to get the scripts (use a PY extension).


nruddock posted Wed, 20 December 2006 at 12:03 PM

Links to original threads converted to post conversion format.
Move "Gradient Bump" to "Bump" and Move "Bump" to "Displacement"
Reconnect bump map to "Gradient_Bump"


elektra posted Wed, 20 December 2006 at 12:59 PM

Move Gradient Bump to Bump just worked for me in P7 using V3 and her HiRes Maps.  I'll keep playing around to let you know if I run ito any issues.

Thanks again for this sanity-saving script!