Package upy
[hide private]
[frames] | no frames]

Package upy

source code

Created on Sun Dec 5 23:30:44 2010


Author: Ludovic Autin - ludovic.autin@gmail.com

Version: 0.5.1

Submodules [hide private]

Functions [hide private]
string
retrieveHost()
Retrieve the 3d host application where the script is running.
source code
Class
getUClass(host, pref=None)
Return the base class for UI design according the provide host.
source code
Class
getHClass(host)
Return the base class for modelling design according the provide host.
source code
Class
getUIClass(host=None)
Return and define the base class for UI design according the provide host.
source code
 
setUIClass(host=None, pref=None)
Set the base class for UI design according the provide host.
source code
Class
getHelperClass(host=None)
Return the base class for modelling design according the provide host.
source code
Variables [hide private]
  uiadaptor = None
  helper = None
Function Details [hide private]

retrieveHost()

source code 

Retrieve the 3d host application where the script is running.

Returns: string
the name of the host, ie blender, maya or c4d

getUClass(host, pref=None)

source code 

Return the base class for UI design according the provide host.

Parameters:
  • host (string) - name of the host application
Returns: Class
the specific ui class

getHClass(host)

source code 

Return the base class for modelling design according the provide host.

Parameters:
  • host (string) - name of the host application
Returns: Class
the specific ui class

getUIClass(host=None)

source code 

Return and define the base class for UI design according the provide host. If the host is not provide,retrieveHost() will be called to guess the host.

Parameters:
  • host (string) - name of the host application
Returns: Class
the specific ui class

setUIClass(host=None, pref=None)

source code 

Set the base class for UI design according the provide host. If the host is not provide,retrieveHost() will be called to guess the host.

Parameters:
  • host (string) - name of the host application

getHelperClass(host=None)

source code 

Return the base class for modelling design according the provide host. If the host is not provide,retrieveHost() will be called to guess the host.

Parameters:
  • host (string) - name of the host application
Returns: Class
the specific ui class