Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tyler/mactest #138

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
393 changes: 67 additions & 326 deletions .github/workflows/main.yml

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +0,0 @@
[submodule "include/eigen"]
path = include/eigen
url = https://gitlab.com/libeigen/eigen.git
branch = 3.4
[submodule "include/rapidjson"]
path = include/rapidjson
url = https://github.com/Tencent/rapidjson.git
36 changes: 0 additions & 36 deletions CMakeLists.txt

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This tool was built with the full **F**acial **A**ction **C**oding **S**ystem (F

### For TD's

Simplex aims to be fully scriptable so that it can easily be inserted into any pipeline. The UI and API are fully Python, all content creation commands are abstracted (for multi-package use), and all systems are built as human readable JSON strings.
Simplex aims to be fully scriptable so that it can easily be inserted into any pipeline. The UI and API are fully Python, all content creation commands are abstracted (for multi-package and external use), and all systems are built as human readable JSON strings.

There is a suite of tools included that allow for manipulating .smpx files. Most of which can be run completely outside of a DCC. This includes vertex reordering, un-subdividing, splitting, and even shape-inversion. These .smpx files are nothing more than specially structured alembic caches

Expand All @@ -34,7 +34,7 @@ Follow this youtube link to a basic walkthrough of Simplex usage. This video hig
## Easy Installation
1. Download [this file](https://raw.githubusercontent.com/blurstudio/Simplex/master/simplex_maya_installer.py) to your computer. Make sure it's saved as a python file.
2. Drag/drop the python file into a freshly opened instance of Maya (make sure all other mayas are closed). A command prompt window may open for a couple seconds. This is normal.
3. If you have multiple Maya versions installed, repeat step 2 for those versions as well. This just ensures that numpy is installed for those versions.
3. If you have multiple Maya versions installed, repeat step 2 for those versions as well. This just ensures that numpy and Qt.py are installed for those versions.
4. Create a python shelf button with this script.
```python
from simplexui import runSimplexUI
Expand All @@ -51,7 +51,7 @@ runSimplexUI()
1. Download the `simplex-v*.*.*.zip` file from the [latest release](https://github.com/blurstudio/Simplex/releases/latest)
2. Create a `modules` folder in your maya user directory. For example, on Windows, that would mean creating `C:\Users\<your-username>\Documents\maya\modules`
3. Copy the `simplex.mod` file and the `simplex` folder into that directory.
4. Install numpy for mayapy [using pip](https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/Maya-Scripting/files/GUID-72A245EC-CDB4-46AB-BEE0-4BBBF9791627-htm.html). For example, on Windows, once you're in the right place the command will be `mayapy -m pip install numpy`. You will need admin privelages for this.
4. Install numpy and Qt.py to mayapy [using pip](https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/Maya-Scripting/files/GUID-72A245EC-CDB4-46AB-BEE0-4BBBF9791627-htm.html). For example, on Windows, once you're in the right place the command will be `mayapy -m pip install numpy Qt.py`. You will need admin privelages for this.
5. Run these two Python commands in Maya to start the tool. (This is probably what you should put into a shelf button)
```python
from simplexui import runSimplexUI
Expand Down
81 changes: 0 additions & 81 deletions buildmodfile.py

This file was deleted.

163 changes: 0 additions & 163 deletions cmake/FindMaya.cmake

This file was deleted.

1 change: 0 additions & 1 deletion include/eigen
Submodule eigen deleted from e7248b
1 change: 0 additions & 1 deletion include/rapidjson
Submodule rapidjson deleted from f54b0e
22 changes: 0 additions & 22 deletions mayaConfigure.bat

This file was deleted.

21 changes: 21 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
project('Simplex', 'cpp', default_options: ['cpp_std=c++20'])


maya_build = get_option('maya_build')
python_build = get_option('python_build')

if not maya_build and not python_build
error('No builds requested')
endif

subdir('src/simplexlib')
if maya_build
maya_dep = dependency('maya')
maya_name_suffix = maya_dep.get_variable('name_suffix')
maya_version = maya_dep.get_variable('maya_version')
subdir('src/maya')
endif

if python_build
subdir('src/python')
endif
2 changes: 2 additions & 0 deletions meson.options
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
option('maya_build', type : 'boolean', value : true)
option('python_build', type : 'boolean', value : true)
22 changes: 0 additions & 22 deletions os/README.md

This file was deleted.

Binary file removed os/linux/2.7/lib/libpython2.7.so
Binary file not shown.
Binary file removed os/linux/3.10/lib/libpython3.10.so
Binary file not shown.
Binary file removed os/linux/3.7/lib/libpython3.7m.so
Binary file not shown.
Binary file removed os/linux/3.9/lib/libpython3.9.so
Binary file not shown.
Loading
Loading