Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Presets in multiple rigs #1

Open
PomboPombudo opened this issue Jun 1, 2022 · 5 comments
Open

Using Presets in multiple rigs #1

PomboPombudo opened this issue Jun 1, 2022 · 5 comments

Comments

@PomboPombudo
Copy link

Hi! This is not really a bug, but something that is being problematic in my actual project. I'm working with multiple rigs I'd really like to have a system that let me separete the saved presets by each rig, right now I have to see all the presets for all my rigs at all times and it's a little tricky.

I'm not into script myself, for that reason really apreciate this addon, thanks a lot!

@Mystfit
Copy link
Owner

Mystfit commented Jun 3, 2022

Thanks, that's a really good suggestion actually. How about a checkbox to filter the presets based on the active armature?

@PomboPombudo
Copy link
Author

yes, I think it's a nice solution to the problem. Also I was thinking, becouse I always use custom properties on my rigs, to be able to control the snaps by drivers. However, I don't know how difficult is to do that.

@Mystfit
Copy link
Owner

Mystfit commented Jun 4, 2022

My addon registers two operators, SnapIKToFKOperator and SnapFKToIKOperator. You can call these operators as long as the following attributes are present:

bpy.context.scene.armature_name,
bpy.context.scene.FK_control_upper_name,
bpy.context.scene.FK_control_lower_name,
bpy.context.scene.FK_control_end_name,
bpy.context.scene.IK_control_upper_name,
bpy.context.scene.IK_control_lower_name,
bpy.context.scene.IK_control_end_name,
bpy.context.scene.IK_control_name,
bpy.context.scene.IK_control_pole_name

@Mystfit
Copy link
Owner

Mystfit commented Jun 4, 2022

Hi! This is not really a bug, but something that is being problematic in my actual project. I'm working with multiple rigs I'd really like to have a system that let me separete the saved presets by each rig, right now I have to see all the presets for all my rigs at all times and it's a little tricky.

I'm not into script myself, for that reason really apreciate this addon, thanks a lot!

For the meantime, you could prefix your preset with the name of the armature to keep the presets seperate from each other in the preset menu. It might be cluttered at this stage but you'll be able to keep different presets.

@PomboPombudo
Copy link
Author

I'll do as you say. Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants