diff options
Diffstat (limited to 'release/scripts/presets/gpencil_material/Stroke_Only.py')
-rw-r--r-- | release/scripts/presets/gpencil_material/Stroke_Only.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/release/scripts/presets/gpencil_material/Stroke_Only.py b/release/scripts/presets/gpencil_material/Stroke_Only.py new file mode 100644 index 00000000000..4e02b108e01 --- /dev/null +++ b/release/scripts/presets/gpencil_material/Stroke_Only.py @@ -0,0 +1,25 @@ +import bpy +material = bpy.context.object.active_material +gpcolor = material.grease_pencil + +gpcolor.mode = 'LINE' +gpcolor.stroke_style = 'SOLID' +gpcolor.color = (0.0, 0.0, 0.0, 1.0) +gpcolor.stroke_image = None +gpcolor.pixel_size = 100.0 +gpcolor.mix_stroke_factor = 0.0 +gpcolor.alignment_mode = 'PATH' +gpcolor.fill_style = 'SOLID' +gpcolor.fill_color = (0.5, 0.5, 0.5, 0.0) +gpcolor.fill_image = None +gpcolor.gradient_type = 'LINEAR' +gpcolor.mix_color = (1.0, 1.0, 1.0, 0.2) +gpcolor.mix_factor = 0.0 +gpcolor.flip = False +gpcolor.texture_offset = (0.0, 0.0) +gpcolor.texture_scale = (1.0, 1.0) +gpcolor.texture_angle = 0.0 +gpcolor.texture_clamp = False +gpcolor.mix_factor = 0.0 +gpcolor.show_stroke = True +gpcolor.show_fill = False |