fake-bpy-module 20240224__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.
Files changed (293) hide show
  1. addon_utils/__init__.pyi +54 -10
  2. animsys_refactor/__init__.pyi +36 -6
  3. aud/__init__.pyi +132 -125
  4. bgl/__init__.pyi +2545 -546
  5. bl_app_override/__init__.pyi +14 -3
  6. bl_app_override/helpers/__init__.pyi +24 -2
  7. bl_app_template_utils/__init__.pyi +19 -4
  8. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
  9. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
  10. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
  11. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
  12. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
  13. bl_i18n_utils/merge_po/__init__.pyi +4 -1
  14. bl_i18n_utils/settings/__init__.pyi +53 -6
  15. bl_i18n_utils/utils/__init__.pyi +332 -44
  16. bl_i18n_utils/utils_cli/__init__.pyi +29 -6
  17. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
  18. bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
  19. bl_keymap_utils/io/__init__.pyi +44 -9
  20. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
  21. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
  22. bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
  23. bl_keymap_utils/versioning/__init__.pyi +4 -1
  24. bl_math/__init__.pyi +3 -3
  25. bl_operators/__init__.pyi +9 -2
  26. bl_operators/add_mesh_torus/__init__.pyi +171 -37
  27. bl_operators/anim/__init__.pyi +1065 -226
  28. bl_operators/assets/__init__.pyi +427 -92
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
  30. bl_operators/clip/__init__.pyi +1342 -287
  31. bl_operators/console/__init__.pyi +647 -140
  32. bl_operators/constraint/__init__.pyi +524 -112
  33. bl_operators/file/__init__.pyi +396 -84
  34. bl_operators/freestyle/__init__.pyi +532 -113
  35. bl_operators/geometry_nodes/__init__.pyi +2412 -596
  36. bl_operators/image/__init__.pyi +380 -82
  37. bl_operators/mesh/__init__.pyi +401 -85
  38. bl_operators/node/__init__.pyi +1756 -384
  39. bl_operators/object/__init__.pyi +2022 -552
  40. bl_operators/object_align/__init__.pyi +145 -31
  41. bl_operators/object_quick_effects/__init__.pyi +555 -124
  42. bl_operators/object_randomize_transform/__init__.pyi +136 -32
  43. bl_operators/presets/__init__.pyi +3516 -708
  44. bl_operators/rigidbody/__init__.pyi +401 -85
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
  46. bl_operators/sequencer/__init__.pyi +731 -149
  47. bl_operators/spreadsheet/__init__.pyi +145 -30
  48. bl_operators/userpref/__init__.pyi +3416 -824
  49. bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
  50. bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
  51. bl_operators/uvcalc_transform/__init__.pyi +344 -73
  52. bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
  53. bl_operators/view3d/__init__.pyi +697 -146
  54. bl_operators/wm/__init__.pyi +6287 -1533
  55. bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
  56. bl_rna_utils/data_path/__init__.pyi +12 -2
  57. bl_text_utils/external_editor/__init__.pyi +4 -1
  58. bl_ui/__init__.pyi +504 -106
  59. bl_ui/anim/__init__.pyi +164 -33
  60. bl_ui/asset_shelf/__init__.pyi +146 -31
  61. bl_ui/generic_ui_list/__init__.pyi +471 -99
  62. bl_ui/node_add_menu/__init__.pyi +196 -40
  63. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
  64. bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
  65. bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
  66. bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
  67. bl_ui/properties_animviz/__init__.pyi +32 -2
  68. bl_ui/properties_collection/__init__.pyi +787 -179
  69. bl_ui/properties_constraint/__init__.pyi +28635 -5523
  70. bl_ui/properties_data_armature/__init__.pyi +1905 -448
  71. bl_ui/properties_data_bone/__init__.pyi +1560 -336
  72. bl_ui/properties_data_camera/__init__.pyi +2269 -494
  73. bl_ui/properties_data_curve/__init__.pyi +2362 -534
  74. bl_ui/properties_data_curves/__init__.pyi +951 -203
  75. bl_ui/properties_data_empty/__init__.pyi +317 -69
  76. bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
  77. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
  78. bl_ui/properties_data_lattice/__init__.pyi +472 -104
  79. bl_ui/properties_data_light/__init__.pyi +1570 -337
  80. bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
  81. bl_ui/properties_data_mesh/__init__.pyi +3205 -767
  82. bl_ui/properties_data_metaball/__init__.pyi +774 -170
  83. bl_ui/properties_data_modifier/__init__.pyi +1554 -328
  84. bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
  85. bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
  86. bl_ui/properties_data_speaker/__init__.pyi +782 -168
  87. bl_ui/properties_data_volume/__init__.pyi +1243 -281
  88. bl_ui/properties_freestyle/__init__.pyi +4071 -1030
  89. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
  90. bl_ui/properties_mask_common/__init__.pyi +1256 -249
  91. bl_ui/properties_material/__init__.pyi +2351 -542
  92. bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
  93. bl_ui/properties_object/__init__.pyi +2179 -512
  94. bl_ui/properties_output/__init__.pyi +2956 -705
  95. bl_ui/properties_paint_common/__init__.pyi +947 -140
  96. bl_ui/properties_particle/__init__.pyi +8322 -1970
  97. bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
  98. bl_ui/properties_physics_common/__init__.pyi +200 -44
  99. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
  100. bl_ui/properties_physics_field/__init__.pyi +1695 -364
  101. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
  102. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
  103. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
  104. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
  105. bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
  106. bl_ui/properties_render/__init__.pyi +8312 -1933
  107. bl_ui/properties_scene/__init__.pyi +2211 -539
  108. bl_ui/properties_texture/__init__.pyi +4185 -1013
  109. bl_ui/properties_view_layer/__init__.pyi +2803 -664
  110. bl_ui/properties_workspace/__init__.pyi +626 -148
  111. bl_ui/properties_world/__init__.pyi +1092 -234
  112. bl_ui/space_clip/__init__.pyi +11475 -2805
  113. bl_ui/space_console/__init__.pyi +967 -202
  114. bl_ui/space_dopesheet/__init__.pyi +4260 -966
  115. bl_ui/space_filebrowser/__init__.pyi +4852 -1187
  116. bl_ui/space_graph/__init__.pyi +3251 -702
  117. bl_ui/space_image/__init__.pyi +12219 -2968
  118. bl_ui/space_info/__init__.pyi +964 -200
  119. bl_ui/space_nla/__init__.pyi +2756 -584
  120. bl_ui/space_node/__init__.pyi +5661 -1265
  121. bl_ui/space_outliner/__init__.pyi +2294 -478
  122. bl_ui/space_properties/__init__.pyi +417 -92
  123. bl_ui/space_sequencer/__init__.pyi +12436 -3009
  124. bl_ui/space_spreadsheet/__init__.pyi +184 -36
  125. bl_ui/space_statusbar/__init__.pyi +135 -30
  126. bl_ui/space_text/__init__.pyi +2556 -542
  127. bl_ui/space_time/__init__.pyi +1151 -243
  128. bl_ui/space_toolsystem_common/__init__.pyi +368 -66
  129. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
  130. bl_ui/space_topbar/__init__.pyi +4214 -887
  131. bl_ui/space_userpref/__init__.pyi +13920 -3468
  132. bl_ui/space_view3d/__init__.pyi +43701 -10599
  133. bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
  134. bl_ui/utils/__init__.pyi +42 -4
  135. bl_ui_utils/bug_report_url/__init__.pyi +4 -1
  136. bl_ui_utils/layout/__init__.pyi +4 -1
  137. blend_render_info/__init__.pyi +13 -3
  138. blf/__init__.pyi +5 -7
  139. bmesh/__init__.pyi +7 -7
  140. bmesh/geometry/__init__.pyi +5 -5
  141. bmesh/ops/__init__.pyi +490 -504
  142. bmesh/types/__init__.pyi +268 -262
  143. bmesh/utils/__init__.pyi +55 -55
  144. bpy/__init__.pyi +2 -2
  145. bpy/app/__init__.pyi +4 -5
  146. bpy/app/handlers/__init__.pyi +36 -36
  147. bpy/app/icons/__init__.pyi +8 -10
  148. bpy/app/timers/__init__.pyi +9 -11
  149. bpy/app/translations/__init__.pyi +20 -22
  150. bpy/msgbus/__init__.pyi +3 -12
  151. bpy/ops/action/__init__.pyi +350 -305
  152. bpy/ops/anim/__init__.pyi +464 -426
  153. bpy/ops/armature/__init__.pyi +392 -360
  154. bpy/ops/asset/__init__.pyi +166 -129
  155. bpy/ops/boid/__init__.pyi +64 -37
  156. bpy/ops/brush/__init__.pyi +78 -72
  157. bpy/ops/buttons/__init__.pyi +136 -122
  158. bpy/ops/cachefile/__init__.pyi +128 -123
  159. bpy/ops/camera/__init__.pyi +22 -24
  160. bpy/ops/clip/__init__.pyi +844 -735
  161. bpy/ops/cloth/__init__.pyi +10 -11
  162. bpy/ops/collection/__init__.pyi +38 -38
  163. bpy/ops/console/__init__.pyi +170 -141
  164. bpy/ops/constraint/__init__.pyi +156 -159
  165. bpy/ops/curve/__init__.pyi +518 -461
  166. bpy/ops/curves/__init__.pyi +188 -159
  167. bpy/ops/cycles/__init__.pyi +20 -18
  168. bpy/ops/dpaint/__init__.pyi +40 -30
  169. bpy/ops/ed/__init__.pyi +136 -107
  170. bpy/ops/export_anim/__init__.pyi +18 -19
  171. bpy/ops/export_mesh/__init__.pyi +26 -27
  172. bpy/ops/export_scene/__init__.pyi +313 -334
  173. bpy/ops/file/__init__.pyi +394 -304
  174. bpy/ops/fluid/__init__.pyi +114 -63
  175. bpy/ops/font/__init__.pyi +272 -245
  176. bpy/ops/geometry/__init__.pyi +92 -87
  177. bpy/ops/gizmogroup/__init__.pyi +24 -21
  178. bpy/ops/gpencil/__init__.pyi +1530 -1476
  179. bpy/ops/graph/__init__.pyi +680 -659
  180. bpy/ops/grease_pencil/__init__.pyi +510 -390
  181. bpy/ops/image/__init__.pyi +650 -603
  182. bpy/ops/import_anim/__init__.pyi +26 -27
  183. bpy/ops/import_curve/__init__.pyi +6 -7
  184. bpy/ops/import_mesh/__init__.pyi +18 -21
  185. bpy/ops/import_scene/__init__.pyi +86 -95
  186. bpy/ops/info/__init__.pyi +68 -55
  187. bpy/ops/lattice/__init__.pyi +70 -63
  188. bpy/ops/marker/__init__.pyi +110 -111
  189. bpy/ops/mask/__init__.pyi +352 -308
  190. bpy/ops/material/__init__.pyi +24 -12
  191. bpy/ops/mball/__init__.pyi +72 -75
  192. bpy/ops/mesh/__init__.pyi +2052 -2088
  193. bpy/ops/nla/__init__.pyi +369 -313
  194. bpy/ops/node/__init__.pyi +944 -805
  195. bpy/ops/object/__init__.pyi +2662 -2461
  196. bpy/ops/outliner/__init__.pyi +582 -431
  197. bpy/ops/paint/__init__.pyi +605 -516
  198. bpy/ops/paintcurve/__init__.pyi +72 -60
  199. bpy/ops/palette/__init__.pyi +54 -46
  200. bpy/ops/particle/__init__.pyi +302 -245
  201. bpy/ops/pose/__init__.pyi +366 -330
  202. bpy/ops/poselib/__init__.pyi +78 -64
  203. bpy/ops/preferences/__init__.pyi +361 -341
  204. bpy/ops/ptcache/__init__.pyi +56 -38
  205. bpy/ops/render/__init__.pyi +120 -117
  206. bpy/ops/rigidbody/__init__.pyi +114 -97
  207. bpy/ops/scene/__init__.pyi +302 -240
  208. bpy/ops/screen/__init__.pyi +414 -363
  209. bpy/ops/script/__init__.pyi +20 -18
  210. bpy/ops/sculpt/__init__.pyi +414 -452
  211. bpy/ops/sculpt_curves/__init__.pyi +42 -43
  212. bpy/ops/sequencer/__init__.pyi +1094 -1053
  213. bpy/ops/sound/__init__.pyi +214 -206
  214. bpy/ops/spreadsheet/__init__.pyi +34 -28
  215. bpy/ops/surface/__init__.pyi +108 -114
  216. bpy/ops/text/__init__.pyi +432 -350
  217. bpy/ops/text_editor/__init__.pyi +10 -11
  218. bpy/ops/texture/__init__.pyi +32 -21
  219. bpy/ops/transform/__init__.pyi +801 -854
  220. bpy/ops/ui/__init__.pyi +254 -185
  221. bpy/ops/uilist/__init__.pyi +20 -23
  222. bpy/ops/uv/__init__.pyi +618 -626
  223. bpy/ops/view2d/__init__.pyi +162 -161
  224. bpy/ops/view3d/__init__.pyi +669 -658
  225. bpy/ops/wm/__init__.pyi +2433 -2415
  226. bpy/ops/workspace/__init__.pyi +54 -31
  227. bpy/ops/world/__init__.pyi +8 -4
  228. bpy/path/__init__.pyi +111 -68
  229. bpy/props/__init__.pyi +263 -267
  230. bpy/types/__init__.pyi +86789 -85719
  231. bpy/utils/__init__.pyi +265 -123
  232. bpy/utils/previews/__init__.pyi +103 -17
  233. bpy/utils/units/__init__.pyi +19 -22
  234. bpy_extras/__init__.pyi +0 -4
  235. bpy_extras/anim_utils/__init__.pyi +11 -46
  236. bpy_extras/asset_utils/__init__.pyi +3 -12
  237. bpy_extras/id_map_utils/__init__.pyi +0 -2
  238. bpy_extras/image_utils/__init__.pyi +2 -2
  239. bpy_extras/io_utils/__init__.pyi +30 -27
  240. bpy_extras/keyconfig_utils/__init__.pyi +4 -1
  241. bpy_extras/mesh_utils/__init__.pyi +18 -18
  242. bpy_extras/node_utils/__init__.pyi +4 -3
  243. bpy_extras/object_utils/__init__.pyi +25 -26
  244. bpy_extras/view3d_utils/__init__.pyi +33 -38
  245. bpy_restrict_state/__init__.pyi +14 -1
  246. bpy_types/__init__.pyi +3873 -997
  247. console_python/__init__.pyi +41 -7
  248. console_shell/__init__.pyi +24 -5
  249. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  250. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  251. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  252. freestyle/chainingiterators/__init__.pyi +50 -52
  253. freestyle/functions/__init__.pyi +303 -207
  254. freestyle/predicates/__init__.pyi +299 -115
  255. freestyle/shaders/__init__.pyi +49 -80
  256. freestyle/types/__init__.pyi +465 -472
  257. freestyle/utils/ContextFunctions/__init__.pyi +9 -9
  258. freestyle/utils/__init__.pyi +28 -18
  259. gpu/capabilities/__init__.pyi +27 -19
  260. gpu/matrix/__init__.pyi +14 -16
  261. gpu/platform/__init__.pyi +5 -5
  262. gpu/shader/__init__.pyi +2 -5
  263. gpu/state/__init__.pyi +1 -1
  264. gpu/texture/__init__.pyi +3 -3
  265. gpu/types/__init__.pyi +54 -85
  266. gpu_extras/batch/__init__.pyi +27 -5
  267. gpu_extras/presets/__init__.pyi +52 -14
  268. graphviz_export/__init__.pyi +9 -2
  269. idprop/types/__init__.pyi +36 -12
  270. imbuf/__init__.pyi +8 -9
  271. imbuf/types/__init__.pyi +8 -15
  272. keyingsets_builtins/__init__.pyi +3149 -701
  273. keyingsets_utils/__init__.pyi +69 -14
  274. mathutils/__init__.pyi +502 -427
  275. mathutils/bvhtree/__init__.pyi +28 -32
  276. mathutils/geometry/__init__.pyi +177 -186
  277. mathutils/kdtree/__init__.pyi +16 -18
  278. mathutils/noise/__init__.pyi +47 -48
  279. nodeitems_builtins/__init__.pyi +50 -10
  280. nodeitems_utils/__init__.pyi +58 -10
  281. rna_info/__init__.pyi +230 -26
  282. rna_keymap_ui/__init__.pyi +29 -6
  283. rna_prop_ui/__init__.pyi +69 -12
  284. rna_xml/__init__.pyi +29 -6
  285. sys_info/__init__.pyi +4 -1
  286. bpy_extras/bmesh_utils/__init__.pyi +0 -6
  287. bpy_extras/extensions/__init__.pyi +0 -4
  288. bpy_extras/extensions/junction_module/__init__.pyi +0 -12
  289. bpy_extras/node_shader_utils/__init__.pyi +0 -131
  290. bpy_extras/wm_utils/__init__.pyi +0 -4
  291. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
  292. fake_bpy_module-20240224.dist-info/RECORD +0 -349
  293. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -3,134 +3,139 @@ import bpy.types
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
- def add_simple_uvs(override_context=None, execution_context=None, undo=None):
6
+ def add_simple_uvs(
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
10
+ ):
7
11
  """Add cube map UVs on mesh
8
12
 
9
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
10
- :type execution_context: typing.Optional[typing.Union[int, str]]
11
- :type undo: typing.Optional[bool]
13
+ :type override_context: typing.Union[dict, bpy.types.Context]
14
+ :type execution_context: typing.Union[str, int]
15
+ :type undo: bool
12
16
  """
13
17
 
14
18
  ...
15
19
 
16
20
  def add_texture_paint_slot(
17
- override_context=None,
18
- execution_context=None,
19
- undo=None,
20
- *,
21
- type: typing.Optional[typing.Any] = "BASE_COLOR",
22
- slot_type: typing.Optional[typing.Any] = "IMAGE",
21
+ override_context: typing.Union[dict, bpy.types.Context] = None,
22
+ execution_context: typing.Union[str, int] = None,
23
+ undo: bool = None,
24
+ type: typing.Any = "BASE_COLOR",
25
+ slot_type: typing.Any = "IMAGE",
23
26
  name: typing.Union[str, typing.Any] = "Untitled",
24
- color: typing.Optional[typing.Any] = (0.0, 0.0, 0.0, 1.0),
25
- width: typing.Optional[typing.Any] = 1024,
26
- height: typing.Optional[typing.Any] = 1024,
27
- alpha: typing.Optional[typing.Union[bool, typing.Any]] = True,
28
- generated_type: typing.Optional[typing.Any] = "BLANK",
29
- float: typing.Optional[typing.Union[bool, typing.Any]] = False,
30
- domain: typing.Optional[typing.Any] = "POINT",
31
- data_type: typing.Optional[typing.Any] = "FLOAT_COLOR",
27
+ color: typing.Any = (0.0, 0.0, 0.0, 1.0),
28
+ width: typing.Any = 1024,
29
+ height: typing.Any = 1024,
30
+ alpha: typing.Union[bool, typing.Any] = True,
31
+ generated_type: typing.Any = "BLANK",
32
+ float: typing.Union[bool, typing.Any] = False,
33
+ domain: typing.Any = "POINT",
34
+ data_type: typing.Any = "FLOAT_COLOR",
32
35
  ):
33
36
  """Add a paint slot
34
37
 
35
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
36
- :type execution_context: typing.Optional[typing.Union[int, str]]
37
- :type undo: typing.Optional[bool]
38
+ :type override_context: typing.Union[dict, bpy.types.Context]
39
+ :type execution_context: typing.Union[str, int]
40
+ :type undo: bool
38
41
  :param type: Material Layer Type, Material layer type of new paint slot
39
- :type type: typing.Optional[typing.Any]
42
+ :type type: typing.Any
40
43
  :param slot_type: Slot Type, Type of new paint slot
41
- :type slot_type: typing.Optional[typing.Any]
44
+ :type slot_type: typing.Any
42
45
  :param name: Name, Name for new paint slot source
43
46
  :type name: typing.Union[str, typing.Any]
44
47
  :param color: Color, Default fill color
45
- :type color: typing.Optional[typing.Any]
48
+ :type color: typing.Any
46
49
  :param width: Width, Image width
47
- :type width: typing.Optional[typing.Any]
50
+ :type width: typing.Any
48
51
  :param height: Height, Image height
49
- :type height: typing.Optional[typing.Any]
52
+ :type height: typing.Any
50
53
  :param alpha: Alpha, Create an image with an alpha channel
51
- :type alpha: typing.Optional[typing.Union[bool, typing.Any]]
54
+ :type alpha: typing.Union[bool, typing.Any]
52
55
  :param generated_type: Generated Type, Fill the image with a grid for UV map testing
53
- :type generated_type: typing.Optional[typing.Any]
56
+ :type generated_type: typing.Any
54
57
  :param float: 32-bit Float, Create image with 32-bit floating-point bit depth
55
- :type float: typing.Optional[typing.Union[bool, typing.Any]]
58
+ :type float: typing.Union[bool, typing.Any]
56
59
  :param domain: Domain, Type of element that attribute is stored on
57
- :type domain: typing.Optional[typing.Any]
60
+ :type domain: typing.Any
58
61
  :param data_type: Data Type, Type of data stored in attribute
59
- :type data_type: typing.Optional[typing.Any]
62
+ :type data_type: typing.Any
60
63
  """
61
64
 
62
65
  ...
63
66
 
64
- def brush_colors_flip(override_context=None, execution_context=None, undo=None):
67
+ def brush_colors_flip(
68
+ override_context: typing.Union[dict, bpy.types.Context] = None,
69
+ execution_context: typing.Union[str, int] = None,
70
+ undo: bool = None,
71
+ ):
65
72
  """Swap primary and secondary brush colors
66
73
 
67
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
68
- :type execution_context: typing.Optional[typing.Union[int, str]]
69
- :type undo: typing.Optional[bool]
74
+ :type override_context: typing.Union[dict, bpy.types.Context]
75
+ :type execution_context: typing.Union[str, int]
76
+ :type undo: bool
70
77
  """
71
78
 
72
79
  ...
73
80
 
74
81
  def brush_select(
75
- override_context=None,
76
- execution_context=None,
77
- undo=None,
78
- *,
79
- sculpt_tool: typing.Optional[typing.Any] = "DRAW",
80
- vertex_tool: typing.Optional[typing.Any] = "DRAW",
81
- weight_tool: typing.Optional[typing.Any] = "DRAW",
82
- image_tool: typing.Optional[typing.Any] = "DRAW",
83
- gpencil_tool: typing.Optional[typing.Any] = "DRAW",
84
- gpencil_vertex_tool: typing.Optional[typing.Any] = "DRAW",
85
- gpencil_sculpt_tool: typing.Optional[typing.Any] = "SMOOTH",
86
- gpencil_weight_tool: typing.Optional[typing.Any] = "WEIGHT",
87
- curves_sculpt_tool: typing.Optional[typing.Any] = "COMB",
88
- toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
89
- create_missing: typing.Optional[typing.Union[bool, typing.Any]] = False,
82
+ override_context: typing.Union[dict, bpy.types.Context] = None,
83
+ execution_context: typing.Union[str, int] = None,
84
+ undo: bool = None,
85
+ sculpt_tool: typing.Any = "DRAW",
86
+ vertex_tool: typing.Any = "DRAW",
87
+ weight_tool: typing.Any = "DRAW",
88
+ image_tool: typing.Any = "DRAW",
89
+ gpencil_tool: typing.Any = "DRAW",
90
+ gpencil_vertex_tool: typing.Any = "DRAW",
91
+ gpencil_sculpt_tool: typing.Any = "SMOOTH",
92
+ gpencil_weight_tool: typing.Any = "WEIGHT",
93
+ curves_sculpt_tool: typing.Any = "COMB",
94
+ toggle: typing.Union[bool, typing.Any] = False,
95
+ create_missing: typing.Union[bool, typing.Any] = False,
90
96
  ):
91
97
  """Select a paint mode's brush by tool type
92
98
 
93
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
94
- :type execution_context: typing.Optional[typing.Union[int, str]]
95
- :type undo: typing.Optional[bool]
99
+ :type override_context: typing.Union[dict, bpy.types.Context]
100
+ :type execution_context: typing.Union[str, int]
101
+ :type undo: bool
96
102
  :param sculpt_tool: sculpt_tool
97
- :type sculpt_tool: typing.Optional[typing.Any]
103
+ :type sculpt_tool: typing.Any
98
104
  :param vertex_tool: vertex_tool
99
- :type vertex_tool: typing.Optional[typing.Any]
105
+ :type vertex_tool: typing.Any
100
106
  :param weight_tool: weight_tool
101
- :type weight_tool: typing.Optional[typing.Any]
107
+ :type weight_tool: typing.Any
102
108
  :param image_tool: image_tool
103
- :type image_tool: typing.Optional[typing.Any]
109
+ :type image_tool: typing.Any
104
110
  :param gpencil_tool: gpencil_tool
105
- :type gpencil_tool: typing.Optional[typing.Any]
111
+ :type gpencil_tool: typing.Any
106
112
  :param gpencil_vertex_tool: gpencil_vertex_tool
107
- :type gpencil_vertex_tool: typing.Optional[typing.Any]
113
+ :type gpencil_vertex_tool: typing.Any
108
114
  :param gpencil_sculpt_tool: gpencil_sculpt_tool
109
- :type gpencil_sculpt_tool: typing.Optional[typing.Any]
115
+ :type gpencil_sculpt_tool: typing.Any
110
116
  :param gpencil_weight_tool: gpencil_weight_tool
111
- :type gpencil_weight_tool: typing.Optional[typing.Any]
117
+ :type gpencil_weight_tool: typing.Any
112
118
  :param curves_sculpt_tool: curves_sculpt_tool
113
- :type curves_sculpt_tool: typing.Optional[typing.Any]
119
+ :type curves_sculpt_tool: typing.Any
114
120
  :param toggle: Toggle, Toggle between two brushes rather than cycling
115
- :type toggle: typing.Optional[typing.Union[bool, typing.Any]]
121
+ :type toggle: typing.Union[bool, typing.Any]
116
122
  :param create_missing: Create Missing, If the requested brush type does not exist, create a new brush
117
- :type create_missing: typing.Optional[typing.Union[bool, typing.Any]]
123
+ :type create_missing: typing.Union[bool, typing.Any]
118
124
  """
119
125
 
120
126
  ...
121
127
 
122
128
  def face_select_all(
123
- override_context=None,
124
- execution_context=None,
125
- undo=None,
126
- *,
127
- action: typing.Optional[typing.Any] = "TOGGLE",
129
+ override_context: typing.Union[dict, bpy.types.Context] = None,
130
+ execution_context: typing.Union[str, int] = None,
131
+ undo: bool = None,
132
+ action: typing.Any = "TOGGLE",
128
133
  ):
129
134
  """Change selection for all faces
130
135
 
131
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
132
- :type execution_context: typing.Optional[typing.Union[int, str]]
133
- :type undo: typing.Optional[bool]
136
+ :type override_context: typing.Union[dict, bpy.types.Context]
137
+ :type execution_context: typing.Union[str, int]
138
+ :type undo: bool
134
139
  :param action: Action, Selection action to execute
135
140
 
136
141
  TOGGLE
@@ -144,168 +149,175 @@ def face_select_all(
144
149
 
145
150
  INVERT
146
151
  Invert -- Invert selection of all elements.
147
- :type action: typing.Optional[typing.Any]
152
+ :type action: typing.Any
148
153
  """
149
154
 
150
155
  ...
151
156
 
152
157
  def face_select_hide(
153
- override_context=None,
154
- execution_context=None,
155
- undo=None,
156
- *,
157
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
158
+ override_context: typing.Union[dict, bpy.types.Context] = None,
159
+ execution_context: typing.Union[str, int] = None,
160
+ undo: bool = None,
161
+ unselected: typing.Union[bool, typing.Any] = False,
158
162
  ):
159
163
  """Hide selected faces
160
164
 
161
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
162
- :type execution_context: typing.Optional[typing.Union[int, str]]
163
- :type undo: typing.Optional[bool]
165
+ :type override_context: typing.Union[dict, bpy.types.Context]
166
+ :type execution_context: typing.Union[str, int]
167
+ :type undo: bool
164
168
  :param unselected: Unselected, Hide unselected rather than selected objects
165
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
169
+ :type unselected: typing.Union[bool, typing.Any]
166
170
  """
167
171
 
168
172
  ...
169
173
 
170
174
  def face_select_less(
171
- override_context=None,
172
- execution_context=None,
173
- undo=None,
174
- *,
175
- face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
175
+ override_context: typing.Union[dict, bpy.types.Context] = None,
176
+ execution_context: typing.Union[str, int] = None,
177
+ undo: bool = None,
178
+ face_step: typing.Union[bool, typing.Any] = True,
176
179
  ):
177
180
  """Deselect Faces connected to existing selection
178
181
 
179
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
180
- :type execution_context: typing.Optional[typing.Union[int, str]]
181
- :type undo: typing.Optional[bool]
182
+ :type override_context: typing.Union[dict, bpy.types.Context]
183
+ :type execution_context: typing.Union[str, int]
184
+ :type undo: bool
182
185
  :param face_step: Face Step, Also deselect faces that only touch on a corner
183
- :type face_step: typing.Optional[typing.Union[bool, typing.Any]]
186
+ :type face_step: typing.Union[bool, typing.Any]
184
187
  """
185
188
 
186
189
  ...
187
190
 
188
- def face_select_linked(override_context=None, execution_context=None, undo=None):
191
+ def face_select_linked(
192
+ override_context: typing.Union[dict, bpy.types.Context] = None,
193
+ execution_context: typing.Union[str, int] = None,
194
+ undo: bool = None,
195
+ ):
189
196
  """Select linked faces
190
197
 
191
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
192
- :type execution_context: typing.Optional[typing.Union[int, str]]
193
- :type undo: typing.Optional[bool]
198
+ :type override_context: typing.Union[dict, bpy.types.Context]
199
+ :type execution_context: typing.Union[str, int]
200
+ :type undo: bool
194
201
  """
195
202
 
196
203
  ...
197
204
 
198
205
  def face_select_linked_pick(
199
- override_context=None,
200
- execution_context=None,
201
- undo=None,
202
- *,
203
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
206
+ override_context: typing.Union[dict, bpy.types.Context] = None,
207
+ execution_context: typing.Union[str, int] = None,
208
+ undo: bool = None,
209
+ deselect: typing.Union[bool, typing.Any] = False,
204
210
  ):
205
211
  """Select linked faces under the cursor
206
212
 
207
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
208
- :type execution_context: typing.Optional[typing.Union[int, str]]
209
- :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
210
216
  :param deselect: Deselect, Deselect rather than select items
211
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
217
+ :type deselect: typing.Union[bool, typing.Any]
212
218
  """
213
219
 
214
220
  ...
215
221
 
216
222
  def face_select_loop(
217
- override_context=None,
218
- execution_context=None,
219
- undo=None,
220
- *,
221
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
222
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
223
+ override_context: typing.Union[dict, bpy.types.Context] = None,
224
+ execution_context: typing.Union[str, int] = None,
225
+ undo: bool = None,
226
+ select: typing.Union[bool, typing.Any] = True,
227
+ extend: typing.Union[bool, typing.Any] = False,
223
228
  ):
224
229
  """Select face loop under the cursor
225
230
 
226
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
227
- :type execution_context: typing.Optional[typing.Union[int, str]]
228
- :type undo: typing.Optional[bool]
231
+ :type override_context: typing.Union[dict, bpy.types.Context]
232
+ :type execution_context: typing.Union[str, int]
233
+ :type undo: bool
229
234
  :param select: Select, If false, faces will be deselected
230
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
235
+ :type select: typing.Union[bool, typing.Any]
231
236
  :param extend: Extend, Extend the selection
232
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
237
+ :type extend: typing.Union[bool, typing.Any]
233
238
  """
234
239
 
235
240
  ...
236
241
 
237
242
  def face_select_more(
238
- override_context=None,
239
- execution_context=None,
240
- undo=None,
241
- *,
242
- face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
243
+ override_context: typing.Union[dict, bpy.types.Context] = None,
244
+ execution_context: typing.Union[str, int] = None,
245
+ undo: bool = None,
246
+ face_step: typing.Union[bool, typing.Any] = True,
243
247
  ):
244
248
  """Select Faces connected to existing selection
245
249
 
246
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
247
- :type execution_context: typing.Optional[typing.Union[int, str]]
248
- :type undo: typing.Optional[bool]
250
+ :type override_context: typing.Union[dict, bpy.types.Context]
251
+ :type execution_context: typing.Union[str, int]
252
+ :type undo: bool
249
253
  :param face_step: Face Step, Also select faces that only touch on a corner
250
- :type face_step: typing.Optional[typing.Union[bool, typing.Any]]
254
+ :type face_step: typing.Union[bool, typing.Any]
251
255
  """
252
256
 
253
257
  ...
254
258
 
255
259
  def face_vert_reveal(
256
- override_context=None,
257
- execution_context=None,
258
- undo=None,
259
- *,
260
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
260
+ override_context: typing.Union[dict, bpy.types.Context] = None,
261
+ execution_context: typing.Union[str, int] = None,
262
+ undo: bool = None,
263
+ select: typing.Union[bool, typing.Any] = True,
261
264
  ):
262
265
  """Reveal hidden faces and vertices
263
266
 
264
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
265
- :type execution_context: typing.Optional[typing.Union[int, str]]
266
- :type undo: typing.Optional[bool]
267
+ :type override_context: typing.Union[dict, bpy.types.Context]
268
+ :type execution_context: typing.Union[str, int]
269
+ :type undo: bool
267
270
  :param select: Select, Specifies whether the newly revealed geometry should be selected
268
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
271
+ :type select: typing.Union[bool, typing.Any]
269
272
  """
270
273
 
271
274
  ...
272
275
 
273
276
  def grab_clone(
274
- override_context=None,
275
- execution_context=None,
276
- undo=None,
277
- *,
278
- delta: typing.Optional[typing.Any] = (0.0, 0.0),
277
+ override_context: typing.Union[dict, bpy.types.Context] = None,
278
+ execution_context: typing.Union[str, int] = None,
279
+ undo: bool = None,
280
+ delta: typing.Any = (0.0, 0.0),
279
281
  ):
280
282
  """Move the clone source image
281
283
 
282
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
283
- :type execution_context: typing.Optional[typing.Union[int, str]]
284
- :type undo: typing.Optional[bool]
284
+ :type override_context: typing.Union[dict, bpy.types.Context]
285
+ :type execution_context: typing.Union[str, int]
286
+ :type undo: bool
285
287
  :param delta: Delta, Delta offset of clone image in 0.0 to 1.0 coordinates
286
- :type delta: typing.Optional[typing.Any]
288
+ :type delta: typing.Any
287
289
  """
288
290
 
289
291
  ...
290
292
 
291
293
  def hide_show(
292
- override_context=None,
293
- execution_context=None,
294
- undo=None,
295
- *,
296
- action: typing.Optional[typing.Any] = "HIDE",
297
- area: typing.Optional[typing.Any] = "INSIDE",
298
- xmin: typing.Optional[typing.Any] = 0,
299
- xmax: typing.Optional[typing.Any] = 0,
300
- ymin: typing.Optional[typing.Any] = 0,
301
- ymax: typing.Optional[typing.Any] = 0,
302
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
294
+ override_context: typing.Union[dict, bpy.types.Context] = None,
295
+ execution_context: typing.Union[str, int] = None,
296
+ undo: bool = None,
297
+ xmin: typing.Any = 0,
298
+ xmax: typing.Any = 0,
299
+ ymin: typing.Any = 0,
300
+ ymax: typing.Any = 0,
301
+ wait_for_input: typing.Union[bool, typing.Any] = True,
302
+ action: typing.Any = "HIDE",
303
+ area: typing.Any = "Inside",
304
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
303
305
  ):
304
306
  """Hide/show some vertices
305
307
 
306
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
307
- :type execution_context: typing.Optional[typing.Union[int, str]]
308
- :type undo: typing.Optional[bool]
308
+ :type override_context: typing.Union[dict, bpy.types.Context]
309
+ :type execution_context: typing.Union[str, int]
310
+ :type undo: bool
311
+ :param xmin: X Min
312
+ :type xmin: typing.Any
313
+ :param xmax: X Max
314
+ :type xmax: typing.Any
315
+ :param ymin: Y Min
316
+ :type ymin: typing.Any
317
+ :param ymax: Y Max
318
+ :type ymax: typing.Any
319
+ :param wait_for_input: Wait for Input
320
+ :type wait_for_input: typing.Union[bool, typing.Any]
309
321
  :param action: Visibility Action, Whether to hide or show vertices
310
322
 
311
323
  HIDE
@@ -313,47 +325,116 @@ def hide_show(
313
325
 
314
326
  SHOW
315
327
  Show -- Show vertices.
316
- :type action: typing.Optional[typing.Any]
328
+ :type action: typing.Any
317
329
  :param area: Visibility Area, Which vertices to hide or show
318
330
 
319
331
  OUTSIDE
320
332
  Outside -- Hide or show vertices outside the selection.
321
333
 
322
- INSIDE
334
+ Inside
323
335
  Inside -- Hide or show vertices inside the selection.
336
+ :type area: typing.Any
337
+ :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
338
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
339
+ """
324
340
 
325
- ALL
326
- All -- Hide or show all vertices.
341
+ ...
327
342
 
328
- MASKED
329
- Masked -- Hide or show vertices that are masked (minimum mask value of 0.5).
330
- :type area: typing.Optional[typing.Any]
331
- :param xmin: X Min
332
- :type xmin: typing.Optional[typing.Any]
333
- :param xmax: X Max
334
- :type xmax: typing.Optional[typing.Any]
335
- :param ymin: Y Min
336
- :type ymin: typing.Optional[typing.Any]
337
- :param ymax: Y Max
338
- :type ymax: typing.Optional[typing.Any]
339
- :param wait_for_input: Wait for Input
340
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
343
+ def hide_show_all(
344
+ override_context: typing.Union[dict, bpy.types.Context] = None,
345
+ execution_context: typing.Union[str, int] = None,
346
+ undo: bool = None,
347
+ action: typing.Any = "HIDE",
348
+ ):
349
+ """Hide/show all vertices
350
+
351
+ :type override_context: typing.Union[dict, bpy.types.Context]
352
+ :type execution_context: typing.Union[str, int]
353
+ :type undo: bool
354
+ :param action: Visibility Action, Whether to hide or show vertices
355
+
356
+ HIDE
357
+ Hide -- Hide vertices.
358
+
359
+ SHOW
360
+ Show -- Show vertices.
361
+ :type action: typing.Any
362
+ """
363
+
364
+ ...
365
+
366
+ def hide_show_lasso_gesture(
367
+ override_context: typing.Union[dict, bpy.types.Context] = None,
368
+ execution_context: typing.Union[str, int] = None,
369
+ undo: bool = None,
370
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
371
+ action: typing.Any = "HIDE",
372
+ area: typing.Any = "Inside",
373
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
374
+ ):
375
+ """Hide/show some vertices
376
+
377
+ :type override_context: typing.Union[dict, bpy.types.Context]
378
+ :type execution_context: typing.Union[str, int]
379
+ :type undo: bool
380
+ :param path: Path
381
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
382
+ :param action: Visibility Action, Whether to hide or show vertices
383
+
384
+ HIDE
385
+ Hide -- Hide vertices.
386
+
387
+ SHOW
388
+ Show -- Show vertices.
389
+ :type action: typing.Any
390
+ :param area: Visibility Area, Which vertices to hide or show
391
+
392
+ OUTSIDE
393
+ Outside -- Hide or show vertices outside the selection.
394
+
395
+ Inside
396
+ Inside -- Hide or show vertices inside the selection.
397
+ :type area: typing.Any
398
+ :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
399
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
400
+ """
401
+
402
+ ...
403
+
404
+ def hide_show_masked(
405
+ override_context: typing.Union[dict, bpy.types.Context] = None,
406
+ execution_context: typing.Union[str, int] = None,
407
+ undo: bool = None,
408
+ action: typing.Any = "HIDE",
409
+ ):
410
+ """Hide/show all masked vertices above a threshold
411
+
412
+ :type override_context: typing.Union[dict, bpy.types.Context]
413
+ :type execution_context: typing.Union[str, int]
414
+ :type undo: bool
415
+ :param action: Visibility Action, Whether to hide or show vertices
416
+
417
+ HIDE
418
+ Hide -- Hide vertices.
419
+
420
+ SHOW
421
+ Show -- Show vertices.
422
+ :type action: typing.Any
341
423
  """
342
424
 
343
425
  ...
344
426
 
345
427
  def image_from_view(
346
- override_context=None,
347
- execution_context=None,
348
- undo=None,
349
- *,
428
+ override_context: typing.Union[dict, bpy.types.Context] = None,
429
+ execution_context: typing.Union[str, int] = None,
430
+ undo: bool = None,
350
431
  filepath: typing.Union[str, typing.Any] = "",
351
432
  ):
352
433
  """Make an image from biggest 3D view for reprojection
353
434
 
354
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
355
- :type execution_context: typing.Optional[typing.Union[int, str]]
356
- :type undo: typing.Optional[bool]
435
+ :type override_context: typing.Union[dict, bpy.types.Context]
436
+ :type execution_context: typing.Union[str, int]
437
+ :type undo: bool
357
438
  :param filepath: File Path, Name of the file
358
439
  :type filepath: typing.Union[str, typing.Any]
359
440
  """
@@ -361,22 +442,19 @@ def image_from_view(
361
442
  ...
362
443
 
363
444
  def image_paint(
364
- override_context=None,
365
- execution_context=None,
366
- undo=None,
367
- *,
368
- stroke: typing.Optional[
369
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
370
- ] = None,
371
- mode: typing.Optional[typing.Any] = "NORMAL",
445
+ override_context: typing.Union[dict, bpy.types.Context] = None,
446
+ execution_context: typing.Union[str, int] = None,
447
+ undo: bool = None,
448
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
449
+ mode: typing.Any = "NORMAL",
372
450
  ):
373
451
  """Paint a stroke into the image
374
452
 
375
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
376
- :type execution_context: typing.Optional[typing.Union[int, str]]
377
- :type undo: typing.Optional[bool]
453
+ :type override_context: typing.Union[dict, bpy.types.Context]
454
+ :type execution_context: typing.Union[str, int]
455
+ :type undo: bool
378
456
  :param stroke: Stroke
379
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
457
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
380
458
  :param mode: Stroke Mode, Action taken when a paint stroke is made
381
459
 
382
460
  NORMAL
@@ -387,45 +465,41 @@ def image_paint(
387
465
 
388
466
  SMOOTH
389
467
  Smooth -- Switch brush to smooth mode for duration of stroke.
390
- :type mode: typing.Optional[typing.Any]
468
+ :type mode: typing.Any
391
469
  """
392
470
 
393
471
  ...
394
472
 
395
473
  def mask_box_gesture(
396
- override_context=None,
397
- execution_context=None,
398
- undo=None,
399
- *,
400
- xmin: typing.Optional[typing.Any] = 0,
401
- xmax: typing.Optional[typing.Any] = 0,
402
- ymin: typing.Optional[typing.Any] = 0,
403
- ymax: typing.Optional[typing.Any] = 0,
404
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
405
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
406
- use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
407
- mode: typing.Optional[typing.Any] = "VALUE",
408
- value: typing.Optional[typing.Any] = 1.0,
474
+ override_context: typing.Union[dict, bpy.types.Context] = None,
475
+ execution_context: typing.Union[str, int] = None,
476
+ undo: bool = None,
477
+ xmin: typing.Any = 0,
478
+ xmax: typing.Any = 0,
479
+ ymin: typing.Any = 0,
480
+ ymax: typing.Any = 0,
481
+ wait_for_input: typing.Union[bool, typing.Any] = True,
482
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
483
+ mode: typing.Any = "VALUE",
484
+ value: typing.Any = 1.0,
409
485
  ):
410
486
  """Add mask within the box as you move the brush
411
487
 
412
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
413
- :type execution_context: typing.Optional[typing.Union[int, str]]
414
- :type undo: typing.Optional[bool]
488
+ :type override_context: typing.Union[dict, bpy.types.Context]
489
+ :type execution_context: typing.Union[str, int]
490
+ :type undo: bool
415
491
  :param xmin: X Min
416
- :type xmin: typing.Optional[typing.Any]
492
+ :type xmin: typing.Any
417
493
  :param xmax: X Max
418
- :type xmax: typing.Optional[typing.Any]
494
+ :type xmax: typing.Any
419
495
  :param ymin: Y Min
420
- :type ymin: typing.Optional[typing.Any]
496
+ :type ymin: typing.Any
421
497
  :param ymax: Y Max
422
- :type ymax: typing.Optional[typing.Any]
498
+ :type ymax: typing.Any
423
499
  :param wait_for_input: Wait for Input
424
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
500
+ :type wait_for_input: typing.Union[bool, typing.Any]
425
501
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
426
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
427
- :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
428
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
502
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
429
503
  :param mode: Mode
430
504
 
431
505
  VALUE
@@ -436,26 +510,25 @@ def mask_box_gesture(
436
510
 
437
511
  INVERT
438
512
  Invert -- Invert the mask.
439
- :type mode: typing.Optional[typing.Any]
513
+ :type mode: typing.Any
440
514
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
441
- :type value: typing.Optional[typing.Any]
515
+ :type value: typing.Any
442
516
  """
443
517
 
444
518
  ...
445
519
 
446
520
  def mask_flood_fill(
447
- override_context=None,
448
- execution_context=None,
449
- undo=None,
450
- *,
451
- mode: typing.Optional[typing.Any] = "VALUE",
452
- value: typing.Optional[typing.Any] = 0.0,
521
+ override_context: typing.Union[dict, bpy.types.Context] = None,
522
+ execution_context: typing.Union[str, int] = None,
523
+ undo: bool = None,
524
+ mode: typing.Any = "VALUE",
525
+ value: typing.Any = 0.0,
453
526
  ):
454
527
  """Fill the whole mask with a given value, or invert its values
455
528
 
456
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
457
- :type execution_context: typing.Optional[typing.Union[int, str]]
458
- :type undo: typing.Optional[bool]
529
+ :type override_context: typing.Union[dict, bpy.types.Context]
530
+ :type execution_context: typing.Union[str, int]
531
+ :type undo: bool
459
532
  :param mode: Mode
460
533
 
461
534
  VALUE
@@ -466,37 +539,31 @@ def mask_flood_fill(
466
539
 
467
540
  INVERT
468
541
  Invert -- Invert the mask.
469
- :type mode: typing.Optional[typing.Any]
542
+ :type mode: typing.Any
470
543
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
471
- :type value: typing.Optional[typing.Any]
544
+ :type value: typing.Any
472
545
  """
473
546
 
474
547
  ...
475
548
 
476
549
  def mask_lasso_gesture(
477
- override_context=None,
478
- execution_context=None,
479
- undo=None,
480
- *,
481
- path: typing.Optional[
482
- bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
483
- ] = None,
484
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
485
- use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
486
- mode: typing.Optional[typing.Any] = "VALUE",
487
- value: typing.Optional[typing.Any] = 1.0,
550
+ override_context: typing.Union[dict, bpy.types.Context] = None,
551
+ execution_context: typing.Union[str, int] = None,
552
+ undo: bool = None,
553
+ path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
554
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
555
+ mode: typing.Any = "VALUE",
556
+ value: typing.Any = 1.0,
488
557
  ):
489
558
  """Add mask within the lasso as you move the brush
490
559
 
491
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
492
- :type execution_context: typing.Optional[typing.Union[int, str]]
493
- :type undo: typing.Optional[bool]
560
+ :type override_context: typing.Union[dict, bpy.types.Context]
561
+ :type execution_context: typing.Union[str, int]
562
+ :type undo: bool
494
563
  :param path: Path
495
- :type path: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorMousePath']]
564
+ :type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
496
565
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
497
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
498
- :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
499
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
566
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
500
567
  :param mode: Mode
501
568
 
502
569
  VALUE
@@ -507,50 +574,49 @@ def mask_lasso_gesture(
507
574
 
508
575
  INVERT
509
576
  Invert -- Invert the mask.
510
- :type mode: typing.Optional[typing.Any]
577
+ :type mode: typing.Any
511
578
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
512
- :type value: typing.Optional[typing.Any]
579
+ :type value: typing.Any
513
580
  """
514
581
 
515
582
  ...
516
583
 
517
584
  def mask_line_gesture(
518
- override_context=None,
519
- execution_context=None,
520
- undo=None,
521
- *,
522
- xstart: typing.Optional[typing.Any] = 0,
523
- xend: typing.Optional[typing.Any] = 0,
524
- ystart: typing.Optional[typing.Any] = 0,
525
- yend: typing.Optional[typing.Any] = 0,
526
- flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
527
- cursor: typing.Optional[typing.Any] = 5,
528
- use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
529
- use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
530
- mode: typing.Optional[typing.Any] = "VALUE",
531
- value: typing.Optional[typing.Any] = 1.0,
585
+ override_context: typing.Union[dict, bpy.types.Context] = None,
586
+ execution_context: typing.Union[str, int] = None,
587
+ undo: bool = None,
588
+ xstart: typing.Any = 0,
589
+ xend: typing.Any = 0,
590
+ ystart: typing.Any = 0,
591
+ yend: typing.Any = 0,
592
+ flip: typing.Union[bool, typing.Any] = False,
593
+ cursor: typing.Any = 5,
594
+ use_front_faces_only: typing.Union[bool, typing.Any] = False,
595
+ use_limit_to_segment: typing.Union[bool, typing.Any] = False,
596
+ mode: typing.Any = "VALUE",
597
+ value: typing.Any = 1.0,
532
598
  ):
533
599
  """Add mask to the right of a line as you move the brush
534
600
 
535
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
536
- :type execution_context: typing.Optional[typing.Union[int, str]]
537
- :type undo: typing.Optional[bool]
601
+ :type override_context: typing.Union[dict, bpy.types.Context]
602
+ :type execution_context: typing.Union[str, int]
603
+ :type undo: bool
538
604
  :param xstart: X Start
539
- :type xstart: typing.Optional[typing.Any]
605
+ :type xstart: typing.Any
540
606
  :param xend: X End
541
- :type xend: typing.Optional[typing.Any]
607
+ :type xend: typing.Any
542
608
  :param ystart: Y Start
543
- :type ystart: typing.Optional[typing.Any]
609
+ :type ystart: typing.Any
544
610
  :param yend: Y End
545
- :type yend: typing.Optional[typing.Any]
611
+ :type yend: typing.Any
546
612
  :param flip: Flip
547
- :type flip: typing.Optional[typing.Union[bool, typing.Any]]
613
+ :type flip: typing.Union[bool, typing.Any]
548
614
  :param cursor: Cursor, Mouse cursor style to use during the modal operator
549
- :type cursor: typing.Optional[typing.Any]
615
+ :type cursor: typing.Any
550
616
  :param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
551
- :type use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]]
617
+ :type use_front_faces_only: typing.Union[bool, typing.Any]
552
618
  :param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
553
- :type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
619
+ :type use_limit_to_segment: typing.Union[bool, typing.Any]
554
620
  :param mode: Mode
555
621
 
556
622
  VALUE
@@ -561,77 +627,78 @@ def mask_line_gesture(
561
627
 
562
628
  INVERT
563
629
  Invert -- Invert the mask.
564
- :type mode: typing.Optional[typing.Any]
630
+ :type mode: typing.Any
565
631
  :param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
566
- :type value: typing.Optional[typing.Any]
632
+ :type value: typing.Any
567
633
  """
568
634
 
569
635
  ...
570
636
 
571
637
  def project_image(
572
- override_context=None,
573
- execution_context=None,
574
- undo=None,
575
- *,
576
- image: typing.Optional[typing.Union[int, str, typing.Any]] = "",
638
+ override_context: typing.Union[dict, bpy.types.Context] = None,
639
+ execution_context: typing.Union[str, int] = None,
640
+ undo: bool = None,
641
+ image: typing.Union[str, int, typing.Any] = "",
577
642
  ):
578
643
  """Project an edited render from the active camera back onto the object
579
644
 
580
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
581
- :type execution_context: typing.Optional[typing.Union[int, str]]
582
- :type undo: typing.Optional[bool]
645
+ :type override_context: typing.Union[dict, bpy.types.Context]
646
+ :type execution_context: typing.Union[str, int]
647
+ :type undo: bool
583
648
  :param image: Image
584
- :type image: typing.Optional[typing.Union[int, str, typing.Any]]
649
+ :type image: typing.Union[str, int, typing.Any]
585
650
  """
586
651
 
587
652
  ...
588
653
 
589
654
  def sample_color(
590
- override_context=None,
591
- execution_context=None,
592
- undo=None,
593
- *,
594
- location: typing.Optional[typing.Any] = (0, 0),
595
- merged: typing.Optional[typing.Union[bool, typing.Any]] = False,
596
- palette: typing.Optional[typing.Union[bool, typing.Any]] = False,
655
+ override_context: typing.Union[dict, bpy.types.Context] = None,
656
+ execution_context: typing.Union[str, int] = None,
657
+ undo: bool = None,
658
+ location: typing.Any = (0, 0),
659
+ merged: typing.Union[bool, typing.Any] = False,
660
+ palette: typing.Union[bool, typing.Any] = False,
597
661
  ):
598
662
  """Use the mouse to sample a color in the image
599
663
 
600
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
601
- :type execution_context: typing.Optional[typing.Union[int, str]]
602
- :type undo: typing.Optional[bool]
664
+ :type override_context: typing.Union[dict, bpy.types.Context]
665
+ :type execution_context: typing.Union[str, int]
666
+ :type undo: bool
603
667
  :param location: Location
604
- :type location: typing.Optional[typing.Any]
668
+ :type location: typing.Any
605
669
  :param merged: Sample Merged, Sample the output display color
606
- :type merged: typing.Optional[typing.Union[bool, typing.Any]]
670
+ :type merged: typing.Union[bool, typing.Any]
607
671
  :param palette: Add to Palette
608
- :type palette: typing.Optional[typing.Union[bool, typing.Any]]
672
+ :type palette: typing.Union[bool, typing.Any]
609
673
  """
610
674
 
611
675
  ...
612
676
 
613
- def texture_paint_toggle(override_context=None, execution_context=None, undo=None):
677
+ def texture_paint_toggle(
678
+ override_context: typing.Union[dict, bpy.types.Context] = None,
679
+ execution_context: typing.Union[str, int] = None,
680
+ undo: bool = None,
681
+ ):
614
682
  """Toggle texture paint mode in 3D view
615
683
 
616
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
617
- :type execution_context: typing.Optional[typing.Union[int, str]]
618
- :type undo: typing.Optional[bool]
684
+ :type override_context: typing.Union[dict, bpy.types.Context]
685
+ :type execution_context: typing.Union[str, int]
686
+ :type undo: bool
619
687
  """
620
688
 
621
689
  ...
622
690
 
623
691
  def vert_select_all(
624
- override_context=None,
625
- execution_context=None,
626
- undo=None,
627
- *,
628
- action: typing.Optional[typing.Any] = "TOGGLE",
692
+ override_context: typing.Union[dict, bpy.types.Context] = None,
693
+ execution_context: typing.Union[str, int] = None,
694
+ undo: bool = None,
695
+ action: typing.Any = "TOGGLE",
629
696
  ):
630
697
  """Change selection for all vertices
631
698
 
632
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
633
- :type execution_context: typing.Optional[typing.Union[int, str]]
634
- :type undo: typing.Optional[bool]
699
+ :type override_context: typing.Union[dict, bpy.types.Context]
700
+ :type execution_context: typing.Union[str, int]
701
+ :type undo: bool
635
702
  :param action: Action, Selection action to execute
636
703
 
637
704
  TOGGLE
@@ -645,275 +712,278 @@ def vert_select_all(
645
712
 
646
713
  INVERT
647
714
  Invert -- Invert selection of all elements.
648
- :type action: typing.Optional[typing.Any]
715
+ :type action: typing.Any
649
716
  """
650
717
 
651
718
  ...
652
719
 
653
720
  def vert_select_hide(
654
- override_context=None,
655
- execution_context=None,
656
- undo=None,
657
- *,
658
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
721
+ override_context: typing.Union[dict, bpy.types.Context] = None,
722
+ execution_context: typing.Union[str, int] = None,
723
+ undo: bool = None,
724
+ unselected: typing.Union[bool, typing.Any] = False,
659
725
  ):
660
726
  """Hide selected vertices
661
727
 
662
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
663
- :type execution_context: typing.Optional[typing.Union[int, str]]
664
- :type undo: typing.Optional[bool]
728
+ :type override_context: typing.Union[dict, bpy.types.Context]
729
+ :type execution_context: typing.Union[str, int]
730
+ :type undo: bool
665
731
  :param unselected: Unselected, Hide unselected rather than selected vertices
666
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
732
+ :type unselected: typing.Union[bool, typing.Any]
667
733
  """
668
734
 
669
735
  ...
670
736
 
671
737
  def vert_select_less(
672
- override_context=None,
673
- execution_context=None,
674
- undo=None,
675
- *,
676
- face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
738
+ override_context: typing.Union[dict, bpy.types.Context] = None,
739
+ execution_context: typing.Union[str, int] = None,
740
+ undo: bool = None,
741
+ face_step: typing.Union[bool, typing.Any] = True,
677
742
  ):
678
743
  """Deselect Vertices connected to existing selection
679
744
 
680
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
681
- :type execution_context: typing.Optional[typing.Union[int, str]]
682
- :type undo: typing.Optional[bool]
745
+ :type override_context: typing.Union[dict, bpy.types.Context]
746
+ :type execution_context: typing.Union[str, int]
747
+ :type undo: bool
683
748
  :param face_step: Face Step, Also deselect faces that only touch on a corner
684
- :type face_step: typing.Optional[typing.Union[bool, typing.Any]]
749
+ :type face_step: typing.Union[bool, typing.Any]
685
750
  """
686
751
 
687
752
  ...
688
753
 
689
- def vert_select_linked(override_context=None, execution_context=None, undo=None):
754
+ def vert_select_linked(
755
+ override_context: typing.Union[dict, bpy.types.Context] = None,
756
+ execution_context: typing.Union[str, int] = None,
757
+ undo: bool = None,
758
+ ):
690
759
  """Select linked vertices
691
760
 
692
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
693
- :type execution_context: typing.Optional[typing.Union[int, str]]
694
- :type undo: typing.Optional[bool]
761
+ :type override_context: typing.Union[dict, bpy.types.Context]
762
+ :type execution_context: typing.Union[str, int]
763
+ :type undo: bool
695
764
  """
696
765
 
697
766
  ...
698
767
 
699
768
  def vert_select_linked_pick(
700
- override_context=None,
701
- execution_context=None,
702
- undo=None,
703
- *,
704
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
769
+ override_context: typing.Union[dict, bpy.types.Context] = None,
770
+ execution_context: typing.Union[str, int] = None,
771
+ undo: bool = None,
772
+ select: typing.Union[bool, typing.Any] = True,
705
773
  ):
706
774
  """Select linked vertices under the cursor
707
775
 
708
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
709
- :type execution_context: typing.Optional[typing.Union[int, str]]
710
- :type undo: typing.Optional[bool]
776
+ :type override_context: typing.Union[dict, bpy.types.Context]
777
+ :type execution_context: typing.Union[str, int]
778
+ :type undo: bool
711
779
  :param select: Select, Whether to select or deselect linked vertices under the cursor
712
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
780
+ :type select: typing.Union[bool, typing.Any]
713
781
  """
714
782
 
715
783
  ...
716
784
 
717
785
  def vert_select_more(
718
- override_context=None,
719
- execution_context=None,
720
- undo=None,
721
- *,
722
- face_step: typing.Optional[typing.Union[bool, typing.Any]] = True,
786
+ override_context: typing.Union[dict, bpy.types.Context] = None,
787
+ execution_context: typing.Union[str, int] = None,
788
+ undo: bool = None,
789
+ face_step: typing.Union[bool, typing.Any] = True,
723
790
  ):
724
791
  """Select Vertices connected to existing selection
725
792
 
726
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
727
- :type execution_context: typing.Optional[typing.Union[int, str]]
728
- :type undo: typing.Optional[bool]
793
+ :type override_context: typing.Union[dict, bpy.types.Context]
794
+ :type execution_context: typing.Union[str, int]
795
+ :type undo: bool
729
796
  :param face_step: Face Step, Also select faces that only touch on a corner
730
- :type face_step: typing.Optional[typing.Union[bool, typing.Any]]
797
+ :type face_step: typing.Union[bool, typing.Any]
731
798
  """
732
799
 
733
800
  ...
734
801
 
735
802
  def vert_select_ungrouped(
736
- override_context=None,
737
- execution_context=None,
738
- undo=None,
739
- *,
740
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
803
+ override_context: typing.Union[dict, bpy.types.Context] = None,
804
+ execution_context: typing.Union[str, int] = None,
805
+ undo: bool = None,
806
+ extend: typing.Union[bool, typing.Any] = False,
741
807
  ):
742
808
  """Select vertices without a group
743
809
 
744
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
745
- :type execution_context: typing.Optional[typing.Union[int, str]]
746
- :type undo: typing.Optional[bool]
810
+ :type override_context: typing.Union[dict, bpy.types.Context]
811
+ :type execution_context: typing.Union[str, int]
812
+ :type undo: bool
747
813
  :param extend: Extend, Extend the selection
748
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
814
+ :type extend: typing.Union[bool, typing.Any]
749
815
  """
750
816
 
751
817
  ...
752
818
 
753
819
  def vertex_color_brightness_contrast(
754
- override_context=None,
755
- execution_context=None,
756
- undo=None,
757
- *,
758
- brightness: typing.Optional[typing.Any] = 0.0,
759
- contrast: typing.Optional[typing.Any] = 0.0,
820
+ override_context: typing.Union[dict, bpy.types.Context] = None,
821
+ execution_context: typing.Union[str, int] = None,
822
+ undo: bool = None,
823
+ brightness: typing.Any = 0.0,
824
+ contrast: typing.Any = 0.0,
760
825
  ):
761
826
  """Adjust vertex color brightness/contrast
762
827
 
763
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
764
- :type execution_context: typing.Optional[typing.Union[int, str]]
765
- :type undo: typing.Optional[bool]
828
+ :type override_context: typing.Union[dict, bpy.types.Context]
829
+ :type execution_context: typing.Union[str, int]
830
+ :type undo: bool
766
831
  :param brightness: Brightness
767
- :type brightness: typing.Optional[typing.Any]
832
+ :type brightness: typing.Any
768
833
  :param contrast: Contrast
769
- :type contrast: typing.Optional[typing.Any]
834
+ :type contrast: typing.Any
770
835
  """
771
836
 
772
837
  ...
773
838
 
774
839
  def vertex_color_dirt(
775
- override_context=None,
776
- execution_context=None,
777
- undo=None,
778
- *,
779
- blur_strength: typing.Optional[typing.Any] = 1.0,
780
- blur_iterations: typing.Optional[typing.Any] = 1,
781
- clean_angle: typing.Optional[typing.Any] = 3.14159,
782
- dirt_angle: typing.Optional[typing.Any] = 0.0,
783
- dirt_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
784
- normalize: typing.Optional[typing.Union[bool, typing.Any]] = True,
840
+ override_context: typing.Union[dict, bpy.types.Context] = None,
841
+ execution_context: typing.Union[str, int] = None,
842
+ undo: bool = None,
843
+ blur_strength: typing.Any = 1.0,
844
+ blur_iterations: typing.Any = 1,
845
+ clean_angle: typing.Any = 3.14159,
846
+ dirt_angle: typing.Any = 0.0,
847
+ dirt_only: typing.Union[bool, typing.Any] = False,
848
+ normalize: typing.Union[bool, typing.Any] = True,
785
849
  ):
786
850
  """Generate a dirt map gradient based on cavity
787
851
 
788
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
789
- :type execution_context: typing.Optional[typing.Union[int, str]]
790
- :type undo: typing.Optional[bool]
852
+ :type override_context: typing.Union[dict, bpy.types.Context]
853
+ :type execution_context: typing.Union[str, int]
854
+ :type undo: bool
791
855
  :param blur_strength: Blur Strength, Blur strength per iteration
792
- :type blur_strength: typing.Optional[typing.Any]
856
+ :type blur_strength: typing.Any
793
857
  :param blur_iterations: Blur Iterations, Number of times to blur the colors (higher blurs more)
794
- :type blur_iterations: typing.Optional[typing.Any]
858
+ :type blur_iterations: typing.Any
795
859
  :param clean_angle: Highlight Angle, Less than 90 limits the angle used in the tonal range
796
- :type clean_angle: typing.Optional[typing.Any]
860
+ :type clean_angle: typing.Any
797
861
  :param dirt_angle: Dirt Angle, Less than 90 limits the angle used in the tonal range
798
- :type dirt_angle: typing.Optional[typing.Any]
862
+ :type dirt_angle: typing.Any
799
863
  :param dirt_only: Dirt Only, Don't calculate cleans for convex areas
800
- :type dirt_only: typing.Optional[typing.Union[bool, typing.Any]]
864
+ :type dirt_only: typing.Union[bool, typing.Any]
801
865
  :param normalize: Normalize, Normalize the colors, increasing the contrast
802
- :type normalize: typing.Optional[typing.Union[bool, typing.Any]]
866
+ :type normalize: typing.Union[bool, typing.Any]
803
867
  """
804
868
 
805
869
  ...
806
870
 
807
- def vertex_color_from_weight(override_context=None, execution_context=None, undo=None):
871
+ def vertex_color_from_weight(
872
+ override_context: typing.Union[dict, bpy.types.Context] = None,
873
+ execution_context: typing.Union[str, int] = None,
874
+ undo: bool = None,
875
+ ):
808
876
  """Convert active weight into gray scale vertex colors
809
877
 
810
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
811
- :type execution_context: typing.Optional[typing.Union[int, str]]
812
- :type undo: typing.Optional[bool]
878
+ :type override_context: typing.Union[dict, bpy.types.Context]
879
+ :type execution_context: typing.Union[str, int]
880
+ :type undo: bool
813
881
  """
814
882
 
815
883
  ...
816
884
 
817
885
  def vertex_color_hsv(
818
- override_context=None,
819
- execution_context=None,
820
- undo=None,
821
- *,
822
- h: typing.Optional[typing.Any] = 0.5,
823
- s: typing.Optional[typing.Any] = 1.0,
824
- v: typing.Optional[typing.Any] = 1.0,
886
+ override_context: typing.Union[dict, bpy.types.Context] = None,
887
+ execution_context: typing.Union[str, int] = None,
888
+ undo: bool = None,
889
+ h: typing.Any = 0.5,
890
+ s: typing.Any = 1.0,
891
+ v: typing.Any = 1.0,
825
892
  ):
826
893
  """Adjust vertex color Hue/Saturation/Value
827
894
 
828
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
829
- :type execution_context: typing.Optional[typing.Union[int, str]]
830
- :type undo: typing.Optional[bool]
895
+ :type override_context: typing.Union[dict, bpy.types.Context]
896
+ :type execution_context: typing.Union[str, int]
897
+ :type undo: bool
831
898
  :param h: Hue
832
- :type h: typing.Optional[typing.Any]
899
+ :type h: typing.Any
833
900
  :param s: Saturation
834
- :type s: typing.Optional[typing.Any]
901
+ :type s: typing.Any
835
902
  :param v: Value
836
- :type v: typing.Optional[typing.Any]
903
+ :type v: typing.Any
837
904
  """
838
905
 
839
906
  ...
840
907
 
841
- def vertex_color_invert(override_context=None, execution_context=None, undo=None):
908
+ def vertex_color_invert(
909
+ override_context: typing.Union[dict, bpy.types.Context] = None,
910
+ execution_context: typing.Union[str, int] = None,
911
+ undo: bool = None,
912
+ ):
842
913
  """Invert RGB values
843
914
 
844
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
845
- :type execution_context: typing.Optional[typing.Union[int, str]]
846
- :type undo: typing.Optional[bool]
915
+ :type override_context: typing.Union[dict, bpy.types.Context]
916
+ :type execution_context: typing.Union[str, int]
917
+ :type undo: bool
847
918
  """
848
919
 
849
920
  ...
850
921
 
851
922
  def vertex_color_levels(
852
- override_context=None,
853
- execution_context=None,
854
- undo=None,
855
- *,
856
- offset: typing.Optional[typing.Any] = 0.0,
857
- gain: typing.Optional[typing.Any] = 1.0,
923
+ override_context: typing.Union[dict, bpy.types.Context] = None,
924
+ execution_context: typing.Union[str, int] = None,
925
+ undo: bool = None,
926
+ offset: typing.Any = 0.0,
927
+ gain: typing.Any = 1.0,
858
928
  ):
859
929
  """Adjust levels of vertex colors
860
930
 
861
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
862
- :type execution_context: typing.Optional[typing.Union[int, str]]
863
- :type undo: typing.Optional[bool]
931
+ :type override_context: typing.Union[dict, bpy.types.Context]
932
+ :type execution_context: typing.Union[str, int]
933
+ :type undo: bool
864
934
  :param offset: Offset, Value to add to colors
865
- :type offset: typing.Optional[typing.Any]
935
+ :type offset: typing.Any
866
936
  :param gain: Gain, Value to multiply colors by
867
- :type gain: typing.Optional[typing.Any]
937
+ :type gain: typing.Any
868
938
  """
869
939
 
870
940
  ...
871
941
 
872
942
  def vertex_color_set(
873
- override_context=None,
874
- execution_context=None,
875
- undo=None,
876
- *,
877
- use_alpha: typing.Optional[typing.Union[bool, typing.Any]] = True,
943
+ override_context: typing.Union[dict, bpy.types.Context] = None,
944
+ execution_context: typing.Union[str, int] = None,
945
+ undo: bool = None,
946
+ use_alpha: typing.Union[bool, typing.Any] = True,
878
947
  ):
879
948
  """Fill the active vertex color layer with the current paint color
880
949
 
881
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
882
- :type execution_context: typing.Optional[typing.Union[int, str]]
883
- :type undo: typing.Optional[bool]
950
+ :type override_context: typing.Union[dict, bpy.types.Context]
951
+ :type execution_context: typing.Union[str, int]
952
+ :type undo: bool
884
953
  :param use_alpha: Affect Alpha, Set color completely opaque instead of reusing existing alpha
885
- :type use_alpha: typing.Optional[typing.Union[bool, typing.Any]]
954
+ :type use_alpha: typing.Union[bool, typing.Any]
886
955
  """
887
956
 
888
957
  ...
889
958
 
890
- def vertex_color_smooth(override_context=None, execution_context=None, undo=None):
959
+ def vertex_color_smooth(
960
+ override_context: typing.Union[dict, bpy.types.Context] = None,
961
+ execution_context: typing.Union[str, int] = None,
962
+ undo: bool = None,
963
+ ):
891
964
  """Smooth colors across vertices
892
965
 
893
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
894
- :type execution_context: typing.Optional[typing.Union[int, str]]
895
- :type undo: typing.Optional[bool]
966
+ :type override_context: typing.Union[dict, bpy.types.Context]
967
+ :type execution_context: typing.Union[str, int]
968
+ :type undo: bool
896
969
  """
897
970
 
898
971
  ...
899
972
 
900
973
  def vertex_paint(
901
- override_context=None,
902
- execution_context=None,
903
- undo=None,
904
- *,
905
- stroke: typing.Optional[
906
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
907
- ] = None,
908
- mode: typing.Optional[typing.Any] = "NORMAL",
974
+ override_context: typing.Union[dict, bpy.types.Context] = None,
975
+ execution_context: typing.Union[str, int] = None,
976
+ undo: bool = None,
977
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
978
+ mode: typing.Any = "NORMAL",
909
979
  ):
910
980
  """Paint a stroke in the active color attribute layer
911
981
 
912
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
913
- :type execution_context: typing.Optional[typing.Union[int, str]]
914
- :type undo: typing.Optional[bool]
982
+ :type override_context: typing.Union[dict, bpy.types.Context]
983
+ :type execution_context: typing.Union[str, int]
984
+ :type undo: bool
915
985
  :param stroke: Stroke
916
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
986
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
917
987
  :param mode: Stroke Mode, Action taken when a paint stroke is made
918
988
 
919
989
  NORMAL
@@ -924,43 +994,50 @@ def vertex_paint(
924
994
 
925
995
  SMOOTH
926
996
  Smooth -- Switch brush to smooth mode for duration of stroke.
927
- :type mode: typing.Optional[typing.Any]
997
+ :type mode: typing.Any
928
998
  """
929
999
 
930
1000
  ...
931
1001
 
932
- def vertex_paint_toggle(override_context=None, execution_context=None, undo=None):
1002
+ def vertex_paint_toggle(
1003
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1004
+ execution_context: typing.Union[str, int] = None,
1005
+ undo: bool = None,
1006
+ ):
933
1007
  """Toggle the vertex paint mode in 3D view
934
1008
 
935
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
936
- :type execution_context: typing.Optional[typing.Union[int, str]]
937
- :type undo: typing.Optional[bool]
1009
+ :type override_context: typing.Union[dict, bpy.types.Context]
1010
+ :type execution_context: typing.Union[str, int]
1011
+ :type undo: bool
938
1012
  """
939
1013
 
940
1014
  ...
941
1015
 
942
- def visibility_invert(override_context=None, execution_context=None, undo=None):
1016
+ def visibility_invert(
1017
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1018
+ execution_context: typing.Union[str, int] = None,
1019
+ undo: bool = None,
1020
+ ):
943
1021
  """Invert the visibility of all vertices
944
1022
 
945
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
946
- :type execution_context: typing.Optional[typing.Union[int, str]]
947
- :type undo: typing.Optional[bool]
1023
+ :type override_context: typing.Union[dict, bpy.types.Context]
1024
+ :type execution_context: typing.Union[str, int]
1025
+ :type undo: bool
948
1026
  """
949
1027
 
950
1028
  ...
951
1029
 
952
1030
  def weight_from_bones(
953
- override_context=None,
954
- execution_context=None,
955
- undo=None,
956
- *,
957
- type: typing.Optional[typing.Any] = "AUTOMATIC",
1031
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1032
+ execution_context: typing.Union[str, int] = None,
1033
+ undo: bool = None,
1034
+ type: typing.Any = "AUTOMATIC",
958
1035
  ):
959
1036
  """Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
960
1037
 
961
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
962
- :type execution_context: typing.Optional[typing.Union[int, str]]
963
- :type undo: typing.Optional[bool]
1038
+ :type override_context: typing.Union[dict, bpy.types.Context]
1039
+ :type execution_context: typing.Union[str, int]
1040
+ :type undo: bool
964
1041
  :param type: Type, Method to use for assigning weights
965
1042
 
966
1043
  AUTOMATIC
@@ -968,64 +1045,60 @@ def weight_from_bones(
968
1045
 
969
1046
  ENVELOPES
970
1047
  From Envelopes -- Weights from envelopes with user defined radius.
971
- :type type: typing.Optional[typing.Any]
1048
+ :type type: typing.Any
972
1049
  """
973
1050
 
974
1051
  ...
975
1052
 
976
1053
  def weight_gradient(
977
- override_context=None,
978
- execution_context=None,
979
- undo=None,
980
- *,
981
- type: typing.Optional[typing.Any] = "LINEAR",
982
- xstart: typing.Optional[typing.Any] = 0,
983
- xend: typing.Optional[typing.Any] = 0,
984
- ystart: typing.Optional[typing.Any] = 0,
985
- yend: typing.Optional[typing.Any] = 0,
986
- flip: typing.Optional[typing.Union[bool, typing.Any]] = False,
987
- cursor: typing.Optional[typing.Any] = 5,
1054
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1055
+ execution_context: typing.Union[str, int] = None,
1056
+ undo: bool = None,
1057
+ type: typing.Any = "LINEAR",
1058
+ xstart: typing.Any = 0,
1059
+ xend: typing.Any = 0,
1060
+ ystart: typing.Any = 0,
1061
+ yend: typing.Any = 0,
1062
+ flip: typing.Union[bool, typing.Any] = False,
1063
+ cursor: typing.Any = 5,
988
1064
  ):
989
1065
  """Draw a line to apply a weight gradient to selected vertices
990
1066
 
991
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
992
- :type execution_context: typing.Optional[typing.Union[int, str]]
993
- :type undo: typing.Optional[bool]
1067
+ :type override_context: typing.Union[dict, bpy.types.Context]
1068
+ :type execution_context: typing.Union[str, int]
1069
+ :type undo: bool
994
1070
  :param type: Type
995
- :type type: typing.Optional[typing.Any]
1071
+ :type type: typing.Any
996
1072
  :param xstart: X Start
997
- :type xstart: typing.Optional[typing.Any]
1073
+ :type xstart: typing.Any
998
1074
  :param xend: X End
999
- :type xend: typing.Optional[typing.Any]
1075
+ :type xend: typing.Any
1000
1076
  :param ystart: Y Start
1001
- :type ystart: typing.Optional[typing.Any]
1077
+ :type ystart: typing.Any
1002
1078
  :param yend: Y End
1003
- :type yend: typing.Optional[typing.Any]
1079
+ :type yend: typing.Any
1004
1080
  :param flip: Flip
1005
- :type flip: typing.Optional[typing.Union[bool, typing.Any]]
1081
+ :type flip: typing.Union[bool, typing.Any]
1006
1082
  :param cursor: Cursor, Mouse cursor style to use during the modal operator
1007
- :type cursor: typing.Optional[typing.Any]
1083
+ :type cursor: typing.Any
1008
1084
  """
1009
1085
 
1010
1086
  ...
1011
1087
 
1012
1088
  def weight_paint(
1013
- override_context=None,
1014
- execution_context=None,
1015
- undo=None,
1016
- *,
1017
- stroke: typing.Optional[
1018
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
1019
- ] = None,
1020
- mode: typing.Optional[typing.Any] = "NORMAL",
1089
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1090
+ execution_context: typing.Union[str, int] = None,
1091
+ undo: bool = None,
1092
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
1093
+ mode: typing.Any = "NORMAL",
1021
1094
  ):
1022
1095
  """Paint a stroke in the current vertex group's weights
1023
1096
 
1024
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1025
- :type execution_context: typing.Optional[typing.Union[int, str]]
1026
- :type undo: typing.Optional[bool]
1097
+ :type override_context: typing.Union[dict, bpy.types.Context]
1098
+ :type execution_context: typing.Union[str, int]
1099
+ :type undo: bool
1027
1100
  :param stroke: Stroke
1028
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
1101
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
1029
1102
  :param mode: Stroke Mode, Action taken when a paint stroke is made
1030
1103
 
1031
1104
  NORMAL
@@ -1036,47 +1109,63 @@ def weight_paint(
1036
1109
 
1037
1110
  SMOOTH
1038
1111
  Smooth -- Switch brush to smooth mode for duration of stroke.
1039
- :type mode: typing.Optional[typing.Any]
1112
+ :type mode: typing.Any
1040
1113
  """
1041
1114
 
1042
1115
  ...
1043
1116
 
1044
- def weight_paint_toggle(override_context=None, execution_context=None, undo=None):
1117
+ def weight_paint_toggle(
1118
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1119
+ execution_context: typing.Union[str, int] = None,
1120
+ undo: bool = None,
1121
+ ):
1045
1122
  """Toggle weight paint mode in 3D view
1046
1123
 
1047
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1048
- :type execution_context: typing.Optional[typing.Union[int, str]]
1049
- :type undo: typing.Optional[bool]
1124
+ :type override_context: typing.Union[dict, bpy.types.Context]
1125
+ :type execution_context: typing.Union[str, int]
1126
+ :type undo: bool
1050
1127
  """
1051
1128
 
1052
1129
  ...
1053
1130
 
1054
- def weight_sample(override_context=None, execution_context=None, undo=None):
1131
+ def weight_sample(
1132
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1133
+ execution_context: typing.Union[str, int] = None,
1134
+ undo: bool = None,
1135
+ ):
1055
1136
  """Use the mouse to sample a weight in the 3D view
1056
1137
 
1057
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1058
- :type execution_context: typing.Optional[typing.Union[int, str]]
1059
- :type undo: typing.Optional[bool]
1138
+ :type override_context: typing.Union[dict, bpy.types.Context]
1139
+ :type execution_context: typing.Union[str, int]
1140
+ :type undo: bool
1060
1141
  """
1061
1142
 
1062
1143
  ...
1063
1144
 
1064
- def weight_sample_group(override_context=None, execution_context=None, undo=None):
1145
+ def weight_sample_group(
1146
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1147
+ execution_context: typing.Union[str, int] = None,
1148
+ undo: bool = None,
1149
+ ):
1065
1150
  """Select one of the vertex groups available under current mouse position
1066
1151
 
1067
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1068
- :type execution_context: typing.Optional[typing.Union[int, str]]
1069
- :type undo: typing.Optional[bool]
1152
+ :type override_context: typing.Union[dict, bpy.types.Context]
1153
+ :type execution_context: typing.Union[str, int]
1154
+ :type undo: bool
1070
1155
  """
1071
1156
 
1072
1157
  ...
1073
1158
 
1074
- def weight_set(override_context=None, execution_context=None, undo=None):
1159
+ def weight_set(
1160
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1161
+ execution_context: typing.Union[str, int] = None,
1162
+ undo: bool = None,
1163
+ ):
1075
1164
  """Fill the active vertex group with the current paint weight
1076
1165
 
1077
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1078
- :type execution_context: typing.Optional[typing.Union[int, str]]
1079
- :type undo: typing.Optional[bool]
1166
+ :type override_context: typing.Union[dict, bpy.types.Context]
1167
+ :type execution_context: typing.Union[str, int]
1168
+ :type undo: bool
1080
1169
  """
1081
1170
 
1082
1171
  ...