-
Notifications
You must be signed in to change notification settings - Fork 23
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 #120 from nxt-dev/dev
Release editor-v3.5.0
- Loading branch information
Showing
13 changed files
with
427 additions
and
155 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,52 +1,52 @@ | ||
# Overview | ||
# NXT Editor | ||
|
||
**nxt** (**/ɛn·ɛks·ti/**) is a general purpose code compositor designed for rigging, scene assembly, and automation. (node execution tree) | ||
**nxt** (**/ɛn·ɛks·ti/**) is a general purpose code compositor designed for rigging, scene assembly, and automation. (node execution tree) | ||
[Installation/Usage](#installationusage) | [Docs](https://nxt-devs.github.io/) | [Contributing](CONTRIBUTING.md) | [Licensing](LICENSE) | ||
|
||
| Release | Dev | | ||
| :---: | :---: | | ||
| ![Build Status](https://travis-ci.com/nxt-dev/nxt_editor.svg?token=rBRbAJTv2rq1c8WVEwGs&branch=release) | ![Build Status](https://travis-ci.com/nxt-dev/nxt_editor.svg?token=rBRbAJTv2rq1c8WVEwGs&branch=dev) | | ||
|
||
# Links | ||
|
||
- [Installation](#installation) | ||
- [Updating](#updating) | ||
- [User Docs](https://sunriseproductions.github.io/nxt/) | ||
- [Contributing](CONTRIBUTING.md) | ||
- [Licensing](LICENSE) | ||
# Installation/Usage | ||
**To Use NXT please use the [NXT Standalone](#nxt-standalone) or [DCC plugin zip.](#maya-plugin)** | ||
Only clone this repo if you're [contributing](CONTRIBUTING.md) to the NXT codebase. | ||
|
||
<br> | ||
|
||
|
||
# Installation | ||
|
||
### Requirements | ||
#### Requirements | ||
- Python >= [2.7.*](https://www.python.org/download/releases/2.7) <= [3.7.*](https://www.python.org/download/releases/3.7) | ||
- We strongly recommend using a Python [virtual environment](https://docs.python.org/3.7/tutorial/venv.html) | ||
|
||
*[Requirements for contributors](CONTRIBUTING.md#python-environment)* | ||
|
||
### PIP package | ||
- From [PyPi](https://pypi.org/project/nxt-editor/): | ||
### NXT Standalone | ||
Our releases are hosted on [PyPi](https://pypi.org/project/nxt-editor/). | ||
- Install: | ||
- `pip install nxt-editor` | ||
|
||
### Maya plugin: | ||
|
||
1. Download the maya module(`nxt_maya.zip`) from the [latest release](https://github.com/SunriseProductions/nxt_editor/releases/latest) | ||
|
||
2. Follow the [nxt_maya](integration/maya/README.md) instructions (also included in the download) | ||
|
||
# Updating | ||
|
||
### PIP package | ||
- From [PyPi](https://pypi.org/project/nxt-editor/): | ||
- Launch: | ||
- `nxt ui` | ||
- Update: | ||
- `pip install -U nxt-editor` | ||
|
||
### Maya plugin: | ||
|
||
1. Download the `nxt_maya` zip from the [latest release](https://github.com/SunriseProductions/nxt_editor/releases/latest) | ||
- Install: | ||
1. Download the maya module(`nxt_maya.zip`) from the [latest release](https://github.com/nxt-dev/nxt_editor/releases/latest) | ||
2. Follow the [nxt_maya](integration/maya/README.md) instructions (also included in the download) | ||
- Launch: | ||
1. Load `nxt_maya` plugin in Maya | ||
2. Select the `nxt` menu from the menus at the top of Maya | ||
3. Click `Open Editor` | ||
- Update: | ||
1. Download the `nxt_maya` zip from the [latest release](https://github.com/nxt-dev/nxt_editor/releases/latest) | ||
2. Extract the zip and replace the existing `nxt_maya` files with the newly extracted files. | ||
3. Re-launch Maya | ||
|
||
2. Extract the zip and replace the existing nxt_maya files with the newly extracted files. | ||
<br> | ||
|
||
3. Re-launch Maya | ||
## Special Thanks | ||
|
||
[Sunrise Productions](https://sunriseproductions.tv/) | [School of Visual Art and Design](https://www.southern.edu/visualartanddesign/) | ||
|
||
## Acknowledgements | ||
--- | ||
|
||
| Release | Dev | | ||
| :---: | :---: | | ||
| ![Build Status](https://travis-ci.com/nxt-dev/nxt_editor.svg?token=rBRbAJTv2rq1c8WVEwGs&branch=release) | ![Build Status](https://travis-ci.com/nxt-dev/nxt_editor.svg?token=rBRbAJTv2rq1c8WVEwGs&branch=dev) | | ||
|
||
[Sunrise Productions](https://sunriseproductions.tv/) | [School of Visual Art and Design](https://www.southern.edu/visualartanddesign/) |
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,89 @@ | ||
{ | ||
"version": "1.17", | ||
"alias": "make_cube_spin", | ||
"color": "#5285a6", | ||
"mute": false, | ||
"solo": false, | ||
"meta_data": { | ||
"positions": { | ||
"/README": [ | ||
340.0, | ||
-120.0 | ||
], | ||
"/make_cube": [ | ||
0.0, | ||
0.0 | ||
], | ||
"/playblast_it": [ | ||
620.0, | ||
0.0 | ||
], | ||
"/spin_it": [ | ||
320.0, | ||
0.0 | ||
] | ||
} | ||
}, | ||
"nodes": { | ||
"/": { | ||
"child_order": [ | ||
"spin_it", | ||
"playblast_it", | ||
"README" | ||
], | ||
"attrs": { | ||
"cube": { | ||
"type": "raw", | ||
"value": "MyAmazingCube" | ||
} | ||
}, | ||
"code": [ | ||
"from maya import cmds" | ||
] | ||
}, | ||
"/README": { | ||
"code": [ | ||
"\"\"\"", | ||
"If you have the Maya plugin installed fire up Maya, activate the nxt_maya plugin.", | ||
"", | ||
"To run this graph remotely outside of Maya you'll want to create a context for Maya ", | ||
"Navigate to `nxt > Create Maya Context`", | ||
"Make note of the name you gave your Maya context (I named mine maya2020) and either open your terminal and run:", | ||
" ", | ||
" nxt exec ${file::make_cube_spin.nxt} --context maya2020", | ||
" ", | ||
"or from open a new Python file and use run the following script:", | ||
" ", | ||
" import nxt", | ||
" nxt.execute_graph('${file::make_cube_spin.nxt}', context='maya2020')", | ||
"", | ||
"\"\"\"" | ||
] | ||
}, | ||
"/make_cube": { | ||
"start_point": true, | ||
"comment": "Create a poly cube and store it's name on the STAGE", | ||
"code": [ | ||
"cmds.select(cl=True)", | ||
"STAGE.cube, shape = cmds.polyCube(n='${cube}')" | ||
] | ||
}, | ||
"/playblast_it": { | ||
"execute_in": "/spin_it", | ||
"comment": "Playblast the cube and open the viewer to see it", | ||
"code": [ | ||
"cmds.select(cl=True)", | ||
"cmds.viewFit(\"persp\")", | ||
"cmds.playblast(st=1, et=59, format=\"image\", viewer=True)" | ||
] | ||
}, | ||
"/spin_it": { | ||
"execute_in": "/make_cube", | ||
"comment": "Add some keyframes to the cube", | ||
"code": [ | ||
"cmds.setKeyframe('${cube}', at='.ry', v=0.0, t=1)", | ||
"cmds.setKeyframe('${cube}', at='.ry', v=360, t=60)" | ||
] | ||
} | ||
} | ||
} |
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
Oops, something went wrong.