Copy-paste, save as a .py Python script. Make sure the ” ” are not fancy curly quotes. They need to be straight quotes… " "
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# A Python script to load and render a Sketch Preset in Poser 11. # Do the usual setup stuff. import poser scene = poser.Scene() # Tell Poser we are going to want to load a Firefly options preset. option = scene.CurrentFireFlyOptions() # Set Firefly as the render engine. scene.SetCurrentRenderEngine(poser.kRenderEngineCodeFIREFLY) # Load the Sketch render preset, and Firefly will # accept it even though it's not a .prp Firefly preset. # Note that the backslash is required on the file path. option.LoadPreset("C:\sketch_preset.pzs") # Now the important bit, we have the script switch # Poser's render mode to Sketch. scene.SetCurrentRenderEngine(poser.kRenderEngineCodeSKETCH) # Do the render with the current Sketch preset and Sketch # engine, and adopt the other current render settings. scene.Render() |
Yous custom Sketch presets are found at:
C:\Users\YOUR_USERNAME\AppData\Roaming\Poser Pro\11\SketchPresets
or
C:\Users\YOUR_USERNAME\AppData\Roaming\Poser\12\SketchPresets
Pingback: New for Poser / DAZ in July 2022 – MyClone Poser and Daz Studio blog