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

Reply via email to