Commit Graph

134 Commits

Author SHA1 Message Date
Yusarina 4d681602e3 Fixes 2024-12-01 02:24:55 +00:00
Yusarina 8938a38620 Just updates toml to tolmlib
Blender decided to change something and not documented should fix some issues.
2024-12-01 02:20:38 +00:00
Yusarina 27ebd5ebfb Fixes
- Optimise Armature no longer errors out and bones don't change position now.
- Improvements to remove zero bones.
2024-11-27 03:34:10 +00:00
Yusarina 0ac4b4a144 Join Meshes Fixes 2024-11-27 02:56:12 +00:00
Yusarina 6484adedaa Fixes
- Fixed issue where blender would error when exiting due to property being register twice.
- Fixes missing strings.
- Attempt at fixes properties not clearing correctly.
- Updated Japanese json file with all latest strings.
2024-11-26 04:16:03 +00:00
Yusarina bb77d54a49 UI Improvements for Atlasing
Made some UI imprvoements to the Atlas system, uses icons, able to collapse materials to prevent a huge long list and more.
2024-11-26 03:50:56 +00:00
Yusarina 4d20ce77f7 More Fixes
- Fixes an other error in the updater due to urllib not being imported and used correctly.
- Small Atlas Texturing fixes and UI Improvements.
2024-11-26 03:12:42 +00:00
Yusarina 346f73ebb0 Bug Fixes
- Fixes issue where console was getting spammed re armature selection.
- Fixes apply as rest pose issues and improves the system. https://github.com/teamneoneko/Avatar-Toolkit/issues/52
- Fixes Apply pose to shapekey, it does what it's meant to do now. https://github.com/teamneoneko/Avatar-Toolkit/issues/52
- Fixes error in updater when there no updates to list.
2024-11-26 02:42:17 +00:00
Yusarina 56706c859f Bug fixes
- First attempt to get Chinese Characters to work, kinda working, but also not.
- Small bug fixes.
2024-11-26 01:07:51 +00:00
Yusarina c1fa65ebdd Import Rigidbodies and Material Fixes
- Rigidbodies should now import
- Fixes in material import, we toon shader added.
- We now validate pmx data.
- Error messages improvements.
2024-11-26 00:43:17 +00:00
Yusarina e83bd31b4f Improvements
- Shapekeys now import
- Constraints should now import.
2024-11-26 00:13:47 +00:00
Yusarina 3284581d5a Fix expression bones and other bones. 2024-11-25 21:40:32 +00:00
Yusarina b551aac97d Re-write
Better, faster and working slightly better.
2024-11-25 21:27:49 +00:00
Yusarina 155c40d4d4 Improvements
- Improvements to materials, still needs work but looking better.
- Model imports the correct size now.
- Attempted to fix bones positions, rotations and etc, but failed, however the work I done should setup it up to work maybe....
- Minor improvements.
2024-11-17 20:31:58 +00:00
Yusarina e48226dab1 Bones now Import but still broken
- Bones now fully import
- Bones do not import the correct size or rotations it seem though.
2024-11-17 00:50:32 +00:00
Yusarina 4e18362451 Typing 2024-10-22 00:27:09 +01:00
Yusarina fd87d1d5d7 Auto update now works 2024-10-22 00:18:19 +01:00
Yusarina 1b908a4200 Fixes 2024-10-22 00:08:07 +01:00
Yusarina 2e06cc9945 Initial Updater
- More simple updater compared to cats
2024-10-21 22:17:38 +01:00
Yusarina 670115a947 VRM Added, Import Anything chages.
- Added VRM to the list of files able to be imported.
- Added error handling for missing vrm importer, will popup to the user telling them to download vrm addon.
- Removed automatically url opening as we should have user consent to open a url, automatic url opening goes against blenders best practices and can be a security concern.
- Optimised the way we import multiple models, the old way just added unnecessary complexity, The try-except block was used to iterate over self.files and set is_multi to True if no exception occurs. However, this is an unnecessarily complex way to determine if the list is non-empty. Simply checking the length of the list is more straightforward and efficient. The way we were using the try-except box could of also lead to silent failures which is not user friendly.
2024-10-14 00:13:08 +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
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 a24842d01c Fix pmd and pmx importing somewhat 2024-09-11 20:20:26 -04:00
Yusarina dd751a9d32 Merge branch 'main' into MergeBones 2024-09-11 01:36:05 +01: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 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
989onan 148797ece2 Cleanup some stuff 2024-07-29 13:03:31 -04: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 bb108d28a0 Importing now removes default cube, camera and light. 2024-07-25 22:18:40 +01:00
Yusarina 281c53e577 Core Translations 2024-07-25 03:22:31 +01:00
Yusarina 05cc6c830c UI Order Fixes 2024-07-25 02:25:09 +01:00
989onan 0af4380474 oops 2024-07-24 21:15:08 -04:00
989onan 66b4b14447 reee 2024-07-24 21:13:34 -04:00
Onan Chew b018708005 Merge branch 'main' into Texture-Atlasing 2024-07-24 20:49:25 -04:00
Yusarina 018a080a47 Update common.py 2024-07-25 01:45:21 +01: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
Yusarina c27ea638a1 Merge branch 'main' into Import-Anything 2024-07-25 00:48:27 +01:00
989onan 65ddea16e8 Fix problems
- fix errors
- add import to UI
2024-07-24 19:27:46 -04:00
989onan 7401ba78d5 Adds a bunch of import methods
Yes I did do this code all myself and they have been looked over and modified since proposed to other addons.

The commented MMD animation importer is stashed as a comment for now till an MMD animation importer is properly created.
2024-07-24 18:20:28 -04:00
989onan ce1cc79664 yuck
oml fix!
2024-07-24 17:53:02 -04:00
989onan bf108eb94a Merge branch 'Digitigrade-legs-tool' of https://github.com/989onan/Avatar-Toolkit into Digitigrade-legs-tool 2024-07-24 17:50:04 -04:00
989onan 6d4b115855 oops
took changes from another branch, this should yeet
2024-07-24 17:49:26 -04:00
Onan Chew b12904341c Merge branch 'main' into Digitigrade-legs-tool 2024-07-24 17:45:37 -04:00
989onan ce7c6aa664 Add digitgrade legs tool 2024-07-24 17:41:17 -04:00