Commit Graph

83 Commits

Author SHA1 Message Date
Yusarina 503ba52b9b Move Separate By to Additional Tools
Move Separate BY to Additional tools, makes no sense having these smaller functions in it's own file.
2024-09-27 22:59:45 +01:00
Yusarina 909b104882 Move Join Meshes to Mesh Tools
I see no point having two files here if we can just move join meshes into the mesh tools file.
2024-09-27 22:58:01 +01:00
Yusarina f64c8daa03 Merge pull request #60 from Yusarina/mmd_options
Mmd options (WIP)
2024-09-26 00:52:49 +01:00
Yusarina 5addb26ad4 Small Fixes, forgot some things change in the API 2024-09-26 00:21:37 +01:00
Yusarina 3c2a63f29a Improvements and fixes to some whoopsies
- Fixed double import
- Improved Cleanup mesh, includes removal of empty shapekeys and unused vertex groups.
- Optimise Armature now includes fix broken names function
- Optimise Weights now includes a limit for bone weights
- Material conversion now handles transparency
- automatically rename bones to a standard naming convention such as  _Left _Right

Still no where near complete, but I getting there.
2024-09-26 00:11:52 +01:00
Yusarina 6c918b8209 Very Basic MMD Options Panel (MASSIVE WIP)
This is a massive WIP most options don't work yet. However this is the start of it.
2024-09-25 23:48:16 +01:00
Yusarina fcbcd0a4fb Quick Fix to Apply shapeky to basis
Was causing addon not to load, just a quick fix.
2024-09-25 23:42:55 +01:00
Yusarina 4f572e069f Merge branch 'main' into remove_constraints 2024-09-22 22:53:29 +01:00
Yusarina fc0bafef48 Merge pull request #58 from 989onan/MergeArmatures
Add apply shapekey to basis
2024-09-22 22:46:55 +01:00
989onan 8191c795f4 Add apply shapekey to basis
add apply shapekey to basis to shapekey menu

I believe I wrote this simple implementation for Tuxedo, I don't remember how I came up with it.
2024-09-22 14:50:26 -04:00
Yusarina a3111644af Rigify To Unity Function
- This is an work in progress, this expands on the system that NyankoNyan and improves that system.

- It remaps the bone hierarchy to match Unity's expectations
- It adds necessary constraints to ensure proper bone movement (For the people who need it, can be removed via remove constraints button).
- It removes redundant bones that could cause issues in Unity.
- It renames bones to match Unity's Humanoid Avatar naming convention.
- It provides an option to merge or remove twist bones, which are not supported by Unity's humanoid system.
- It adjusts bone connections and deformation settings.

I think more needs to be added, but this seems to work for now.
2024-09-20 16:48:51 +01:00
Yusarina 9361423335 Remove Bone Constraints
- Adds Remove Bone Constraints, this uses pose mode instead of edit mode as this is supposedly a safer method.
2024-09-20 12:18:08 +01:00
Yusarina 5086e753c1 Connect Bones
- Connect bones button added.
- Added slider so the user can choose the distance, cats was set at a hard coded amount which could sometimes cause some issues for some modals.
2024-09-20 12:03:36 +01:00
Yusarina 1782e54ff3 Report to user what we done. 2024-09-19 23:43:25 +01:00
989onan b015736ead fix merge armatures
now the different options work. and it has an apply transforms
2024-09-13 12:38:08 -04:00
989onan 0cb4d6bb3a Merge armatures button 2024-09-12 21:56:39 -04:00
989onan 4f211bd79a fix more 2024-09-11 21:01:34 -04:00
Onan Chew f35e1235e0 Merge branch 'teamneoneko:main' into RemoveUnusedShapekeys 2024-09-10 21:23:04 -04:00
989onan 494077b1a0 fix some broken changes 2024-09-10 21:11:36 -04:00
Onan Chew 178d76d89f Merge branch 'main' into PoseMode 2024-09-10 20:47:06 -04:00
Yusarina c987a6d69f Merge branch 'main' into RemoveUnusedShapekeys 2024-09-11 01:43:15 +01:00
Yusarina e766c20764 Merge branch 'main' into UVAligner 2024-09-11 01:41:05 +01:00
Onan Chew f7d4e4e5e9 Merge branch 'main' into RemoveUnusedShapekeys 2024-09-10 20:36:38 -04:00
Yusarina dd751a9d32 Merge branch 'main' into MergeBones 2024-09-11 01:36:05 +01:00
Onan Chew 087a0d89ae Merge branch 'main' into PoseMode 2024-09-10 20:35:16 -04:00
989onan f3cff17e16 fix operator locations 2024-09-10 20:33:20 -04:00
989onan 6954342d37 Fix error handling 2024-09-10 12:25:10 -04:00
989onan 9bdaa1ef01 Add Remove unused shapekeys
removes shapekeys that don't do anything
2024-09-09 21:57:13 -04:00
989onan 94dcc3ed7a fix context issues and drawing 2024-09-09 21:26:45 -04:00
989onan fba59faa50 UVAligner Tool
- Adds a new Avatar Toolkit panel location for UV tools
- adds Align UV Edges to target
 - Allows for aligning uv vertices in a line on one object to another's uvs pixel perfect. This is useful for making one model copy another model's UV's with some user work
- Added translation keys for tool
2024-09-09 21:18:56 -04:00
989onan 40a7f71f07 fix zero weight bones Class name 2024-09-06 12:34:06 -04:00
989onan dc2b6e46ce Add Bone Tools
- Added merge to active to tools section for bones
- Added merge to individual parents, which merges each selected bone to their parent bone
2024-09-06 12:32:50 -04:00
Onan Chew c10b51e32c Merge branch 'teamneoneko:main' into MergeBones 2024-09-04 21:14:53 -04:00
Onan Chew a08d888acb More cleanup
- operator strings are referenced via the class property rather than a hard coded string
- class names have been cleaned to have _OT_ or _PT_ depending on the kind of class it was.
- Class names should mostly be CamelCase now.
2024-09-04 20:16:34 -04:00
Onan Chew 05b90dfefb Advanced mode finished
Finally this took forever.
Now this is the double merger to end all double mergers. for now.
2024-09-01 20:26:54 -04:00
Onan Chew eff1d9efe2 start of advanced mode
almost done, just need to find out why doubles aren't merging even when perfectly together when using merge to unselected
2024-08-31 15:29:12 -04:00
989onan daba045364 Add zero weight bone removal 2024-08-19 13:59:31 -04:00
989onan 148797ece2 Cleanup some stuff 2024-07-29 13:03:31 -04:00
Yusarina 90c5aa70c4 More Tools
- Added Apply Transforms
- Added Separate by materials and loose parts.
2024-07-27 21:56:16 +01:00
Yusarina 771c4926a6 Progress System
- Added Progress system so the user knows something is being done when there use certain functions. Currently only Join Meshes, Viseme creation and combine materials use it.
- Disbabled some translation debguing stuff to remove spam from the console.
2024-07-25 23:06:20 +01:00
Yusarina fef46cd567 Join Meshes Improvements, better error handling 2024-07-25 22:24:41 +01:00
Yusarina bb108d28a0 Importing now removes default cube, camera and light. 2024-07-25 22:18:40 +01:00
Yusarina 61dbd7a79f Material Combiner Improvements 2024-07-25 22:10:45 +01:00
Yusarina 3f5b2f2d79 Finale Translations 2024-07-25 03:46:13 +01:00
Yusarina fc69a22c62 Function Translations Complete
- Done Translations
- Added self.reports for Atlas Materials.
- Added self.reports for digitlgradelegs
2024-07-25 03:13:17 +01:00
Onan Chew b018708005 Merge branch 'main' into Texture-Atlasing 2024-07-24 20:49:25 -04:00
Yusarina deaada347a Shapey Key Update.
- Viesmes will now use selected armature.
- New dropdown menu in the viseme UI so the user can select which mesh to create visemes on.
- New helper function get_armature_meshes
- Added a new check before we create the new visemes to see if any exist, if there do we will remove them and create the new ones.
- fixed several issues and errors.
2024-07-25 01:42:34 +01:00
989onan 54f1800ead Hot Fix
fix texture atlas having registry problems, and the normal maps not looking good after being atlased.
2024-07-24 20:35:49 -04:00
Yusarina ddb76a0c90 Merge branch 'main' into viseme-dev 2024-07-25 00:57:08 +01:00
Yusarina 9bca4888f5 Merge branch 'main' into Digitigrade-legs-tool 2024-07-25 00:50:56 +01:00