-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from TrevisanGMW/dev
release <- dev (3.2.0)
- Loading branch information
Showing
146 changed files
with
37,196 additions
and
346 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
""" | ||
Mesh Library | ||
github.com/TrevisanGMW/gt-tools - 2023-09-08 (converted from Sphere Types - 2020-11-04) | ||
""" | ||
from gt.tools.mesh_library import mesh_library_controller | ||
from gt.tools.mesh_library import mesh_library_model | ||
from gt.tools.mesh_library import mesh_library_view | ||
from gt.ui import qt_utils | ||
import logging | ||
|
||
# Logging Setup | ||
logging.basicConfig() | ||
logger = logging.getLogger(__name__) | ||
logger.setLevel(logging.INFO) | ||
|
||
# Tool Version | ||
__version_tuple__ = (1, 0, 0) | ||
__version_suffix__ = '' | ||
__version__ = '.'.join(str(n) for n in __version_tuple__) + __version_suffix__ | ||
|
||
|
||
def launch_tool(): | ||
""" | ||
Launch user interface and create any necessary connections for the tool to function. | ||
Entry point for when using this tool. | ||
Creates Model, View and Controller and uses QtApplicationContext to determine context (inside of Maya or not?) | ||
""" | ||
with qt_utils.QtApplicationContext() as context: | ||
_view = mesh_library_view.MeshLibraryView(parent=context.get_parent(), version=__version__) | ||
_model = mesh_library_model.MeshLibraryModel() | ||
_controller = mesh_library_controller.MeshLibraryController(model=_model, view=_view) | ||
|
||
|
||
if __name__ == "__main__": | ||
launch_tool() |
Oops, something went wrong.