Shriinivas / blenderbezierutils

Blender Add-on with Bezier Utility Ops
GNU General Public License v3.0
525 stars 64 forks source link

Flexi Grease pencil strokes don't get user radius #16

Closed Pullusb closed 4 years ago

Pullusb commented 4 years ago

Not an issue, but more like a "missing feature" that is not too hard to implement I think.

I already left this suggestion as comment on your youtube video but I thought maybe opening this is better for you to track and I can develop the idea.

line_width prop take the radius of the user when drawing normal GP.

C.object.data.layers.active.active_frame.strokes[-1].line_width

Here it is set at default value 0. I think it would be best to use current brush radius so the user can control the thickness of the generated stroke as if he was drawing normally.

it's a per brush size parameter. C.scene.tool_settings.gpencil_paint.brush.size to reach the property.

I suppose it would be nice to display the built-in radius property in the toolbar to have a visual on the current value even in Flexi mode (and for user who dont use the F shortcut to change it)

Doing the same things for the strength can complete the arsenal (but stored at points level this time) C.scene.tool_settings.gpencil_paint.brush.strength

Other than that everything is amazing ! 🚀 Thank you for coding and sharing this powerfull tool.

Samuel.

Shriinivas commented 4 years ago

Thank you very much for the tip. I have implemented this in the latest version.

Pullusb commented 4 years ago

Thanks ! Works like a charm