-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add alias import/export, minor fixes
- Loading branch information
Showing
7 changed files
with
137 additions
and
19 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,16 +1,36 @@ | ||
# dsRenamingTool | ||
Simple renaming tool | ||
![Renaming](docs/images/renamingAction.gif) | ||
|
||
## Key features: | ||
- Optional prefix, suffix fields | ||
- Auto indexing | ||
- Auto suffixing | ||
- Customizable object type suffix aliases | ||
- import/export aliases | ||
|
||
## Instalation | ||
A) **Module approach** <br> | ||
1) Place repo folder anywhere on your PC <br> | ||
2) In your documents/maya/modules directory create "dsRenamingTool.mod" file with the following code: | ||
``` | ||
+ dsRenamingTool 1.0 YourPathHere/dsRenamingTool | ||
scripts: YourPathHere/dsRenamingTool | ||
``` | ||
|
||
B) **Normal scripts approach**<br> | ||
1) Copy dsRenamingTool folder with py in it (not main repo) to your documents/maya/scripts directory | ||
|
||
## Usage | ||
A) Run mainDialog.py<br> | ||
B) Import dsRenamingTool, dsRenamingTool.Dialog.display() | ||
|
||
## Dialogs | ||
**Main dialog**: | ||
|
||
![Preview](docs/images/mainDialog.png) | ||
|
||
|
||
|
||
**Alias editor**: | ||
|
||
![Suffix aliases editor](docs/images/aliasesDialog.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
LOGGING_CONFIG = { | ||
"version": 1, | ||
"disable_existing_loggers": False, | ||
"formatters": { | ||
"brief": { | ||
"class": "logging.Formatter", | ||
"datefmt": "%d-%m-%Y %I:%M:%S", | ||
"format": "// %(name)s %(asctime)s %(levelname)s| %(message)s //" | ||
}, | ||
|
||
"detailed": { | ||
"class": "logging.Formatter", | ||
"datefmt": "%d-%m-%Y %I:%M:%S", | ||
"format": " %(message)s Call: %(name)s.%(funcName)s;" | ||
} | ||
}, | ||
"handlers": { | ||
"console":{ | ||
"level": "DEBUG", | ||
"class": "logging.StreamHandler", | ||
"formatter": "brief", | ||
"stream" : "ext://sys.stdout" | ||
}, | ||
|
||
"file_handler": { | ||
"level": "DEBUG", | ||
"class": "logging.FileHandler", | ||
"formatter": "detailed", | ||
"filename": "", | ||
"mode": "a", | ||
"encoding": "utf-8" | ||
} | ||
}, | ||
"loggers": { }, | ||
"root": { | ||
"handlers": ["console", "file_handler"], | ||
"level": "DEBUG" | ||
} | ||
} |
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