Skip to content

Commit

Permalink
Moved script to its own folder and updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Blocker226 committed Apr 11, 2020
1 parent fa6c0b2 commit e5aab85
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .idea/copyright/Blocker226_GPL3.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions .idea/copyright/Blocker226_Short_GPL3.xml

This file was deleted.

4 changes: 2 additions & 2 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/dictionaries/Terrence_Neo.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion PxrConvert.py → Mways_to_Rman/PxrConvert.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Mineways To Renderman V1.0
# Copyright (c) 2020 Blocker226. Released under GNU GPL 3.0
# https://github.com/Blocker226/MinewaysToRenderman

import maya.cmds as mc

Expand Down Expand Up @@ -77,7 +79,7 @@ def main():
mc.error("Selected object {} is not a transform!".format(obj))
break
apply_pxr_material(obj)
print 'PxrSurface conversion complete for {} items.'.format(len(selected)),
print 'MinewaysToRenderman conversion complete for {} items.'.format(len(selected)),


if __name__ == "__main__":
Expand Down
4 changes: 4 additions & 0 deletions Mways_to_Rman/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Mineways To Renderman V1.0
# Copyright (c) 2020 Blocker226. Released under GNU GPL 3.0
# https://github.com/Blocker226/MinewaysToRenderman

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Instantly setup your imported worlds for rendering with Renderman!
Tested on Maya 2019 with Renderman 23.1

## Setup
Put the scripts into your Maya script directory. Drag the "run.py" into the script editor, then select the whole code and middle-click drag it into a shelf of your choice. Save your shelf when done.
Extract the Mways_to_Rman folder into your Maya script directory. Drag the "run.py" into the script editor's Python tab, then select the snippet and middle-click drag it into a shelf of your choice. Save your shelf when done.

Or just install it like you normally would with your other custom scripts I guess.

## Usage
Expand Down
4 changes: 3 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Mineways To Renderman V1.0
# Copyright (c) 2020 Blocker226. Released under GNU GPL 3.0
# https://github.com/Blocker226/MinewaysToRenderman

import PxrConvert
from Mways_to_Rman import PxrConvert

PxrConvert.main()

0 comments on commit e5aab85

Please sign in to comment.