When I was creating a 'Tab tool' custom, I did also noticed these @ Branch;
but couldn't figure out why they where there.
Although, if you type @ in your tab, and choose one of them, it will create
a simple related node.

Stupid question, could these ToolsetCreate.png be generated procedurally
from another icon ? (from ic_toolsets.png for instance)

Cheers,
Justin

2015-05-27 6:39 GMT+01:00 Erwan Leroy <[email protected]>:

> I got really curious about these mystery icons, and did a bit of extra
> testing.
> I ran this: (I'm on a linux machine today)
>
> import os
> menu = nuke.menu('Nodes')
> iconlist = []for item in menu.items():
>     if item.icon():
>         iconlist.append(item.icon())
>     for subitem in item.items():
>         if subitem.icon():
>             iconlist.append(subitem.icon())
>
> allicons = os.listdir('/opt/nuke8/plugins/icons')
> for icon in iconlist:
>     if icon not in allicons:
>         print icon
>
> Which returned:
>
> @;&RotoBranch.png
>
> @;&RotoPaintBranch.png
>
> @;&CopyBranch.png
>
> @;&ColorCorrectBranch.png
>
> @;&GradeBranch.png
>
> @;&BlurBranch.png
>
> @;&MergeBranch.png
>
> @;&Transform Branch.png
>
> ToolsetCreate.png
>
> -.png
>
>
> I'm not sure yet what these icons with 'Branch" are.
>
> I was surprised to see the ToolsetCreate in there but not the "parent"
> icon.
>
> For some reason..
>
> print nuke.menu('Nodes').menu('Other').icon()print 
> nuke.menu('Nodes').menu('ToolSets').icon()
>
> ..doesn't return anything. I can't seem to access any of the main menu items' 
> icon.
>
>
>
> *Erwan* LEROY
> www.erwanleroy.com
>
> On Wed, May 27, 2015 at 12:07 AM, Justin GD <[email protected]> wrote:
>
>> Thanks Erwan for your researches,
>>
>> I actually did the same and found these icons; I can probably use theme
>> as a base for a custom icon.
>> But I was curious of where to find the desired ones.
>>
>> I'll let you know if I find anything.
>>
>> Cheers,
>> Justin
>>
>>
>>
>> 2015-05-26 16:58 GMT+01:00 Erwan Leroy <[email protected]>:
>>
>>> Not sure if that is very helpful, but I cannot find it either... I can
>>> create a menu and assign it with no problems, but no luck finding the
>>> actual png.. I tried to do an os.walk() on each of the pathes in
>>> nuke.pluginPath() with no luck.
>>> I also tried running it on my whole hard drive, and all it's returning
>>> is this: (I'm looking for anything that contains "toolset" and "png", in a
>>> filename.lower())
>>>
>>> C:/Program
>>> Files\Nuke8.0v1\Documentation\html\content\resources\images\gsg_images\ic_toolsets.png
>>>
>>> C:/Program
>>> Files\Nuke8.0v1\Documentation\html\content\resources\images\gsg_images\ic_toolsets1.png
>>>
>>> C:/Program
>>> Files\Nuke9.0v5\Documentation\html\content\resources\images\gsg_images\ic_toolsets.png
>>>
>>> C:/Program
>>> Files\Nuke9.0v5\Documentation\html\content\resources\images\gsg_images\ic_toolsets1.png
>>>
>>>
>>> So I guess all I can do is confirm that you're not the only one with the
>>> issue.
>>>
>>> Let us know if you find it.
>>>
>>>
>>> Erwan
>>>
>>> *Erwan* LEROY
>>> www.erwanleroy.com
>>>
>>> On Tue, May 26, 2015 at 7:06 PM, Justin GD <[email protected]>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I'm working on customizing the Toolset creation process.
>>>> I'd like to find the built-in 'create' icon in Toolsets (tool with a +).
>>>> I can't find it anywhere. I suppose it must have been renamed ?
>>>> Although in the toolsets.py from Nuke we are calling the icon with
>>>> 'ToolsetCreate.png'
>>>>
>>>>
>>>> Thanks,
>>>> Justin
>>>>
>>>>
>>>> _______________________________________________
>>>> Nuke-python mailing list
>>>> [email protected], http://forums.thefoundry.co.uk/
>>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Nuke-python mailing list
>>> [email protected], http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>>
>>>
>>
>> _______________________________________________
>> Nuke-python mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>>
>>
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to