[Bf-docboard-svn] bf-manual: [9804] trunk/blender_docs/manual/grease_pencil: Cleanup: Use field list for enum items

Aaron Carlisle noreply at blender.org
Wed Dec 14 02:00:31 CET 2022


Revision: 9804
          https://developer.blender.org/rBM9804
Author:   Blendify
Date:     2022-12-14 02:00:31 +0100 (Wed, 14 Dec 2022)
Log Message:
-----------
Cleanup: Use field list for enum items

Modified Paths:
--------------
    trunk/blender_docs/manual/grease_pencil/materials/properties.rst
    trunk/blender_docs/manual/grease_pencil/modes/draw/stroke_placement.rst
    trunk/blender_docs/manual/grease_pencil/modes/edit/stroke_menu.rst
    trunk/blender_docs/manual/grease_pencil/modes/sculpting/tool_settings/brush.rst
    trunk/blender_docs/manual/grease_pencil/visual_effects/colorize.rst
    trunk/blender_docs/manual/grease_pencil/visual_effects/flip.rst

Modified: trunk/blender_docs/manual/grease_pencil/materials/properties.rst
===================================================================
--- trunk/blender_docs/manual/grease_pencil/materials/properties.rst	2022-12-14 00:58:37 UTC (rev 9803)
+++ trunk/blender_docs/manual/grease_pencil/materials/properties.rst	2022-12-14 01:00:31 UTC (rev 9804)
@@ -13,11 +13,8 @@
 
 
 .. _bpy.types.MaterialGPencilStyle.show_stroke:
-.. _bpy.types.MaterialGPencilStyle.mode:
-.. _bpy.types.MaterialGPencilStyle.stroke_style:
 .. _bpy.types.MaterialGPencilStyle.color:
 .. _bpy.types.MaterialGPencilStyle.use_overlap_strokes:
-.. _bpy.types.MaterialGPencilStyle.alignment_mode:
 
 Stroke
 ------
@@ -25,30 +22,32 @@
 When enabled, the shader use the stroke component.
 The *Stroke* component controls how to render the edit lines.
 
+.. _bpy.types.MaterialGPencilStyle.mode:
+
 Line Type
    Defines how to display or distribute the output material over the stroke.
 
-   Line
+   :Line:
       Connects every points in the strokes showing a continuous line.
-
-   Dots
+   :Dots:
       Use a disk shape at each point in the stroke.
       The dots are not connected.
-
-   Squares
+   :Squares:
       Use a square shape at each point in the stroke.
       The squares are not connected.
 
+.. _bpy.types.MaterialGPencilStyle.stroke_style:
+
 Style
    The type of the material.
 
-   Solid
+   :Solid:
       Use a solid color.
 
       Base Color
          The base color of the stroke.
 
-   Texture
+   :Texture:
       Use an image texture.
 
       Base Color
@@ -68,14 +67,16 @@
 Holdout
    Removes the color from strokes underneath the current by using it as a mask.
 
+.. _bpy.types.MaterialGPencilStyle.alignment_mode:
+
 Alignment
    Defines how to align the *Dots* and *Squares* along the drawing path and with the object's rotation.
 
-   Path
+   :Path:
       Aligns to the drawing path and the object's rotation.
-   Object
+   :Object:
       Aligns to the object's rotation; ignoring the drawing path.
-   Fixed
+   :Fixed:
       Aligns to the screen space; ignoring the drawing path and the object's rotation.
 
 Rotation

Modified: trunk/blender_docs/manual/grease_pencil/modes/draw/stroke_placement.rst
===================================================================
--- trunk/blender_docs/manual/grease_pencil/modes/draw/stroke_placement.rst	2022-12-14 00:58:37 UTC (rev 9803)
+++ trunk/blender_docs/manual/grease_pencil/modes/draw/stroke_placement.rst	2022-12-14 01:00:31 UTC (rev 9804)
@@ -16,38 +16,32 @@
 
    The Stroke Placement selected has effect only for new strokes and does not affect the existing ones.
 
-
-Placement Options
-=================
-
 .. figure:: /images/grease-pencil_modes_draw_stroke-placement_selector.png
    :align: right
 
    Stroke Placement selector on 3D Viewport header.
 
-Origin
+:Origin:
    Strokes are placed at Grease Pencil object origin.
 
-3D Cursor
+:3D Cursor:
    Strokes are placed at 3D cursor.
 
-Surface
+:Surface:
    Strokes will stick on mesh surfaces.
 
    Offset
       Distance from the mesh surface to place the new strokes.
 
-Stroke
+:Stroke:
    Strokes will stick on other strokes.
 
    Target
-      All Points
+      :All Points:
          All the points of the new stroke sticks to other strokes.
-
-      End Points
+      :End Points:
          Only the start and end points of the new stroke sticks to other strokes.
-
-      First Point
+      :First Point:
          Only the start point of the new stroke sticks to other strokes.
 
 

Modified: trunk/blender_docs/manual/grease_pencil/modes/edit/stroke_menu.rst
===================================================================
--- trunk/blender_docs/manual/grease_pencil/modes/edit/stroke_menu.rst	2022-12-14 00:58:37 UTC (rev 9803)
+++ trunk/blender_docs/manual/grease_pencil/modes/edit/stroke_menu.rst	2022-12-14 01:00:31 UTC (rev 9804)
@@ -58,35 +58,43 @@
 .. _bpy.ops.gpencil.stroke_simplify_fixed:
 
 Fixed
-   Deletes alternated points in the strokes, except the start and end points.
+-----
 
-   Steps
-      The number of times to repeat the procedure.
+Deletes alternated points in the strokes, except the start and end points.
 
+Steps
+   The number of times to repeat the procedure.
+
+
 .. _bpy.ops.gpencil.stroke_simplify:
 
 Adaptive
-   Uses the RDP algorithm (Ramer-Douglas-Peucker algorithm) for points deletion.
-   The algorithm tries to obtain a similar line shape with fewer points.
+--------
 
-   Factor
-      Controls the amount of recursively simplifications applied by the algorithm.
+Uses the RDP algorithm (Ramer-Douglas-Peucker algorithm) for points deletion.
+The algorithm tries to obtain a similar line shape with fewer points.
 
+Factor
+   Controls the amount of recursively simplifications applied by the algorithm.
+
+
 .. _bpy.ops.gpencil.stroke_sample:
 
 Sample
-   Recreates the stroke geometry with a predefined length between points.
+------
 
-   Length
-      The distance between points on the recreated stroke.
-      Smaller values will require more points to recreate the stroke,
-      while larger values will result in fewer points needed to recreate the curve.
-   Sharp Threshold
-      The maximum angle between points on the recreated stroke.
-      Smaller values will require more points to recreate the stroke,
-      while larger values will result in fewer points needed to recreate the curve.
+Recreates the stroke geometry with a predefined length between points.
 
+Length
+   The distance between points on the recreated stroke.
+   Smaller values will require more points to recreate the stroke,
+   while larger values will result in fewer points needed to recreate the curve.
+Sharp Threshold
+   The maximum angle between points on the recreated stroke.
+   Smaller values will require more points to recreate the stroke,
+   while larger values will result in fewer points needed to recreate the curve.
 
+
 .. _bpy.ops.gpencil.stroke_trim:
 
 Trim

Modified: trunk/blender_docs/manual/grease_pencil/modes/sculpting/tool_settings/brush.rst
===================================================================
--- trunk/blender_docs/manual/grease_pencil/modes/sculpting/tool_settings/brush.rst	2022-12-14 00:58:37 UTC (rev 9803)
+++ trunk/blender_docs/manual/grease_pencil/modes/sculpting/tool_settings/brush.rst	2022-12-14 01:00:31 UTC (rev 9804)
@@ -54,8 +54,6 @@
 Direction
    The influence direction of the brush. This can be Add or Subtract.
 
-Advanced
-========
 
 Advanced
 ========

Modified: trunk/blender_docs/manual/grease_pencil/visual_effects/colorize.rst
===================================================================
--- trunk/blender_docs/manual/grease_pencil/visual_effects/colorize.rst	2022-12-14 00:58:37 UTC (rev 9803)
+++ trunk/blender_docs/manual/grease_pencil/visual_effects/colorize.rst	2022-12-14 01:00:31 UTC (rev 9804)
@@ -17,13 +17,11 @@
    Blur Visual Effect.
 
 Mode
-   Grayscale
+   :Grayscale:
       Converts to a grayscale image.
-
-   Sepia
+   :Sepia:
       Converts to a sepia tone image.
-
-   Duotone
+   :Duotone:
       Converts to a posterize image with high contrast and brightness.
 
       Low Color
@@ -31,11 +29,9 @@
 
       High Color
          Secondary color.
-
-   Transparent
+   :Transparent:
       Add color transparency.
-
-   Custom
+   :Custom:
       Allows to define a tint custom color.
 
       Color

Modified: trunk/blender_docs/manual/grease_pencil/visual_effects/flip.rst
===================================================================
--- trunk/blender_docs/manual/grease_pencil/visual_effects/flip.rst	2022-12-14 00:58:37 UTC (rev 9803)
+++ trunk/blender_docs/manual/grease_pencil/visual_effects/flip.rst	2022-12-14 01:00:31 UTC (rev 9804)
@@ -19,8 +19,5 @@
 Axis
    Which axis or axes to flip the object about.
 
-   Horizontal
-      When enabled, shows the object flipped horizontally.
-
-   Vertical
-      When enabled, shows the object flipped vertically.
+   :Horizontal: When enabled, shows the object flipped horizontally.
+   :Vertical: When enabled, shows the object flipped vertically.



More information about the Bf-docboard-svn mailing list