Or it is simply reserved to Hiero :( - custom_guides.py <custom_guides.py>_ Example shows how you can add custom viewer guides and masks via Python. If you wish for this code to be run on startup, copy it to your /StartupUI directory. Run: help(hiero.ui.guides) for more info. \
On Wed, Jul 6, 2016 at 4:43 PM, Matthieu Cadet <matthieu.ca...@gmail.com> wrote: > Oups I've read to fast the problem you've exposed > > >> the option show up in the viewer's mask menu but it does not add it to >> the viewer's "masking_ratio" knob > > > I've the same bug in fact, I see my custom masking ratio when I click the > masking ratio button dropdown in the Viewer window, > but when I try to access this knob values from python or with the viewer > settings I see only default nuke values of masking_ratio :( > > Using Nuke 10.0v3 and Fedora. > > Sorry :P > > On Wed, Jul 6, 2016 at 10:20 AM, Justin GD <j.grosde...@gmail.com> wrote: > >> I had the same code as Matthieu's. Re-tested it with his actual code. >> Still the same problem on my side... >> >> Nuke 9.0v7 , 64bits >> CentOS release 6.5 >> >> 2016-07-06 8:21 GMT+01:00 Mads Lund <madshl...@gmail.com>: >> >>> Just tested Matthieu's code, and it works fine here. >>> Nuke 9.0v8 and 10.0v1, Centos 6. >>> >>> On Wed, Jul 6, 2016 at 3:24 AM, Frank Rueter|OHUfx <fr...@ohufx.com> >>> wrote: >>> >>>> Interesting. That's what I got. To test I copied your code and I'm >>>> still seeing the same problem. >>>> So when you use a custom mask, then open the viewer settings, you get a >>>> valid value in the masking_ratio knob? >>>> >>>> >>>> >>>> On 07/06/2016 02:15 AM, Matthieu Cadet wrote: >>>> >>>> I’ve already added custom guides in my pipeline, and it seems to work >>>> fine for me. >>>> here how I’ve used it: >>>> >>>> In my init.py: import my_custom_guides >>>> >>>> my_custom_guides.py contains this: >>>> >>>> import guidesimport custom_guides >>>> >>>> my_guides = [ >>>> guides.Guide("my title safe", 1, 0.4, 0.25, 0.1, >>>> guides.kGuideMasked) >>>> ] >>>> >>>> viewer_masks = [ >>>> guides.MaskGuide("Cinemascope 2:1", 2.0), >>>> guides.MaskGuide("PAL_16:9", 1.46), >>>> ] >>>> for guide in my_guides: >>>> custom_guides.viewer_guides.append(guide) >>>> for vm in viewer_masks: >>>> custom_guides.viewer_masks.append(vm) >>>> >>>> >>>> >>>> On Mon, Jul 4, 2016 at 11:00 PM, Frank Rueter|OHUfx <fr...@ohufx.com> >>>> wrote: >>>> >>>>> Thanks guys, will report it then >>>>> >>>>> >>>>> On 07/05/2016 01:37 AM, Charles Taylor wrote: >>>>> >>>>> I have had the same issue. I didn't find any resolution; I just gave >>>>> up. >>>>> >>>>> c >>>>> >>>>> On 07/03/2016 06:34 PM, Frank Rueter|OHUfx wrote: >>>>> >>>>> Anybody? >>>>> Am I the only one seeing this problem? >>>>> >>>>> >>>>> On 07/01/2016 07:52 PM, Frank Rueter|OHUfx wrote: >>>>> >>>>> Hi all, >>>>> >>>>> I have added a custom guide by copying the custom_guides.py into my >>>>> plugin path and adding the respective aspect. >>>>> This makes the option show up in the viewer's mask menu but it does >>>>> not add it to the viewer's "masking_ratio" knob which makes the script >>>>> error when opened next time, and, even worse, makes it fail to render on >>>>> the farm. >>>>> >>>>> I thought this was the prescribed way to add a custom mask. Am I >>>>> missing something? >>>>> >>>>> Cheers, >>>>> frank >>>>> >>>>> -- >>>>> [image: ohufxLogo 50x50] <http://www.ohufx.com> *vfx compositing >>>>> <http://ohufx.com/index.php/vfx-compositing> | workflow customisation and >>>>> consulting <http://ohufx.com/index.php/vfx-customising> * >>>>> >>>>> >>>>> _______________________________________________ >>>>> Nuke-python mailing listnuke-pyt...@support.thefoundry.co.uk, >>>>> http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Nuke-python mailing listnuke-pyt...@support.thefoundry.co.uk, >>>>> http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >>>>> >>>>> >>>>> -- >>>>> >>>>> SPINVFX >>>>> >>>>> CHARLES TAYLOR / COMPOSITING SUPERVISOR >>>>> >>>>> >>>>> STUDIO / 416-504-8333 <4165048333> >>>>> >>>>> >>>>> SPINVFX.COM <http://www.spinvfx.com/> >>>>> >>>>> >>>>> CONFIDENTIALITY NOTICE: This e-mail message, including any >>>>> attachments, is for the sole use of the intended recipient's and may >>>>> contain confidential or proprietary information. Any unauthorized review, >>>>> use, disclosure or distribution is prohibited. If you are not the intended >>>>> recipient, immediately contact the sender by reply e-mail and destroy all >>>>> copies of the original message. >>>>> >>>>> >>>>> _______________________________________________ >>>>> Nuke-python mailing listnuke-pyt...@support.thefoundry.co.uk, >>>>> http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Nuke-python mailing list >>>>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >>>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >>>>> >>>>> >>>> >>>> >>>> -- >>>> Matthieu Cadet >>>> Compositor Artist & TD, >>>> nWave Digital >>>> matthieu.ca...@gmail.com >>>> >>>> >>>> _______________________________________________ >>>> Nuke-python mailing listnuke-pyt...@support.thefoundry.co.uk, >>>> http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >>>> >>>> >>>> >>>> _______________________________________________ >>>> Nuke-python mailing list >>>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >>>> >>>> >>> >>> _______________________________________________ >>> Nuke-python mailing list >>> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >>> >>> >> >> _______________________________________________ >> Nuke-python mailing list >> Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> >> > > > -- > Matthieu Cadet > Compositor Artist & TD, > nWave Digital > matthieu.ca...@gmail.com > -- Matthieu Cadet Compositor Artist & TD, nWave Digital matthieu.ca...@gmail.com
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python