Commit Graph

165 Commits

Author SHA1 Message Date
Yusarina bb5a314796 Bringing files in-line with Avatar Toolkit
- Adding better typing
- Update to use Avatar Toolkit's logging system.
- Removed some files which were in the wrong location (From my first attempt).
2025-04-12 00:17:11 +01:00
Yusarina 69cc03098f PMX Import now works 2025-04-10 23:40:51 +01:00
Yusarina 3414ad8917 Initial MMD Importer Commit
- This is the initial commit I spent several hours trying to get it up two Avatar Toolkit standard, it does not work yet because there are files missing but I been doing this since 6am and it is 4pm almost, i need food.
- I have also removed as much legacy code as i could, MMD Tools contains so much of it even though there have a 4.2+ only version there have not removed any of the legacy code for pre 4.2.... this is going to take a while.

God I hope this works fine once I am done.
2025-04-03 15:39:03 +01:00
989onan f28e1866a9 Add AMFOWSH
Add apply modifier for object with shapekeys tool
2025-04-03 02:57:06 -04:00
989onan f16105517e fix flip animation
add to menu
fix resonite animx importer bug

add flip animations

add flip animation keyframes to help users rekey and remake animations as if they were mirrored.
2025-04-02 23:21:04 -04:00
989onan 199551a505 add remove zero weight vertex groups to panel 2025-04-02 20:45:32 -04:00
989onan 5cad28a41b fix pointers
fix pointers in operators to point to class bl_idname property
2025-04-02 20:35:59 -04:00
989onan 3ada550067 bug fixes 2025-04-02 19:30:57 -04:00
Yusarina 12083c28c5 Small fixes 2025-04-01 17:32:45 +01:00
Yusarina 5a43a9d66d Fix two different error
- bones_names is a dictionary so bone_names.items should be used
- also len(mappings) was being used incorrectly should be using range(len(mappings))
- The last one is it just didn't like upperchest in bone_names.update so as a very temp solution i used upper_chest no an ideal solution but I too tired to investogate today and just wanted the plugin to work. however it should be simpilify anyone for now.
2025-04-01 00:56:56 +01:00
Yusarina 1ca45ad901 Move simpify_bonename to dictionaries 2025-04-01 00:45:56 +01:00
989onan eba18d72a6 Fix poisoned name sets
this is a simple patch because policing the standard is literally impossible
2025-03-31 18:45:30 -04:00
Onan Chew 416fbe40e7 Merge branch 'Current-Dev' into patch-1 2025-03-31 18:36:53 -04:00
989onan feb2f5ac85 Create centralized method for identifying bones
- also fixes an issue where VRM bones would never be identified due to the names having "_" in them.
2025-03-31 18:28:04 -04:00
Yusarina 64a78dbbb2 Remove the annoying logger about non standard bones 2025-03-31 13:57:12 +01:00
Yusarina af5b79e314 Removed extra registrations in properties
This was a hot fix for some issues we were having, however this is no longer needed as my fix to auto loader fixed the issues which meant we were trying to double regisiter these things.
2025-03-31 13:05:50 +01:00
Yusarina 334f299e0e User Preferences should save in blenders user dictionary not in the Plugins Dictionary 2025-03-31 13:03:37 +01:00
Yusarina 9a0521dad5 Fix because i stupid 2025-03-27 20:44:39 +00:00
Yusarina d7fee2c961 I don't need to add that check duh 2025-03-27 20:42:43 +00:00
Yusarina 357aa1b6d9 Let's not use System path 2025-03-27 20:16:27 +00:00
Yusarina 02c73ccd2a Auto load now works with custom blender extensions folders
- Enable autoload, load things from outside the default blender folder, before is a user tried to install the plugin outside from blender default extension folder it will error. I found this out when i broke my own blender helping someone.
2025-03-27 18:00:46 +00:00
Yusarina 7a1531fbd6 Merge branch 'Current' into Current-Dev 2025-03-25 20:07:27 +00:00
Yusarina 5411acca45 New updater from Alpha 1 2025-03-25 19:53:57 +00:00
Yusarina 948b1bb352 Merge pull request #130 from Yusarina/Current
Updated Alpha 1 updater
2025-03-25 19:33:31 +00:00
Yusarina 9104bfae67 Updated Alpha 1 updater
- Updater will only look for Alpha 1 updates now
- Will check for updates automatically when the updater tab is opened.

(Same for Alpha 2, just needed update to Alpha 1 as Alpha 2 is for Blender 4.4)
2025-03-25 19:32:49 +00:00
Yusarina 546fec6039 Bug fixes
- When i updated Wheels I used the Python 13 one, blender is Python 11 so provided the correct wheels packages. Also added macos 10.9 for Intel users.
- Fixed issue where Join Meshes, made it faster as well.
- Fixed issues with viseme generation and previewing.
- Removed MMD Panel and Tools.
- Fixed issue with armature merging
- Fixed reset eye tracking button throwing errors in the SDK2 panel.
- Added info in the SDK2 panel about this only being used for other games, VRChat Eye tracking is setup in Unity.
- Fixed issue where if models have upper ears and lower ears the amrature validation system would mark it as problem bones.
- Added instructions to armature validation about other bones and re the standardization button.
2025-03-24 22:58:51 +00:00
Yusarina c90bf4e36c Merge pull request #127 from Yusarina/Amrature-Validation-P2
Bone Standardization
2025-03-24 21:13:32 +00:00
Yusarina 5b9acb496f Bone Standardization 2025-03-24 19:06:57 +00:00
Yusarina 52a51ea6a2 Merge pull request #125 from Yusarina/Alpha-2-Prearing
Alpha 2 Preparing
2025-03-24 16:39:01 +00:00
Yusarina 12d06638fe Updates
- Removed the PMX Importer Completely for now.
- Updated version number to 0.2.0
- Updated min Blender version to 4.4.0
- Updated lz4 wheels to the latest version.
2025-03-24 02:26:19 +00:00
Yusarina 2a2c3d3973 Merge branch 'Alpha-2' into Amrature-Validation-P2 2025-03-24 02:14:41 +00:00
Yusarina c65bed3ff4 Armature Validation P2
- Added Highlight Bone System in the 3D View, can be turned off in settings.
- Added more bones to the acceptable bone lists.
- Fixed issue with properties registrations and unregistration, the system is more rebust now.
- Added a validate t-pose system
- Added a detect bone scales system.
- Fixed some translation strings
- Armature validation now uses logger system.
2025-03-24 02:12:03 +00:00
Yusarina dac25e0dc0 Bug Fixes
- Fixes issue where some tools would not be displayed, fixes: #120
- Fixes issue with the resonite utils throwing errors.
- Fixes issue with visemes panel throwing errors.
- Fixes issue where the viseme mesh selector was showing all objects (Armature and etc) it now just shows meshes.
2025-03-23 13:38:18 +00:00
989onan 07adaa590b fix bad armature merging issues
also merge all bones isn't needed. we should do that by default

This also now uses dictionary matching to find bone types like hips, spine, and chest that should be merged.

Deletes bone shared and merges armatures, and parents bones back, causing a seamless merge.
2025-02-18 19:30:56 -05:00
Yusarina fbb07aec10 Fixes
- Fixed issue with plugin registration
- Fixed bones symmetry not working
- Fixed different modes not working
-  Some other small fixes.
2025-02-08 14:18:53 +00:00
Yusarina dd36ccaece Acceptable Standards Added 2025-02-08 11:03:22 +00:00
Yusarina 71cba9a40f Merge branch 'Alpha-2' into Armature_Validation_Version2 2025-02-07 18:43:00 +00:00
Yusarina 21ddc20119 Merge branch 'Alpha-2' into texture-atlas 2025-02-07 18:38:12 +00:00
Yusarina 2524634ef4 Update common.py 2025-02-07 18:33:56 +00:00
Yusarina bf6a32febb Went into wrong branch, whoops
This went into the current branch as it was approved I just going to directly add into Alpha 2.
2025-02-07 18:31:04 +00:00
Yusarina 4576b27b53 Merge branch 'Alpha-2' into Armature_Validation_Version2 2025-02-07 18:23:00 +00:00
Yusarina 6412b6f619 Better checks
- Added standard list.
- Added bone_hierarchy list
- Added bone_hierarchy
- Better checks.
- Better UI.

This is the first part, still needs alot of work, but this is better then before. Need to add some more standards and then we will be golden.
2025-02-07 18:18:09 +00:00
Onan Chew f043c6099e Merge pull request #114 from Yusarina/logging-improvements
Improvement to logging.
2025-02-07 12:06:45 -05:00
Onan Chew a20a306582 Merge pull request #104 from Yusarina/rigfy-to-unity-Alpha2
Rigify To Unity (Don't Merge Yet)
2025-02-07 12:05:33 -05:00
Yusarina 4b59147649 Moved Armature Validation to it's own file 2025-02-07 16:04:54 +00:00
Yusarina 251c006498 Conversation Complete
- This now removes bones which are not needed for Unity.
- Renamed the armature to armature.
2025-02-07 15:27:48 +00:00
Yusarina 686bc0bda1 Added back texture Atlas
- Now working with Alpha 2.
- Did some changed but it should still work, did some basic testing.
- Do want to make further changes and make the system better where possible.
2025-02-04 04:06:34 +00:00
Yusarina 1482632405 Improvement to logging. 2025-02-01 21:39:43 +00:00
Yusarina 1187949280 Improve Logging 2025-02-01 15:41:06 +00:00
Yusarina 239e212cf4 Remove Zero Weights Improvements
- Added Options to preserve Parent Bones.
- Added List mode only where the user can select the bones there want to remove.
- Added Options to only target Deform bones only and non deform bones only.

This is complete, the UI needs a little cleanup but I do this in a UI cleanup nearer Alpha 2.
2025-01-26 15:22:20 +00:00