Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-13Rigify: annotate and fix warnings in basic rig components.HEADmasterAlexander Gavrilov
Introduce a method to annotate types and names of entries in the `bones` container of rig components and apply it, and other type annotations, to a number of not very complex rig classes. - Introduce BaseRigMixin as a typed base class for mixins intended for use in rig classes (using BaseRig as a parent causes issues). - Introduce TypedBoneDict that does not suppress the unknown attribute analysis in PyCharm, and use it in a system of subclasses to annotate the bones in various rigs. BaseBoneDict is necessary because the annotation affects all subclasses, so TypedBoneDict cannot inherit from BoneDict with the annotation. - Add or adjust other type annotations of rig methods and utilities. - Fix other warnings, e.g. undeclared attributes, excessively long lines, whitespace style issues and typos.
2022-06-03Cleanup: remove <pep8 compliant> commentCampbell Barton
This is no longer necessary, see: T98554.
2022-02-11File headers: use SPDX license identifiersCampbell Barton
See T95597
2021-01-04Rigify: move drivers together with constraints and code improvement.Alexander Gavrilov
2020-12-21Rigify: generate UI script for custom properties from metarig.Alexander Gavrilov
Improve auto-generated UI naming and update basic.pivot, basic.raw_copy and basic.super_copy. Also allow raw_copy to generate builtin widgets.
2020-12-08Rigify: move constraints to control and deform bones in super_copy.Alexander Gavrilov
Use DEF: or CTRL: prefix on constraint names to move them during relink.
2020-12-08Rigify: support choosing widgets out of a list in super_copy and pivot.Alexander Gavrilov
Register the most generic widgets in the list and add a few more. Use it to assign a nicer looking shoulder widget in human metarigs.
2019-12-22Rigify: replace Rename To Deform with a new basic.raw_copy rig.Alexander Gavrilov
Add a separate rig aimed at transferring bones from the metarig completely verbatim without the ORG prefix, and remove the hacky copy_chain/super_copy option for renaming ORG to DEF. Share the constraint retargeting feature between super_copy and raw_copy.
2019-11-04Rigify: add super_copy options to replace parent and constraint targets.Alexander Gavrilov
Allow replacing the parent bone and constraint targets after all bones have been generated. When enabled, constraints with a '@bone' notation in their name will have their target bone replaced with the one from the name. Using just 'MCH' or 'DEF' will replace the prefix of the existing target. The parent bone can be replaced via a string input field in rig options. Tested by wrapping the simple muscle system of MB-Lab.
2019-10-23Rigify: copy rigs can now rename the bone to DEF instead of copying.Alexander Gavrilov
This is necessary to fully preserve complex custom rigging (especially with B-Bones) included directly in the metarig. Doing this otherwise would require implementing correct copying of all possible constraints and bone settings.
2019-09-14Rigify: redesign generate.py and introduce a base rig class.Alexander Gavrilov
The main goals are to provide an official way for rigs to interact in a structured way, and to remove mode switching within rigs. This involves introducing a base class for rigs that holds rig-to-rig and rig-to-bone references, converting the main generator into a class and passing it to rigs, and splitting the single generate method into multiple passes. For backward compatibility, old rigs are automatically handled via a wrapper that translates between old and new API. In addition, a way to create objects that receive the generate callbacks that aren't rigs is introduced via the GeneratorPlugin class. The UI script generation code is converted into a plugin. Making generic rig 'template' classes that are intended to be subclassed in specific rigs involves splitting operations done in each stage into multiple methods that can be overridden separately. The main callback thus ends up simply calling a sequence of other methods. To make such code cleaner it's better to allow registering those methods as new callbacks that would be automatically called by the system. This can be done via decorators. A new metaclass used for all rig and generate plugin classes builds and validates a table of all decorated methods, and allows calling them all together with the main callback. A new way to switch parents for IK bones based on the new features is introduced, and used in the existing limb rigs. Reviewers: icappiello campbellbarton Differential Revision: https://developer.blender.org/D4624
2018-10-22Rigify: Fixup from original 2.80 convertionDalai Felinto
This fix an error introduced on fe90ef2b4.
2018-08-10rigify: update for Blender 2.8Ines Almeida
2017-07-24Cleanup: trailing spacesCampbell Barton
2017-05-14Rigify 0.5 with legacy modeLucio Rossi