def getLightingPath(): '''get lighting render dir from kupipeline''' import mod_StudioLoad SHOW = mod_StudioLoad.LoadSlate()['SHOW'] SHOT = mod_StudioLoad.LoadSlate()['SHOT'] path = joinPath('K:/PROJECTS/Personal/', SHOW, SHOT, 'assets', 'lighting') return path
def findDraftDir(): '''finds the mod_Draft dir as for default path''' slate = mod_StudioLoad.LoadSlate() path_draft = os.path.join(os.getenv('KU_PKG_PATH'), '_pkg_KuFunc/').replace('\\', '/') return path_draft