Hey Howard,

Figured it out........

-------------------------------------------------------------
      if padding:
          readFile=path+name+'.'+padding+'.'+ext+' '+start+'-'+end
      else:
          readFile=path+name+'.'+ext
-------------------------------------------------------------

path+name  =  W:W:/abcd/efgh/ijkl/







On Sat, Sep 10, 2011 at 5:44 AM, Howard Jones <mrhowardjo...@yahoo.com>wrote:

> Try executing as a module (if thats the right technical word)
> add something like...
>
> m.addCommand('Load Folder', 'nuke.load("recursiveLoad"), recursiveLoad()',
> 'alt+r', icon='Read.png')
> to your menu.py
>
> I don't have windows so I cant test what's causing it - maybe someone else
> can figure that out, but is it just the drive letter that's repeated?
>
> Anyone tried this one windoze without an error?
>
> Howard
>
> ------------------------------
> *From:* Dan Walker <walkerd...@gmail.com>
>
> *To:* Nuke user discussion <nuke-users@support.thefoundry.co.uk>
> *Cc:* Howard Jones <mrhowardjo...@yahoo.com>
> *Sent:* Saturday, 10 September 2011, 1:20
>
> *Subject:* Re: [Nuke-users] Feature requests...
>
> Howard,
>
> This is great man!
>
> Although on Wind-blows (aka - Windows), the path in the read nodes is has
> the mount point doubling up for some reason.
>
> Example:
>
> W:W:/showname/.......
>
> Thanks for the code! Much appreciated!!!!
>
> The recursiveLoad.py on Nukepedia does the same thing.
>
> P.S. I'm executing the script inside the script editor.
>
> Thanks,
>
> Dan
>
>
>
>
> On Fri, Sep 9, 2011 at 1:47 PM, Ben Pierre <benpie...@gmail.com> wrote:
>
> :-D
>
>
> On Sep 9, 2011, at 9:44 PM, Howard Jones wrote:
>
> ere tis. Got rid of the annoying error on cancel while I was at it
>
> Howard
>
> ------------------------------
> *From:* Howard Jones <mrhowardjo...@yahoo.com>
> *To:* Nuke user discussion <nuke-users@support.thefoundry.co.uk>
> *Sent:* Friday, 9 September 2011, 21:30
> *Subject:* Re: [Nuke-users] Feature requests...
>
> Thanks Ben
>
> Will do.
>
> Howard
>
> ------------------------------
> *From:* Ben Pierre <benpie...@gmail.com>
> *To:* Nuke user discussion <nuke-users@support.thefoundry.co.uk>
> *Sent:* Friday, 9 September 2011, 19:46
> *Subject:* Re: [Nuke-users] Feature requests...
>
> Hi Howard,
>
> You could simply add a list of good file extensions that you do want to
> collect and filter them, like:
>
> def splitImgSeqs(path, files):
>   if verbose: print path
>
>   goodFiles = ['exr','jpg']
>
>   #Get a list of unique names in file
>   for i in files:
>       sp=i.split('.')
>       name=sp[0]
>       ext=sp[-1]
>       if ( ext in goodFiles):
>           name2CheckFor=str(name)+'.'+str(ext)
>           if name2CheckFor not in nameList:
>               nameList.append(name2CheckFor)
>
>
> -Ben Pierre
>
>
> On Jul 16, 2011, at 5:07 PM, Howard Jones wrote:
>
> Ok - Did it with some support for stereo (joins eyes based on common file
> names (eg '/right/', '/left/')
>
> I'm finding it quicker to load a whole folder than go through a list with
> thumbnails which is a completely different kettle of fish.
>
> (Loads Geo too but will also load .nk files etc with an error on the read)
>
> Howard
> Twenty4D VFX Ltd
> www.twenty4d.com
>
>
> ------------------------------
> *From:* Johan Boije <jfbo...@gmail.com>
> *To:* Nuke user discussion <nuke-users@support.thefoundry.co.uk>
> *Sent:* Wed, 15 June, 2011 23:05:00
> *Subject:* Re: Re: [Nuke-users] Feature requests...
>
> I guess. But that would mean bringing in everything and that is probably
> not what I/you want most of the time. I'd say the more common need would be
> to go through a bunch of folders looking for useful plates. So a scan
> subfolder to get a list of files and then get a small preview if you click
> (that already works in the current browser) would be great. I think you get
> the idea ;-)
>
> J.
>
> 2011/6/15 Gabor L. Toth <glt...@gmail.com>
>
> Hi,
>
> if you don't mind dropping folders  (from total commander, krusader etc.)
> to nuke, instead of browsing, you can try this nice drop script, that does
> load sequences from subdirectories recursively:
> http://2d3d.by/tools/6/
> (Thanks for the developer)
>
> Hope this helps,
> Gabor
>
>
>
> On Wed, Jun 15, 2011 at 11:27 PM, Howard Jones <mrhowardjo...@yahoo.com>
> wrote:
>
> The feature I've requested a few times but nothing doing is a recurssive
> load, so you choose a top directory and all image sequences nested in that
> are loaded.
> eg for when the 3D has several layers in the one main directory.
>
> The new next feature in the browser covers this better (or multiread tool
> on nukepedia), but would still like this. Cant remember why but drag and
> drop always seemed to fail
>
> H
>
> ------------------------------
> *From:* Johan Boije <jfbo...@gmail.com>
> *To:* Nuke user discussion <nuke-users@support.thefoundry.co.uk>
> *Sent:* Wed, 15 June, 2011 22:14:14
> *Subject:* Re: Re: [Nuke-users] Feature requests...
>
> Cool, I'll try it out. What I'm missing is a search subfolders for media.
> Would be great to have. Also better navigation up and down the folder
> hierarchy. As it is now you get thrown up to the top when exiting a
> folder. Pretty annoying if you are in a location with hundreds of folders.
> Also it would be great with shortcuts for navigating in and out of folders
> etc. Maybe there are? Haven't found any.
>
> J.
>
> On Wed, Jun 15, 2011 at 11:01 PM, Adrian Baltowski <
> adrian...@poczta.onet.pl> wrote:
>
> Hi
> If you are on OSX you can try EasyDialogs. With just few lines of code you
> can have default OSX file browser window, with search and other Finder
> functionality. Bear in mind, that EasyDialogs are not available with 64 bit
> python builds. There are also trivial solutions with wxPython but you must
> install it first; and unfortunately it's not so trivial... ;)
> This is an example of default OSX file browser which I wrote years ago:
>
>
> ######################
> import nuke
> import os
> import os.path
> import re
> import EasyDialogs
>
> lastPath = ""
>
> def replace_footage():
>
>   geoExt = ['.obj', '.OBJ', '.fbx', '.FBX']
>
>   di = os.path.dirname(nuke.value("root.name"))
>   if len(nuke.selectedNodes()) == 0:
>       global lastPath
>       if lastPath == "":
>           b = 'volumes'
>       else:
>           b = os.path.dirname(lastPath)
>        file = EasyDialogs.AskFileForOpen("", defaultLocation=b,
> windowTitle="Select File:")
>       if file != None:
>           filename = os.path.basename(file)
>           if filename.endswith(tuple(geoExt)):
>               nuke.createNode("ReadGeo2", "file {"+file+"}", inpanel =
> True)
>
>           else:
>               nuke.createNode("Read", "file {"+file+"}", inpanel = True)
>
>           lastPath = file
>
>   else:
>       n = nuke.selectedNode()
>       if n.Class()=="Read" or n.Class()=="ReadGeo" or
> n.Class()=="ReadGeo2":
>           f = nuke.filename(n)
>           g = (os.path.dirname(f)+"/")
>           h = re.sub('%0[1-9]d', '[##]', f)
>           if (os.path.exists(g)):
>               b = g
>           else:
>               b = 'volumes'
>            dupa = EasyDialogs.AskFileForOpen(h, defaultLocation=b,
> actionButtonLabel="Replace", windowTitle="Select File:")
>           if dupa != None:
>               if di is '':
>                   n.knob("file").fromUserText(dupa)
>               else:
>                   huj = re.sub(di, "[file dirname [value root.name]]",
> dupa)
>                   n.knob("file").fromUserText(huj)
>       else:
>          pass
>
>
> ######################################
>
>
> W dniu 2011-06-15 22:10:12 użytkownik Johan Boije <jfbo...@gmail.com>
> napisał:
>
> Cool. Just got an answer from them although it took a while so I started
> wondering. I guess they have loads of other stuff on their minds.
> I had some nice ideas/improvements for the file browser that could make our
> lives a bit easier. Anybody knows if there are any file browser custom mods
> to be found on creative crash or nukepedia? Couldn't find anything myself.
>
> J.
>
> On Wed, Jun 15, 2011 at 7:30 PM, Howard Jones <mrhowardjo...@yahoo.com>
> wrote:
>
> yes
>
> ------------------------------
> *From:* Johan Boije <jfbo...@gmail.com>
> *To:* Nuke user discussion <nuke-users@support.thefoundry.co.uk>
> *Sent:* Wed, 15 June, 2011 18:18:05
> *Subject:* [Nuke-users] Feature requests...
>
> What would be the correct way to send feature requests and other ideas for
> making nuke better. Is it through the supp...@thefoundry.co.uk adress or?
>
> Cheers
> Johan
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
> <recursiveLoad.py>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
> <recursiveLoad.py>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
>
> _______________________________________________
> Nuke-users mailing list
> Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>
>
>
>
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to