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
@@ -5,197 +5,210 @@ import bpy.types
5
5
  GenericType = typing.TypeVar("GenericType")
6
6
 
7
7
  def attribute_set(
8
- override_context=None,
9
- execution_context=None,
10
- undo=None,
11
- *,
12
- value_float: typing.Optional[typing.Any] = 0.0,
13
- value_float_vector_2d: typing.Optional[typing.Any] = (0.0, 0.0),
14
- value_float_vector_3d: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
15
- value_int: typing.Optional[typing.Any] = 0,
16
- value_color: typing.Optional[typing.Any] = (1.0, 1.0, 1.0, 1.0),
17
- value_bool: typing.Optional[typing.Union[bool, typing.Any]] = False,
8
+ override_context: typing.Union[dict, bpy.types.Context] = None,
9
+ execution_context: typing.Union[str, int] = None,
10
+ undo: bool = None,
11
+ value_float: typing.Any = 0.0,
12
+ value_float_vector_2d: typing.Any = (0.0, 0.0),
13
+ value_float_vector_3d: typing.Any = (0.0, 0.0, 0.0),
14
+ value_int: typing.Any = 0,
15
+ value_color: typing.Any = (1.0, 1.0, 1.0, 1.0),
16
+ value_bool: typing.Union[bool, typing.Any] = False,
18
17
  ):
19
18
  """Set values of the active attribute for selected elements
20
19
 
21
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
22
- :type execution_context: typing.Optional[typing.Union[int, str]]
23
- :type undo: typing.Optional[bool]
20
+ :type override_context: typing.Union[dict, bpy.types.Context]
21
+ :type execution_context: typing.Union[str, int]
22
+ :type undo: bool
24
23
  :param value_float: Value
25
- :type value_float: typing.Optional[typing.Any]
24
+ :type value_float: typing.Any
26
25
  :param value_float_vector_2d: Value
27
- :type value_float_vector_2d: typing.Optional[typing.Any]
26
+ :type value_float_vector_2d: typing.Any
28
27
  :param value_float_vector_3d: Value
29
- :type value_float_vector_3d: typing.Optional[typing.Any]
28
+ :type value_float_vector_3d: typing.Any
30
29
  :param value_int: Value
31
- :type value_int: typing.Optional[typing.Any]
30
+ :type value_int: typing.Any
32
31
  :param value_color: Value
33
- :type value_color: typing.Optional[typing.Any]
32
+ :type value_color: typing.Any
34
33
  :param value_bool: Value
35
- :type value_bool: typing.Optional[typing.Union[bool, typing.Any]]
34
+ :type value_bool: typing.Union[bool, typing.Any]
36
35
  """
37
36
 
38
37
  ...
39
38
 
40
39
  def convert_from_particle_system(
41
- override_context=None, execution_context=None, undo=None
40
+ override_context: typing.Union[dict, bpy.types.Context] = None,
41
+ execution_context: typing.Union[str, int] = None,
42
+ undo: bool = None,
42
43
  ):
43
44
  """Add a new curves object based on the current state of the particle system
44
45
 
45
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
46
- :type execution_context: typing.Optional[typing.Union[int, str]]
47
- :type undo: typing.Optional[bool]
46
+ :type override_context: typing.Union[dict, bpy.types.Context]
47
+ :type execution_context: typing.Union[str, int]
48
+ :type undo: bool
48
49
  """
49
50
 
50
51
  ...
51
52
 
52
53
  def convert_to_particle_system(
53
- override_context=None, execution_context=None, undo=None
54
+ override_context: typing.Union[dict, bpy.types.Context] = None,
55
+ execution_context: typing.Union[str, int] = None,
56
+ undo: bool = None,
54
57
  ):
55
58
  """Add a new or update an existing hair particle system on the surface object
56
59
 
57
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
58
- :type execution_context: typing.Optional[typing.Union[int, str]]
59
- :type undo: typing.Optional[bool]
60
+ :type override_context: typing.Union[dict, bpy.types.Context]
61
+ :type execution_context: typing.Union[str, int]
62
+ :type undo: bool
60
63
  """
61
64
 
62
65
  ...
63
66
 
64
- def delete(override_context=None, execution_context=None, undo=None):
67
+ def delete(
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
  """Remove selected control points or curves
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 draw(
75
- override_context=None,
76
- execution_context=None,
77
- undo=None,
78
- *,
79
- error_threshold: typing.Optional[typing.Any] = 0.0,
80
- fit_method: typing.Optional[typing.Any] = "REFIT",
81
- corner_angle: typing.Optional[typing.Any] = 1.22173,
82
- use_cyclic: typing.Optional[typing.Union[bool, typing.Any]] = True,
83
- stroke: typing.Optional[
84
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
85
- ] = None,
86
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
87
- is_curve_2d: typing.Optional[typing.Union[bool, typing.Any]] = False,
88
- bezier_as_nurbs: 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
+ error_threshold: typing.Any = 0.0,
86
+ fit_method: typing.Any = "REFIT",
87
+ corner_angle: typing.Any = 1.22173,
88
+ use_cyclic: typing.Union[bool, typing.Any] = True,
89
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
90
+ wait_for_input: typing.Union[bool, typing.Any] = True,
91
+ is_curve_2d: typing.Union[bool, typing.Any] = False,
92
+ bezier_as_nurbs: typing.Union[bool, typing.Any] = False,
89
93
  ):
90
94
  """Draw a freehand curve
91
95
 
92
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
93
- :type execution_context: typing.Optional[typing.Union[int, str]]
94
- :type undo: typing.Optional[bool]
96
+ :type override_context: typing.Union[dict, bpy.types.Context]
97
+ :type execution_context: typing.Union[str, int]
98
+ :type undo: bool
95
99
  :param error_threshold: Error, Error distance threshold (in object units)
96
- :type error_threshold: typing.Optional[typing.Any]
100
+ :type error_threshold: typing.Any
97
101
  :param fit_method: Fit Method
98
- :type fit_method: typing.Optional[typing.Any]
102
+ :type fit_method: typing.Any
99
103
  :param corner_angle: Corner Angle
100
- :type corner_angle: typing.Optional[typing.Any]
104
+ :type corner_angle: typing.Any
101
105
  :param use_cyclic: Cyclic
102
- :type use_cyclic: typing.Optional[typing.Union[bool, typing.Any]]
106
+ :type use_cyclic: typing.Union[bool, typing.Any]
103
107
  :param stroke: Stroke
104
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
108
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
105
109
  :param wait_for_input: Wait for Input
106
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
110
+ :type wait_for_input: typing.Union[bool, typing.Any]
107
111
  :param is_curve_2d: Curve 2D
108
- :type is_curve_2d: typing.Optional[typing.Union[bool, typing.Any]]
112
+ :type is_curve_2d: typing.Union[bool, typing.Any]
109
113
  :param bezier_as_nurbs: As NURBS
110
- :type bezier_as_nurbs: typing.Optional[typing.Union[bool, typing.Any]]
114
+ :type bezier_as_nurbs: typing.Union[bool, typing.Any]
111
115
  """
112
116
 
113
117
  ...
114
118
 
115
- def duplicate(override_context=None, execution_context=None, undo=None):
119
+ def duplicate(
120
+ override_context: typing.Union[dict, bpy.types.Context] = None,
121
+ execution_context: typing.Union[str, int] = None,
122
+ undo: bool = None,
123
+ ):
116
124
  """Copy selected points or curves
117
125
 
118
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
119
- :type execution_context: typing.Optional[typing.Union[int, str]]
120
- :type undo: typing.Optional[bool]
126
+ :type override_context: typing.Union[dict, bpy.types.Context]
127
+ :type execution_context: typing.Union[str, int]
128
+ :type undo: bool
121
129
  """
122
130
 
123
131
  ...
124
132
 
125
133
  def duplicate_move(
126
- override_context=None,
127
- execution_context=None,
128
- undo=None,
129
- *,
130
- CURVES_OT_duplicate: typing.Optional["duplicate"] = None,
131
- TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
134
+ override_context: typing.Union[dict, bpy.types.Context] = None,
135
+ execution_context: typing.Union[str, int] = None,
136
+ undo: bool = None,
137
+ CURVES_OT_duplicate: duplicate = None,
138
+ TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
132
139
  ):
133
140
  """Make copies of selected elements and move them
134
141
 
135
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
136
- :type execution_context: typing.Optional[typing.Union[int, str]]
137
- :type undo: typing.Optional[bool]
142
+ :type override_context: typing.Union[dict, bpy.types.Context]
143
+ :type execution_context: typing.Union[str, int]
144
+ :type undo: bool
138
145
  :param CURVES_OT_duplicate: Duplicate, Copy selected points or curves
139
- :type CURVES_OT_duplicate: typing.Optional['duplicate']
146
+ :type CURVES_OT_duplicate: duplicate
140
147
  :param TRANSFORM_OT_translate: Move, Move selected items
141
- :type TRANSFORM_OT_translate: typing.Optional['bpy.ops.transform.translate']
148
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate
142
149
  """
143
150
 
144
151
  ...
145
152
 
146
- def extrude(override_context=None, execution_context=None, undo=None):
153
+ def extrude(
154
+ override_context: typing.Union[dict, bpy.types.Context] = None,
155
+ execution_context: typing.Union[str, int] = None,
156
+ undo: bool = None,
157
+ ):
147
158
  """Extrude selected control point(s)
148
159
 
149
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
150
- :type execution_context: typing.Optional[typing.Union[int, str]]
151
- :type undo: typing.Optional[bool]
160
+ :type override_context: typing.Union[dict, bpy.types.Context]
161
+ :type execution_context: typing.Union[str, int]
162
+ :type undo: bool
152
163
  """
153
164
 
154
165
  ...
155
166
 
156
167
  def extrude_move(
157
- override_context=None,
158
- execution_context=None,
159
- undo=None,
160
- *,
161
- CURVES_OT_extrude: typing.Optional["extrude"] = None,
162
- TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
168
+ override_context: typing.Union[dict, bpy.types.Context] = None,
169
+ execution_context: typing.Union[str, int] = None,
170
+ undo: bool = None,
171
+ CURVES_OT_extrude: extrude = None,
172
+ TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
163
173
  ):
164
174
  """Extrude curve and move result
165
175
 
166
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
167
- :type execution_context: typing.Optional[typing.Union[int, str]]
168
- :type undo: typing.Optional[bool]
176
+ :type override_context: typing.Union[dict, bpy.types.Context]
177
+ :type execution_context: typing.Union[str, int]
178
+ :type undo: bool
169
179
  :param CURVES_OT_extrude: Extrude, Extrude selected control point(s)
170
- :type CURVES_OT_extrude: typing.Optional['extrude']
180
+ :type CURVES_OT_extrude: extrude
171
181
  :param TRANSFORM_OT_translate: Move, Move selected items
172
- :type TRANSFORM_OT_translate: typing.Optional['bpy.ops.transform.translate']
182
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate
173
183
  """
174
184
 
175
185
  ...
176
186
 
177
- def sculptmode_toggle(override_context=None, execution_context=None, undo=None):
187
+ def sculptmode_toggle(
188
+ override_context: typing.Union[dict, bpy.types.Context] = None,
189
+ execution_context: typing.Union[str, int] = None,
190
+ undo: bool = None,
191
+ ):
178
192
  """Enter/Exit sculpt mode for curves
179
193
 
180
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
181
- :type execution_context: typing.Optional[typing.Union[int, str]]
182
- :type undo: typing.Optional[bool]
194
+ :type override_context: typing.Union[dict, bpy.types.Context]
195
+ :type execution_context: typing.Union[str, int]
196
+ :type undo: bool
183
197
  """
184
198
 
185
199
  ...
186
200
 
187
201
  def select_all(
188
- override_context=None,
189
- execution_context=None,
190
- undo=None,
191
- *,
192
- action: typing.Optional[typing.Any] = "TOGGLE",
202
+ override_context: typing.Union[dict, bpy.types.Context] = None,
203
+ execution_context: typing.Union[str, int] = None,
204
+ undo: bool = None,
205
+ action: typing.Any = "TOGGLE",
193
206
  ):
194
207
  """(De)select all control points
195
208
 
196
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
197
- :type execution_context: typing.Optional[typing.Union[int, str]]
198
- :type undo: typing.Optional[bool]
209
+ :type override_context: typing.Union[dict, bpy.types.Context]
210
+ :type execution_context: typing.Union[str, int]
211
+ :type undo: bool
199
212
  :param action: Action, Selection action to execute
200
213
 
201
214
  TOGGLE
@@ -209,113 +222,121 @@ def select_all(
209
222
 
210
223
  INVERT
211
224
  Invert -- Invert selection of all elements.
212
- :type action: typing.Optional[typing.Any]
225
+ :type action: typing.Any
213
226
  """
214
227
 
215
228
  ...
216
229
 
217
230
  def select_ends(
218
- override_context=None,
219
- execution_context=None,
220
- undo=None,
221
- *,
222
- amount_start: typing.Optional[typing.Any] = 0,
223
- amount_end: typing.Optional[typing.Any] = 1,
231
+ override_context: typing.Union[dict, bpy.types.Context] = None,
232
+ execution_context: typing.Union[str, int] = None,
233
+ undo: bool = None,
234
+ amount_start: typing.Any = 0,
235
+ amount_end: typing.Any = 1,
224
236
  ):
225
237
  """Select end points of curves
226
238
 
227
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
228
- :type execution_context: typing.Optional[typing.Union[int, str]]
229
- :type undo: typing.Optional[bool]
239
+ :type override_context: typing.Union[dict, bpy.types.Context]
240
+ :type execution_context: typing.Union[str, int]
241
+ :type undo: bool
230
242
  :param amount_start: Amount Front, Number of points to select from the front
231
- :type amount_start: typing.Optional[typing.Any]
243
+ :type amount_start: typing.Any
232
244
  :param amount_end: Amount Back, Number of points to select from the back
233
- :type amount_end: typing.Optional[typing.Any]
245
+ :type amount_end: typing.Any
234
246
  """
235
247
 
236
248
  ...
237
249
 
238
- def select_less(override_context=None, execution_context=None, undo=None):
250
+ def select_less(
251
+ override_context: typing.Union[dict, bpy.types.Context] = None,
252
+ execution_context: typing.Union[str, int] = None,
253
+ undo: bool = None,
254
+ ):
239
255
  """Shrink the selection by one point
240
256
 
241
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
242
- :type execution_context: typing.Optional[typing.Union[int, str]]
243
- :type undo: typing.Optional[bool]
257
+ :type override_context: typing.Union[dict, bpy.types.Context]
258
+ :type execution_context: typing.Union[str, int]
259
+ :type undo: bool
244
260
  """
245
261
 
246
262
  ...
247
263
 
248
- def select_linked(override_context=None, execution_context=None, undo=None):
264
+ def select_linked(
265
+ override_context: typing.Union[dict, bpy.types.Context] = None,
266
+ execution_context: typing.Union[str, int] = None,
267
+ undo: bool = None,
268
+ ):
249
269
  """Select all points in curves with any point selection
250
270
 
251
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
252
- :type execution_context: typing.Optional[typing.Union[int, str]]
253
- :type undo: typing.Optional[bool]
271
+ :type override_context: typing.Union[dict, bpy.types.Context]
272
+ :type execution_context: typing.Union[str, int]
273
+ :type undo: bool
254
274
  """
255
275
 
256
276
  ...
257
277
 
258
- def select_more(override_context=None, execution_context=None, undo=None):
278
+ def select_more(
279
+ override_context: typing.Union[dict, bpy.types.Context] = None,
280
+ execution_context: typing.Union[str, int] = None,
281
+ undo: bool = None,
282
+ ):
259
283
  """Grow the selection by one point
260
284
 
261
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
262
- :type execution_context: typing.Optional[typing.Union[int, str]]
263
- :type undo: typing.Optional[bool]
285
+ :type override_context: typing.Union[dict, bpy.types.Context]
286
+ :type execution_context: typing.Union[str, int]
287
+ :type undo: bool
264
288
  """
265
289
 
266
290
  ...
267
291
 
268
292
  def select_random(
269
- override_context=None,
270
- execution_context=None,
271
- undo=None,
272
- *,
273
- seed: typing.Optional[typing.Any] = 0,
274
- probability: typing.Optional[typing.Any] = 0.5,
293
+ override_context: typing.Union[dict, bpy.types.Context] = None,
294
+ execution_context: typing.Union[str, int] = None,
295
+ undo: bool = None,
296
+ seed: typing.Any = 0,
297
+ probability: typing.Any = 0.5,
275
298
  ):
276
299
  """Randomizes existing selection or create new random selection
277
300
 
278
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
279
- :type execution_context: typing.Optional[typing.Union[int, str]]
280
- :type undo: typing.Optional[bool]
301
+ :type override_context: typing.Union[dict, bpy.types.Context]
302
+ :type execution_context: typing.Union[str, int]
303
+ :type undo: bool
281
304
  :param seed: Seed, Source of randomness
282
- :type seed: typing.Optional[typing.Any]
305
+ :type seed: typing.Any
283
306
  :param probability: Probability, Chance of every point or curve being included in the selection
284
- :type probability: typing.Optional[typing.Any]
307
+ :type probability: typing.Any
285
308
  """
286
309
 
287
310
  ...
288
311
 
289
312
  def set_selection_domain(
290
- override_context=None,
291
- execution_context=None,
292
- undo=None,
293
- *,
294
- domain: typing.Optional[typing.Any] = "POINT",
313
+ override_context: typing.Union[dict, bpy.types.Context] = None,
314
+ execution_context: typing.Union[str, int] = None,
315
+ undo: bool = None,
316
+ domain: typing.Any = "POINT",
295
317
  ):
296
318
  """Change the mode used for selection masking in curves sculpt mode
297
319
 
298
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
299
- :type execution_context: typing.Optional[typing.Union[int, str]]
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 domain: Domain
302
- :type domain: typing.Optional[typing.Any]
324
+ :type domain: typing.Any
303
325
  """
304
326
 
305
327
  ...
306
328
 
307
329
  def snap_curves_to_surface(
308
- override_context=None,
309
- execution_context=None,
310
- undo=None,
311
- *,
312
- attach_mode: typing.Optional[typing.Any] = "NEAREST",
330
+ override_context: typing.Union[dict, bpy.types.Context] = None,
331
+ execution_context: typing.Union[str, int] = None,
332
+ undo: bool = None,
333
+ attach_mode: typing.Any = "NEAREST",
313
334
  ):
314
335
  """Move curves so that the first point is exactly on the surface mesh
315
336
 
316
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
317
- :type execution_context: typing.Optional[typing.Union[int, str]]
318
- :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
319
340
  :param attach_mode: Attach Mode, How to find the point on the surface to attach to
320
341
 
321
342
  NEAREST
@@ -323,27 +344,35 @@ def snap_curves_to_surface(
323
344
 
324
345
  DEFORM
325
346
  Deform -- Re-attach curves to a deformed surface using the existing attachment information. This only works when the topology of the surface mesh has not changed.
326
- :type attach_mode: typing.Optional[typing.Any]
347
+ :type attach_mode: typing.Any
327
348
  """
328
349
 
329
350
  ...
330
351
 
331
- def surface_set(override_context=None, execution_context=None, undo=None):
352
+ def surface_set(
353
+ override_context: typing.Union[dict, bpy.types.Context] = None,
354
+ execution_context: typing.Union[str, int] = None,
355
+ undo: bool = None,
356
+ ):
332
357
  """Use the active object as surface for selected curves objects and set it as the parent
333
358
 
334
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
335
- :type execution_context: typing.Optional[typing.Union[int, str]]
336
- :type undo: typing.Optional[bool]
359
+ :type override_context: typing.Union[dict, bpy.types.Context]
360
+ :type execution_context: typing.Union[str, int]
361
+ :type undo: bool
337
362
  """
338
363
 
339
364
  ...
340
365
 
341
- def tilt_clear(override_context=None, execution_context=None, undo=None):
366
+ def tilt_clear(
367
+ override_context: typing.Union[dict, bpy.types.Context] = None,
368
+ execution_context: typing.Union[str, int] = None,
369
+ undo: bool = None,
370
+ ):
342
371
  """Clear the tilt of selected control points
343
372
 
344
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
345
- :type execution_context: typing.Optional[typing.Union[int, str]]
346
- :type undo: typing.Optional[bool]
373
+ :type override_context: typing.Union[dict, bpy.types.Context]
374
+ :type execution_context: typing.Union[str, int]
375
+ :type undo: bool
347
376
  """
348
377
 
349
378
  ...
@@ -4,18 +4,17 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def denoise_animation(
7
- override_context=None,
8
- execution_context=None,
9
- undo=None,
10
- *,
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
11
10
  input_filepath: typing.Union[str, typing.Any] = "",
12
11
  output_filepath: typing.Union[str, typing.Any] = "",
13
12
  ):
14
13
  """Denoise rendered animation sequence using current scene and view layer settings. Requires denoising data passes and output to OpenEXR multilayer files
15
14
 
16
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
17
- :type execution_context: typing.Optional[typing.Union[int, str]]
18
- :type undo: typing.Optional[bool]
15
+ :type override_context: typing.Union[dict, bpy.types.Context]
16
+ :type execution_context: typing.Union[str, int]
17
+ :type undo: bool
19
18
  :param input_filepath: Input Filepath, File path for image to denoise. If not specified, uses the render file path and frame range from the scene
20
19
  :type input_filepath: typing.Union[str, typing.Any]
21
20
  :param output_filepath: Output Filepath, If not specified, renders will be denoised in-place
@@ -25,19 +24,18 @@ def denoise_animation(
25
24
  ...
26
25
 
27
26
  def merge_images(
28
- override_context=None,
29
- execution_context=None,
30
- undo=None,
31
- *,
27
+ override_context: typing.Union[dict, bpy.types.Context] = None,
28
+ execution_context: typing.Union[str, int] = None,
29
+ undo: bool = None,
32
30
  input_filepath1: typing.Union[str, typing.Any] = "",
33
31
  input_filepath2: typing.Union[str, typing.Any] = "",
34
32
  output_filepath: typing.Union[str, typing.Any] = "",
35
33
  ):
36
34
  """Combine OpenEXR multi-layer images rendered with different sample ranges into one image with reduced noise
37
35
 
38
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
39
- :type execution_context: typing.Optional[typing.Union[int, str]]
40
- :type undo: typing.Optional[bool]
36
+ :type override_context: typing.Union[dict, bpy.types.Context]
37
+ :type execution_context: typing.Union[str, int]
38
+ :type undo: bool
41
39
  :param input_filepath1: Input Filepath, File path for image to merge
42
40
  :type input_filepath1: typing.Union[str, typing.Any]
43
41
  :param input_filepath2: Input Filepath, File path for image to merge
@@ -48,12 +46,16 @@ def merge_images(
48
46
 
49
47
  ...
50
48
 
51
- def use_shading_nodes(override_context=None, execution_context=None, undo=None):
49
+ def use_shading_nodes(
50
+ override_context: typing.Union[dict, bpy.types.Context] = None,
51
+ execution_context: typing.Union[str, int] = None,
52
+ undo: bool = None,
53
+ ):
52
54
  """Enable nodes on a material, world or light
53
55
 
54
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
55
- :type execution_context: typing.Optional[typing.Union[int, str]]
56
- :type undo: typing.Optional[bool]
56
+ :type override_context: typing.Union[dict, bpy.types.Context]
57
+ :type execution_context: typing.Union[str, int]
58
+ :type undo: bool
57
59
  """
58
60
 
59
61
  ...