def getCraftTypeName(subName=''):
 profileSettings = getReadProfileRepository()
 craftTypeName = settings.getSelectedPluginName(profileSettings.craftRadios)
 if (subName == ''):
  return craftTypeName
 return os.path.join(craftTypeName, subName)

def getCraftTypeName ( subName = '' ) : profileSettings = getReadProfileRepository ( ) craftTypeName = settings . getSelectedPluginName ( profileSettings . craftRadios ) if ( subName == '' ) : return craftTypeName return os . path . join ( craftTypeName , subName )
get the craft type from the profile .