fake-bpy-module 20250604__py3-none-any.whl → 20250606__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (284) hide show
  1. _bpy_internal/addons/cli/__init__.pyi +1 -1
  2. _bpy_internal/extensions/junction_module/__init__.pyi +7 -7
  3. _bpy_internal/extensions/stale_file_manager/__init__.pyi +8 -8
  4. _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -3
  5. _bpy_internal/freedesktop/__init__.pyi +16 -16
  6. _bpy_internal/grease_pencil/stroke/__init__.pyi +4 -4
  7. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +1 -1
  8. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +1 -1
  9. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
  10. addon_utils/__init__.pyi +12 -12
  11. animsys_refactor/__init__.pyi +6 -6
  12. aud/__init__.pyi +11 -11
  13. bgl/__init__.pyi +272 -252
  14. bl_app_override/__init__.pyi +3 -3
  15. bl_app_override/helpers/__init__.pyi +2 -2
  16. bl_app_template_utils/__init__.pyi +4 -4
  17. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -2
  18. bl_i18n_utils/bl_extract_messages/__init__.pyi +18 -16
  19. bl_i18n_utils/merge_po/__init__.pyi +1 -1
  20. bl_i18n_utils/settings/__init__.pyi +6 -6
  21. bl_i18n_utils/utils/__init__.pyi +48 -46
  22. bl_i18n_utils/utils_cli/__init__.pyi +6 -6
  23. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -1
  24. bl_i18n_utils/utils_rtl/__init__.pyi +2 -2
  25. bl_keymap_utils/io/__init__.pyi +9 -9
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -1
  28. bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
  29. bl_keymap_utils/versioning/__init__.pyi +1 -1
  30. bl_operators/__init__.pyi +2 -2
  31. bl_operators/add_mesh_torus/__init__.pyi +6 -6
  32. bl_operators/anim/__init__.pyi +24 -24
  33. bl_operators/assets/__init__.pyi +9 -9
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +11 -9
  35. bl_operators/bone_selection_sets/__init__.pyi +18 -18
  36. bl_operators/clip/__init__.pyi +26 -26
  37. bl_operators/connect_to_output/__init__.pyi +17 -15
  38. bl_operators/console/__init__.pyi +10 -10
  39. bl_operators/constraint/__init__.pyi +8 -8
  40. bl_operators/file/__init__.pyi +6 -6
  41. bl_operators/freestyle/__init__.pyi +9 -9
  42. bl_operators/geometry_nodes/__init__.pyi +24 -24
  43. bl_operators/grease_pencil/__init__.pyi +2 -2
  44. bl_operators/image/__init__.pyi +7 -7
  45. bl_operators/image_as_planes/__init__.pyi +32 -32
  46. bl_operators/mesh/__init__.pyi +7 -7
  47. bl_operators/node/__init__.pyi +31 -31
  48. bl_operators/node_editor/node_functions/__init__.pyi +9 -9
  49. bl_operators/object/__init__.pyi +31 -31
  50. bl_operators/object_align/__init__.pyi +5 -5
  51. bl_operators/object_quick_effects/__init__.pyi +9 -9
  52. bl_operators/object_randomize_transform/__init__.pyi +3 -3
  53. bl_operators/presets/__init__.pyi +18 -18
  54. bl_operators/rigidbody/__init__.pyi +7 -7
  55. bl_operators/screen_play_rendered_anim/__init__.pyi +2 -2
  56. bl_operators/sequencer/__init__.pyi +19 -19
  57. bl_operators/spreadsheet/__init__.pyi +4 -4
  58. bl_operators/userpref/__init__.pyi +42 -42
  59. bl_operators/uvcalc_follow_active/__init__.pyi +5 -5
  60. bl_operators/uvcalc_lightmap/__init__.pyi +8 -8
  61. bl_operators/uvcalc_transform/__init__.pyi +20 -20
  62. bl_operators/vertexpaint_dirt/__init__.pyi +4 -4
  63. bl_operators/view3d/__init__.pyi +21 -19
  64. bl_operators/wm/__init__.pyi +88 -88
  65. bl_operators/world/__init__.pyi +2 -2
  66. bl_previews_utils/bl_previews_render/__init__.pyi +9 -7
  67. bl_rna_utils/data_path/__init__.pyi +2 -2
  68. bl_text_utils/external_editor/__init__.pyi +1 -1
  69. bl_ui/__init__.pyi +10 -10
  70. bl_ui/anim/__init__.pyi +2 -2
  71. bl_ui/asset_shelf/__init__.pyi +2 -2
  72. bl_ui/generic_ui_list/__init__.pyi +6 -6
  73. bl_ui/node_add_menu/__init__.pyi +15 -13
  74. bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
  75. bl_ui/node_add_menu_geometry/__init__.pyi +54 -54
  76. bl_ui/node_add_menu_shader/__init__.pyi +16 -16
  77. bl_ui/node_add_menu_texture/__init__.pyi +9 -9
  78. bl_ui/properties_animviz/__init__.pyi +2 -2
  79. bl_ui/properties_collection/__init__.pyi +10 -8
  80. bl_ui/properties_constraint/__init__.pyi +125 -125
  81. bl_ui/properties_data_armature/__init__.pyi +22 -22
  82. bl_ui/properties_data_bone/__init__.pyi +20 -20
  83. bl_ui/properties_data_camera/__init__.pyi +19 -19
  84. bl_ui/properties_data_curve/__init__.pyi +23 -23
  85. bl_ui/properties_data_curves/__init__.pyi +9 -9
  86. bl_ui/properties_data_empty/__init__.pyi +4 -4
  87. bl_ui/properties_data_grease_pencil/__init__.pyi +25 -25
  88. bl_ui/properties_data_lattice/__init__.pyi +4 -4
  89. bl_ui/properties_data_light/__init__.pyi +14 -14
  90. bl_ui/properties_data_lightprobe/__init__.pyi +18 -18
  91. bl_ui/properties_data_mesh/__init__.pyi +26 -26
  92. bl_ui/properties_data_metaball/__init__.pyi +6 -6
  93. bl_ui/properties_data_modifier/__init__.pyi +12 -12
  94. bl_ui/properties_data_pointcloud/__init__.pyi +8 -8
  95. bl_ui/properties_data_shaderfx/__init__.pyi +1 -1
  96. bl_ui/properties_data_speaker/__init__.pyi +5 -5
  97. bl_ui/properties_data_volume/__init__.pyi +9 -9
  98. bl_ui/properties_freestyle/__init__.pyi +51 -51
  99. bl_ui/properties_grease_pencil_common/__init__.pyi +30 -30
  100. bl_ui/properties_mask_common/__init__.pyi +24 -24
  101. bl_ui/properties_material/__init__.pyi +27 -27
  102. bl_ui/properties_material_gpencil/__init__.pyi +12 -12
  103. bl_ui/properties_object/__init__.pyi +29 -29
  104. bl_ui/properties_output/__init__.pyi +29 -29
  105. bl_ui/properties_paint_common/__init__.pyi +59 -49
  106. bl_ui/properties_particle/__init__.pyi +101 -101
  107. bl_ui/properties_physics_cloth/__init__.pyi +20 -20
  108. bl_ui/properties_physics_common/__init__.pyi +8 -8
  109. bl_ui/properties_physics_dynamicpaint/__init__.pyi +57 -57
  110. bl_ui/properties_physics_field/__init__.pyi +23 -23
  111. bl_ui/properties_physics_fluid/__init__.pyi +76 -76
  112. bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -3
  113. bl_ui/properties_physics_rigidbody/__init__.pyi +18 -18
  114. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +29 -29
  115. bl_ui/properties_physics_softbody/__init__.pyi +21 -21
  116. bl_ui/properties_render/__init__.pyi +81 -81
  117. bl_ui/properties_scene/__init__.pyi +22 -22
  118. bl_ui/properties_texture/__init__.pyi +39 -39
  119. bl_ui/properties_view_layer/__init__.pyi +12 -12
  120. bl_ui/properties_workspace/__init__.pyi +5 -5
  121. bl_ui/properties_world/__init__.pyi +18 -18
  122. bl_ui/space_clip/__init__.pyi +81 -81
  123. bl_ui/space_console/__init__.pyi +6 -6
  124. bl_ui/space_dopesheet/__init__.pyi +32 -32
  125. bl_ui/space_filebrowser/__init__.pyi +45 -45
  126. bl_ui/space_graph/__init__.pyi +21 -21
  127. bl_ui/space_image/__init__.pyi +73 -73
  128. bl_ui/space_info/__init__.pyi +6 -6
  129. bl_ui/space_nla/__init__.pyi +18 -18
  130. bl_ui/space_node/__init__.pyi +42 -42
  131. bl_ui/space_outliner/__init__.pyi +21 -21
  132. bl_ui/space_properties/__init__.pyi +6 -6
  133. bl_ui/space_sequencer/__init__.pyi +133 -133
  134. bl_ui/space_spreadsheet/__init__.pyi +4 -4
  135. bl_ui/space_statusbar/__init__.pyi +1 -1
  136. bl_ui/space_text/__init__.pyi +17 -17
  137. bl_ui/space_time/__init__.pyi +12 -12
  138. bl_ui/space_toolsystem_common/__init__.pyi +28 -26
  139. bl_ui/space_toolsystem_toolbar/__init__.pyi +36 -36
  140. bl_ui/space_topbar/__init__.pyi +32 -32
  141. bl_ui/space_userpref/__init__.pyi +132 -132
  142. bl_ui/space_view3d/__init__.pyi +297 -297
  143. bl_ui/space_view3d_toolbar/__init__.pyi +148 -149
  144. bl_ui/utils/__init__.pyi +5 -5
  145. bl_ui_utils/layout/__init__.pyi +1 -1
  146. blend_render_info/__init__.pyi +2 -2
  147. blf/__init__.pyi +15 -15
  148. bmesh/__init__.pyi +1 -1
  149. bmesh/ops/__init__.pyi +366 -357
  150. bmesh/types/__init__.pyi +59 -57
  151. bmesh/utils/__init__.pyi +2 -2
  152. bpy/app/__init__.pyi +3 -3
  153. bpy/app/icons/__init__.pyi +1 -1
  154. bpy/app/timers/__init__.pyi +2 -2
  155. bpy/app/translations/__init__.pyi +9 -9
  156. bpy/msgbus/__init__.pyi +3 -3
  157. bpy/ops/action/__init__.pyi +62 -38
  158. bpy/ops/anim/__init__.pyi +63 -61
  159. bpy/ops/armature/__init__.pyi +58 -48
  160. bpy/ops/asset/__init__.pyi +31 -17
  161. bpy/ops/boid/__init__.pyi +18 -8
  162. bpy/ops/brush/__init__.pyi +19 -13
  163. bpy/ops/buttons/__init__.pyi +14 -6
  164. bpy/ops/cachefile/__init__.pyi +9 -5
  165. bpy/ops/camera/__init__.pyi +2 -2
  166. bpy/ops/clip/__init__.pyi +112 -92
  167. bpy/ops/cloth/__init__.pyi +1 -1
  168. bpy/ops/collection/__init__.pyi +11 -9
  169. bpy/ops/console/__init__.pyi +37 -21
  170. bpy/ops/constraint/__init__.pyi +20 -18
  171. bpy/ops/curve/__init__.pyi +81 -51
  172. bpy/ops/curves/__init__.pyi +50 -30
  173. bpy/ops/cycles/__init__.pyi +3 -3
  174. bpy/ops/dpaint/__init__.pyi +5 -5
  175. bpy/ops/ed/__init__.pyi +19 -13
  176. bpy/ops/export_anim/__init__.pyi +1 -1
  177. bpy/ops/export_scene/__init__.pyi +2 -2
  178. bpy/ops/extensions/__init__.pyi +38 -32
  179. bpy/ops/file/__init__.pyi +72 -40
  180. bpy/ops/fluid/__init__.pyi +36 -14
  181. bpy/ops/font/__init__.pyi +41 -23
  182. bpy/ops/geometry/__init__.pyi +10 -10
  183. bpy/ops/gizmogroup/__init__.pyi +4 -2
  184. bpy/ops/gpencil/__init__.pyi +12 -8
  185. bpy/ops/graph/__init__.pyi +81 -65
  186. bpy/ops/grease_pencil/__init__.pyi +159 -115
  187. bpy/ops/image/__init__.pyi +63 -49
  188. bpy/ops/import_anim/__init__.pyi +1 -1
  189. bpy/ops/import_curve/__init__.pyi +1 -1
  190. bpy/ops/import_scene/__init__.pyi +2 -2
  191. bpy/ops/info/__init__.pyi +13 -7
  192. bpy/ops/lattice/__init__.pyi +14 -8
  193. bpy/ops/marker/__init__.pyi +13 -11
  194. bpy/ops/mask/__init__.pyi +59 -39
  195. bpy/ops/material/__init__.pyi +3 -3
  196. bpy/ops/mball/__init__.pyi +8 -8
  197. bpy/ops/mesh/__init__.pyi +182 -164
  198. bpy/ops/nla/__init__.pyi +65 -39
  199. bpy/ops/node/__init__.pyi +181 -147
  200. bpy/ops/object/__init__.pyi +262 -242
  201. bpy/ops/outliner/__init__.pyi +98 -72
  202. bpy/ops/paint/__init__.pyi +58 -54
  203. bpy/ops/paintcurve/__init__.pyi +12 -8
  204. bpy/ops/palette/__init__.pyi +11 -7
  205. bpy/ops/particle/__init__.pyi +58 -36
  206. bpy/ops/pointcloud/__init__.pyi +13 -7
  207. bpy/ops/pose/__init__.pyi +65 -51
  208. bpy/ops/poselib/__init__.pyi +17 -11
  209. bpy/ops/preferences/__init__.pyi +41 -35
  210. bpy/ops/ptcache/__init__.pyi +13 -7
  211. bpy/ops/render/__init__.pyi +17 -13
  212. bpy/ops/rigidbody/__init__.pyi +19 -13
  213. bpy/ops/scene/__init__.pyi +39 -37
  214. bpy/ops/screen/__init__.pyi +59 -39
  215. bpy/ops/script/__init__.pyi +5 -3
  216. bpy/ops/sculpt/__init__.pyi +44 -40
  217. bpy/ops/sculpt_curves/__init__.pyi +4 -4
  218. bpy/ops/sequencer/__init__.pyi +142 -100
  219. bpy/ops/sound/__init__.pyi +7 -7
  220. bpy/ops/spreadsheet/__init__.pyi +13 -7
  221. bpy/ops/surface/__init__.pyi +6 -6
  222. bpy/ops/text/__init__.pyi +73 -43
  223. bpy/ops/text_editor/__init__.pyi +1 -1
  224. bpy/ops/texture/__init__.pyi +8 -4
  225. bpy/ops/transform/__init__.pyi +29 -27
  226. bpy/ops/ui/__init__.pyi +42 -34
  227. bpy/ops/uilist/__init__.pyi +3 -3
  228. bpy/ops/uv/__init__.pyi +59 -49
  229. bpy/ops/view2d/__init__.pyi +14 -14
  230. bpy/ops/view3d/__init__.pyi +87 -67
  231. bpy/ops/wm/__init__.pyi +138 -116
  232. bpy/ops/workspace/__init__.pyi +11 -7
  233. bpy/ops/world/__init__.pyi +2 -2
  234. bpy/props/__init__.pyi +16 -13
  235. bpy/types/__init__.pyi +1206 -1157
  236. bpy/utils/__init__.pyi +23 -23
  237. bpy/utils/previews/__init__.pyi +3 -3
  238. bpy_extras/anim_utils/__init__.pyi +7 -7
  239. bpy_extras/bmesh_utils/__init__.pyi +1 -1
  240. bpy_extras/id_map_utils/__init__.pyi +3 -3
  241. bpy_extras/io_utils/__init__.pyi +14 -12
  242. bpy_extras/keyconfig_utils/__init__.pyi +3 -3
  243. bpy_extras/mesh_utils/__init__.pyi +2 -2
  244. bpy_extras/node_shader_utils/__init__.pyi +63 -63
  245. bpy_extras/node_utils/__init__.pyi +3 -3
  246. bpy_extras/object_utils/__init__.pyi +4 -4
  247. bpy_extras/wm_utils/progress_report/__init__.pyi +10 -10
  248. bpy_types/__init__.pyi +4 -4
  249. console_python/__init__.pyi +7 -7
  250. console_shell/__init__.pyi +5 -5
  251. {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250606.dist-info}/METADATA +1 -1
  252. fake_bpy_module-20250606.dist-info/RECORD +367 -0
  253. freestyle/chainingiterators/__init__.pyi +35 -33
  254. freestyle/functions/__init__.pyi +55 -55
  255. freestyle/predicates/__init__.pyi +8 -8
  256. freestyle/shaders/__init__.pyi +79 -75
  257. freestyle/types/__init__.pyi +146 -142
  258. freestyle/utils/ContextFunctions/__init__.pyi +3 -1
  259. freestyle/utils/__init__.pyi +25 -25
  260. gpu/matrix/__init__.pyi +14 -14
  261. gpu/select/__init__.pyi +1 -1
  262. gpu/shader/__init__.pyi +1 -1
  263. gpu/state/__init__.pyi +19 -19
  264. gpu/types/__init__.pyi +50 -44
  265. gpu_extras/presets/__init__.pyi +2 -2
  266. graphviz_export/__init__.pyi +2 -2
  267. idprop/types/__init__.pyi +9 -9
  268. imbuf/__init__.pyi +3 -1
  269. imbuf/types/__init__.pyi +3 -3
  270. keyingsets_builtins/__init__.pyi +26 -26
  271. keyingsets_utils/__init__.pyi +14 -14
  272. mathutils/__init__.pyi +61 -53
  273. mathutils/bvhtree/__init__.pyi +4 -4
  274. mathutils/kdtree/__init__.pyi +3 -3
  275. mathutils/noise/__init__.pyi +1 -1
  276. nodeitems_builtins/__init__.pyi +4 -4
  277. nodeitems_utils/__init__.pyi +9 -9
  278. rna_info/__init__.pyi +25 -25
  279. rna_keymap_ui/__init__.pyi +6 -6
  280. rna_prop_ui/__init__.pyi +12 -12
  281. rna_xml/__init__.pyi +6 -6
  282. fake_bpy_module-20250604.dist-info/RECORD +0 -367
  283. {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250606.dist-info}/WHEEL +0 -0
  284. {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250606.dist-info}/top_level.txt +0 -0
@@ -6,7 +6,7 @@ import bpy.stub_internal.rna_enums
6
6
 
7
7
  def bake_animation(
8
8
  execution_context: int | str | None = None, undo: bool | None = None
9
- ):
9
+ ) -> None:
10
10
  """Update the audio animation cache
11
11
 
12
12
  :type execution_context: int | str | None
@@ -66,7 +66,7 @@ def mixdown(
66
66
  mixrate: int | None = 48000,
67
67
  bitrate: int | None = 192,
68
68
  split_channels: bool | None = False,
69
- ):
69
+ ) -> None:
70
70
  """Mix the scene's audio to a sound file
71
71
 
72
72
  :type execution_context: int | str | None
@@ -270,7 +270,7 @@ def open(
270
270
  sort_method: str | None = "",
271
271
  cache: bool | None = False,
272
272
  mono: bool | None = False,
273
- ):
273
+ ) -> None:
274
274
  """Load a sound file
275
275
 
276
276
  :type execution_context: int | str | None
@@ -381,7 +381,7 @@ def open_mono(
381
381
  sort_method: str | None = "",
382
382
  cache: bool | None = False,
383
383
  mono: bool | None = True,
384
- ):
384
+ ) -> None:
385
385
  """Load a sound file as mono
386
386
 
387
387
  :type execution_context: int | str | None
@@ -456,7 +456,7 @@ def open_mono(
456
456
  :type mono: bool | None
457
457
  """
458
458
 
459
- def pack(execution_context: int | str | None = None, undo: bool | None = None):
459
+ def pack(execution_context: int | str | None = None, undo: bool | None = None) -> None:
460
460
  """Pack the sound into the current blend file
461
461
 
462
462
  :type execution_context: int | str | None
@@ -470,7 +470,7 @@ def unpack(
470
470
  *,
471
471
  method: bpy.stub_internal.rna_enums.UnpackMethodItems | None = "USE_LOCAL",
472
472
  id: str = "",
473
- ):
473
+ ) -> None:
474
474
  """Unpack the sound to the samples filename
475
475
 
476
476
  :type execution_context: int | str | None
@@ -483,7 +483,7 @@ def unpack(
483
483
 
484
484
  def update_animation_flags(
485
485
  execution_context: int | str | None = None, undo: bool | None = None
486
- ):
486
+ ) -> None:
487
487
  """Update animation flags
488
488
 
489
489
  :type execution_context: int | str | None
@@ -5,7 +5,7 @@ import numpy.typing as npt
5
5
 
6
6
  def add_row_filter_rule(
7
7
  execution_context: int | str | None = None, undo: bool | None = None
8
- ):
8
+ ) -> None:
9
9
  """Add a filter to remove rows from the displayed data
10
10
 
11
11
  :type execution_context: int | str | None
@@ -19,7 +19,7 @@ def change_spreadsheet_data_source(
19
19
  *,
20
20
  component_type: int | None = 0,
21
21
  attribute_domain_type: int | None = 0,
22
- ):
22
+ ) -> None:
23
23
  """Change visible data source in the spreadsheet
24
24
 
25
25
  :type execution_context: int | str | None
@@ -30,7 +30,9 @@ def change_spreadsheet_data_source(
30
30
  :type attribute_domain_type: int | None
31
31
  """
32
32
 
33
- def fit_column(execution_context: int | str | None = None, undo: bool | None = None):
33
+ def fit_column(
34
+ execution_context: int | str | None = None, undo: bool | None = None
35
+ ) -> None:
34
36
  """Resize a spreadsheet column to the width of the data
35
37
 
36
38
  :type execution_context: int | str | None
@@ -43,7 +45,7 @@ def remove_row_filter_rule(
43
45
  /,
44
46
  *,
45
47
  index: int | None = 0,
46
- ):
48
+ ) -> None:
47
49
  """Remove a row filter from the rules
48
50
 
49
51
  :type execution_context: int | str | None
@@ -54,21 +56,25 @@ def remove_row_filter_rule(
54
56
 
55
57
  def reorder_columns(
56
58
  execution_context: int | str | None = None, undo: bool | None = None
57
- ):
59
+ ) -> None:
58
60
  """Change the order of columns
59
61
 
60
62
  :type execution_context: int | str | None
61
63
  :type undo: bool | None
62
64
  """
63
65
 
64
- def resize_column(execution_context: int | str | None = None, undo: bool | None = None):
66
+ def resize_column(
67
+ execution_context: int | str | None = None, undo: bool | None = None
68
+ ) -> None:
65
69
  """Resize a spreadsheet column
66
70
 
67
71
  :type execution_context: int | str | None
68
72
  :type undo: bool | None
69
73
  """
70
74
 
71
- def toggle_pin(execution_context: int | str | None = None, undo: bool | None = None):
75
+ def toggle_pin(
76
+ execution_context: int | str | None = None, undo: bool | None = None
77
+ ) -> None:
72
78
  """Turn on or off pinning
73
79
 
74
80
  :type execution_context: int | str | None
@@ -23,7 +23,7 @@ def primitive_nurbs_surface_circle_add(
23
23
  0.0,
24
24
  ),
25
25
  scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
26
- ):
26
+ ) -> None:
27
27
  """Construct a Nurbs surface Circle
28
28
 
29
29
  :type execution_context: int | str | None
@@ -70,7 +70,7 @@ def primitive_nurbs_surface_curve_add(
70
70
  0.0,
71
71
  ),
72
72
  scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
73
- ):
73
+ ) -> None:
74
74
  """Construct a Nurbs surface Curve
75
75
 
76
76
  :type execution_context: int | str | None
@@ -117,7 +117,7 @@ def primitive_nurbs_surface_cylinder_add(
117
117
  0.0,
118
118
  ),
119
119
  scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
120
- ):
120
+ ) -> None:
121
121
  """Construct a Nurbs surface Cylinder
122
122
 
123
123
  :type execution_context: int | str | None
@@ -164,7 +164,7 @@ def primitive_nurbs_surface_sphere_add(
164
164
  0.0,
165
165
  ),
166
166
  scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
167
- ):
167
+ ) -> None:
168
168
  """Construct a Nurbs surface Sphere
169
169
 
170
170
  :type execution_context: int | str | None
@@ -211,7 +211,7 @@ def primitive_nurbs_surface_surface_add(
211
211
  0.0,
212
212
  ),
213
213
  scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
214
- ):
214
+ ) -> None:
215
215
  """Construct a Nurbs surface Patch
216
216
 
217
217
  :type execution_context: int | str | None
@@ -258,7 +258,7 @@ def primitive_nurbs_surface_torus_add(
258
258
  0.0,
259
259
  ),
260
260
  scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
261
- ):
261
+ ) -> None:
262
262
  """Construct a Nurbs surface Torus
263
263
 
264
264
  :type execution_context: int | str | None
bpy/ops/text/__init__.pyi CHANGED
@@ -3,7 +3,9 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
5
 
6
- def autocomplete(execution_context: int | str | None = None, undo: bool | None = None):
6
+ def autocomplete(
7
+ execution_context: int | str | None = None, undo: bool | None = None
8
+ ) -> None:
7
9
  """Show a list of used text in the open document
8
10
 
9
11
  :type execution_context: int | str | None
@@ -16,7 +18,7 @@ def comment_toggle(
16
18
  /,
17
19
  *,
18
20
  type: typing.Literal["TOGGLE", "COMMENT", "UNCOMMENT"] | None = "TOGGLE",
19
- ):
21
+ ) -> None:
20
22
  """Undocumented, consider contributing.
21
23
 
22
24
  :type execution_context: int | str | None
@@ -31,7 +33,7 @@ def convert_whitespace(
31
33
  /,
32
34
  *,
33
35
  type: typing.Literal["SPACES", "TABS"] | None = "SPACES",
34
- ):
36
+ ) -> None:
35
37
  """Convert whitespaces by type
36
38
 
37
39
  :type execution_context: int | str | None
@@ -40,7 +42,7 @@ def convert_whitespace(
40
42
  :type type: typing.Literal['SPACES','TABS'] | None
41
43
  """
42
44
 
43
- def copy(execution_context: int | str | None = None, undo: bool | None = None):
45
+ def copy(execution_context: int | str | None = None, undo: bool | None = None) -> None:
44
46
  """Copy selected text to clipboard
45
47
 
46
48
  :type execution_context: int | str | None
@@ -54,7 +56,7 @@ def cursor_set(
54
56
  *,
55
57
  x: int | None = 0,
56
58
  y: int | None = 0,
57
- ):
59
+ ) -> None:
58
60
  """Set cursor position
59
61
 
60
62
  :type execution_context: int | str | None
@@ -65,7 +67,7 @@ def cursor_set(
65
67
  :type y: int | None
66
68
  """
67
69
 
68
- def cut(execution_context: int | str | None = None, undo: bool | None = None):
70
+ def cut(execution_context: int | str | None = None, undo: bool | None = None) -> None:
69
71
  """Cut selected text to clipboard
70
72
 
71
73
  :type execution_context: int | str | None
@@ -81,7 +83,7 @@ def delete(
81
83
  "NEXT_CHARACTER", "PREVIOUS_CHARACTER", "NEXT_WORD", "PREVIOUS_WORD"
82
84
  ]
83
85
  | None = "NEXT_CHARACTER",
84
- ):
86
+ ) -> None:
85
87
  """Delete text by cursor position
86
88
 
87
89
  :type execution_context: int | str | None
@@ -92,14 +94,14 @@ def delete(
92
94
 
93
95
  def duplicate_line(
94
96
  execution_context: int | str | None = None, undo: bool | None = None
95
- ):
97
+ ) -> None:
96
98
  """Duplicate the current line
97
99
 
98
100
  :type execution_context: int | str | None
99
101
  :type undo: bool | None
100
102
  """
101
103
 
102
- def find(execution_context: int | str | None = None, undo: bool | None = None):
104
+ def find(execution_context: int | str | None = None, undo: bool | None = None) -> None:
103
105
  """Find specified text
104
106
 
105
107
  :type execution_context: int | str | None
@@ -108,14 +110,16 @@ def find(execution_context: int | str | None = None, undo: bool | None = None):
108
110
 
109
111
  def find_set_selected(
110
112
  execution_context: int | str | None = None, undo: bool | None = None
111
- ):
113
+ ) -> None:
112
114
  """Find specified text and set as selected
113
115
 
114
116
  :type execution_context: int | str | None
115
117
  :type undo: bool | None
116
118
  """
117
119
 
118
- def indent(execution_context: int | str | None = None, undo: bool | None = None):
120
+ def indent(
121
+ execution_context: int | str | None = None, undo: bool | None = None
122
+ ) -> None:
119
123
  """Indent selected text
120
124
 
121
125
  :type execution_context: int | str | None
@@ -124,7 +128,7 @@ def indent(execution_context: int | str | None = None, undo: bool | None = None)
124
128
 
125
129
  def indent_or_autocomplete(
126
130
  execution_context: int | str | None = None, undo: bool | None = None
127
- ):
131
+ ) -> None:
128
132
  """Indent selected text or autocomplete
129
133
 
130
134
  :type execution_context: int | str | None
@@ -137,7 +141,7 @@ def insert(
137
141
  /,
138
142
  *,
139
143
  text: str = "",
140
- ):
144
+ ) -> None:
141
145
  """Insert text at cursor position
142
146
 
143
147
  :type execution_context: int | str | None
@@ -152,7 +156,7 @@ def jump(
152
156
  /,
153
157
  *,
154
158
  line: int | None = 1,
155
- ):
159
+ ) -> None:
156
160
  """Jump cursor to line
157
161
 
158
162
  :type execution_context: int | str | None
@@ -169,7 +173,7 @@ def jump_to_file_at_point(
169
173
  filepath: str = "",
170
174
  line: int | None = 0,
171
175
  column: int | None = 0,
172
- ):
176
+ ) -> None:
173
177
  """Jump to a file for the text editor
174
178
 
175
179
  :type execution_context: int | str | None
@@ -182,21 +186,27 @@ def jump_to_file_at_point(
182
186
  :type column: int | None
183
187
  """
184
188
 
185
- def line_break(execution_context: int | str | None = None, undo: bool | None = None):
189
+ def line_break(
190
+ execution_context: int | str | None = None, undo: bool | None = None
191
+ ) -> None:
186
192
  """Insert line break at cursor position
187
193
 
188
194
  :type execution_context: int | str | None
189
195
  :type undo: bool | None
190
196
  """
191
197
 
192
- def line_number(execution_context: int | str | None = None, undo: bool | None = None):
198
+ def line_number(
199
+ execution_context: int | str | None = None, undo: bool | None = None
200
+ ) -> None:
193
201
  """The current line number
194
202
 
195
203
  :type execution_context: int | str | None
196
204
  :type undo: bool | None
197
205
  """
198
206
 
199
- def make_internal(execution_context: int | str | None = None, undo: bool | None = None):
207
+ def make_internal(
208
+ execution_context: int | str | None = None, undo: bool | None = None
209
+ ) -> None:
200
210
  """Make active text file internal
201
211
 
202
212
  :type execution_context: int | str | None
@@ -223,7 +233,7 @@ def move(
223
233
  "NEXT_PAGE",
224
234
  ]
225
235
  | None = "LINE_BEGIN",
226
- ):
236
+ ) -> None:
227
237
  """Move cursor to position type
228
238
 
229
239
  :type execution_context: int | str | None
@@ -238,7 +248,7 @@ def move_lines(
238
248
  /,
239
249
  *,
240
250
  direction: typing.Literal["UP", "DOWN"] | None = "DOWN",
241
- ):
251
+ ) -> None:
242
252
  """Move the currently selected line(s) up/down
243
253
 
244
254
  :type execution_context: int | str | None
@@ -267,7 +277,7 @@ def move_select(
267
277
  "NEXT_PAGE",
268
278
  ]
269
279
  | None = "LINE_BEGIN",
270
- ):
280
+ ) -> None:
271
281
  """Move the cursor while selecting
272
282
 
273
283
  :type execution_context: int | str | None
@@ -276,7 +286,7 @@ def move_select(
276
286
  :type type: typing.Literal['LINE_BEGIN','LINE_END','FILE_TOP','FILE_BOTTOM','PREVIOUS_CHARACTER','NEXT_CHARACTER','PREVIOUS_WORD','NEXT_WORD','PREVIOUS_LINE','NEXT_LINE','PREVIOUS_PAGE','NEXT_PAGE'] | None
277
287
  """
278
288
 
279
- def new(execution_context: int | str | None = None, undo: bool | None = None):
289
+ def new(execution_context: int | str | None = None, undo: bool | None = None) -> None:
280
290
  """Create a new text data-block
281
291
 
282
292
  :type execution_context: int | str | None
@@ -323,7 +333,7 @@ def open(
323
333
  ]
324
334
  | None = "",
325
335
  internal: bool | None = False,
326
- ):
336
+ ) -> None:
327
337
  """Open a new text data-block
328
338
 
329
339
  :type execution_context: int | str | None
@@ -410,7 +420,7 @@ def open(
410
420
 
411
421
  def overwrite_toggle(
412
422
  execution_context: int | str | None = None, undo: bool | None = None
413
- ):
423
+ ) -> None:
414
424
  """Toggle overwrite while typing
415
425
 
416
426
  :type execution_context: int | str | None
@@ -423,7 +433,7 @@ def paste(
423
433
  /,
424
434
  *,
425
435
  selection: bool | None = False,
426
- ):
436
+ ) -> None:
427
437
  """Paste text from clipboard
428
438
 
429
439
  :type execution_context: int | str | None
@@ -432,7 +442,9 @@ def paste(
432
442
  :type selection: bool | None
433
443
  """
434
444
 
435
- def reload(execution_context: int | str | None = None, undo: bool | None = None):
445
+ def reload(
446
+ execution_context: int | str | None = None, undo: bool | None = None
447
+ ) -> None:
436
448
  """Reload active text data-block from its file
437
449
 
438
450
  :type execution_context: int | str | None
@@ -445,7 +457,7 @@ def replace(
445
457
  /,
446
458
  *,
447
459
  all: bool | None = False,
448
- ):
460
+ ) -> None:
449
461
  """Replace text with the specified text
450
462
 
451
463
  :type execution_context: int | str | None
@@ -456,7 +468,7 @@ def replace(
456
468
 
457
469
  def replace_set_selected(
458
470
  execution_context: int | str | None = None, undo: bool | None = None
459
- ):
471
+ ) -> None:
460
472
  """Replace text with specified text and set as selected
461
473
 
462
474
  :type execution_context: int | str | None
@@ -470,7 +482,7 @@ def resolve_conflict(
470
482
  *,
471
483
  resolution: typing.Literal["IGNORE", "RELOAD", "SAVE", "MAKE_INTERNAL"]
472
484
  | None = "IGNORE",
473
- ):
485
+ ) -> None:
474
486
  """When external text is out of sync, resolve the conflict
475
487
 
476
488
  :type execution_context: int | str | None
@@ -479,14 +491,16 @@ def resolve_conflict(
479
491
  :type resolution: typing.Literal['IGNORE','RELOAD','SAVE','MAKE_INTERNAL'] | None
480
492
  """
481
493
 
482
- def run_script(execution_context: int | str | None = None, undo: bool | None = None):
494
+ def run_script(
495
+ execution_context: int | str | None = None, undo: bool | None = None
496
+ ) -> None:
483
497
  """Run active script
484
498
 
485
499
  :type execution_context: int | str | None
486
500
  :type undo: bool | None
487
501
  """
488
502
 
489
- def save(execution_context: int | str | None = None, undo: bool | None = None):
503
+ def save(execution_context: int | str | None = None, undo: bool | None = None) -> None:
490
504
  """Save active text data-block
491
505
 
492
506
  :type execution_context: int | str | None
@@ -524,7 +538,7 @@ def save_as(
524
538
  ]
525
539
  | None = "DEFAULT",
526
540
  sort_method: str | None = "",
527
- ):
541
+ ) -> None:
528
542
  """Save active text file with options
529
543
 
530
544
  :type execution_context: int | str | None
@@ -595,7 +609,7 @@ def scroll(
595
609
  /,
596
610
  *,
597
611
  lines: int | None = 1,
598
- ):
612
+ ) -> None:
599
613
  """Undocumented, consider contributing.
600
614
 
601
615
  :type execution_context: int | str | None
@@ -610,7 +624,7 @@ def scroll_bar(
610
624
  /,
611
625
  *,
612
626
  lines: int | None = 1,
613
- ):
627
+ ) -> None:
614
628
  """Undocumented, consider contributing.
615
629
 
616
630
  :type execution_context: int | str | None
@@ -619,35 +633,45 @@ def scroll_bar(
619
633
  :type lines: int | None
620
634
  """
621
635
 
622
- def select_all(execution_context: int | str | None = None, undo: bool | None = None):
636
+ def select_all(
637
+ execution_context: int | str | None = None, undo: bool | None = None
638
+ ) -> None:
623
639
  """Select all text
624
640
 
625
641
  :type execution_context: int | str | None
626
642
  :type undo: bool | None
627
643
  """
628
644
 
629
- def select_line(execution_context: int | str | None = None, undo: bool | None = None):
645
+ def select_line(
646
+ execution_context: int | str | None = None, undo: bool | None = None
647
+ ) -> None:
630
648
  """Select text by line
631
649
 
632
650
  :type execution_context: int | str | None
633
651
  :type undo: bool | None
634
652
  """
635
653
 
636
- def select_word(execution_context: int | str | None = None, undo: bool | None = None):
654
+ def select_word(
655
+ execution_context: int | str | None = None, undo: bool | None = None
656
+ ) -> None:
637
657
  """Select word under cursor
638
658
 
639
659
  :type execution_context: int | str | None
640
660
  :type undo: bool | None
641
661
  """
642
662
 
643
- def selection_set(execution_context: int | str | None = None, undo: bool | None = None):
663
+ def selection_set(
664
+ execution_context: int | str | None = None, undo: bool | None = None
665
+ ) -> None:
644
666
  """Set text selection
645
667
 
646
668
  :type execution_context: int | str | None
647
669
  :type undo: bool | None
648
670
  """
649
671
 
650
- def start_find(execution_context: int | str | None = None, undo: bool | None = None):
672
+ def start_find(
673
+ execution_context: int | str | None = None, undo: bool | None = None
674
+ ) -> None:
651
675
  """Start searching text
652
676
 
653
677
  :type execution_context: int | str | None
@@ -660,7 +684,7 @@ def to_3d_object(
660
684
  /,
661
685
  *,
662
686
  split_lines: bool | None = False,
663
- ):
687
+ ) -> None:
664
688
  """Create 3D text object from active text data-block
665
689
 
666
690
  :type execution_context: int | str | None
@@ -669,21 +693,27 @@ def to_3d_object(
669
693
  :type split_lines: bool | None
670
694
  """
671
695
 
672
- def unindent(execution_context: int | str | None = None, undo: bool | None = None):
696
+ def unindent(
697
+ execution_context: int | str | None = None, undo: bool | None = None
698
+ ) -> None:
673
699
  """Unindent selected text
674
700
 
675
701
  :type execution_context: int | str | None
676
702
  :type undo: bool | None
677
703
  """
678
704
 
679
- def unlink(execution_context: int | str | None = None, undo: bool | None = None):
705
+ def unlink(
706
+ execution_context: int | str | None = None, undo: bool | None = None
707
+ ) -> None:
680
708
  """Unlink active text data-block
681
709
 
682
710
  :type execution_context: int | str | None
683
711
  :type undo: bool | None
684
712
  """
685
713
 
686
- def update_shader(execution_context: int | str | None = None, undo: bool | None = None):
714
+ def update_shader(
715
+ execution_context: int | str | None = None, undo: bool | None = None
716
+ ) -> None:
687
717
  """Update users of this shader, such as custom cameras and script nodes, with its new sockets and options
688
718
 
689
719
  :type execution_context: int | str | None
@@ -11,7 +11,7 @@ def preset_add(
11
11
  name: str = "",
12
12
  remove_name: bool | None = False,
13
13
  remove_active: bool | None = False,
14
- ):
14
+ ) -> None:
15
15
  """Add or remove a Text Editor Preset
16
16
 
17
17
  :type execution_context: int | str | None
@@ -3,14 +3,16 @@ import collections.abc
3
3
  import typing_extensions
4
4
  import numpy.typing as npt
5
5
 
6
- def new(execution_context: int | str | None = None, undo: bool | None = None):
6
+ def new(execution_context: int | str | None = None, undo: bool | None = None) -> None:
7
7
  """Add a new texture
8
8
 
9
9
  :type execution_context: int | str | None
10
10
  :type undo: bool | None
11
11
  """
12
12
 
13
- def slot_copy(execution_context: int | str | None = None, undo: bool | None = None):
13
+ def slot_copy(
14
+ execution_context: int | str | None = None, undo: bool | None = None
15
+ ) -> None:
14
16
  """Copy the material texture settings and nodes
15
17
 
16
18
  :type execution_context: int | str | None
@@ -23,7 +25,7 @@ def slot_move(
23
25
  /,
24
26
  *,
25
27
  type: typing.Literal["UP", "DOWN"] | None = "UP",
26
- ):
28
+ ) -> None:
27
29
  """Move texture slots up and down
28
30
 
29
31
  :type execution_context: int | str | None
@@ -32,7 +34,9 @@ def slot_move(
32
34
  :type type: typing.Literal['UP','DOWN'] | None
33
35
  """
34
36
 
35
- def slot_paste(execution_context: int | str | None = None, undo: bool | None = None):
37
+ def slot_paste(
38
+ execution_context: int | str | None = None, undo: bool | None = None
39
+ ) -> None:
36
40
  """Copy the texture settings and nodes
37
41
 
38
42
  :type execution_context: int | str | None