mifth / mifthtools

MifthTools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Merge linear deformer for curve for mira_tools

JoseConseco opened this issue · comments

I made linear deformer that work for curve objects. Are there any chances you could put it into master?
Here are the files:
https://github.com/JoseConseco/mira_tools/
Only two files were changed compared to master:

  • mi_linear_deformer_curve.py - new file (same as mi_linear_deformer.py but works on curve)
  • mi_widget_linear_deform.py - new function was added - get_tool_verts_curv (based on get_tool_verts)
    That is it. I didn't add it to ui. Not sure where to place it, maybe make it so that if you perform operation on mesh then use old linear deformer, and if operation is performed on curve the use new lin deformer?
commented

Hello!

Thank you for your contribution. I have some questions.
Are you sure that this is very useful for curves? I have never had such need to bend points at the cuve. )

I would say, it is the best way to model curves :). Here is example of how it can be used:
https://youtu.be/gtbhmYEKGZE?t=583

I also modified file: init.py - appended linear_deformer button to VIEW3D_PT_tools_curveedit panel.
Thanks for great addon.

commented

Ok, I'll add curves support. Give me some time, please.
I'll try to add it at weekends.

commented

Is this issue fixed in MT3?

the: mi_linear_deformer_curve.py is already included in blender 2.8 version. Works same as on mesh, except it is using curve points
This can be closed

commented

Great. Thank you!