Ingen beskrivning
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

projectFavorites.py 1.7KB

12345678910111213141516171819202122232425262728293031323334353637
  1. PROJECTNAME = "HOTZ"
  2. if nuke.env["MACOS"]:
  3. FAVOURITES = {
  4. 'O_PRJ': '/Volumes/O/_projekte',
  5. 'P_PRJ': '/Volumes/P/_projekte'
  6. }
  7. else:
  8. FAVOURITES = (
  9. ('______', '//calculon/o/_projekte/' + PROJECTNAME),
  10. ('HOT_O', '//calculon/o/_projekte/' + PROJECTNAME),
  11. ('020_footageIn', '//calculon/o/_projekte/' + PROJECTNAME + '/020_footageIn'),
  12. ('220_processedFootage', '//calculon/o/_projekte/' + PROJECTNAME + '/220_processedFootage'),
  13. ('250_render3D', '//calculon/o/_projekte/' + PROJECTNAME + '/250_render3D'),
  14. ('300_work2d', '//calculon/o/_projekte/' + PROJECTNAME + '/300_work2d'),
  15. ('120_ref', '//calculon/o/_projekte/' + PROJECTNAME + '/120_ref'),
  16. ('450_precomp', '//calculon/o/_projekte/' + PROJECTNAME + '/450_precomp'),
  17. ('500_renders', '//calculon/o/_projekte/' + PROJECTNAME + '/500_renders'),
  18. ('_____', '//hades/p//_projekte/' + PROJECTNAME),
  19. ('HOT_P', '//hades/p//_projekte/' + PROJECTNAME),
  20. ('210_setData', '//hades/p/_projekte/' + PROJECTNAME + '/210_setData'),
  21. ('230_sources', '//hades/p/_projekte/' + PROJECTNAME + '/230_sources'),
  22. ('300_work3d', '//hades/p/_projekte/' + PROJECTNAME + '/300_work3d'),
  23. ('410_textures', '//hades/p/_projekte/' + PROJECTNAME + '/410_textures'),
  24. ('500_renders_', '//hades/p/_projekte/' + PROJECTNAME + '/500_renders'),
  25. ('____', '//hades/p//_projekte/' + PROJECTNAME + '')
  26. )
  27. class projectFavorites(KellerNukePlugin):
  28. def configurePlugin(self):
  29. for (key, value) in FAVOURITES:
  30. nuke.addFavoriteDir(key,value)
  31. def unconfigurePlugin(self):
  32. for (key, value) in FAVOURITES:
  33. nuke.removeFavoriteDir(key)