WIP: New component type: cloud_curve_custom #160
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "tone-watson/CloudRig:feature/curve-custom"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@demeter i needed a spline ik curve but i needed the radii on the curve to be set manually, cloud_curve_custom is just a clone of cloud_spline_ik with the driver generation removed from
setup_spline
and a modifiedreset_curve_obj
to store the radii of the curve before regenerating it so they can be applied again. would also be cool if you'd prefer to instead have an option like in Curve Spline IK to achieve this, i'd be happy to make that update too if you want.would probably need to remove
cls.draw_prop(context, layout, params.curve, "separate_radius")
from the panel, i can do that too if you have a direction for thisNew component type: cloud_curve_customto WIP: New component type: cloud_curve_customdb9638416e
toa2c32490df
Hey there!
Can you talk a bit more about your use case? I feel like the intended use here would be to convert your object to a mesh, then rig it to the Spline IK bones, in which case the initial radius values won't matter anymore. On the flipside, if you don't want to convert it to a mesh, then I don't think you're getting any extra benefit from the Spline IK component type, and you could just use the regular Curve component type instead, although that will also drive the radius value.
But if I'm right, that would mean just adding a param to not drive the radius in cloud_curve.py, and you'd be covered. That would also be inherited by cloud_spline_ik.py, if you need that for any reason.
hahaha you're exactly right, that was what i ended up doing. there is still a part of me that thinks an option to turn the scale drivers on and off could be helpful for the Curve: Spline IK, because the autogeneration of the curve obj is super nice. but I'm with you in that i can't think of a direct use case rn so i'm closing this
Super appreciate everything you're doing on this
Pull request closed