fake-bpy-module 20240210__py3-none-any.whl → 20240326__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (309) hide show
  1. addon_utils/__init__.pyi +54 -11
  2. animsys_refactor/__init__.pyi +36 -7
  3. aud/__init__.pyi +307 -321
  4. bgl/__init__.pyi +2926 -865
  5. bl_app_override/__init__.pyi +14 -4
  6. bl_app_override/helpers/__init__.pyi +24 -3
  7. bl_app_template_utils/__init__.pyi +19 -5
  8. bl_console_utils/__init__.pyi +0 -1
  9. bl_console_utils/autocomplete/__init__.pyi +2 -3
  10. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
  11. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
  12. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
  13. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
  14. bl_i18n_utils/__init__.pyi +2 -3
  15. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
  16. bl_i18n_utils/merge_po/__init__.pyi +4 -2
  17. bl_i18n_utils/settings/__init__.pyi +53 -7
  18. bl_i18n_utils/utils/__init__.pyi +332 -45
  19. bl_i18n_utils/utils_cli/__init__.pyi +29 -7
  20. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
  21. bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
  22. bl_keymap_utils/__init__.pyi +2 -3
  23. bl_keymap_utils/io/__init__.pyi +44 -10
  24. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
  25. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
  26. bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
  27. bl_keymap_utils/versioning/__init__.pyi +4 -2
  28. bl_math/__init__.pyi +21 -22
  29. bl_operators/__init__.pyi +30 -24
  30. bl_operators/add_mesh_torus/__init__.pyi +171 -38
  31. bl_operators/anim/__init__.pyi +1065 -227
  32. bl_operators/assets/__init__.pyi +427 -93
  33. bl_operators/bmesh/__init__.pyi +0 -1
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
  35. bl_operators/clip/__init__.pyi +1342 -288
  36. bl_operators/console/__init__.pyi +647 -141
  37. bl_operators/constraint/__init__.pyi +524 -113
  38. bl_operators/file/__init__.pyi +396 -85
  39. bl_operators/freestyle/__init__.pyi +532 -114
  40. bl_operators/geometry_nodes/__init__.pyi +2412 -597
  41. bl_operators/image/__init__.pyi +380 -83
  42. bl_operators/mesh/__init__.pyi +401 -86
  43. bl_operators/node/__init__.pyi +1756 -385
  44. bl_operators/object/__init__.pyi +2022 -553
  45. bl_operators/object_align/__init__.pyi +145 -32
  46. bl_operators/object_quick_effects/__init__.pyi +555 -125
  47. bl_operators/object_randomize_transform/__init__.pyi +136 -33
  48. bl_operators/presets/__init__.pyi +3516 -709
  49. bl_operators/rigidbody/__init__.pyi +401 -86
  50. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
  51. bl_operators/sequencer/__init__.pyi +731 -150
  52. bl_operators/spreadsheet/__init__.pyi +145 -31
  53. bl_operators/userpref/__init__.pyi +3416 -825
  54. bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
  55. bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
  56. bl_operators/uvcalc_transform/__init__.pyi +344 -74
  57. bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
  58. bl_operators/view3d/__init__.pyi +697 -147
  59. bl_operators/wm/__init__.pyi +6287 -1534
  60. bl_previews_utils/__init__.pyi +0 -1
  61. bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
  62. bl_rna_utils/__init__.pyi +0 -1
  63. bl_rna_utils/data_path/__init__.pyi +12 -3
  64. bl_text_utils/__init__.pyi +0 -1
  65. bl_text_utils/external_editor/__init__.pyi +4 -2
  66. bl_ui/__init__.pyi +567 -170
  67. bl_ui/anim/__init__.pyi +164 -34
  68. bl_ui/asset_shelf/__init__.pyi +146 -32
  69. bl_ui/generic_ui_list/__init__.pyi +471 -100
  70. bl_ui/node_add_menu/__init__.pyi +196 -41
  71. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
  72. bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
  73. bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
  74. bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
  75. bl_ui/properties_animviz/__init__.pyi +32 -3
  76. bl_ui/properties_collection/__init__.pyi +787 -180
  77. bl_ui/properties_constraint/__init__.pyi +28635 -5524
  78. bl_ui/properties_data_armature/__init__.pyi +1905 -449
  79. bl_ui/properties_data_bone/__init__.pyi +1560 -337
  80. bl_ui/properties_data_camera/__init__.pyi +2269 -495
  81. bl_ui/properties_data_curve/__init__.pyi +2362 -535
  82. bl_ui/properties_data_curves/__init__.pyi +951 -204
  83. bl_ui/properties_data_empty/__init__.pyi +317 -70
  84. bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
  85. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
  86. bl_ui/properties_data_lattice/__init__.pyi +472 -105
  87. bl_ui/properties_data_light/__init__.pyi +1570 -338
  88. bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
  89. bl_ui/properties_data_mesh/__init__.pyi +3205 -768
  90. bl_ui/properties_data_metaball/__init__.pyi +774 -171
  91. bl_ui/properties_data_modifier/__init__.pyi +1554 -329
  92. bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
  93. bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
  94. bl_ui/properties_data_speaker/__init__.pyi +782 -169
  95. bl_ui/properties_data_volume/__init__.pyi +1243 -282
  96. bl_ui/properties_freestyle/__init__.pyi +4071 -1031
  97. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
  98. bl_ui/properties_mask_common/__init__.pyi +1256 -250
  99. bl_ui/properties_material/__init__.pyi +2351 -543
  100. bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
  101. bl_ui/properties_object/__init__.pyi +2179 -513
  102. bl_ui/properties_output/__init__.pyi +2956 -706
  103. bl_ui/properties_paint_common/__init__.pyi +947 -141
  104. bl_ui/properties_particle/__init__.pyi +8322 -1971
  105. bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
  106. bl_ui/properties_physics_common/__init__.pyi +200 -45
  107. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
  108. bl_ui/properties_physics_field/__init__.pyi +1695 -365
  109. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
  110. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
  111. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
  112. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
  113. bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
  114. bl_ui/properties_render/__init__.pyi +8312 -1934
  115. bl_ui/properties_scene/__init__.pyi +2211 -540
  116. bl_ui/properties_texture/__init__.pyi +4185 -1014
  117. bl_ui/properties_view_layer/__init__.pyi +2803 -665
  118. bl_ui/properties_workspace/__init__.pyi +626 -149
  119. bl_ui/properties_world/__init__.pyi +1092 -235
  120. bl_ui/space_clip/__init__.pyi +11475 -2806
  121. bl_ui/space_console/__init__.pyi +967 -203
  122. bl_ui/space_dopesheet/__init__.pyi +4260 -967
  123. bl_ui/space_filebrowser/__init__.pyi +4852 -1188
  124. bl_ui/space_graph/__init__.pyi +3251 -703
  125. bl_ui/space_image/__init__.pyi +12218 -2968
  126. bl_ui/space_info/__init__.pyi +964 -201
  127. bl_ui/space_nla/__init__.pyi +2756 -585
  128. bl_ui/space_node/__init__.pyi +5661 -1266
  129. bl_ui/space_outliner/__init__.pyi +2294 -479
  130. bl_ui/space_properties/__init__.pyi +417 -93
  131. bl_ui/space_sequencer/__init__.pyi +12436 -3010
  132. bl_ui/space_spreadsheet/__init__.pyi +184 -37
  133. bl_ui/space_statusbar/__init__.pyi +135 -31
  134. bl_ui/space_text/__init__.pyi +2556 -543
  135. bl_ui/space_time/__init__.pyi +1151 -244
  136. bl_ui/space_toolsystem_common/__init__.pyi +368 -67
  137. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
  138. bl_ui/space_topbar/__init__.pyi +4214 -888
  139. bl_ui/space_userpref/__init__.pyi +13920 -3468
  140. bl_ui/space_view3d/__init__.pyi +42751 -9613
  141. bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
  142. bl_ui/utils/__init__.pyi +42 -5
  143. bl_ui_utils/__init__.pyi +0 -1
  144. bl_ui_utils/bug_report_url/__init__.pyi +4 -2
  145. bl_ui_utils/layout/__init__.pyi +4 -2
  146. blend_render_info/__init__.pyi +13 -4
  147. blf/__init__.pyi +15 -18
  148. bmesh/__init__.pyi +18 -18
  149. bmesh/geometry/__init__.pyi +5 -6
  150. bmesh/ops/__init__.pyi +1337 -1158
  151. bmesh/types/__init__.pyi +464 -374
  152. bmesh/utils/__init__.pyi +64 -70
  153. bpy/__init__.pyi +6 -7
  154. bpy/app/__init__.pyi +36 -38
  155. bpy/app/handlers/__init__.pyi +37 -38
  156. bpy/app/icons/__init__.pyi +8 -11
  157. bpy/app/timers/__init__.pyi +18 -17
  158. bpy/app/translations/__init__.pyi +32 -30
  159. bpy/msgbus/__init__.pyi +25 -20
  160. bpy/ops/__init__.pyi +63 -64
  161. bpy/ops/action/__init__.pyi +408 -436
  162. bpy/ops/anim/__init__.pyi +459 -577
  163. bpy/ops/armature/__init__.pyi +396 -498
  164. bpy/ops/asset/__init__.pyi +187 -213
  165. bpy/ops/boid/__init__.pyi +50 -68
  166. bpy/ops/brush/__init__.pyi +72 -97
  167. bpy/ops/buttons/__init__.pyi +202 -193
  168. bpy/ops/cachefile/__init__.pyi +198 -188
  169. bpy/ops/camera/__init__.pyi +24 -31
  170. bpy/ops/clip/__init__.pyi +1021 -1082
  171. bpy/ops/cloth/__init__.pyi +11 -15
  172. bpy/ops/collection/__init__.pyi +36 -51
  173. bpy/ops/console/__init__.pyi +155 -209
  174. bpy/ops/constraint/__init__.pyi +286 -254
  175. bpy/ops/curve/__init__.pyi +597 -659
  176. bpy/ops/curves/__init__.pyi +191 -225
  177. bpy/ops/cycles/__init__.pyi +21 -30
  178. bpy/ops/dpaint/__init__.pyi +34 -47
  179. bpy/ops/ed/__init__.pyi +160 -176
  180. bpy/ops/export_anim/__init__.pyi +51 -34
  181. bpy/ops/export_mesh/__init__.pyi +47 -45
  182. bpy/ops/export_scene/__init__.pyi +659 -504
  183. bpy/ops/file/__init__.pyi +469 -474
  184. bpy/ops/fluid/__init__.pyi +89 -119
  185. bpy/ops/font/__init__.pyi +325 -361
  186. bpy/ops/geometry/__init__.pyi +86 -114
  187. bpy/ops/gizmogroup/__init__.pyi +22 -28
  188. bpy/ops/gpencil/__init__.pyi +1900 -1976
  189. bpy/ops/graph/__init__.pyi +875 -894
  190. bpy/ops/grease_pencil/__init__.pyi +572 -508
  191. bpy/ops/image/__init__.pyi +805 -855
  192. bpy/ops/import_anim/__init__.pyi +66 -46
  193. bpy/ops/import_curve/__init__.pyi +7 -11
  194. bpy/ops/import_mesh/__init__.pyi +19 -25
  195. bpy/ops/import_scene/__init__.pyi +164 -147
  196. bpy/ops/info/__init__.pyi +88 -85
  197. bpy/ops/lattice/__init__.pyi +86 -90
  198. bpy/ops/marker/__init__.pyi +135 -146
  199. bpy/ops/mask/__init__.pyi +372 -436
  200. bpy/ops/material/__init__.pyi +18 -25
  201. bpy/ops/mball/__init__.pyi +93 -99
  202. bpy/ops/mesh/__init__.pyi +2525 -2664
  203. bpy/ops/nla/__init__.pyi +398 -455
  204. bpy/ops/node/__init__.pyi +1015 -1207
  205. bpy/ops/object/__init__.pyi +3423 -3390
  206. bpy/ops/outliner/__init__.pyi +667 -685
  207. bpy/ops/paint/__init__.pyi +719 -672
  208. bpy/ops/paintcurve/__init__.pyi +64 -85
  209. bpy/ops/palette/__init__.pyi +48 -67
  210. bpy/ops/particle/__init__.pyi +323 -367
  211. bpy/ops/pose/__init__.pyi +569 -474
  212. bpy/ops/poselib/__init__.pyi +77 -100
  213. bpy/ops/preferences/__init__.pyi +460 -512
  214. bpy/ops/ptcache/__init__.pyi +46 -63
  215. bpy/ops/render/__init__.pyi +121 -155
  216. bpy/ops/rigidbody/__init__.pyi +148 -143
  217. bpy/ops/scene/__init__.pyi +336 -380
  218. bpy/ops/screen/__init__.pyi +454 -530
  219. bpy/ops/script/__init__.pyi +19 -28
  220. bpy/ops/sculpt/__init__.pyi +734 -587
  221. bpy/ops/sculpt_curves/__init__.pyi +51 -56
  222. bpy/ops/sequencer/__init__.pyi +1617 -1500
  223. bpy/ops/sound/__init__.pyi +392 -315
  224. bpy/ops/spreadsheet/__init__.pyi +31 -42
  225. bpy/ops/surface/__init__.pyi +198 -163
  226. bpy/ops/text/__init__.pyi +479 -545
  227. bpy/ops/text_editor/__init__.pyi +11 -15
  228. bpy/ops/texture/__init__.pyi +26 -36
  229. bpy/ops/transform/__init__.pyi +825 -941
  230. bpy/ops/ui/__init__.pyi +246 -295
  231. bpy/ops/uilist/__init__.pyi +34 -38
  232. bpy/ops/uv/__init__.pyi +912 -824
  233. bpy/ops/view2d/__init__.pyi +157 -197
  234. bpy/ops/view3d/__init__.pyi +777 -878
  235. bpy/ops/wm/__init__.pyi +4102 -3595
  236. bpy/ops/workspace/__init__.pyi +42 -58
  237. bpy/ops/world/__init__.pyi +6 -9
  238. bpy/path/__init__.pyi +166 -109
  239. bpy/props/__init__.pyi +478 -395
  240. bpy/types/__init__.pyi +87194 -81467
  241. bpy/utils/__init__.pyi +325 -169
  242. bpy/utils/previews/__init__.pyi +108 -21
  243. bpy/utils/units/__init__.pyi +37 -39
  244. bpy_extras/__init__.pyi +4 -9
  245. bpy_extras/anim_utils/__init__.pyi +25 -55
  246. bpy_extras/asset_utils/__init__.pyi +3 -13
  247. bpy_extras/id_map_utils/__init__.pyi +1 -4
  248. bpy_extras/image_utils/__init__.pyi +33 -23
  249. bpy_extras/io_utils/__init__.pyi +116 -66
  250. bpy_extras/keyconfig_utils/__init__.pyi +5 -3
  251. bpy_extras/mesh_utils/__init__.pyi +42 -34
  252. bpy_extras/node_utils/__init__.pyi +4 -4
  253. bpy_extras/object_utils/__init__.pyi +58 -43
  254. bpy_extras/view3d_utils/__init__.pyi +64 -63
  255. bpy_restrict_state/__init__.pyi +14 -2
  256. bpy_types/__init__.pyi +3873 -998
  257. console_python/__init__.pyi +41 -8
  258. console_shell/__init__.pyi +24 -6
  259. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  260. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  261. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  262. freestyle/__init__.pyi +4 -5
  263. freestyle/chainingiterators/__init__.pyi +229 -73
  264. freestyle/functions/__init__.pyi +624 -402
  265. freestyle/predicates/__init__.pyi +381 -169
  266. freestyle/shaders/__init__.pyi +424 -155
  267. freestyle/types/__init__.pyi +1572 -726
  268. freestyle/utils/ContextFunctions/__init__.pyi +54 -43
  269. freestyle/utils/__init__.pyi +67 -31
  270. gpu/__init__.pyi +3 -4
  271. gpu/capabilities/__init__.pyi +57 -37
  272. gpu/matrix/__init__.pyi +14 -17
  273. gpu/platform/__init__.pyi +5 -6
  274. gpu/select/__init__.pyi +2 -5
  275. gpu/shader/__init__.pyi +14 -12
  276. gpu/state/__init__.pyi +48 -62
  277. gpu/texture/__init__.pyi +7 -7
  278. gpu/types/__init__.pyi +670 -229
  279. gpu_extras/__init__.pyi +1 -2
  280. gpu_extras/batch/__init__.pyi +27 -6
  281. gpu_extras/presets/__init__.pyi +67 -27
  282. graphviz_export/__init__.pyi +9 -3
  283. idprop/__init__.pyi +0 -1
  284. idprop/types/__init__.pyi +42 -13
  285. imbuf/__init__.pyi +6 -10
  286. imbuf/types/__init__.pyi +8 -16
  287. keyingsets_builtins/__init__.pyi +3149 -702
  288. keyingsets_utils/__init__.pyi +69 -15
  289. mathutils/__init__.pyi +951 -876
  290. mathutils/bvhtree/__init__.pyi +47 -48
  291. mathutils/geometry/__init__.pyi +237 -242
  292. mathutils/interpolate/__init__.pyi +3 -6
  293. mathutils/kdtree/__init__.pyi +23 -26
  294. mathutils/noise/__init__.pyi +50 -51
  295. nodeitems_builtins/__init__.pyi +50 -11
  296. nodeitems_utils/__init__.pyi +58 -11
  297. rna_info/__init__.pyi +230 -27
  298. rna_keymap_ui/__init__.pyi +29 -7
  299. rna_prop_ui/__init__.pyi +69 -13
  300. rna_xml/__init__.pyi +29 -7
  301. sys_info/__init__.pyi +4 -2
  302. bpy_extras/bmesh_utils/__init__.pyi +0 -7
  303. bpy_extras/extensions/__init__.pyi +0 -5
  304. bpy_extras/extensions/junction_module/__init__.pyi +0 -13
  305. bpy_extras/node_shader_utils/__init__.pyi +0 -132
  306. bpy_extras/wm_utils/__init__.pyi +0 -5
  307. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
  308. fake_bpy_module-20240210.dist-info/RECORD +0 -349
  309. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -1,283 +1,308 @@
1
- import sys
2
1
  import typing
3
- import bpy.types
4
2
  import bpy.ops.transform
3
+ import bpy.types
5
4
 
6
5
  GenericType = typing.TypeVar("GenericType")
7
6
 
8
7
  def brush_stroke(
9
- override_context: typing.Optional[
10
- typing.Union[typing.Dict, "bpy.types.Context"]
11
- ] = None,
12
- execution_context: typing.Optional[typing.Union[str, int]] = None,
13
- undo: typing.Optional[bool] = None,
14
- *,
15
- stroke: typing.Optional[
16
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
17
- ] = None,
18
- mode: typing.Optional[typing.Any] = "NORMAL",
8
+ override_context: typing.Union[dict, bpy.types.Context] = None,
9
+ execution_context: typing.Union[str, int] = None,
10
+ undo: bool = None,
11
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
12
+ mode: typing.Any = "NORMAL",
19
13
  ):
20
14
  """Draw a new stroke in the active Grease Pencil object
21
15
 
22
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
23
- :type execution_context: typing.Optional[typing.Union[str, int]]
24
- :type undo: typing.Optional[bool]
25
- :param stroke: Stroke
26
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
27
- :param mode: Stroke Mode, Action taken when a paint stroke is made * ``NORMAL`` Regular -- Apply brush normally. * ``INVERT`` Invert -- Invert action of brush for duration of stroke. * ``SMOOTH`` Smooth -- Switch brush to smooth mode for duration of stroke.
28
- :type mode: typing.Optional[typing.Any]
16
+ :type override_context: typing.Union[dict, bpy.types.Context]
17
+ :type execution_context: typing.Union[str, int]
18
+ :type undo: bool
19
+ :param stroke: Stroke
20
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
21
+ :param mode: Stroke Mode, Action taken when a paint stroke is made
22
+
23
+ NORMAL
24
+ Regular -- Apply brush normally.
25
+
26
+ INVERT
27
+ Invert -- Invert action of brush for duration of stroke.
28
+
29
+ SMOOTH
30
+ Smooth -- Switch brush to smooth mode for duration of stroke.
31
+ :type mode: typing.Any
29
32
  """
30
33
 
31
34
  ...
32
35
 
33
36
  def caps_set(
34
- override_context: typing.Optional[
35
- typing.Union[typing.Dict, "bpy.types.Context"]
36
- ] = None,
37
- execution_context: typing.Optional[typing.Union[str, int]] = None,
38
- undo: typing.Optional[bool] = None,
39
- *,
40
- type: typing.Optional[typing.Any] = "ROUND",
37
+ override_context: typing.Union[dict, bpy.types.Context] = None,
38
+ execution_context: typing.Union[str, int] = None,
39
+ undo: bool = None,
40
+ type: typing.Any = "ROUND",
41
41
  ):
42
42
  """Change curve caps mode (rounded or flat)
43
43
 
44
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
45
- :type execution_context: typing.Optional[typing.Union[str, int]]
46
- :type undo: typing.Optional[bool]
47
- :param type: Type * ``ROUND`` Rounded -- Set as default rounded. * ``FLAT`` Flat. * ``START`` Toggle Start. * ``END`` Toggle End.
48
- :type type: typing.Optional[typing.Any]
44
+ :type override_context: typing.Union[dict, bpy.types.Context]
45
+ :type execution_context: typing.Union[str, int]
46
+ :type undo: bool
47
+ :param type: Type
48
+
49
+ ROUND
50
+ Rounded -- Set as default rounded.
51
+
52
+ FLAT
53
+ Flat.
54
+
55
+ START
56
+ Toggle Start.
57
+
58
+ END
59
+ Toggle End.
60
+ :type type: typing.Any
49
61
  """
50
62
 
51
63
  ...
52
64
 
53
65
  def clean_loose(
54
- override_context: typing.Optional[
55
- typing.Union[typing.Dict, "bpy.types.Context"]
56
- ] = None,
57
- execution_context: typing.Optional[typing.Union[str, int]] = None,
58
- undo: typing.Optional[bool] = None,
59
- *,
60
- limit: typing.Optional[typing.Any] = 1,
66
+ override_context: typing.Union[dict, bpy.types.Context] = None,
67
+ execution_context: typing.Union[str, int] = None,
68
+ undo: bool = None,
69
+ limit: typing.Any = 1,
61
70
  ):
62
71
  """Remove loose points
63
72
 
64
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
65
- :type execution_context: typing.Optional[typing.Union[str, int]]
66
- :type undo: typing.Optional[bool]
73
+ :type override_context: typing.Union[dict, bpy.types.Context]
74
+ :type execution_context: typing.Union[str, int]
75
+ :type undo: bool
67
76
  :param limit: Limit, Number of points to consider stroke as loose
68
- :type limit: typing.Optional[typing.Any]
77
+ :type limit: typing.Any
78
+ """
79
+
80
+ ...
81
+
82
+ def copy(
83
+ override_context: typing.Union[dict, bpy.types.Context] = None,
84
+ execution_context: typing.Union[str, int] = None,
85
+ undo: bool = None,
86
+ ):
87
+ """Copy the selected Grease Pencil points or strokes to the internal clipboard
88
+
89
+ :type override_context: typing.Union[dict, bpy.types.Context]
90
+ :type execution_context: typing.Union[str, int]
91
+ :type undo: bool
69
92
  """
70
93
 
71
94
  ...
72
95
 
73
96
  def cyclical_set(
74
- override_context: typing.Optional[
75
- typing.Union[typing.Dict, "bpy.types.Context"]
76
- ] = None,
77
- execution_context: typing.Optional[typing.Union[str, int]] = None,
78
- undo: typing.Optional[bool] = None,
79
- *,
80
- type: typing.Optional[typing.Any] = "TOGGLE",
97
+ override_context: typing.Union[dict, bpy.types.Context] = None,
98
+ execution_context: typing.Union[str, int] = None,
99
+ undo: bool = None,
100
+ type: typing.Any = "TOGGLE",
81
101
  ):
82
102
  """Close or open the selected stroke adding a segment from last to first point
83
103
 
84
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
85
- :type execution_context: typing.Optional[typing.Union[str, int]]
86
- :type undo: typing.Optional[bool]
104
+ :type override_context: typing.Union[dict, bpy.types.Context]
105
+ :type execution_context: typing.Union[str, int]
106
+ :type undo: bool
87
107
  :param type: Type
88
- :type type: typing.Optional[typing.Any]
108
+ :type type: typing.Any
89
109
  """
90
110
 
91
111
  ...
92
112
 
93
113
  def delete(
94
- override_context: typing.Optional[
95
- typing.Union[typing.Dict, "bpy.types.Context"]
96
- ] = None,
97
- execution_context: typing.Optional[typing.Union[str, int]] = None,
98
- undo: typing.Optional[bool] = None,
114
+ override_context: typing.Union[dict, bpy.types.Context] = None,
115
+ execution_context: typing.Union[str, int] = None,
116
+ undo: bool = None,
99
117
  ):
100
118
  """Delete selected strokes or points
101
119
 
102
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
103
- :type execution_context: typing.Optional[typing.Union[str, int]]
104
- :type undo: typing.Optional[bool]
120
+ :type override_context: typing.Union[dict, bpy.types.Context]
121
+ :type execution_context: typing.Union[str, int]
122
+ :type undo: bool
105
123
  """
106
124
 
107
125
  ...
108
126
 
109
127
  def delete_frame(
110
- override_context: typing.Optional[
111
- typing.Union[typing.Dict, "bpy.types.Context"]
112
- ] = None,
113
- execution_context: typing.Optional[typing.Union[str, int]] = None,
114
- undo: typing.Optional[bool] = None,
115
- *,
116
- type: typing.Optional[typing.Any] = "ACTIVE_FRAME",
128
+ override_context: typing.Union[dict, bpy.types.Context] = None,
129
+ execution_context: typing.Union[str, int] = None,
130
+ undo: bool = None,
131
+ type: typing.Any = "ACTIVE_FRAME",
117
132
  ):
118
133
  """Delete Grease Pencil Frame(s)
119
134
 
120
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
121
- :type execution_context: typing.Optional[typing.Union[str, int]]
122
- :type undo: typing.Optional[bool]
123
- :param type: Type, Method used for deleting Grease Pencil frames * ``ACTIVE_FRAME`` Active Frame -- Deletes current frame in the active layer. * ``ALL_FRAMES`` All Active Frames -- Delete active frames for all layers.
124
- :type type: typing.Optional[typing.Any]
135
+ :type override_context: typing.Union[dict, bpy.types.Context]
136
+ :type execution_context: typing.Union[str, int]
137
+ :type undo: bool
138
+ :param type: Type, Method used for deleting Grease Pencil frames
139
+
140
+ ACTIVE_FRAME
141
+ Active Frame -- Deletes current frame in the active layer.
142
+
143
+ ALL_FRAMES
144
+ All Active Frames -- Delete active frames for all layers.
145
+ :type type: typing.Any
125
146
  """
126
147
 
127
148
  ...
128
149
 
129
150
  def dissolve(
130
- override_context: typing.Optional[
131
- typing.Union[typing.Dict, "bpy.types.Context"]
132
- ] = None,
133
- execution_context: typing.Optional[typing.Union[str, int]] = None,
134
- undo: typing.Optional[bool] = None,
135
- *,
136
- type: typing.Optional[typing.Any] = "POINTS",
151
+ override_context: typing.Union[dict, bpy.types.Context] = None,
152
+ execution_context: typing.Union[str, int] = None,
153
+ undo: bool = None,
154
+ type: typing.Any = "POINTS",
137
155
  ):
138
156
  """Delete selected points without splitting strokes
139
157
 
140
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
141
- :type execution_context: typing.Optional[typing.Union[str, int]]
142
- :type undo: typing.Optional[bool]
143
- :param type: Type, Method used for dissolving stroke points * ``POINTS`` Dissolve -- Dissolve selected points. * ``BETWEEN`` Dissolve Between -- Dissolve points between selected points. * ``UNSELECT`` Dissolve Unselect -- Dissolve all unselected points.
144
- :type type: typing.Optional[typing.Any]
158
+ :type override_context: typing.Union[dict, bpy.types.Context]
159
+ :type execution_context: typing.Union[str, int]
160
+ :type undo: bool
161
+ :param type: Type, Method used for dissolving stroke points
162
+
163
+ POINTS
164
+ Dissolve -- Dissolve selected points.
165
+
166
+ BETWEEN
167
+ Dissolve Between -- Dissolve points between selected points.
168
+
169
+ UNSELECT
170
+ Dissolve Unselect -- Dissolve all unselected points.
171
+ :type type: typing.Any
145
172
  """
146
173
 
147
174
  ...
148
175
 
149
176
  def draw_mode_toggle(
150
- override_context: typing.Optional[
151
- typing.Union[typing.Dict, "bpy.types.Context"]
152
- ] = None,
153
- execution_context: typing.Optional[typing.Union[str, int]] = None,
154
- undo: typing.Optional[bool] = None,
177
+ override_context: typing.Union[dict, bpy.types.Context] = None,
178
+ execution_context: typing.Union[str, int] = None,
179
+ undo: bool = None,
155
180
  ):
156
181
  """Enter/Exit draw mode for grease pencil
157
182
 
158
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
159
- :type execution_context: typing.Optional[typing.Union[str, int]]
160
- :type undo: typing.Optional[bool]
183
+ :type override_context: typing.Union[dict, bpy.types.Context]
184
+ :type execution_context: typing.Union[str, int]
185
+ :type undo: bool
161
186
  """
162
187
 
163
188
  ...
164
189
 
165
190
  def duplicate(
166
- override_context: typing.Optional[
167
- typing.Union[typing.Dict, "bpy.types.Context"]
168
- ] = None,
169
- execution_context: typing.Optional[typing.Union[str, int]] = None,
170
- undo: typing.Optional[bool] = None,
191
+ override_context: typing.Union[dict, bpy.types.Context] = None,
192
+ execution_context: typing.Union[str, int] = None,
193
+ undo: bool = None,
171
194
  ):
172
195
  """Duplicate the selected points
173
196
 
174
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
175
- :type execution_context: typing.Optional[typing.Union[str, int]]
176
- :type undo: typing.Optional[bool]
197
+ :type override_context: typing.Union[dict, bpy.types.Context]
198
+ :type execution_context: typing.Union[str, int]
199
+ :type undo: bool
177
200
  """
178
201
 
179
202
  ...
180
203
 
181
204
  def duplicate_move(
182
- override_context: typing.Optional[
183
- typing.Union[typing.Dict, "bpy.types.Context"]
184
- ] = None,
185
- execution_context: typing.Optional[typing.Union[str, int]] = None,
186
- undo: typing.Optional[bool] = None,
187
- *,
188
- GREASE_PENCIL_OT_duplicate: typing.Optional[typing.Any] = None,
189
- TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
205
+ override_context: typing.Union[dict, bpy.types.Context] = None,
206
+ execution_context: typing.Union[str, int] = None,
207
+ undo: bool = None,
208
+ GREASE_PENCIL_OT_duplicate: typing.Any = None,
209
+ TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
190
210
  ):
191
211
  """Make copies of the selected Grease Pencil strokes and move them
192
212
 
193
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
194
- :type execution_context: typing.Optional[typing.Union[str, int]]
195
- :type undo: typing.Optional[bool]
213
+ :type override_context: typing.Union[dict, bpy.types.Context]
214
+ :type execution_context: typing.Union[str, int]
215
+ :type undo: bool
196
216
  :param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
197
- :type GREASE_PENCIL_OT_duplicate: typing.Optional[typing.Any]
217
+ :type GREASE_PENCIL_OT_duplicate: typing.Any
198
218
  :param TRANSFORM_OT_translate: Move, Move selected items
199
- :type TRANSFORM_OT_translate: typing.Optional['bpy.ops.transform.translate']
219
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate
200
220
  """
201
221
 
202
222
  ...
203
223
 
204
224
  def insert_blank_frame(
205
- override_context: typing.Optional[
206
- typing.Union[typing.Dict, "bpy.types.Context"]
207
- ] = None,
208
- execution_context: typing.Optional[typing.Union[str, int]] = None,
209
- undo: typing.Optional[bool] = None,
210
- *,
211
- all_layers: typing.Optional[typing.Union[bool, typing.Any]] = False,
212
- duration: typing.Optional[typing.Any] = 0,
225
+ override_context: typing.Union[dict, bpy.types.Context] = None,
226
+ execution_context: typing.Union[str, int] = None,
227
+ undo: bool = None,
228
+ all_layers: typing.Union[bool, typing.Any] = False,
229
+ duration: typing.Any = 0,
213
230
  ):
214
231
  """Insert a blank frame on the current scene frame
215
232
 
216
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
217
- :type execution_context: typing.Optional[typing.Union[str, int]]
218
- :type undo: typing.Optional[bool]
233
+ :type override_context: typing.Union[dict, bpy.types.Context]
234
+ :type execution_context: typing.Union[str, int]
235
+ :type undo: bool
219
236
  :param all_layers: All Layers, Insert a blank frame in all editable layers
220
- :type all_layers: typing.Optional[typing.Union[bool, typing.Any]]
237
+ :type all_layers: typing.Union[bool, typing.Any]
221
238
  :param duration: Duration
222
- :type duration: typing.Optional[typing.Any]
239
+ :type duration: typing.Any
223
240
  """
224
241
 
225
242
  ...
226
243
 
227
244
  def layer_active(
228
- override_context: typing.Optional[
229
- typing.Union[typing.Dict, "bpy.types.Context"]
230
- ] = None,
231
- execution_context: typing.Optional[typing.Union[str, int]] = None,
232
- undo: typing.Optional[bool] = None,
233
- *,
234
- layer: typing.Optional[typing.Any] = 0,
245
+ override_context: typing.Union[dict, bpy.types.Context] = None,
246
+ execution_context: typing.Union[str, int] = None,
247
+ undo: bool = None,
248
+ layer: typing.Any = 0,
235
249
  ):
236
250
  """Set the active Grease Pencil layer
237
251
 
238
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
239
- :type execution_context: typing.Optional[typing.Union[str, int]]
240
- :type undo: typing.Optional[bool]
252
+ :type override_context: typing.Union[dict, bpy.types.Context]
253
+ :type execution_context: typing.Union[str, int]
254
+ :type undo: bool
241
255
  :param layer: Grease Pencil Layer
242
- :type layer: typing.Optional[typing.Any]
256
+ :type layer: typing.Any
243
257
  """
244
258
 
245
259
  ...
246
260
 
247
261
  def layer_add(
248
- override_context: typing.Optional[
249
- typing.Union[typing.Dict, "bpy.types.Context"]
250
- ] = None,
251
- execution_context: typing.Optional[typing.Union[str, int]] = None,
252
- undo: typing.Optional[bool] = None,
253
- *,
262
+ override_context: typing.Union[dict, bpy.types.Context] = None,
263
+ execution_context: typing.Union[str, int] = None,
264
+ undo: bool = None,
254
265
  new_layer_name: typing.Union[str, typing.Any] = "Layer",
255
266
  ):
256
267
  """Add a new Grease Pencil layer in the active object
257
268
 
258
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
259
- :type execution_context: typing.Optional[typing.Union[str, int]]
260
- :type undo: typing.Optional[bool]
269
+ :type override_context: typing.Union[dict, bpy.types.Context]
270
+ :type execution_context: typing.Union[str, int]
271
+ :type undo: bool
261
272
  :param new_layer_name: Name, Name of the new layer
262
273
  :type new_layer_name: typing.Union[str, typing.Any]
263
274
  """
264
275
 
265
276
  ...
266
277
 
278
+ def layer_duplicate(
279
+ override_context: typing.Union[dict, bpy.types.Context] = None,
280
+ execution_context: typing.Union[str, int] = None,
281
+ undo: bool = None,
282
+ empty_keyframes: typing.Union[bool, typing.Any] = False,
283
+ ):
284
+ """Make a copy of the active Grease Pencil layer
285
+
286
+ :type override_context: typing.Union[dict, bpy.types.Context]
287
+ :type execution_context: typing.Union[str, int]
288
+ :type undo: bool
289
+ :param empty_keyframes: Empty Keyframes, Add Empty Keyframes
290
+ :type empty_keyframes: typing.Union[bool, typing.Any]
291
+ """
292
+
293
+ ...
294
+
267
295
  def layer_group_add(
268
- override_context: typing.Optional[
269
- typing.Union[typing.Dict, "bpy.types.Context"]
270
- ] = None,
271
- execution_context: typing.Optional[typing.Union[str, int]] = None,
272
- undo: typing.Optional[bool] = None,
273
- *,
296
+ override_context: typing.Union[dict, bpy.types.Context] = None,
297
+ execution_context: typing.Union[str, int] = None,
298
+ undo: bool = None,
274
299
  new_layer_group_name: typing.Union[str, typing.Any] = "",
275
300
  ):
276
301
  """Add a new Grease Pencil layer group in the active object
277
302
 
278
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
279
- :type execution_context: typing.Optional[typing.Union[str, int]]
280
- :type undo: typing.Optional[bool]
303
+ :type override_context: typing.Union[dict, bpy.types.Context]
304
+ :type execution_context: typing.Union[str, int]
305
+ :type undo: bool
281
306
  :param new_layer_group_name: Name, Name of the new layer group
282
307
  :type new_layer_group_name: typing.Union[str, typing.Any]
283
308
  """
@@ -285,530 +310,583 @@ def layer_group_add(
285
310
  ...
286
311
 
287
312
  def layer_hide(
288
- override_context: typing.Optional[
289
- typing.Union[typing.Dict, "bpy.types.Context"]
290
- ] = None,
291
- execution_context: typing.Optional[typing.Union[str, int]] = None,
292
- undo: typing.Optional[bool] = None,
293
- *,
294
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
313
+ override_context: typing.Union[dict, bpy.types.Context] = None,
314
+ execution_context: typing.Union[str, int] = None,
315
+ undo: bool = None,
316
+ unselected: typing.Union[bool, typing.Any] = False,
295
317
  ):
296
318
  """Hide selected/unselected Grease Pencil layers
297
319
 
298
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
299
- :type execution_context: typing.Optional[typing.Union[str, int]]
300
- :type undo: typing.Optional[bool]
320
+ :type override_context: typing.Union[dict, bpy.types.Context]
321
+ :type execution_context: typing.Union[str, int]
322
+ :type undo: bool
301
323
  :param unselected: Unselected, Hide unselected rather than selected layers
302
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
324
+ :type unselected: typing.Union[bool, typing.Any]
303
325
  """
304
326
 
305
327
  ...
306
328
 
307
329
  def layer_isolate(
308
- override_context: typing.Optional[
309
- typing.Union[typing.Dict, "bpy.types.Context"]
310
- ] = None,
311
- execution_context: typing.Optional[typing.Union[str, int]] = None,
312
- undo: typing.Optional[bool] = None,
313
- *,
314
- affect_visibility: typing.Optional[typing.Union[bool, typing.Any]] = False,
330
+ override_context: typing.Union[dict, bpy.types.Context] = None,
331
+ execution_context: typing.Union[str, int] = None,
332
+ undo: bool = None,
333
+ affect_visibility: typing.Union[bool, typing.Any] = False,
315
334
  ):
316
335
  """Make only active layer visible/editable
317
336
 
318
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
319
- :type execution_context: typing.Optional[typing.Union[str, int]]
320
- :type undo: typing.Optional[bool]
337
+ :type override_context: typing.Union[dict, bpy.types.Context]
338
+ :type execution_context: typing.Union[str, int]
339
+ :type undo: bool
321
340
  :param affect_visibility: Affect Visibility, Also affect the visibility
322
- :type affect_visibility: typing.Optional[typing.Union[bool, typing.Any]]
341
+ :type affect_visibility: typing.Union[bool, typing.Any]
342
+ """
343
+
344
+ ...
345
+
346
+ def layer_lock_all(
347
+ override_context: typing.Union[dict, bpy.types.Context] = None,
348
+ execution_context: typing.Union[str, int] = None,
349
+ undo: bool = None,
350
+ lock: typing.Union[bool, typing.Any] = True,
351
+ ):
352
+ """Lock all Grease Pencil layers to prevent them from being accidentally modified
353
+
354
+ :type override_context: typing.Union[dict, bpy.types.Context]
355
+ :type execution_context: typing.Union[str, int]
356
+ :type undo: bool
357
+ :param lock: Lock Value, Lock/Unlock all layers
358
+ :type lock: typing.Union[bool, typing.Any]
359
+ """
360
+
361
+ ...
362
+
363
+ def layer_mask_add(
364
+ override_context: typing.Union[dict, bpy.types.Context] = None,
365
+ execution_context: typing.Union[str, int] = None,
366
+ undo: bool = None,
367
+ name: typing.Union[str, typing.Any] = "",
368
+ ):
369
+ """Add new layer as masking
370
+
371
+ :type override_context: typing.Union[dict, bpy.types.Context]
372
+ :type execution_context: typing.Union[str, int]
373
+ :type undo: bool
374
+ :param name: Layer, Name of the layer
375
+ :type name: typing.Union[str, typing.Any]
376
+ """
377
+
378
+ ...
379
+
380
+ def layer_mask_remove(
381
+ override_context: typing.Union[dict, bpy.types.Context] = None,
382
+ execution_context: typing.Union[str, int] = None,
383
+ undo: bool = None,
384
+ ):
385
+ """Remove Layer Mask
386
+
387
+ :type override_context: typing.Union[dict, bpy.types.Context]
388
+ :type execution_context: typing.Union[str, int]
389
+ :type undo: bool
390
+ """
391
+
392
+ ...
393
+
394
+ def layer_mask_reorder(
395
+ override_context: typing.Union[dict, bpy.types.Context] = None,
396
+ execution_context: typing.Union[str, int] = None,
397
+ undo: bool = None,
398
+ direction: typing.Any = "UP",
399
+ ):
400
+ """Reorder the active Grease Pencil mask layer up/down in the list
401
+
402
+ :type override_context: typing.Union[dict, bpy.types.Context]
403
+ :type execution_context: typing.Union[str, int]
404
+ :type undo: bool
405
+ :param direction: Direction
406
+ :type direction: typing.Any
323
407
  """
324
408
 
325
409
  ...
326
410
 
327
411
  def layer_remove(
328
- override_context: typing.Optional[
329
- typing.Union[typing.Dict, "bpy.types.Context"]
330
- ] = None,
331
- execution_context: typing.Optional[typing.Union[str, int]] = None,
332
- undo: typing.Optional[bool] = None,
412
+ override_context: typing.Union[dict, bpy.types.Context] = None,
413
+ execution_context: typing.Union[str, int] = None,
414
+ undo: bool = None,
333
415
  ):
334
416
  """Remove the active Grease Pencil layer
335
417
 
336
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
337
- :type execution_context: typing.Optional[typing.Union[str, int]]
338
- :type undo: typing.Optional[bool]
418
+ :type override_context: typing.Union[dict, bpy.types.Context]
419
+ :type execution_context: typing.Union[str, int]
420
+ :type undo: bool
339
421
  """
340
422
 
341
423
  ...
342
424
 
343
425
  def layer_reorder(
344
- override_context: typing.Optional[
345
- typing.Union[typing.Dict, "bpy.types.Context"]
346
- ] = None,
347
- execution_context: typing.Optional[typing.Union[str, int]] = None,
348
- undo: typing.Optional[bool] = None,
349
- *,
426
+ override_context: typing.Union[dict, bpy.types.Context] = None,
427
+ execution_context: typing.Union[str, int] = None,
428
+ undo: bool = None,
350
429
  target_layer_name: typing.Union[str, typing.Any] = "Layer",
351
- location: typing.Optional[typing.Any] = "ABOVE",
430
+ location: typing.Any = "ABOVE",
352
431
  ):
353
432
  """Reorder the active Grease Pencil layer
354
433
 
355
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
356
- :type execution_context: typing.Optional[typing.Union[str, int]]
357
- :type undo: typing.Optional[bool]
434
+ :type override_context: typing.Union[dict, bpy.types.Context]
435
+ :type execution_context: typing.Union[str, int]
436
+ :type undo: bool
358
437
  :param target_layer_name: Target Name, Name of the target layer
359
438
  :type target_layer_name: typing.Union[str, typing.Any]
360
439
  :param location: Location
361
- :type location: typing.Optional[typing.Any]
440
+ :type location: typing.Any
362
441
  """
363
442
 
364
443
  ...
365
444
 
366
445
  def layer_reveal(
367
- override_context: typing.Optional[
368
- typing.Union[typing.Dict, "bpy.types.Context"]
369
- ] = None,
370
- execution_context: typing.Optional[typing.Union[str, int]] = None,
371
- undo: typing.Optional[bool] = None,
446
+ override_context: typing.Union[dict, bpy.types.Context] = None,
447
+ execution_context: typing.Union[str, int] = None,
448
+ undo: bool = None,
372
449
  ):
373
450
  """Show all Grease Pencil layers
374
451
 
375
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
376
- :type execution_context: typing.Optional[typing.Union[str, int]]
377
- :type undo: typing.Optional[bool]
452
+ :type override_context: typing.Union[dict, bpy.types.Context]
453
+ :type execution_context: typing.Union[str, int]
454
+ :type undo: bool
378
455
  """
379
456
 
380
457
  ...
381
458
 
382
459
  def material_copy_to_object(
383
- override_context: typing.Optional[
384
- typing.Union[typing.Dict, "bpy.types.Context"]
385
- ] = None,
386
- execution_context: typing.Optional[typing.Union[str, int]] = None,
387
- undo: typing.Optional[bool] = None,
388
- *,
389
- only_active: typing.Optional[typing.Union[bool, typing.Any]] = True,
460
+ override_context: typing.Union[dict, bpy.types.Context] = None,
461
+ execution_context: typing.Union[str, int] = None,
462
+ undo: bool = None,
463
+ only_active: typing.Union[bool, typing.Any] = True,
390
464
  ):
391
465
  """Append Materials of the active Grease Pencil to other object
392
466
 
393
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
394
- :type execution_context: typing.Optional[typing.Union[str, int]]
395
- :type undo: typing.Optional[bool]
467
+ :type override_context: typing.Union[dict, bpy.types.Context]
468
+ :type execution_context: typing.Union[str, int]
469
+ :type undo: bool
396
470
  :param only_active: Only Active, Append only active material, uncheck to append all materials
397
- :type only_active: typing.Optional[typing.Union[bool, typing.Any]]
471
+ :type only_active: typing.Union[bool, typing.Any]
398
472
  """
399
473
 
400
474
  ...
401
475
 
402
476
  def material_hide(
403
- override_context: typing.Optional[
404
- typing.Union[typing.Dict, "bpy.types.Context"]
405
- ] = None,
406
- execution_context: typing.Optional[typing.Union[str, int]] = None,
407
- undo: typing.Optional[bool] = None,
408
- *,
409
- invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
477
+ override_context: typing.Union[dict, bpy.types.Context] = None,
478
+ execution_context: typing.Union[str, int] = None,
479
+ undo: bool = None,
480
+ invert: typing.Union[bool, typing.Any] = False,
410
481
  ):
411
482
  """Hide active/inactive Grease Pencil material(s)
412
483
 
413
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
414
- :type execution_context: typing.Optional[typing.Union[str, int]]
415
- :type undo: typing.Optional[bool]
484
+ :type override_context: typing.Union[dict, bpy.types.Context]
485
+ :type execution_context: typing.Union[str, int]
486
+ :type undo: bool
416
487
  :param invert: Invert, Hide inactive materials instead of the active one
417
- :type invert: typing.Optional[typing.Union[bool, typing.Any]]
488
+ :type invert: typing.Union[bool, typing.Any]
418
489
  """
419
490
 
420
491
  ...
421
492
 
422
493
  def material_lock_all(
423
- override_context: typing.Optional[
424
- typing.Union[typing.Dict, "bpy.types.Context"]
425
- ] = None,
426
- execution_context: typing.Optional[typing.Union[str, int]] = None,
427
- undo: typing.Optional[bool] = None,
494
+ override_context: typing.Union[dict, bpy.types.Context] = None,
495
+ execution_context: typing.Union[str, int] = None,
496
+ undo: bool = None,
428
497
  ):
429
498
  """Lock all Grease Pencil materials to prevent them from being accidentally modified
430
499
 
431
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
432
- :type execution_context: typing.Optional[typing.Union[str, int]]
433
- :type undo: typing.Optional[bool]
500
+ :type override_context: typing.Union[dict, bpy.types.Context]
501
+ :type execution_context: typing.Union[str, int]
502
+ :type undo: bool
434
503
  """
435
504
 
436
505
  ...
437
506
 
438
507
  def material_lock_unselected(
439
- override_context: typing.Optional[
440
- typing.Union[typing.Dict, "bpy.types.Context"]
441
- ] = None,
442
- execution_context: typing.Optional[typing.Union[str, int]] = None,
443
- undo: typing.Optional[bool] = None,
508
+ override_context: typing.Union[dict, bpy.types.Context] = None,
509
+ execution_context: typing.Union[str, int] = None,
510
+ undo: bool = None,
444
511
  ):
445
512
  """Lock any material not used in any selected stroke
446
513
 
447
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
448
- :type execution_context: typing.Optional[typing.Union[str, int]]
449
- :type undo: typing.Optional[bool]
514
+ :type override_context: typing.Union[dict, bpy.types.Context]
515
+ :type execution_context: typing.Union[str, int]
516
+ :type undo: bool
450
517
  """
451
518
 
452
519
  ...
453
520
 
454
521
  def material_lock_unused(
455
- override_context: typing.Optional[
456
- typing.Union[typing.Dict, "bpy.types.Context"]
457
- ] = None,
458
- execution_context: typing.Optional[typing.Union[str, int]] = None,
459
- undo: typing.Optional[bool] = None,
522
+ override_context: typing.Union[dict, bpy.types.Context] = None,
523
+ execution_context: typing.Union[str, int] = None,
524
+ undo: bool = None,
460
525
  ):
461
526
  """Lock and hide any material not used
462
527
 
463
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
464
- :type execution_context: typing.Optional[typing.Union[str, int]]
465
- :type undo: typing.Optional[bool]
528
+ :type override_context: typing.Union[dict, bpy.types.Context]
529
+ :type execution_context: typing.Union[str, int]
530
+ :type undo: bool
466
531
  """
467
532
 
468
533
  ...
469
534
 
470
535
  def material_reveal(
471
- override_context: typing.Optional[
472
- typing.Union[typing.Dict, "bpy.types.Context"]
473
- ] = None,
474
- execution_context: typing.Optional[typing.Union[str, int]] = None,
475
- undo: typing.Optional[bool] = None,
536
+ override_context: typing.Union[dict, bpy.types.Context] = None,
537
+ execution_context: typing.Union[str, int] = None,
538
+ undo: bool = None,
476
539
  ):
477
540
  """Unhide all hidden Grease Pencil materials
478
541
 
479
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
480
- :type execution_context: typing.Optional[typing.Union[str, int]]
481
- :type undo: typing.Optional[bool]
542
+ :type override_context: typing.Union[dict, bpy.types.Context]
543
+ :type execution_context: typing.Union[str, int]
544
+ :type undo: bool
545
+ """
546
+
547
+ ...
548
+
549
+ def material_select(
550
+ override_context: typing.Union[dict, bpy.types.Context] = None,
551
+ execution_context: typing.Union[str, int] = None,
552
+ undo: bool = None,
553
+ deselect: typing.Union[bool, typing.Any] = False,
554
+ ):
555
+ """Select/Deselect all Grease Pencil strokes using current material
556
+
557
+ :type override_context: typing.Union[dict, bpy.types.Context]
558
+ :type execution_context: typing.Union[str, int]
559
+ :type undo: bool
560
+ :param deselect: Deselect, Unselect strokes
561
+ :type deselect: typing.Union[bool, typing.Any]
482
562
  """
483
563
 
484
564
  ...
485
565
 
486
566
  def material_unlock_all(
487
- override_context: typing.Optional[
488
- typing.Union[typing.Dict, "bpy.types.Context"]
489
- ] = None,
490
- execution_context: typing.Optional[typing.Union[str, int]] = None,
491
- undo: typing.Optional[bool] = None,
567
+ override_context: typing.Union[dict, bpy.types.Context] = None,
568
+ execution_context: typing.Union[str, int] = None,
569
+ undo: bool = None,
492
570
  ):
493
571
  """Unlock all Grease Pencil materials so that they can be edited
494
572
 
495
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
496
- :type execution_context: typing.Optional[typing.Union[str, int]]
497
- :type undo: typing.Optional[bool]
573
+ :type override_context: typing.Union[dict, bpy.types.Context]
574
+ :type execution_context: typing.Union[str, int]
575
+ :type undo: bool
498
576
  """
499
577
 
500
578
  ...
501
579
 
502
580
  def move_to_layer(
503
- override_context: typing.Optional[
504
- typing.Union[typing.Dict, "bpy.types.Context"]
505
- ] = None,
506
- execution_context: typing.Optional[typing.Union[str, int]] = None,
507
- undo: typing.Optional[bool] = None,
508
- *,
581
+ override_context: typing.Union[dict, bpy.types.Context] = None,
582
+ execution_context: typing.Union[str, int] = None,
583
+ undo: bool = None,
509
584
  target_layer_name: typing.Union[str, typing.Any] = "Layer",
510
- add_new_layer: typing.Optional[typing.Union[bool, typing.Any]] = False,
585
+ add_new_layer: typing.Union[bool, typing.Any] = False,
511
586
  ):
512
587
  """Move selected strokes to another layer
513
588
 
514
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
515
- :type execution_context: typing.Optional[typing.Union[str, int]]
516
- :type undo: typing.Optional[bool]
589
+ :type override_context: typing.Union[dict, bpy.types.Context]
590
+ :type execution_context: typing.Union[str, int]
591
+ :type undo: bool
517
592
  :param target_layer_name: Name, Target Grease Pencil Layer
518
593
  :type target_layer_name: typing.Union[str, typing.Any]
519
594
  :param add_new_layer: New Layer, Move selection to a new layer
520
- :type add_new_layer: typing.Optional[typing.Union[bool, typing.Any]]
595
+ :type add_new_layer: typing.Union[bool, typing.Any]
596
+ """
597
+
598
+ ...
599
+
600
+ def paste(
601
+ override_context: typing.Union[dict, bpy.types.Context] = None,
602
+ execution_context: typing.Union[str, int] = None,
603
+ undo: bool = None,
604
+ paste_back: typing.Union[bool, typing.Any] = False,
605
+ ):
606
+ """Paste Grease Pencil points or strokes from the internal clipboard to the active layer
607
+
608
+ :type override_context: typing.Union[dict, bpy.types.Context]
609
+ :type execution_context: typing.Union[str, int]
610
+ :type undo: bool
611
+ :param paste_back: Paste on Back, Add pasted strokes behind all strokes
612
+ :type paste_back: typing.Union[bool, typing.Any]
521
613
  """
522
614
 
523
615
  ...
524
616
 
525
617
  def reorder(
526
- override_context: typing.Optional[
527
- typing.Union[typing.Dict, "bpy.types.Context"]
528
- ] = None,
529
- execution_context: typing.Optional[typing.Union[str, int]] = None,
530
- undo: typing.Optional[bool] = None,
531
- *,
532
- direction: typing.Optional[typing.Any] = "TOP",
618
+ override_context: typing.Union[dict, bpy.types.Context] = None,
619
+ execution_context: typing.Union[str, int] = None,
620
+ undo: bool = None,
621
+ direction: typing.Any = "TOP",
533
622
  ):
534
623
  """Change the display order of the selected strokes
535
624
 
536
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
537
- :type execution_context: typing.Optional[typing.Union[str, int]]
538
- :type undo: typing.Optional[bool]
625
+ :type override_context: typing.Union[dict, bpy.types.Context]
626
+ :type execution_context: typing.Union[str, int]
627
+ :type undo: bool
539
628
  :param direction: Direction
540
- :type direction: typing.Optional[typing.Any]
629
+ :type direction: typing.Any
541
630
  """
542
631
 
543
632
  ...
544
633
 
545
634
  def select_all(
546
- override_context: typing.Optional[
547
- typing.Union[typing.Dict, "bpy.types.Context"]
548
- ] = None,
549
- execution_context: typing.Optional[typing.Union[str, int]] = None,
550
- undo: typing.Optional[bool] = None,
551
- *,
552
- action: typing.Optional[typing.Any] = "TOGGLE",
635
+ override_context: typing.Union[dict, bpy.types.Context] = None,
636
+ execution_context: typing.Union[str, int] = None,
637
+ undo: bool = None,
638
+ action: typing.Any = "TOGGLE",
553
639
  ):
554
640
  """(De)select all visible strokes
555
641
 
556
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
557
- :type execution_context: typing.Optional[typing.Union[str, int]]
558
- :type undo: typing.Optional[bool]
559
- :param action: Action, Selection action to execute * ``TOGGLE`` Toggle -- Toggle selection for all elements. * ``SELECT`` Select -- Select all elements. * ``DESELECT`` Deselect -- Deselect all elements. * ``INVERT`` Invert -- Invert selection of all elements.
560
- :type action: typing.Optional[typing.Any]
642
+ :type override_context: typing.Union[dict, bpy.types.Context]
643
+ :type execution_context: typing.Union[str, int]
644
+ :type undo: bool
645
+ :param action: Action, Selection action to execute
646
+
647
+ TOGGLE
648
+ Toggle -- Toggle selection for all elements.
649
+
650
+ SELECT
651
+ Select -- Select all elements.
652
+
653
+ DESELECT
654
+ Deselect -- Deselect all elements.
655
+
656
+ INVERT
657
+ Invert -- Invert selection of all elements.
658
+ :type action: typing.Any
561
659
  """
562
660
 
563
661
  ...
564
662
 
565
663
  def select_alternate(
566
- override_context: typing.Optional[
567
- typing.Union[typing.Dict, "bpy.types.Context"]
568
- ] = None,
569
- execution_context: typing.Optional[typing.Union[str, int]] = None,
570
- undo: typing.Optional[bool] = None,
571
- *,
572
- deselect_ends: typing.Optional[typing.Union[bool, typing.Any]] = False,
664
+ override_context: typing.Union[dict, bpy.types.Context] = None,
665
+ execution_context: typing.Union[str, int] = None,
666
+ undo: bool = None,
667
+ deselect_ends: typing.Union[bool, typing.Any] = False,
573
668
  ):
574
669
  """Select alternated points in strokes with already selected points
575
670
 
576
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
577
- :type execution_context: typing.Optional[typing.Union[str, int]]
578
- :type undo: typing.Optional[bool]
671
+ :type override_context: typing.Union[dict, bpy.types.Context]
672
+ :type execution_context: typing.Union[str, int]
673
+ :type undo: bool
579
674
  :param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
580
- :type deselect_ends: typing.Optional[typing.Union[bool, typing.Any]]
675
+ :type deselect_ends: typing.Union[bool, typing.Any]
581
676
  """
582
677
 
583
678
  ...
584
679
 
585
680
  def select_ends(
586
- override_context: typing.Optional[
587
- typing.Union[typing.Dict, "bpy.types.Context"]
588
- ] = None,
589
- execution_context: typing.Optional[typing.Union[str, int]] = None,
590
- undo: typing.Optional[bool] = None,
591
- *,
592
- amount_start: typing.Optional[typing.Any] = 0,
593
- amount_end: typing.Optional[typing.Any] = 1,
681
+ override_context: typing.Union[dict, bpy.types.Context] = None,
682
+ execution_context: typing.Union[str, int] = None,
683
+ undo: bool = None,
684
+ amount_start: typing.Any = 0,
685
+ amount_end: typing.Any = 1,
594
686
  ):
595
687
  """Select end points of strokes
596
688
 
597
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
598
- :type execution_context: typing.Optional[typing.Union[str, int]]
599
- :type undo: typing.Optional[bool]
689
+ :type override_context: typing.Union[dict, bpy.types.Context]
690
+ :type execution_context: typing.Union[str, int]
691
+ :type undo: bool
600
692
  :param amount_start: Amount Start, Number of points to select from the start
601
- :type amount_start: typing.Optional[typing.Any]
693
+ :type amount_start: typing.Any
602
694
  :param amount_end: Amount End, Number of points to select from the end
603
- :type amount_end: typing.Optional[typing.Any]
695
+ :type amount_end: typing.Any
604
696
  """
605
697
 
606
698
  ...
607
699
 
608
700
  def select_less(
609
- override_context: typing.Optional[
610
- typing.Union[typing.Dict, "bpy.types.Context"]
611
- ] = None,
612
- execution_context: typing.Optional[typing.Union[str, int]] = None,
613
- undo: typing.Optional[bool] = None,
701
+ override_context: typing.Union[dict, bpy.types.Context] = None,
702
+ execution_context: typing.Union[str, int] = None,
703
+ undo: bool = None,
614
704
  ):
615
705
  """Shrink the selection by one point
616
706
 
617
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
618
- :type execution_context: typing.Optional[typing.Union[str, int]]
619
- :type undo: typing.Optional[bool]
707
+ :type override_context: typing.Union[dict, bpy.types.Context]
708
+ :type execution_context: typing.Union[str, int]
709
+ :type undo: bool
620
710
  """
621
711
 
622
712
  ...
623
713
 
624
714
  def select_linked(
625
- override_context: typing.Optional[
626
- typing.Union[typing.Dict, "bpy.types.Context"]
627
- ] = None,
628
- execution_context: typing.Optional[typing.Union[str, int]] = None,
629
- undo: typing.Optional[bool] = None,
715
+ override_context: typing.Union[dict, bpy.types.Context] = None,
716
+ execution_context: typing.Union[str, int] = None,
717
+ undo: bool = None,
630
718
  ):
631
719
  """Select all points in curves with any point selection
632
720
 
633
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
634
- :type execution_context: typing.Optional[typing.Union[str, int]]
635
- :type undo: typing.Optional[bool]
721
+ :type override_context: typing.Union[dict, bpy.types.Context]
722
+ :type execution_context: typing.Union[str, int]
723
+ :type undo: bool
636
724
  """
637
725
 
638
726
  ...
639
727
 
640
728
  def select_more(
641
- override_context: typing.Optional[
642
- typing.Union[typing.Dict, "bpy.types.Context"]
643
- ] = None,
644
- execution_context: typing.Optional[typing.Union[str, int]] = None,
645
- undo: typing.Optional[bool] = None,
729
+ override_context: typing.Union[dict, bpy.types.Context] = None,
730
+ execution_context: typing.Union[str, int] = None,
731
+ undo: bool = None,
646
732
  ):
647
733
  """Grow the selection by one point
648
734
 
649
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
650
- :type execution_context: typing.Optional[typing.Union[str, int]]
651
- :type undo: typing.Optional[bool]
735
+ :type override_context: typing.Union[dict, bpy.types.Context]
736
+ :type execution_context: typing.Union[str, int]
737
+ :type undo: bool
652
738
  """
653
739
 
654
740
  ...
655
741
 
656
742
  def select_random(
657
- override_context: typing.Optional[
658
- typing.Union[typing.Dict, "bpy.types.Context"]
659
- ] = None,
660
- execution_context: typing.Optional[typing.Union[str, int]] = None,
661
- undo: typing.Optional[bool] = None,
662
- *,
663
- ratio: typing.Optional[typing.Any] = 0.5,
664
- seed: typing.Optional[typing.Any] = 0,
665
- action: typing.Optional[typing.Any] = "SELECT",
743
+ override_context: typing.Union[dict, bpy.types.Context] = None,
744
+ execution_context: typing.Union[str, int] = None,
745
+ undo: bool = None,
746
+ ratio: typing.Any = 0.5,
747
+ seed: typing.Any = 0,
748
+ action: typing.Any = "SELECT",
666
749
  ):
667
750
  """Selects random points from the current strokes selection
668
751
 
669
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
670
- :type execution_context: typing.Optional[typing.Union[str, int]]
671
- :type undo: typing.Optional[bool]
672
- :param ratio: Ratio, Portion of items to select randomly
673
- :type ratio: typing.Optional[typing.Any]
674
- :param seed: Random Seed, Seed for the random number generator
675
- :type seed: typing.Optional[typing.Any]
676
- :param action: Action, Selection action to execute * ``SELECT`` Select -- Select all elements. * ``DESELECT`` Deselect -- Deselect all elements.
677
- :type action: typing.Optional[typing.Any]
752
+ :type override_context: typing.Union[dict, bpy.types.Context]
753
+ :type execution_context: typing.Union[str, int]
754
+ :type undo: bool
755
+ :param ratio: Ratio, Portion of items to select randomly
756
+ :type ratio: typing.Any
757
+ :param seed: Random Seed, Seed for the random number generator
758
+ :type seed: typing.Any
759
+ :param action: Action, Selection action to execute
760
+
761
+ SELECT
762
+ Select -- Select all elements.
763
+
764
+ DESELECT
765
+ Deselect -- Deselect all elements.
766
+ :type action: typing.Any
678
767
  """
679
768
 
680
769
  ...
681
770
 
682
771
  def separate(
683
- override_context: typing.Optional[
684
- typing.Union[typing.Dict, "bpy.types.Context"]
685
- ] = None,
686
- execution_context: typing.Optional[typing.Union[str, int]] = None,
687
- undo: typing.Optional[bool] = None,
688
- *,
689
- mode: typing.Optional[typing.Any] = "SELECTED",
772
+ override_context: typing.Union[dict, bpy.types.Context] = None,
773
+ execution_context: typing.Union[str, int] = None,
774
+ undo: bool = None,
775
+ mode: typing.Any = "SELECTED",
690
776
  ):
691
777
  """Separate the selected geometry into a new grease pencil object
692
778
 
693
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
694
- :type execution_context: typing.Optional[typing.Union[str, int]]
695
- :type undo: typing.Optional[bool]
696
- :param mode: Mode * ``SELECTED`` Selection -- Separate selected geometry. * ``MATERIAL`` By Material -- Separate by material. * ``LAYER`` By Layer -- Separate by layer.
697
- :type mode: typing.Optional[typing.Any]
779
+ :type override_context: typing.Union[dict, bpy.types.Context]
780
+ :type execution_context: typing.Union[str, int]
781
+ :type undo: bool
782
+ :param mode: Mode
783
+
784
+ SELECTED
785
+ Selection -- Separate selected geometry.
786
+
787
+ MATERIAL
788
+ By Material -- Separate by material.
789
+
790
+ LAYER
791
+ By Layer -- Separate by layer.
792
+ :type mode: typing.Any
698
793
  """
699
794
 
700
795
  ...
701
796
 
702
797
  def set_active_material(
703
- override_context: typing.Optional[
704
- typing.Union[typing.Dict, "bpy.types.Context"]
705
- ] = None,
706
- execution_context: typing.Optional[typing.Union[str, int]] = None,
707
- undo: typing.Optional[bool] = None,
798
+ override_context: typing.Union[dict, bpy.types.Context] = None,
799
+ execution_context: typing.Union[str, int] = None,
800
+ undo: bool = None,
708
801
  ):
709
802
  """Set the selected stroke material as the active material
710
803
 
711
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
712
- :type execution_context: typing.Optional[typing.Union[str, int]]
713
- :type undo: typing.Optional[bool]
804
+ :type override_context: typing.Union[dict, bpy.types.Context]
805
+ :type execution_context: typing.Union[str, int]
806
+ :type undo: bool
714
807
  """
715
808
 
716
809
  ...
717
810
 
718
811
  def set_material(
719
- override_context: typing.Optional[
720
- typing.Union[typing.Dict, "bpy.types.Context"]
721
- ] = None,
722
- execution_context: typing.Optional[typing.Union[str, int]] = None,
723
- undo: typing.Optional[bool] = None,
724
- *,
725
- slot: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
812
+ override_context: typing.Union[dict, bpy.types.Context] = None,
813
+ execution_context: typing.Union[str, int] = None,
814
+ undo: bool = None,
815
+ slot: typing.Union[str, int, typing.Any] = "DEFAULT",
726
816
  ):
727
817
  """Set active material
728
818
 
729
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
730
- :type execution_context: typing.Optional[typing.Union[str, int]]
731
- :type undo: typing.Optional[bool]
819
+ :type override_context: typing.Union[dict, bpy.types.Context]
820
+ :type execution_context: typing.Union[str, int]
821
+ :type undo: bool
732
822
  :param slot: Material Slot
733
- :type slot: typing.Optional[typing.Union[str, int, typing.Any]]
823
+ :type slot: typing.Union[str, int, typing.Any]
734
824
  """
735
825
 
736
826
  ...
737
827
 
738
828
  def set_selection_mode(
739
- override_context: typing.Optional[
740
- typing.Union[typing.Dict, "bpy.types.Context"]
741
- ] = None,
742
- execution_context: typing.Optional[typing.Union[str, int]] = None,
743
- undo: typing.Optional[bool] = None,
744
- *,
745
- mode: typing.Optional[typing.Union[str, int]] = "POINT",
829
+ override_context: typing.Union[dict, bpy.types.Context] = None,
830
+ execution_context: typing.Union[str, int] = None,
831
+ undo: bool = None,
832
+ mode: typing.Any = "POINT",
746
833
  ):
747
834
  """Change the selection mode for Grease Pencil strokes
748
835
 
749
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
750
- :type execution_context: typing.Optional[typing.Union[str, int]]
751
- :type undo: typing.Optional[bool]
836
+ :type override_context: typing.Union[dict, bpy.types.Context]
837
+ :type execution_context: typing.Union[str, int]
838
+ :type undo: bool
752
839
  :param mode: Mode
753
- :type mode: typing.Optional[typing.Union[str, int]]
840
+ :type mode: typing.Any
754
841
  """
755
842
 
756
843
  ...
757
844
 
758
845
  def set_uniform_opacity(
759
- override_context: typing.Optional[
760
- typing.Union[typing.Dict, "bpy.types.Context"]
761
- ] = None,
762
- execution_context: typing.Optional[typing.Union[str, int]] = None,
763
- undo: typing.Optional[bool] = None,
764
- *,
765
- opacity: typing.Optional[typing.Any] = 1.0,
846
+ override_context: typing.Union[dict, bpy.types.Context] = None,
847
+ execution_context: typing.Union[str, int] = None,
848
+ undo: bool = None,
849
+ opacity: typing.Any = 1.0,
766
850
  ):
767
851
  """Set all stroke points to same opacity
768
852
 
769
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
770
- :type execution_context: typing.Optional[typing.Union[str, int]]
771
- :type undo: typing.Optional[bool]
853
+ :type override_context: typing.Union[dict, bpy.types.Context]
854
+ :type execution_context: typing.Union[str, int]
855
+ :type undo: bool
772
856
  :param opacity: Opacity
773
- :type opacity: typing.Optional[typing.Any]
857
+ :type opacity: typing.Any
774
858
  """
775
859
 
776
860
  ...
777
861
 
778
862
  def set_uniform_thickness(
779
- override_context: typing.Optional[
780
- typing.Union[typing.Dict, "bpy.types.Context"]
781
- ] = None,
782
- execution_context: typing.Optional[typing.Union[str, int]] = None,
783
- undo: typing.Optional[bool] = None,
784
- *,
785
- thickness: typing.Optional[typing.Any] = 0.1,
863
+ override_context: typing.Union[dict, bpy.types.Context] = None,
864
+ execution_context: typing.Union[str, int] = None,
865
+ undo: bool = None,
866
+ thickness: typing.Any = 0.1,
786
867
  ):
787
868
  """Set all stroke points to same thickness
788
869
 
789
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
790
- :type execution_context: typing.Optional[typing.Union[str, int]]
791
- :type undo: typing.Optional[bool]
870
+ :type override_context: typing.Union[dict, bpy.types.Context]
871
+ :type execution_context: typing.Union[str, int]
872
+ :type undo: bool
792
873
  :param thickness: Thickness, Thickness
793
- :type thickness: typing.Optional[typing.Any]
874
+ :type thickness: typing.Any
794
875
  """
795
876
 
796
877
  ...
797
878
 
798
879
  def stroke_material_set(
799
- override_context: typing.Optional[
800
- typing.Union[typing.Dict, "bpy.types.Context"]
801
- ] = None,
802
- execution_context: typing.Optional[typing.Union[str, int]] = None,
803
- undo: typing.Optional[bool] = None,
804
- *,
880
+ override_context: typing.Union[dict, bpy.types.Context] = None,
881
+ execution_context: typing.Union[str, int] = None,
882
+ undo: bool = None,
805
883
  material: typing.Union[str, typing.Any] = "",
806
884
  ):
807
885
  """Assign the active material slot to the selected strokes
808
886
 
809
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
810
- :type execution_context: typing.Optional[typing.Union[str, int]]
811
- :type undo: typing.Optional[bool]
887
+ :type override_context: typing.Union[dict, bpy.types.Context]
888
+ :type execution_context: typing.Union[str, int]
889
+ :type undo: bool
812
890
  :param material: Material, Name of the material
813
891
  :type material: typing.Union[str, typing.Any]
814
892
  """
@@ -816,121 +894,107 @@ def stroke_material_set(
816
894
  ...
817
895
 
818
896
  def stroke_simplify(
819
- override_context: typing.Optional[
820
- typing.Union[typing.Dict, "bpy.types.Context"]
821
- ] = None,
822
- execution_context: typing.Optional[typing.Union[str, int]] = None,
823
- undo: typing.Optional[bool] = None,
824
- *,
825
- factor: typing.Optional[typing.Any] = 0.01,
897
+ override_context: typing.Union[dict, bpy.types.Context] = None,
898
+ execution_context: typing.Union[str, int] = None,
899
+ undo: bool = None,
900
+ factor: typing.Any = 0.01,
826
901
  ):
827
902
  """Simplify selected strokes
828
903
 
829
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
830
- :type execution_context: typing.Optional[typing.Union[str, int]]
831
- :type undo: typing.Optional[bool]
904
+ :type override_context: typing.Union[dict, bpy.types.Context]
905
+ :type execution_context: typing.Union[str, int]
906
+ :type undo: bool
832
907
  :param factor: Factor
833
- :type factor: typing.Optional[typing.Any]
908
+ :type factor: typing.Any
834
909
  """
835
910
 
836
911
  ...
837
912
 
838
913
  def stroke_smooth(
839
- override_context: typing.Optional[
840
- typing.Union[typing.Dict, "bpy.types.Context"]
841
- ] = None,
842
- execution_context: typing.Optional[typing.Union[str, int]] = None,
843
- undo: typing.Optional[bool] = None,
844
- *,
845
- iterations: typing.Optional[typing.Any] = 10,
846
- factor: typing.Optional[typing.Any] = 1.0,
847
- smooth_ends: typing.Optional[typing.Union[bool, typing.Any]] = False,
848
- keep_shape: typing.Optional[typing.Union[bool, typing.Any]] = False,
849
- smooth_position: typing.Optional[typing.Union[bool, typing.Any]] = True,
850
- smooth_radius: typing.Optional[typing.Union[bool, typing.Any]] = True,
851
- smooth_opacity: typing.Optional[typing.Union[bool, typing.Any]] = False,
914
+ override_context: typing.Union[dict, bpy.types.Context] = None,
915
+ execution_context: typing.Union[str, int] = None,
916
+ undo: bool = None,
917
+ iterations: typing.Any = 10,
918
+ factor: typing.Any = 1.0,
919
+ smooth_ends: typing.Union[bool, typing.Any] = False,
920
+ keep_shape: typing.Union[bool, typing.Any] = False,
921
+ smooth_position: typing.Union[bool, typing.Any] = True,
922
+ smooth_radius: typing.Union[bool, typing.Any] = True,
923
+ smooth_opacity: typing.Union[bool, typing.Any] = False,
852
924
  ):
853
925
  """Smooth selected strokes
854
926
 
855
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
856
- :type execution_context: typing.Optional[typing.Union[str, int]]
857
- :type undo: typing.Optional[bool]
927
+ :type override_context: typing.Union[dict, bpy.types.Context]
928
+ :type execution_context: typing.Union[str, int]
929
+ :type undo: bool
858
930
  :param iterations: Iterations
859
- :type iterations: typing.Optional[typing.Any]
931
+ :type iterations: typing.Any
860
932
  :param factor: Factor
861
- :type factor: typing.Optional[typing.Any]
933
+ :type factor: typing.Any
862
934
  :param smooth_ends: Smooth Endpoints
863
- :type smooth_ends: typing.Optional[typing.Union[bool, typing.Any]]
935
+ :type smooth_ends: typing.Union[bool, typing.Any]
864
936
  :param keep_shape: Keep Shape
865
- :type keep_shape: typing.Optional[typing.Union[bool, typing.Any]]
937
+ :type keep_shape: typing.Union[bool, typing.Any]
866
938
  :param smooth_position: Position
867
- :type smooth_position: typing.Optional[typing.Union[bool, typing.Any]]
939
+ :type smooth_position: typing.Union[bool, typing.Any]
868
940
  :param smooth_radius: Radius
869
- :type smooth_radius: typing.Optional[typing.Union[bool, typing.Any]]
941
+ :type smooth_radius: typing.Union[bool, typing.Any]
870
942
  :param smooth_opacity: Opacity
871
- :type smooth_opacity: typing.Optional[typing.Union[bool, typing.Any]]
943
+ :type smooth_opacity: typing.Union[bool, typing.Any]
872
944
  """
873
945
 
874
946
  ...
875
947
 
876
948
  def stroke_subdivide(
877
- override_context: typing.Optional[
878
- typing.Union[typing.Dict, "bpy.types.Context"]
879
- ] = None,
880
- execution_context: typing.Optional[typing.Union[str, int]] = None,
881
- undo: typing.Optional[bool] = None,
882
- *,
883
- number_cuts: typing.Optional[typing.Any] = 1,
884
- only_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
949
+ override_context: typing.Union[dict, bpy.types.Context] = None,
950
+ execution_context: typing.Union[str, int] = None,
951
+ undo: bool = None,
952
+ number_cuts: typing.Any = 1,
953
+ only_selected: typing.Union[bool, typing.Any] = True,
885
954
  ):
886
955
  """Subdivide between continuous selected points of the stroke adding a point half way between them
887
956
 
888
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
889
- :type execution_context: typing.Optional[typing.Union[str, int]]
890
- :type undo: typing.Optional[bool]
957
+ :type override_context: typing.Union[dict, bpy.types.Context]
958
+ :type execution_context: typing.Union[str, int]
959
+ :type undo: bool
891
960
  :param number_cuts: Number of Cuts
892
- :type number_cuts: typing.Optional[typing.Any]
961
+ :type number_cuts: typing.Any
893
962
  :param only_selected: Selected Points, Smooth only selected points in the stroke
894
- :type only_selected: typing.Optional[typing.Union[bool, typing.Any]]
963
+ :type only_selected: typing.Union[bool, typing.Any]
895
964
  """
896
965
 
897
966
  ...
898
967
 
899
968
  def stroke_subdivide_smooth(
900
- override_context: typing.Optional[
901
- typing.Union[typing.Dict, "bpy.types.Context"]
902
- ] = None,
903
- execution_context: typing.Optional[typing.Union[str, int]] = None,
904
- undo: typing.Optional[bool] = None,
905
- *,
906
- GREASE_PENCIL_OT_stroke_subdivide: typing.Optional[typing.Any] = None,
907
- GREASE_PENCIL_OT_stroke_smooth: typing.Optional[typing.Any] = None,
969
+ override_context: typing.Union[dict, bpy.types.Context] = None,
970
+ execution_context: typing.Union[str, int] = None,
971
+ undo: bool = None,
972
+ GREASE_PENCIL_OT_stroke_subdivide: typing.Any = None,
973
+ GREASE_PENCIL_OT_stroke_smooth: typing.Any = None,
908
974
  ):
909
975
  """Subdivide strokes and smooth them
910
976
 
911
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
912
- :type execution_context: typing.Optional[typing.Union[str, int]]
913
- :type undo: typing.Optional[bool]
977
+ :type override_context: typing.Union[dict, bpy.types.Context]
978
+ :type execution_context: typing.Union[str, int]
979
+ :type undo: bool
914
980
  :param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
915
- :type GREASE_PENCIL_OT_stroke_subdivide: typing.Optional[typing.Any]
981
+ :type GREASE_PENCIL_OT_stroke_subdivide: typing.Any
916
982
  :param GREASE_PENCIL_OT_stroke_smooth: Smooth Stroke, Smooth selected strokes
917
- :type GREASE_PENCIL_OT_stroke_smooth: typing.Optional[typing.Any]
983
+ :type GREASE_PENCIL_OT_stroke_smooth: typing.Any
918
984
  """
919
985
 
920
986
  ...
921
987
 
922
988
  def stroke_switch_direction(
923
- override_context: typing.Optional[
924
- typing.Union[typing.Dict, "bpy.types.Context"]
925
- ] = None,
926
- execution_context: typing.Optional[typing.Union[str, int]] = None,
927
- undo: typing.Optional[bool] = None,
989
+ override_context: typing.Union[dict, bpy.types.Context] = None,
990
+ execution_context: typing.Union[str, int] = None,
991
+ undo: bool = None,
928
992
  ):
929
993
  """Change direction of the points of the selected strokes
930
994
 
931
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
932
- :type execution_context: typing.Optional[typing.Union[str, int]]
933
- :type undo: typing.Optional[bool]
995
+ :type override_context: typing.Union[dict, bpy.types.Context]
996
+ :type execution_context: typing.Union[str, int]
997
+ :type undo: bool
934
998
  """
935
999
 
936
1000
  ...