diff --git a/OPmenu.xml b/OPmenu.xml
index a329089..e54349b 100644
--- a/OPmenu.xml
+++ b/OPmenu.xml
@@ -30,10 +30,9 @@ along with this program. If not, see .
-import houdini_tdk
-reload(houdini_tdk)
+import houdini_tdk as tdk
-houdini_tdk.showGenerateCode(**kwargs)
+tdk.showGenerateCode(**kwargs)
@@ -49,8 +48,8 @@ houdini_tdk.showNodeUserData(cached=kwargs['shiftclick'], **kwargs)
-
-
+
+
node = kwargs['node']
@@ -58,10 +57,9 @@ houdini_tdk.showNodeUserData(cached=kwargs['shiftclick'], **kwargs)
-import houdini_tdk
-reload(houdini_tdk)
+import houdini_tdk as tdk
-houdini_tdk.showMakeHDAFromTemplateDialog(**kwargs)
+tdk.showMakeHDAByTemplateDialog(**kwargs)
@@ -82,8 +80,8 @@ openFileLocation(path)
-
-
+
+
node = kwargs['node']
@@ -91,10 +89,9 @@ openFileLocation(path)
-import houdini_tdk
-reload(houdini_tdk)
+import houdini_tdk as tdk
-houdini_tdk.showNewVersionDialog(**kwargs)
+tdk.showNewVersionDialog(**kwargs)
diff --git a/README.md b/README.md
index 6aeaab4..1ebbd18 100644
--- a/README.md
+++ b/README.md
@@ -2,11 +2,17 @@
## Tools
+#### HDA Doctor *Beta*
+
+Tool that allows you to test your HDA with a set of inspections that check for compliance with high standards of HDA development.
+
+![HDA Doctor](/images/hda_doctor.png)
+
#### Templates
-Template HDAs that allows you to quickly create your own HDAs based on them.
+Template HDAs that allows you to quickly create new HDAs based on them.
-![Make HDA from Template](/images/make_hda_from_template.png)
+![Make HDA by Template](/images/make_hda_by_template.gif)
#### Find Icon
@@ -19,12 +25,13 @@ Allows you to quickly find an icon for your tool.
Applies `.asCode()` to selected nodes. Then copies the resulting code to the clipboard or shows in code editor.
![Generate Code](/images/generate_code.png)
+![Generate Code Settings](/images/generate_code_settings.png)
-#### Increment HDA Version
+#### New HDA Version
-Increments the HDA version of the selected node. You can select the version type (major, minor, build, etc.).
+Increments an HDA version of the selected node. You can select the version type (major, minor, build, etc.).
-![Increment HDA Version](/images/increment_hda_version.png)
+![New HDA Version](/images/new_hda_version.png)
#### Show Node User Data
@@ -32,17 +39,17 @@ Shows user data and cached user data of the selected node.
![Show Node User Data](/images/show_node_user_data.png)
-## Installation (todo)
+## Installation
-- [16.0+] Package Manager (Recommended)
-- [17.5+] Packages (template json file included)
+- [16.0+] [Package Manager](https://github.com/Houdini-Packages/Houdini-Package-Manager) *Recommended*
+- [17.5+] [Packages](https://www.sidefx.com/docs/houdini/ref/plugins.html) (template json file included)
- Environment file
## License
```
Tool Development Kit for SideFX Houdini
-Copyright (C) 2020 Ivan Titov
+Copyright (C) 2021 Ivan Titov
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/images/find_icon.png b/images/find_icon.png
index 82964c2..b1c6363 100644
Binary files a/images/find_icon.png and b/images/find_icon.png differ
diff --git a/images/generate_code.png b/images/generate_code.png
index 81f7417..c144191 100644
Binary files a/images/generate_code.png and b/images/generate_code.png differ
diff --git a/images/generate_code_settings.png b/images/generate_code_settings.png
new file mode 100644
index 0000000..b9e694c
Binary files /dev/null and b/images/generate_code_settings.png differ
diff --git a/images/hda_doctor.png b/images/hda_doctor.png
new file mode 100644
index 0000000..220f5e1
Binary files /dev/null and b/images/hda_doctor.png differ
diff --git a/images/increment_hda_version.png b/images/increment_hda_version.png
deleted file mode 100644
index c591f0e..0000000
Binary files a/images/increment_hda_version.png and /dev/null differ
diff --git a/images/make_hda_by_template.gif b/images/make_hda_by_template.gif
new file mode 100644
index 0000000..4d2bc52
Binary files /dev/null and b/images/make_hda_by_template.gif differ
diff --git a/images/make_hda_from_template.png b/images/make_hda_from_template.png
deleted file mode 100644
index f03105f..0000000
Binary files a/images/make_hda_from_template.png and /dev/null differ
diff --git a/images/new_hda_version.png b/images/new_hda_version.png
new file mode 100644
index 0000000..c2e1efc
Binary files /dev/null and b/images/new_hda_version.png differ
diff --git a/images/show_node_user_data.png b/images/show_node_user_data.png
index e4fccca..933ceb5 100644
Binary files a/images/show_node_user_data.png and b/images/show_node_user_data.png differ
diff --git a/python2.7libs/houdini_tdk/__init__.py b/python2.7libs/houdini_tdk/__init__.py
index 7ed51e8..24912ed 100644
--- a/python2.7libs/houdini_tdk/__init__.py
+++ b/python2.7libs/houdini_tdk/__init__.py
@@ -19,5 +19,6 @@
from .find_icon import FindIconDialog, findIcon
from .new_hda_version import NewVersionDialog, showNewVersionDialog
from .show_node_user_data import UserDataWindow, showNodeUserData
-from .make_hda_from_template import MakeHDAFromTemplateDialog, showMakeHDAFromTemplateDialog
+from .make_hda_by_template import MakeHDAByTemplateDialog, showMakeHDAByTemplateDialog
from .generate_code import showGenerateCode
+from .hda_doctor import HDADoctorWindow
diff --git a/python2.7libs/houdini_tdk/generate_code.py b/python2.7libs/houdini_tdk/generate_code.py
index d767dfa..d19e291 100644
--- a/python2.7libs/houdini_tdk/generate_code.py
+++ b/python2.7libs/houdini_tdk/generate_code.py
@@ -98,6 +98,7 @@ def __init__(self, node, parent=None):
# UI
self.setWindowTitle('Generate Code: Settings')
+ self.setWindowIcon(hou.qt.Icon('MISC_python', 32, 32))
self.resize(400, 200)
main_layout = QVBoxLayout(self)
diff --git a/python2.7libs/houdini_tdk/hda_doctor.py b/python2.7libs/houdini_tdk/hda_doctor.py
index 66633f7..f61e026 100644
--- a/python2.7libs/houdini_tdk/hda_doctor.py
+++ b/python2.7libs/houdini_tdk/hda_doctor.py
@@ -703,7 +703,7 @@ class HDADoctorWindow(QWidget):
def __init__(self, parent=None):
super(HDADoctorWindow, self).__init__(parent, Qt.Window)
- self.setWindowTitle('HDA Doctor')
+ self.setWindowTitle('HDA Doctor Beta')
self.setWindowIcon(hou.qt.Icon('SOP_polydoctor', 32, 32))
self.resize(600, 600)
diff --git a/python2.7libs/houdini_tdk/make_hda_from_template.py b/python2.7libs/houdini_tdk/make_hda_by_template.py
similarity index 97%
rename from python2.7libs/houdini_tdk/make_hda_from_template.py
rename to python2.7libs/houdini_tdk/make_hda_by_template.py
index 8c69d38..7ad5555 100644
--- a/python2.7libs/houdini_tdk/make_hda_from_template.py
+++ b/python2.7libs/houdini_tdk/make_hda_by_template.py
@@ -152,14 +152,14 @@ def _pickLocation(self):
self.edit.setText(path)
-class MakeHDAFromTemplateDialog(QDialog):
+class MakeHDAByTemplateDialog(QDialog):
def __init__(self, node, parent=None):
- super(MakeHDAFromTemplateDialog, self).__init__(parent)
+ super(MakeHDAByTemplateDialog, self).__init__(parent)
# Data
self.node = node
- self.setWindowTitle('TDK: HDA from Template')
+ self.setWindowTitle('TDK: HDA by Template')
self.setWindowIcon(hou.qt.Icon('NODEFLAGS_template', 32, 32))
self.resize(400, 250)
@@ -294,7 +294,7 @@ def _onOk(self):
self.accept()
-def showMakeHDAFromTemplateDialog(**kwargs):
+def showMakeHDAByTemplateDialog(**kwargs):
if 'node' in kwargs:
nodes = kwargs['node'],
else:
@@ -308,5 +308,5 @@ def showMakeHDAFromTemplateDialog(**kwargs):
elif not nodes[0].type().name().startswith('tdk::template'):
notify('Node is not TDK Template', hou.severityType.Error)
return
- window = MakeHDAFromTemplateDialog(nodes[0], hou.qt.mainWindow())
+ window = MakeHDAByTemplateDialog(nodes[0], hou.qt.mainWindow())
window.show()
diff --git a/toolbar/houdini_tdk.shelf b/toolbar/houdini_tdk.shelf
index 32a2fdd..9191f61 100644
--- a/toolbar/houdini_tdk.shelf
+++ b/toolbar/houdini_tdk.shelf
@@ -11,13 +11,15 @@
+
+
@@ -44,7 +45,7 @@ houdini_tdk.findIcon(**kwargs)
@@ -72,7 +72,7 @@ houdini_tdk.showNewVersionDialog(**kwargs)
]]>
@@ -144,10 +142,9 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see .
"""
-import houdini_tdk
-reload(houdini_tdk)
+import houdini_tdk as tdk
-houdini_tdk.showGenerateCode(**kwargs)
+tdk.showGenerateCode(**kwargs)
]]>