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
2019-11-02Rigify: support switchable parents in the basic.pivot rig.Alexander Gavrilov
Implement options to generate a parent switch mechanism for the main pivot control, and to register the pivot as a parent for other rigs to use (including support for one level parent injection).
2019-11-02Rigify: implement an optional IK palm pivot control in the arm rig.Alexander Gavrilov
The control itself is simply a pivot around the end of the hand bone, similar to those in the foot and paw. However, the main point of it is that it allows future finger IK to use the IK control as the parent, while still allowing the wrist to be moved relative to it.
2019-10-25Rigify: assign a more reasonable B-Bone display size in metarigs too.Alexander Gavrilov
2019-10-23Rigify: support tags in SwitchParentBuilder for default selection.Alexander Gavrilov
Allow tagging parents with arbitrary strings to be later used in selecting the best default parent for a child control. Also add a tagged parent point at the limb IK control.
2019-10-23Rigify: make the generic FK to IK snap operator even more generic.Alexander Gavrilov
The operator itself simply snaps a chain of bones to a different chain, so nothing in it in fact is specific to IK or FK. To make this even more explicit, rename the operator and add some extra options to control the tooltip and which properties are changed. Also include some other minor enhancements in the script utilities.
2019-10-22Rigify: clear custom pivots in IK->FK snap and use in widget placement.Alexander Gavrilov
2019-10-22Merge branch 'blender-v2.81-release'Alexander Gavrilov
2019-10-22Rigify: fix nonsensical default parent for pole controls.Alexander Gavrilov
Instead of collecting all possible parents in a list, use buckets indexed by the owning rig, so that parents injected by other rigs are ordered correctly. Otherwise the Head parent injected into the spine hierarchy gets in the way.
2019-10-16Rigify: improve the layer selection UI layout for narrow properties panel.Alexander Gavrilov
2019-10-16Rigify: implement optional custom pivot controls.Alexander Gavrilov
- Add an optional custom pivot between torso and the rest of the spine. - Add a custom pivot rig that can be used as a parent of the spine. - Add an optional custom pivot under limb IK controls.
2019-10-15Rigify: fix incorrect layer assignment for tweak bones in the cat metarig.Alexander Gavrilov
The layer selection for the spine tweaks happens to be the default value, so simply copying the data does not overwrite non-default garbage values remaining in some of the bones. To fix it's necessary to clear params.
2019-10-01Rigify: add more parent switching and 2.81 inherit scale features.Alexander Gavrilov
- Add a parent switch to the main spine control, to allow using the key baking operator to convert between moving and fixed root bone. - Add hips, chest and head as parents for children of the spine. - Use 'Fix Shear' Inherit Scale and 'Make Uniform' Copy Scale in limbs. - Switch code to use the new inherit_scale parameter of set_bone_parent. - Allow local matrices in adjust_widget_transform_mesh.
2019-09-29Rigify: implement a deformed circle widget for main spine controls.Alexander Gavrilov
The idea is inspired by similar shapes in other rigs like BlenRig. The actual used shape is simply a circle deformed into a parabolic shape when viewed from the side, added to create_circle_widget. Using the new shape for the main controls allows adding extra FK controls to the spine without visual confusion. As an aside, fix a minor issue in handling bone_transform_name, and remove redundant bone_transform_name=None parameters.
2019-09-29Rigify: implement priorities to add toes to the FK bone group.Alexander Gavrilov
Toes behave as FK, but are needed both in IK and FK mode.
2019-09-29Rigify: various additions to bone, mechanism and widget utilities.Alexander Gavrilov
Support easier setting of bone orientation via matrix, inherit_scale, invert_x/y/z constraint properties, computing a matrix from two axis vectors, adjusting widget positions, and add a pivot widget.
2019-09-29Rigify: implement a new reload process to support Reload Scripts properly.Alexander Gavrilov
Due to dynamically loaded rig modules, Rigify has to implement reload by purging all non-core modules from memory, or class inheritance checks won't work right after reload.
2019-09-28Rigify: support new 2.81 features of constraints and drivers in utils.Alexander Gavrilov
Allow easily inserting constraints and support rotation mode.
2019-09-15Rigify: replace deprecated use_inherit_scale and use_offset properties.Alexander Gavrilov
2019-09-14Rigify: update super_chain from the latest 2.79 version by MAD.Alexander Gavrilov
Differential Revision: https://developer.blender.org/D4624
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
2019-09-08Fix T69313: rigify crashes on custom properties without UI metadata.Alexander Gavrilov
Patch suggested by @pioverfour.
2019-09-08Fix T68856: rigify adds widgets to the wrong collection.Alexander Gavrilov
Patch suggested by @pioverfour.
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D5240
2019-05-29Rigify: refactor feature sets to avoid modifying global path.Alexander Gavrilov
Instead of adding the feature set installation directory to the global path, and thus inserting the modules into the top level namespace, add an empty rigify.feature_sets package and use __path__ to redirect the module loader to read its sub-modules from the feature set directory. Now feature set modules are effectively installed into that package and loaded as 'rigify.feature_sets.foo'. As an aside, clean up loading code to avoid weird path manipulations, add more safety checks when installing sets, and add a way for sets to expose a user-friendly name.
2019-05-09Rigify: change the first variable name for var0 to var in make_driver.Alexander Gavrilov
Only my own branch and feature sets use this, so should be safe to change. This naming is more similar to what blender UI does when adding vars.
2019-05-09Rigify: fix encoding metarig.Damien Picard
The `Encode Metarig to Python` operator was broken as there was some leftover code from the UI template system I made last year. Differential Revision: https://developer.blender.org/D4827
2019-05-07Rigify: improve widget placement, widget generation and make_driver.Alexander Gavrilov
- Take into account the custom shape settings of the bone when creating and placing the custom widget object. - Change write_widget to wrap the generated list text and fix undefined variable errors if there are no verts/edges/faces. - Automatically look up string to bone in self.make_driver().
2019-05-05Rigify: new utilities for bone naming and driver creation, and some fixes.Alexander Gavrilov
- Added a utility for creating Transform Channel driver variables. - Added a utility for deriving one bone name from another with suffix. The bone name utility is inspired by get_bone_name from limb_utils.py
2019-04-16Rigify: change make_property to wrap the official rna_idprop_ui_create.Alexander Gavrilov
Also add keyword-only argument markers for clarity.
2019-03-24Rigify: properly set custom property defaults and overridable flags.Alexander Gavrilov
Refactor rigs to use the new make_property utility function, and implement new 2.8 specific settings using it. The default value is now important for NLA evaluation, and the override flag will be used by the upcoming static override feature. Default can be backported to 2.79 for 2.8 forward compatibility.
2019-03-24Rigify: fix generation if a hidden collection is selected.Alexander Gavrilov
Only visible and selectable collections can be used for temporary objects during generation due to the way operators work.
2019-03-14Rigify: add support for user-defined rig packages and related utilities.Alexander Gavrilov
As suggested by @icappielo, and after discussion with @meta-androcto, I start a public request to commit third-party contributions already accepted to https://github.com/eigen-value/rigify/tree/rigify_0.6_beta Specifically, this includes: * User-defined rig package (feature set) support by @pioverfour. This allows users to install pre-packaged rig sets via zip files, which become accessible together with built-in rigs, as discussed in T52758. https://github.com/eigen-value/rigify/pull/1 * Modularization of python script generation, allowing rigs to add their own utility functions and operators to the generated script. This is critical to make custom rig support really useful. https://github.com/eigen-value/rigify/pull/5 * The utils.py file is split into multiple modules with a backward compatibility proxy for old functions. * Automatic verification that different rigs don't try to create different rig settings with the same name to alleviate increased risk of namespace conflicts with custom rigs. https://github.com/eigen-value/rigify/pull/7 * New utility class that implements bone layer selection UI. https://github.com/eigen-value/rigify/pull/6 * New utilities to replace copy & pasted boilerplate code for creating custom properties, constraints and drivers. https://github.com/eigen-value/rigify/pull/11 Some other random changes by MAD have likely slipped through. These changes have already been extensively discussed and accepted into the branch by @luciorossi, so I see no reason not to commit them to the official repository to be tested during 2.8 beta. Reviewers: icappiello Differential Revision: https://developer.blender.org/D4364