simplex-solver 3.2.2__cp39-abi3-macosx_12_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. simplex_solver-3.2.2.dist-info/METADATA +94 -0
  2. simplex_solver-3.2.2.dist-info/RECORD +80 -0
  3. simplex_solver-3.2.2.dist-info/WHEEL +6 -0
  4. simplexui/__init__.py +55 -0
  5. simplexui/_version.py +1 -0
  6. simplexui/channelBox.py +867 -0
  7. simplexui/comboCheckDialog.py +396 -0
  8. simplexui/commands/__init__.py +16 -0
  9. simplexui/commands/alembicCommon.py +1148 -0
  10. simplexui/commands/alembic_walker.py +299 -0
  11. simplexui/commands/applyCorrectives.py +452 -0
  12. simplexui/commands/correctiveInterface.py +259 -0
  13. simplexui/commands/expandedExport.py +434 -0
  14. simplexui/commands/hdf5Convert.py +62 -0
  15. simplexui/commands/mayaCorrectiveInterface.py +159 -0
  16. simplexui/commands/mayatonumpy.py +416 -0
  17. simplexui/commands/mesh.py +1085 -0
  18. simplexui/commands/poseblendlib.py +168 -0
  19. simplexui/commands/reorderSimplexPoints.py +102 -0
  20. simplexui/commands/replaceDefinitionJson.py +74 -0
  21. simplexui/commands/rigidAlign.py +97 -0
  22. simplexui/commands/unsubdivide.py +1222 -0
  23. simplexui/commands/uvTransfer.py +976 -0
  24. simplexui/dragFilter.py +334 -0
  25. simplexui/falloffDialog.py +504 -0
  26. simplexui/img/ChefHead.png +0 -0
  27. simplexui/img/frozen.png +0 -0
  28. simplexui/interface/__init__.py +30 -0
  29. simplexui/interface/dummyInterface.py +1313 -0
  30. simplexui/interface/mayaInterface.py +2294 -0
  31. simplexui/interfaceModel.py +655 -0
  32. simplexui/interfaceModelTrees.py +456 -0
  33. simplexui/items/__init__.py +50 -0
  34. simplexui/items/accessor.py +145 -0
  35. simplexui/items/combo.py +645 -0
  36. simplexui/items/dragItem.py +44 -0
  37. simplexui/items/falloff.py +748 -0
  38. simplexui/items/group.py +267 -0
  39. simplexui/items/progression.py +613 -0
  40. simplexui/items/shape.py +384 -0
  41. simplexui/items/simplex.py +1734 -0
  42. simplexui/items/slider.py +632 -0
  43. simplexui/items/stack.py +147 -0
  44. simplexui/items/traversal.py +780 -0
  45. simplexui/items/treeItem.py +441 -0
  46. simplexui/main.pyw +22 -0
  47. simplexui/menu/__init__.py +73 -0
  48. simplexui/menu/dummyPlugins/__init__.py +16 -0
  49. simplexui/menu/genericPlugins/__init__.py +16 -0
  50. simplexui/menu/genericPlugins/_builtins.py +270 -0
  51. simplexui/menu/genericPlugins/checkPossibleCombos.py +48 -0
  52. simplexui/menu/genericPlugins/exportSplit.py +67 -0
  53. simplexui/menu/genericPlugins/showFalloffs.py +26 -0
  54. simplexui/menu/genericPlugins/showTraversals.py +26 -0
  55. simplexui/menu/genericPlugins/simplexUvTransfer.py +106 -0
  56. simplexui/menu/genericPlugins/unsubdivide.py +72 -0
  57. simplexui/menu/mayaPlugins/__init__.py +16 -0
  58. simplexui/menu/mayaPlugins/exportOther.py +53 -0
  59. simplexui/menu/mayaPlugins/extractProgressives.py +68 -0
  60. simplexui/menu/mayaPlugins/freezeCombo.py +247 -0
  61. simplexui/menu/mayaPlugins/generateShapeIncrementals.py +99 -0
  62. simplexui/menu/mayaPlugins/importObjs.py +199 -0
  63. simplexui/menu/mayaPlugins/linearizeTraversal.py +60 -0
  64. simplexui/menu/mayaPlugins/makeShelfBtn.py +67 -0
  65. simplexui/menu/mayaPlugins/relaxToSelection.py +76 -0
  66. simplexui/menu/mayaPlugins/reloadDefinition.py +44 -0
  67. simplexui/menu/mayaPlugins/snapToNeutral.py +71 -0
  68. simplexui/menu/mayaPlugins/softSelectToCluster.py +201 -0
  69. simplexui/menu/mayaPlugins/tweakMix.py +136 -0
  70. simplexui/menu/mayaPlugins/updateRestShape.py +113 -0
  71. simplexui/pysimplex.abi3.so +0 -0
  72. simplexui/simplexDialog.py +1547 -0
  73. simplexui/travCheckDialog.py +419 -0
  74. simplexui/traversalDialog.py +299 -0
  75. simplexui/ui/comboCheckDialog.ui +475 -0
  76. simplexui/ui/falloffDialog.ui +243 -0
  77. simplexui/ui/simplexDialog.ui +1458 -0
  78. simplexui/ui/travCheckDialog.ui +488 -0
  79. simplexui/ui/traversalDialog.ui +532 -0
  80. simplexui/utils.py +307 -0
@@ -0,0 +1,94 @@
1
+ Metadata-Version: 2.1
2
+ Name: simplex-solver
3
+ Version: 3.2.2
4
+ Summary: The Blur Studio Simplex Blendshape Combination System
5
+ Author-Email: Tyler Fox <tyler@blur.com>
6
+ Classifier: Programming Language :: Python :: 3.8
7
+ Classifier: Programming Language :: Python :: 3.9
8
+ Classifier: Programming Language :: Python :: 3.10
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Classifier: Programming Language :: Python :: 3.12
11
+ Classifier: Programming Language :: Python :: 3.13
12
+ Classifier: Programming Language :: Python :: 3.14
13
+ Classifier: Programming Language :: Python :: 3.15
14
+ Classifier: Programming Language :: Python :: Implementation :: CPython
15
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
16
+ Classifier: Operating System :: Microsoft :: Windows
17
+ Classifier: Operating System :: POSIX :: Linux
18
+ Classifier: Operating System :: MacOS :: MacOS X
19
+ Project-URL: Project Page, https://github.com/blurstudio/simplex
20
+ Requires-Python: >=3.9
21
+ Requires-Dist: Qt.py
22
+ Provides-Extra: dev
23
+ Requires-Dist: tox; extra == "dev"
24
+ Requires-Dist: covdefaults; extra == "dev"
25
+ Requires-Dist: coverage; extra == "dev"
26
+ Requires-Dist: ruff; extra == "dev"
27
+ Description-Content-Type: text/markdown
28
+
29
+ # SIMPLEX UI
30
+ ---
31
+
32
+ ![Example Simplex UI](img/simplexUiExample.png)
33
+
34
+ ---
35
+
36
+ ### For Artitsts
37
+
38
+ Simplex aims to provide an intuitive, cross-package UI that allows for building, editing, and controlling complex shapes, combos, and transitions for use in high-end blendshape facial rigs, or even PSD systems.
39
+
40
+ This tool was built with the full **F**acial **A**ction **C**oding **S**ystem (FACS) in mind. As such, it easily handles hundreds of shapes with arbitrary combo depth. Spline interpolation for in-between shapes, positive-negative shapes, in-between combo shapes, and combo transitions are supported. Arbitrary value combinations are also fully supported (eg. ComboX activates when SliderA is at 0.25 and SliderB is at 0.33).
41
+
42
+ ### For TD's
43
+
44
+ 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.
45
+
46
+ 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
47
+
48
+ As long as your package supports Plugins, Python, and Qt (or PySide), you can use Simplex.
49
+
50
+ #### Simplex is NOT
51
+
52
+ * Simplex is not a modeling toolkit
53
+ * Modeling is done using whatever tools you choose on your current package
54
+ * Simplex is not a deformer
55
+ * It only informs a native blendshape deformer what values the current shapes should have
56
+ * In the future, I *do* have ideas for building an interface to an advanced deformer for dynamically previewing arbitrary splits, but the final output will always have the ability to bake down to a basic blendshape.
57
+
58
+ ### Basic Usage
59
+ Follow this youtube link to a basic walkthrough of Simplex usage. This video highlights a slightly older version of Simplex, but the interaction remains basically the same. [https://www.youtube.com/watch?v=LQwzsxU8z_Q](https://www.youtube.com/watch?v=LQwzsxU8z_Q)
60
+
61
+
62
+ ## Easy Installation
63
+ 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.
64
+ 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.
65
+ 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.
66
+ 4. Create a python shelf button with this script.
67
+ ```python
68
+ from simplexui import runSimplexUI
69
+ runSimplexUI()
70
+ ```
71
+
72
+ ## Updating
73
+ 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.
74
+ 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.
75
+ 3. If you have multiple Maya versions installed, you do NOT have to repeat step 2 for all of them.
76
+
77
+
78
+ ## Manual Installation
79
+ 1. Download the `simplex-v*.*.*.zip` file from the [latest release](https://github.com/blurstudio/Simplex/releases/latest)
80
+ 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`
81
+ 3. Copy the `simplex.mod` file and the `simplex` folder into that directory.
82
+ 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.
83
+ 5. Run these two Python commands in Maya to start the tool. (This is probably what you should put into a shelf button)
84
+ ```python
85
+ from simplexui import runSimplexUI
86
+ runSimplexUI()
87
+ ```
88
+
89
+ ## Uninstalling
90
+ 1. Delete the `simplex.mod` file and the `simplex` folder from the `modules` folder in your maya user directory. For example, on Windows, that would mean deleting `C:\Users\<your-username>\Documents\maya\modules\simplex.mod` and `C:\Users\<your-username>\Documents\maya\modules\simplex`
91
+
92
+
93
+ ## Compiling
94
+ Hopefully you don't need to do this, but if you have to, just take a look at the `quick_compile.bat` file to see how to kick off a compile. And also look at `.github/workflows/main.yml` if you need to piece together the dependencies required.
@@ -0,0 +1,80 @@
1
+ simplex_solver-3.2.2.dist-info/WHEEL,sha256=qMMc_9MWgMJHOUQi6PEDW-GzMtda2ZYd_Q7xsbWWe0M,120
2
+ simplex_solver-3.2.2.dist-info/METADATA,sha256=goCmYF4Leeq_h5cW8lROnWVP-IUfC6Hiubo1pmpHcp4,5953
3
+ simplexui/interfaceModel.py,sha256=D_2EgXudzcu_ptqeoOYdVTGvkMIPX81DnwXv2rd3BRs,22933
4
+ simplexui/travCheckDialog.py,sha256=9KX0Be-Vtkifk-flFPTCyLRNaU5941VoF0xJneZHDcY,14090
5
+ simplexui/main.pyw,sha256=LLw1xxI2DAf-ZP-go3PfficYkrsG053MiFQngC5FIhY,761
6
+ simplexui/channelBox.py,sha256=eJeQfmt7cXFP2p_B_dSGCjLnKhqc420hWRl8WAAWm7Q,24710
7
+ simplexui/_version.py,sha256=ZmmI5s4IOsXO5-AozNV59t2D2gA8H3roPQ5AZnawC1Q,24
8
+ simplexui/__init__.py,sha256=9vhFmutuPQHakbYoejbpTHGxjT34YwR3qZLfjuzAUXw,1594
9
+ simplexui/comboCheckDialog.py,sha256=sBltn_t5h20YUOxDJz2nCcPjj3AZedLIYJxih1L5INw,13071
10
+ simplexui/interfaceModelTrees.py,sha256=IKKk7Q5ZUfiAkWzuwX2QO6uU5X2jmMDcDjtwF0bq7Qo,14070
11
+ simplexui/falloffDialog.py,sha256=G1_taDnp5leBETIe-y5mI_vCP19jAnlmBxALzLGLdUk,17162
12
+ simplexui/utils.py,sha256=oaBN8Qm4o7oFYQrVIF2lEhhjzIIHnhxnaNQVRqIneEE,8793
13
+ simplexui/dragFilter.py,sha256=pEG5PJW83WYB2I0JmL8p3Sj4P7o-jQSD5ZnteB04hBk,12686
14
+ simplexui/pysimplex.abi3.so,sha256=Srv9eUOx2JivPF4DQRbfNbqYxLj5x0GmP-nzcLWWHPs,231984
15
+ simplexui/simplexDialog.py,sha256=XKoRHnm2pGRvNNo9bSv1r4rWAbV18ktFSG1kB9HVoYo,54800
16
+ simplexui/traversalDialog.py,sha256=cmIrlnCIhSQqg1aDsWDKYvxJI9jxrGMFGTXg2UuosxE,10248
17
+ simplexui/ui/travCheckDialog.ui,sha256=R6UAIaY4I6RZl69LcPezbhA55R5YAHl90OlRb8TVkmk,12079
18
+ simplexui/ui/falloffDialog.ui,sha256=QJW7a9sxF08lAdrAfLe1CJDilo4Z8qpQoEYkt7r-rsU,7328
19
+ simplexui/ui/comboCheckDialog.ui,sha256=dKhYXDsYGpvXxzIHloUofawux8wBu6bwU-CTlJiIQcA,11943
20
+ simplexui/ui/simplexDialog.ui,sha256=_yd9uQvrQzlCot-gYnCgrZpeX8l2boj8kI2DD1JeWFo,45432
21
+ simplexui/ui/traversalDialog.ui,sha256=TGgKynoGFFwufeo_1q5yM-7SrpiG6mEzbOfJNsBYBiY,13728
22
+ simplexui/interface/__init__.py,sha256=mGHnek4I1Qp6WUB1tOyPyiSM2L7hu22A_IjdMMFzIvM,1152
23
+ simplexui/interface/mayaInterface.py,sha256=0O0ybPY_BaK5T3UKPC1zozjtqTaenIRadr0eck6nwAE,80189
24
+ simplexui/interface/dummyInterface.py,sha256=aMIFk_VtQ_-ix5t-nAR4zAuDl-UqjIiAjK0cXWdkhmw,36169
25
+ simplexui/img/frozen.png,sha256=Pf4mjSsSbC5huSTKehPwuyOQs0TjaYCJKzg4dZC1Jtw,739
26
+ simplexui/img/ChefHead.png,sha256=FkVH9NhhvfAXpVjUjtZdnmcx_PGYRpvemBCjoYFsy5k,38228
27
+ simplexui/menu/__init__.py,sha256=-7gjSMbh33FKNJ0FMyPahaMOqpOMHUTd-4sTeYeAhDQ,2268
28
+ simplexui/menu/mayaPlugins/softSelectToCluster.py,sha256=_eehd3qAI-G2H5qOBv2GZ-qe78hVo96IWJ9Eas8KkTo,7512
29
+ simplexui/menu/mayaPlugins/relaxToSelection.py,sha256=FxWU_KzzmwU-cZVBKhqkJdRc0KYKCEs_1GauOL1HygI,2599
30
+ simplexui/menu/mayaPlugins/importObjs.py,sha256=pL2_UeQ2y_ia-PrQWIZxAzAiROvBjpdV6Pq_ETddYeA,6341
31
+ simplexui/menu/mayaPlugins/generateShapeIncrementals.py,sha256=BiY_jXVUs35RKQEpi_NhwRGtFewlCa1tS8u9JVQLIrw,3090
32
+ simplexui/menu/mayaPlugins/makeShelfBtn.py,sha256=f-w3NATODFq3k0egOZSWbxOElSll-AGkf6VjPyjtaOs,1785
33
+ simplexui/menu/mayaPlugins/exportOther.py,sha256=IbUh2ZMn1OA_eBu4MLMNe5mYnJVRYW5bzLnepN3ABpQ,1696
34
+ simplexui/menu/mayaPlugins/__init__.py,sha256=dAvGE_IiKDDiz5EhTYTI6q9IwPQ1b6L-iKCZ-pQU2jc,706
35
+ simplexui/menu/mayaPlugins/snapToNeutral.py,sha256=7W65axJ3czPCRo1wNgp0s7bnbPY0Aen8ATTF9ViXQCg,2446
36
+ simplexui/menu/mayaPlugins/freezeCombo.py,sha256=_N0qOiqZrocnCJ0G_xbJ6eRMLPjJWHRcWWiZvXNiOtQ,8572
37
+ simplexui/menu/mayaPlugins/updateRestShape.py,sha256=1Om21JQuWZxTY_pVJSYz20cMTdsSeZuW41kleR76oiA,3752
38
+ simplexui/menu/mayaPlugins/tweakMix.py,sha256=qMdOdXtURyJO5DifUuDLg3w4VI-1nxG_T9HNxxBhyqI,4812
39
+ simplexui/menu/mayaPlugins/linearizeTraversal.py,sha256=ZfAxPj5Q4zvG4S6NsTlNypMVD4tbOJ_ORKqBheE_rqc,2043
40
+ simplexui/menu/mayaPlugins/extractProgressives.py,sha256=YYeypk3mC7g63ccDTbpGPjpJeWTJJG3uFXxt1qMVQnE,2301
41
+ simplexui/menu/mayaPlugins/reloadDefinition.py,sha256=h6gYXlJtupNI3yAIHZ-ZzOpEMynl85iV_0r-X_sorUw,1441
42
+ simplexui/menu/dummyPlugins/__init__.py,sha256=dAvGE_IiKDDiz5EhTYTI6q9IwPQ1b6L-iKCZ-pQU2jc,706
43
+ simplexui/menu/genericPlugins/showTraversals.py,sha256=SVbSlLQY_Q_ZOik_fb9m2ip7mp9WmDWUqq78XfsvMMc,987
44
+ simplexui/menu/genericPlugins/checkPossibleCombos.py,sha256=l0_GcKbJTbeFm5hte1-qtjMC92DBtglektyQGUaEYEc,1641
45
+ simplexui/menu/genericPlugins/__init__.py,sha256=dAvGE_IiKDDiz5EhTYTI6q9IwPQ1b6L-iKCZ-pQU2jc,706
46
+ simplexui/menu/genericPlugins/_builtins.py,sha256=ZrQOr7zEgaKvNJwv7F1JBikD1rNwr9-JAb2gotc8agI,9268
47
+ simplexui/menu/genericPlugins/simplexUvTransfer.py,sha256=J078MnCScnqlH0Q0IfXotcjUl8VNl-CB23XncTgUSk8,3359
48
+ simplexui/menu/genericPlugins/exportSplit.py,sha256=OwVicY9hQlTsYlqvW6MIskO12SyysiYDo75e3xI262A,2028
49
+ simplexui/menu/genericPlugins/unsubdivide.py,sha256=VzSEIAshRMLCXk3Dv-pe5zq-oDnmR2w3vT7ozSC0JvY,2355
50
+ simplexui/menu/genericPlugins/showFalloffs.py,sha256=2SAyzo1cH8qoHz9llf4ONUV6SmrnLEeLNVeJKhMDmgo,977
51
+ simplexui/commands/mayatonumpy.py,sha256=wxiY4njR1bxpXcrLD0Q7D0_yPjDjcjB5llzgk2QlvLA,15291
52
+ simplexui/commands/mayaCorrectiveInterface.py,sha256=3mbhsu8_FCrDM7oTrUCjKGDaO2a_QKUJj536TyW2m70,4827
53
+ simplexui/commands/alembicCommon.py,sha256=G8Z8Df1Rm_tPC7eGj_MI7um70Gr6FMiH6du-4aVAlvg,32667
54
+ simplexui/commands/correctiveInterface.py,sha256=Jb4JhBMgsQLv6z6WS6LWmZBMumDWV6HAPWmQ3YAygaE,7712
55
+ simplexui/commands/reorderSimplexPoints.py,sha256=0o49QeJAJ7jGAtpeWhB7EzGxY9HYBRCwd3I18_38aT0,2979
56
+ simplexui/commands/alembic_walker.py,sha256=NPBXgkT3BgV6oQwrTtYJS7PxXCoHOgeSvcBeogwtD1I,12139
57
+ simplexui/commands/__init__.py,sha256=dAvGE_IiKDDiz5EhTYTI6q9IwPQ1b6L-iKCZ-pQU2jc,706
58
+ simplexui/commands/mesh.py,sha256=394KZGj3mjJ-Ao3QpjRakQFqyptr-Ilb1gcJJ00iARM,32679
59
+ simplexui/commands/poseblendlib.py,sha256=TMQIdjj-nkwJbDlQ6trsysjicGMQZR6P_kDJU7uW1H8,5671
60
+ simplexui/commands/hdf5Convert.py,sha256=NURvNg_xbP4fa_jJpF3MaVRVs7O7gafYLsuXaXuaF5U,1697
61
+ simplexui/commands/replaceDefinitionJson.py,sha256=O5hISpKAS90v8_Cyhw5glqmpdAjPSc_V_idtdnEeNPU,2735
62
+ simplexui/commands/unsubdivide.py,sha256=4j7Am81DFgj2tRL8HX9ZUmSCEPPYF8WyYPrX8qJQgDQ,35445
63
+ simplexui/commands/expandedExport.py,sha256=L197EpBQ7PzuEY8J9I7vHltH5QAi2k4gi-PDnVmjqj4,13146
64
+ simplexui/commands/rigidAlign.py,sha256=xjfNsJjr6U6hBSzcutEjo9aNihFG3iTpTpyZpn5gggk,3133
65
+ simplexui/commands/uvTransfer.py,sha256=_AcIYwxJK4xYBLknQLzZ8mDBu2aWjTwKMRQipbzkXaA,28567
66
+ simplexui/commands/applyCorrectives.py,sha256=cEBYxa9zlG_HevyHW0Dt_ASTp_akgnPGc3jTVBJV0EE,13702
67
+ simplexui/items/accessor.py,sha256=N3Gl8RArsEcUExbiJeL-DqcP5ACFGTPcIsWBcGWLfuQ,5033
68
+ simplexui/items/progression.py,sha256=aleY6LIAj6yRkR0oeAiwZXPNBF7sH9-SrSFflF45H1I,18804
69
+ simplexui/items/treeItem.py,sha256=XLUVvzKVMrPTcYvBLNzA8kimmfDIO0A281w6xsCI-j4,14939
70
+ simplexui/items/traversal.py,sha256=5pHYm9rVRJZukwZ8ktt8CcitdYRRLfBI0qf-u4bUDoQ,26335
71
+ simplexui/items/dragItem.py,sha256=jfBWV2rqzS2bPO5v6fIATFJQUgvJYZfwyM6XkZnS8wc,1587
72
+ simplexui/items/__init__.py,sha256=6yaHhmAd7rrRraR7bboJ7AvS0uBWLE_V7OVOX8Btb6w,1420
73
+ simplexui/items/falloff.py,sha256=Iqc3vuCtgrlWvYcIIRMoakwrGz-PgSyDEUqRTPCceew,22553
74
+ simplexui/items/slider.py,sha256=i4evJxW14dLwxMKR7H28yC0t-7j5Z1cSswClYic8A1M,20565
75
+ simplexui/items/stack.py,sha256=9nqcmAkc9UNlcxK8KlLYqYH_fbbzKlJ53hx0l3N8r3w,4791
76
+ simplexui/items/group.py,sha256=FBqCiFlujih79MQQnLNS6uBG5XLM8xPM1IPdPHpQtbo,8262
77
+ simplexui/items/simplex.py,sha256=tutabIUCZgTwXalwhWoiHq6nCU6_oyCJQdLBZ3J6mcs,62991
78
+ simplexui/items/shape.py,sha256=-SVIzqbhQf8sFH8ZZC-lcHWJk1it1luVr5zeZDeom6E,12827
79
+ simplexui/items/combo.py,sha256=rSvqk9a7skgygZF0sQWYocisjIPseLL_R8whE8Sy3qg,20688
80
+ simplex_solver-3.2.2.dist-info/RECORD,,
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: meson
3
+ Root-Is-Purelib: false
4
+ Generator: delocate 0.13.0
5
+ Tag: cp39-abi3-macosx_12_0_arm64
6
+
simplexui/__init__.py ADDED
@@ -0,0 +1,55 @@
1
+ # Copyright 2016, Blur Studio
2
+ #
3
+ # This file is part of Simplex.
4
+ #
5
+ # Simplex is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU Lesser General Public License as published by
7
+ # the Free Software Foundation, either version 3 of the License, or
8
+ # (at your option) any later version.
9
+ #
10
+ # Simplex is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ # GNU Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public License
16
+ # along with Simplex. If not, see <http://www.gnu.org/licenses/>.
17
+
18
+ from __future__ import annotations
19
+
20
+ from ._version import __version__ # noqa: F401
21
+
22
+ SIMPLEX_UI = None
23
+ SIMPLEX_UI_ROOT = None
24
+
25
+
26
+ def runSimplexUI() -> None:
27
+ from .interface import DISPATCH, rootWindow
28
+ from .simplexDialog import SimplexDialog
29
+
30
+ global SIMPLEX_UI
31
+ global SIMPLEX_UI_ROOT
32
+
33
+ # make and show the UI
34
+ SIMPLEX_UI_ROOT = rootWindow()
35
+ # Keep a global reference around, otherwise it gets GC'd
36
+ SIMPLEX_UI = SimplexDialog(parent=SIMPLEX_UI_ROOT, dispatch=DISPATCH)
37
+ SIMPLEX_UI.show()
38
+
39
+
40
+ def tool_paths() -> tuple[list[str], list[str]]:
41
+ import os
42
+
43
+ path = os.path.dirname(__file__)
44
+ pathPar = os.path.dirname(path)
45
+ return [path], [pathPar]
46
+
47
+
48
+ if __name__ == "__main__":
49
+ import os
50
+ import sys
51
+
52
+ folder = os.path.dirname(os.path.dirname(__file__))
53
+ if folder not in sys.path:
54
+ sys.path.insert(0, folder)
55
+ runSimplexUI()
simplexui/_version.py ADDED
@@ -0,0 +1 @@
1
+ __version__ = "v3.2.2"