From aa7b2f1dd9f76b54be15c7fcd23bc7981f29f13e Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Thu, 18 Aug 2022 16:19:03 +0200 Subject: GPencil: New operator to convert strokes to perimeter. This operator converts any stroke of gpencil with a center line into a stroke with the perimeter. It's possible to assign the active material, keep current or create a new material for all perimeters. The conversion is only done for strokes with a material using `Stroke`. Only `Fill` strokes are not converted. Known issues: As the perimter has not boolean implementation, some perimeters can be overlaped. This could be solved in the future when a new 2D boolean library will be developed. Reviewed By: mendio, pepeland, frogstomp Differential Revision: https://developer.blender.org/D15664 --- release/scripts/startup/bl_ui/space_view3d.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'release/scripts/startup/bl_ui/space_view3d.py') diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 6f52fbcdec9..1c661cf75ec 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -5178,6 +5178,9 @@ class VIEW3D_MT_edit_gpencil_stroke(Menu): layout.separator() layout.operator("gpencil.reset_transform_fill", text="Reset Fill Transform") + layout.separator() + layout.operator("gpencil.stroke_outline", text="Outline") + class VIEW3D_MT_edit_gpencil_point(Menu): bl_label = "Point" -- cgit v1.2.3