fake-bpy-module 20241228__py3-none-any.whl → 20241230__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.

bpy/utils/__init__.pyi CHANGED
@@ -50,12 +50,13 @@ def escape_identifier(string: str) -> str:
50
50
  :rtype: str
51
51
  """
52
52
 
53
- def execfile(filepath: str, *, mod=None):
53
+ def execfile(filepath: str, *, mod: None | None = None):
54
54
  """Execute a file path as a Python script.
55
55
 
56
56
  :param filepath: Path of the script to execute.
57
57
  :type filepath: str
58
58
  :param mod: Optional cached module, the result of a previous execution.
59
+ :type mod: None | None
59
60
  :return: The module which can be passed back in as mod.
60
61
  """
61
62
 
@@ -231,7 +232,7 @@ def register_preset_path(path: str) -> bool:
231
232
 
232
233
  def register_submodule_factory(
233
234
  module_name: str, submodule_names: list[str]
234
- ) -> tuple[collections.abc.Callable, collections.abc.Callable]:
235
+ ) -> tuple[collections.abc.Callable[None], collections.abc.Callable[None]]:
235
236
  """Utility function to create register and unregister functions
236
237
  which simply load submodules,
237
238
  calling their register & unregister functions.
@@ -241,13 +242,13 @@ def register_submodule_factory(
241
242
  :param submodule_names: List of submodule names to load and unload.
242
243
  :type submodule_names: list[str]
243
244
  :return: register and unregister functions.
244
- :rtype: tuple[collections.abc.Callable, collections.abc.Callable]
245
+ :rtype: tuple[collections.abc.Callable[None], collections.abc.Callable[None]]
245
246
  """
246
247
 
247
248
  def register_tool(
248
249
  tool_cls: bpy.types.WorkSpaceTool,
249
250
  *,
250
- after=None,
251
+ after: None | collections.abc.Sequence[str] | None = None,
251
252
  separator: bool = False,
252
253
  group: bool = False,
253
254
  ):
@@ -256,6 +257,7 @@ def register_tool(
256
257
  :param tool_cls: A tool subclass.
257
258
  :type tool_cls: bpy.types.WorkSpaceTool
258
259
  :param after: Optional identifiers this tool will be added after.
260
+ :type after: None | collections.abc.Sequence[str] | None
259
261
  :param separator: When true, add a separator before this tool.
260
262
  :type separator: bool
261
263
  :param group: When true, add a new nested group of tools.
@@ -38,7 +38,7 @@ def to_value(
38
38
  unit_system: str | None,
39
39
  unit_category: str | None,
40
40
  str_input: str | None,
41
- str_ref_unit: str | None = None,
41
+ str_ref_unit: None | str | None = None,
42
42
  ) -> float:
43
43
  """Convert a given input string into a float value.
44
44
 
@@ -50,7 +50,7 @@ def to_value(
50
50
  :param str_input: The string to convert to a float value.
51
51
  :type str_input: str | None
52
52
  :param str_ref_unit: A reference string from which to extract a default unit, if none is found in str_input.
53
- :type str_ref_unit: str | None
53
+ :type str_ref_unit: None | str | None
54
54
  :return: The converted/interpreted value.
55
55
  :rtype: float
56
56
  """
@@ -64,24 +64,24 @@ class KeyframesCo:
64
64
  """
65
65
 
66
66
  def bake_action(
67
- obj: bpy.types.Object, *, action: bpy.types.Action, frames: int, bake_options
68
- ) -> bpy.types.Action:
67
+ obj: bpy.types.Object, *, action: None | bpy.types.Action, frames: int, bake_options
68
+ ) -> None | bpy.types.Action:
69
69
  """
70
70
 
71
71
  :param obj: Object to bake.
72
72
  :type obj: bpy.types.Object
73
73
  :param action: An action to bake the data into, or None for a new action
74
74
  to be created.
75
- :type action: bpy.types.Action
75
+ :type action: None | bpy.types.Action
76
76
  :param frames: Frames to bake.
77
77
  :type frames: int
78
78
  :param bake_options: Options for baking.
79
79
  :return: Action or None.
80
- :rtype: bpy.types.Action
80
+ :rtype: None | bpy.types.Action
81
81
  """
82
82
 
83
83
  def bake_action_iter(
84
- obj: bpy.types.Object, *, action: bpy.types.Action, bake_options
84
+ obj: bpy.types.Object, *, action: None | bpy.types.Action, bake_options
85
85
  ) -> bpy.types.Action:
86
86
  """An coroutine that bakes action for a single object.
87
87
 
@@ -89,18 +89,21 @@ def bake_action_iter(
89
89
  :type obj: bpy.types.Object
90
90
  :param action: An action to bake the data into, or None for a new action
91
91
  to be created.
92
- :type action: bpy.types.Action
92
+ :type action: None | bpy.types.Action
93
93
  :param bake_options: Boolean options of what to include into the action bake.
94
94
  :return: an action or None
95
95
  :rtype: bpy.types.Action
96
96
  """
97
97
 
98
- def bake_action_objects(object_action_pairs, *, frames, bake_options):
98
+ def bake_action_objects(
99
+ object_action_pairs, *, frames, bake_options
100
+ ) -> collections.abc.Sequence[bpy.types.Action]:
99
101
  """A version of `bake_action_objects_iter` that takes frames and returns the output.
100
102
 
101
103
  :param frames: Frames to bake.
102
104
  :param bake_options: Options for baking.
103
105
  :return: A sequence of Action or None types (aligned with object_action_pairs)
106
+ :rtype: collections.abc.Sequence[bpy.types.Action]
104
107
  """
105
108
 
106
109
  def bake_action_objects_iter(object_action_pairs, bake_options):
@@ -11,10 +11,10 @@ def load_image(
11
11
  ncase_cmp: bool = True,
12
12
  convert_callback: typing.Any | None = None,
13
13
  verbose=False,
14
- relpath: str | None = None,
14
+ relpath: None | str | None = None,
15
15
  check_existing: bool = False,
16
16
  force_reload: bool = False,
17
- ) -> bpy.types.Image:
17
+ ) -> None | bpy.types.Image:
18
18
  """Return an image from the file path with options to search multiple paths
19
19
  and return a placeholder if its not found.
20
20
 
@@ -37,7 +37,7 @@ def load_image(
37
37
  For formats blender can read, simply return the path that is given.
38
38
  :type convert_callback: typing.Any | None
39
39
  :param relpath: If not None, make the file relative to this path.
40
- :type relpath: str | None
40
+ :type relpath: None | str | None
41
41
  :param check_existing: If true,
42
42
  returns already loaded image datablock if possible
43
43
  (based on file path).
@@ -47,5 +47,5 @@ def load_image(
47
47
  is also enabled).
48
48
  :type force_reload: bool
49
49
  :return: an image or None
50
- :rtype: bpy.types.Image
50
+ :rtype: None | bpy.types.Image
51
51
  """
@@ -62,13 +62,14 @@ def axis_conversion_ensure(
62
62
  """
63
63
 
64
64
  def create_derived_objects(
65
- depsgraph: bpy.types.Depsgraph, objects
65
+ depsgraph: bpy.types.Depsgraph, objects: collections.abc.Sequence[bpy.types.Object]
66
66
  ) -> dict[bpy.types.Object, list[tuple[bpy.types.Object, mathutils.Matrix]]]:
67
67
  """This function takes a sequence of objects, returning their instances.
68
68
 
69
69
  :param depsgraph: The evaluated depsgraph.
70
70
  :type depsgraph: bpy.types.Depsgraph
71
71
  :param objects: A sequencer of objects.
72
+ :type objects: collections.abc.Sequence[bpy.types.Object]
72
73
  :return: A dictionary where each key is an object from objects,
73
74
  values are lists of (object, matrix) tuples representing instances.
74
75
  :rtype: dict[bpy.types.Object, list[tuple[bpy.types.Object, mathutils.Matrix]]]
@@ -87,7 +88,7 @@ def path_reference(
87
88
  mode: str = "AUTO",
88
89
  copy_subdir: str = "",
89
90
  copy_set=None,
90
- library: bpy.types.Library | None = None,
91
+ library: None | bpy.types.Library | None = None,
91
92
  ) -> str:
92
93
  """Return a filepath relative to a destination directory, for use with
93
94
  exporters.
@@ -109,17 +110,17 @@ def path_reference(
109
110
  :param copy_set: collect from/to pairs when mode='COPY',
110
111
  pass to path_reference_copy when exporting is done.
111
112
  :param library: The library this path is relative to.
112
- :type library: bpy.types.Library | None
113
+ :type library: None | bpy.types.Library | None
113
114
  :return: the new filepath.
114
115
  :rtype: str
115
116
  """
116
117
 
117
- def path_reference_copy(copy_set, report: collections.abc.Callable = print):
118
+ def path_reference_copy(copy_set, report: collections.abc.Callable[str, None] = print):
118
119
  """Execute copying files of path_reference
119
120
 
120
121
  :param copy_set: set of (from, to) pairs to copy.
121
122
  :param report: function used for reporting warnings, takes a string argument.
122
- :type report: collections.abc.Callable
123
+ :type report: collections.abc.Callable[str, None]
123
124
  """
124
125
 
125
126
  def poll_file_object_drop(context):
@@ -46,7 +46,9 @@ def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list[list[int]]:
46
46
  """
47
47
 
48
48
  def ngon_tessellate(
49
- from_data: bpy.types.Mesh | list | tuple,
49
+ from_data: bpy.types.Mesh
50
+ | list[collections.abc.Sequence[float]]
51
+ | tuple[collections.abc.Sequence[float]],
50
52
  indices: list[int],
51
53
  fix_loops: bool = True,
52
54
  debug_print=True,
@@ -56,7 +58,7 @@ def ngon_tessellate(
56
58
  ngon to create from existing verts.
57
59
 
58
60
  :param from_data: Either a mesh, or a list/tuple of 3D vectors.
59
- :type from_data: bpy.types.Mesh | list | tuple
61
+ :type from_data: bpy.types.Mesh | list[collections.abc.Sequence[float]] | tuple[collections.abc.Sequence[float]]
60
62
  :param indices: a list of indices to use this list
61
63
  is the ordered closed poly-line
62
64
  to fill, and can be a subset of the data given.
@@ -67,12 +69,16 @@ def ngon_tessellate(
67
69
  :type fix_loops: bool
68
70
  """
69
71
 
70
- def triangle_random_points(num_points: int, loop_triangles) -> list[mathutils.Vector]:
72
+ def triangle_random_points(
73
+ num_points: int,
74
+ loop_triangles: collections.abc.Sequence[bpy.types.MeshLoopTriangle],
75
+ ) -> list[mathutils.Vector]:
71
76
  """Generates a list of random points over mesh loop triangles.
72
77
 
73
78
  :param num_points: The number of random points to generate on each triangle.
74
79
  :type num_points: int
75
80
  :param loop_triangles: Sequence of the triangles to generate points on.
81
+ :type loop_triangles: collections.abc.Sequence[bpy.types.MeshLoopTriangle]
76
82
  :return: List of random points over all triangles.
77
83
  :rtype: list[mathutils.Vector]
78
84
  """
@@ -12,12 +12,12 @@ class AddObjectHelper:
12
12
  """
13
13
 
14
14
  def add_object_align_init(
15
- context: bpy.types.Context | None, operator: bpy.types.Operator
15
+ context: bpy.types.Context, operator: bpy.types.Operator
16
16
  ) -> mathutils.Matrix:
17
17
  """Return a matrix using the operator settings and view context.
18
18
 
19
19
  :param context: The context to use.
20
- :type context: bpy.types.Context | None
20
+ :type context: bpy.types.Context
21
21
  :param operator: The operator, checked for location and rotation properties.
22
22
  :type operator: bpy.types.Operator
23
23
  :return: the matrix from the context and settings.
@@ -34,8 +34,8 @@ def object_add_grid_scale_apply_operator(operator, context):
34
34
  """Scale an operators distance values by the grid size."""
35
35
 
36
36
  def object_data_add(
37
- context: bpy.types.Context | None,
38
- obdata: bpy.types.ID,
37
+ context: bpy.types.Context,
38
+ obdata: None | bpy.types.ID,
39
39
  operator: bpy.types.Operator | None = None,
40
40
  name: str | None = None,
41
41
  ) -> bpy.types.Object:
@@ -43,9 +43,9 @@ def object_data_add(
43
43
  location, rotation and layer.
44
44
 
45
45
  :param context: The context to use.
46
- :type context: bpy.types.Context | None
46
+ :type context: bpy.types.Context
47
47
  :param obdata: Valid object data to used for the new object or None.
48
- :type obdata: bpy.types.ID
48
+ :type obdata: None | bpy.types.ID
49
49
  :param operator: The operator, checked for location and rotation properties.
50
50
  :type operator: bpy.types.Operator | None
51
51
  :param name: Optional name
@@ -51,9 +51,9 @@ def region_2d_to_location_3d(
51
51
  def region_2d_to_origin_3d(
52
52
  region: bpy.types.Region,
53
53
  rv3d: bpy.types.RegionView3D,
54
- coord,
54
+ coord: collections.abc.Sequence[float],
55
55
  *,
56
- clamp: float | None = None,
56
+ clamp: None | float | None = None,
57
57
  ) -> mathutils.Vector:
58
58
  """Return the 3d view origin from the region relative 2d coords.
59
59
 
@@ -63,9 +63,10 @@ def region_2d_to_origin_3d(
63
63
  :type rv3d: bpy.types.RegionView3D
64
64
  :param coord: 2D coordinates relative to the region;
65
65
  (event.mouse_region_x, event.mouse_region_y) for example.
66
+ :type coord: collections.abc.Sequence[float]
66
67
  :param clamp: Clamp the maximum far-clip value used.
67
68
  (negative value will move the offset away from the view_location)
68
- :type clamp: float | None
69
+ :type clamp: None | float | None
69
70
  :return: The origin of the viewpoint in 3d space.
70
71
  :rtype: mathutils.Vector
71
72
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241228
3
+ Version: 20241230
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -13,7 +13,7 @@ _bpy_internal/system_info/__init__.pyi,sha256=cR0YfdA5e1gzPoJPkqRHZUm8ArCVuyulST
13
13
  _bpy_internal/system_info/text_generate_runtime/__init__.pyi,sha256=KkCIdvrNtqXRvKaojEVaARNyX3CFnj8UCo7B_nKLC0A,86
14
14
  _bpy_internal/system_info/url_prefill_runtime/__init__.pyi,sha256=L1cEExq7nGmeqjqhRH6p5yUL4CN6iEQY0wAYLSw2nKw,109
15
15
  _bpy_internal/system_info/url_prefill_startup/__init__.pyi,sha256=cL1oQCJ1CvBoUdGEPgZVpxOOJPA7bZUJpzRl8zglcYk,107
16
- addon_utils/__init__.pyi,sha256=4s4XkTkO6J9mPdDFdsO4wSxSp3tUcvCBrWRNZGeFsjc,2986
16
+ addon_utils/__init__.pyi,sha256=BYOy-IUoTwuhAwj5NKc6DxCLUdXDoWte6Gwqa0JFVbc,3177
17
17
  addon_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  animsys_refactor/__init__.pyi,sha256=FVtTS8ep5YY_wxoK9FesObKvYKIffFgmOyS74iuza0s,643
19
19
  animsys_refactor/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -102,7 +102,7 @@ bl_ui/__init__.pyi,sha256=1r51D8PicbD-QVUctmIy1-HlvGww8Neh3VIkKpkM5b4,6876
102
102
  bl_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
103
103
  bl_ui/anim/__init__.pyi,sha256=rfW-hFN0qy_jfivUrTMUZ7GIppMA5hycMUlWWj5wloo,614
104
104
  bl_ui/asset_shelf/__init__.pyi,sha256=t-xDmFic0fqVPdMcY7iFrprYEpNNmJeEN4XhPUx_m9w,763
105
- bl_ui/generic_ui_list/__init__.pyi,sha256=YBWfuVksjUKU50org3OCNIDojmyTHdWbRoc7iuMITTc,4219
105
+ bl_ui/generic_ui_list/__init__.pyi,sha256=E9S37L1rZLNoVKSC_Rc2_lZ7O_-8j3U6FujiN5i0t24,4205
106
106
  bl_ui/node_add_menu/__init__.pyi,sha256=47u8vW3h1ub07M_kPJfQ1pbEdHeckMek5HSTwfYR7f8,1148
107
107
  bl_ui/node_add_menu_compositor/__init__.pyi,sha256=Xyt38vc4UpTKxmANEt786uFNnjEDLF04O7OtFJiyc2A,9793
108
108
  bl_ui/node_add_menu_geometry/__init__.pyi,sha256=B1Hc_HPujxSaE8Onv5VPvaxsc49cQEfikZ_-d-zHBag,28540
@@ -186,15 +186,15 @@ bmesh/__init__.pyi,sha256=6QP0wBMiFIY5MtM1Yuw4Qj2ZPtEZHFUdAf1ay4z-SQE,1500
186
186
  bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
187
187
  bmesh/geometry/__init__.pyi,sha256=fgGEevkhB2IEtja2X5rm6OQU5EoDfkPaqiKeNGfWZ6c,656
188
188
  bmesh/ops/__init__.pyi,sha256=7W-Tv_SgkgEMa90SsRfRzBzNG2Wt1EU622YpkDYJthc,74701
189
- bmesh/types/__init__.pyi,sha256=rm5SoXTeZCFOVBAWsN8bYzIKddWdxjt6Djx1g44SM3w,42601
190
- bmesh/utils/__init__.pyi,sha256=4Ru6ZMwJzSC2SOlFwkke03I8XiEg6Cxc4LNhiLHB-tw,5988
191
- bpy/__init__.pyi,sha256=dozab_KhjTikiJAE59kzHS9tbX9OJc8U1vPdj6gNFJY,502
189
+ bmesh/types/__init__.pyi,sha256=1KUSIGZDOD-fC_iPMVljAL2QYyYHpsCzWbgnsJJyT8A,43472
190
+ bmesh/utils/__init__.pyi,sha256=dxZKrKK89WTo7uvlIZd2JUtAUJWqDXRtHMaLLojlY9A,6235
191
+ bpy/__init__.pyi,sha256=aaYss17B3fH0ejnN9bMctoFfT8ptLuJWq4Kjgm2Gm9Y,495
192
192
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
193
193
  bpy/app/__init__.pyi,sha256=gQJdiazscopU-G66fjv1pOLRZykYpJ-6L0aIAYBvzKA,8205
194
194
  bpy/app/handlers/__init__.pyi,sha256=Gxao8v-gF10WpVRUdswsB4QndzHjO1UtymwrorJef-4,6911
195
195
  bpy/app/icons/__init__.pyi,sha256=w18Xn9y0T54WlpHyhC3_y8a3Lq9kuo3U72Bu7wOY41A,928
196
196
  bpy/app/timers/__init__.pyi,sha256=vtrATRAmkTfP1CknievwpOCC19cPOMowyLTE6Ie9GSg,2126
197
- bpy/app/translations/__init__.pyi,sha256=l5NXziSYWbDnNSWXam-Oseo4D8qh8NPButB_xMgpSps,6848
197
+ bpy/app/translations/__init__.pyi,sha256=cTQKT-pPZcfDQfUVJKoat9W2wdnAwl2TdaeQkp83rQU,6932
198
198
  bpy/msgbus/__init__.pyi,sha256=e9cmp_Wq7FA5pDTQQJ2s0_I84bEJMu8J-5Lu5gNoClM,2954
199
199
  bpy/ops/__init__.pyi,sha256=JptIpKHRAy3jrKGANEBzrwmfNuZx8JLP9ofvWLCaLBU,5396
200
200
  bpy/ops/action/__init__.pyi,sha256=VaEROcYL3F9RerL3OGNvMeFCRh2Z97iwDs8D3hftDew,18502
@@ -273,27 +273,27 @@ bpy/ops/view3d/__init__.pyi,sha256=MGiNsaGKtQPLFiSQgEdKlULq2a0Rp6W3vGTub0Hb3p4,3
273
273
  bpy/ops/wm/__init__.pyi,sha256=hKfEGg5ZP1ydNAkhidsg-KN0yT_p28pgR_g2Vns_bq4,214261
274
274
  bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHCU,1983
275
275
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
276
- bpy/path/__init__.pyi,sha256=N-QNSw3piTmrzrydYRyWab7GFGOh3BsdaS91x4Kf-Cc,5403
277
- bpy/props/__init__.pyi,sha256=BqqbIZuZNtKAJ3-FpeQoR_yzNV-a4fEb09xdCPZBEuI,31446
278
- bpy/types/__init__.pyi,sha256=HhZ1ivB2NfEoRTCJEJ4WoBJkLqjtWAVXi3lz3_zP4x4,5406056
276
+ bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
277
+ bpy/props/__init__.pyi,sha256=XCW9PAdsJ0eCqKV9IMd7KY-WJBXNuN902exwwL7nNtE,34382
278
+ bpy/types/__init__.pyi,sha256=-UohU-Ihrff0RM8XHYvZaC5FrtnHu6Skrqp08xaTlfY,5406480
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
- bpy/utils/__init__.pyi,sha256=wvjdEDEtBn5bR5pZG7HnW1ZdL_J-IQYvmB7e4AwTW0s,13537
280
+ bpy/utils/__init__.pyi,sha256=Shl-q0XiWluRIHc6l_YMuVwFrz3vOJ0hnlgjVp1OirY,13711
281
281
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
282
- bpy/utils/units/__init__.pyi,sha256=r9G6UXferw_5pDijn-FmpyhYSnEng3_y-5apdkPAKl0,2631
282
+ bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
283
283
  bpy_extras/__init__.pyi,sha256=wejK55NeAEGsAzM9psNhBokX9H0DBihwOdNQ5XlCHB4,968
284
284
  bpy_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
285
- bpy_extras/anim_utils/__init__.pyi,sha256=LGnLuRoBzyZOOgCS5bS4IX-gue67k7pEhemshXNzP8U,4061
285
+ bpy_extras/anim_utils/__init__.pyi,sha256=X7i1EWhLlGBe16Zc0KqKf7c2mVz81zhXcvmvkk6xMAM,4210
286
286
  bpy_extras/asset_utils/__init__.pyi,sha256=AaHtXcv1a-TrQUpu7Rm1A9gcwXRUZVaHOKjVV_hCcyM,194
287
287
  bpy_extras/bmesh_utils/__init__.pyi,sha256=oo5HU1Z0ILE04jc7p68-4vFP8k7sD3qhcLGSoCbxv9g,478
288
288
  bpy_extras/id_map_utils/__init__.pyi,sha256=oTM7UGvrLRIhWXjHhXcwE20PNjSyRVXlV9FLAn_QCk4,450
289
- bpy_extras/image_utils/__init__.pyi,sha256=c3O1nv_u-Kr3VtKV8SBDvutYzIjPORiZ3--K5UNRgFw,2087
290
- bpy_extras/io_utils/__init__.pyi,sha256=rGsN0KD8zOJVbOVq1VLmHYHwQ-Xm_ryEp5zfA-2wTSc,5289
289
+ bpy_extras/image_utils/__init__.pyi,sha256=BtYt5gwj6mIeZp1Jqv8au72yzTVD7xQKZLzmGF7ZhoY,2115
290
+ bpy_extras/io_utils/__init__.pyi,sha256=eX5Y0euP1hog_CdLaLTnVFVBMD33SjUUbX7OXhtMfU0,5435
291
291
  bpy_extras/keyconfig_utils/__init__.pyi,sha256=152lGc6wB3z4qLyEuthYUfB_vggCQKqnyonGni0lNNo,361
292
- bpy_extras/mesh_utils/__init__.pyi,sha256=3n3TAu2Ni0oTQ1gXjynu-k4U5SEEamM0BYMdIy5YI78,2692
292
+ bpy_extras/mesh_utils/__init__.pyi,sha256=JothF0a_THcexYm7anlWzxhWC-ppKkkhpbo6Xbqy5Uo,2976
293
293
  bpy_extras/node_shader_utils/__init__.pyi,sha256=wUnsxxIUgiZ2-KL6A4duhnEmP9r1SgViTomWqGSOOes,5602
294
294
  bpy_extras/node_utils/__init__.pyi,sha256=WgqDrr6jIHW77WeGCy8WutcNcCr6zoqgTvMh_A1ToZo,630
295
- bpy_extras/object_utils/__init__.pyi,sha256=wQX9CMYSh1nyTVCbmgVPXyzwHokfNd8ZGqC9MyVnZG4,3336
296
- bpy_extras/view3d_utils/__init__.pyi,sha256=uagbvfAFaRLiR-mq8BFs2eUQVpDx3PdF4wCvL2aMICk,3670
295
+ bpy_extras/object_utils/__init__.pyi,sha256=91ZhMqIqgTNKauwktu_VHa9yGZinItd_8czJteeeH6c,3322
296
+ bpy_extras/view3d_utils/__init__.pyi,sha256=MvFcBtk44sI522EVh2f8Owthyan1qINl8ZL2L33cGhs,3770
297
297
  bpy_extras/wm_utils/__init__.pyi,sha256=cnc2h-NDlAYDb9e5F5jCxnK4h96Mg-9QkdC6HH5p1VE,111
298
298
  bpy_extras/wm_utils/progress_report/__init__.pyi,sha256=lRvwzdkIKLAIIgS6BKRwHdZsnb8LRUNvIAVcA9vuysU,1708
299
299
  bpy_restrict_state/__init__.pyi,sha256=hz85c3uVSt_QKxJE6xtdNQmvOWzNM4P5GXwc7Xet5bg,239
@@ -306,51 +306,51 @@ console_shell/__init__.pyi,sha256=0JnVxvEsJuNJKxTcWGvWMeZg168-ckmqDoWE8TzuakU,22
306
306
  console_shell/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
307
307
  freestyle/__init__.pyi,sha256=bjebH-BOh6r_bsMIXX2toGAPc183HD23o_UR8VvqZA0,716
308
308
  freestyle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
309
- freestyle/chainingiterators/__init__.pyi,sha256=N7cwNzpTKVAv-ZdBTj0nqhICvHGVqBE8OdijmbT5HIo,10564
309
+ freestyle/chainingiterators/__init__.pyi,sha256=-sExETC4ZKfEvte3IoUoOj318RttlFo5otO6VATWnE0,10592
310
310
  freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTEOk4,48844
311
311
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
312
312
  freestyle/shaders/__init__.pyi,sha256=1Ov48B4P7LV3dwjBqHqqqbPFRBZWjENqIDaFb97Qdj0,23835
313
- freestyle/types/__init__.pyi,sha256=p6WoVuWvAdGxcKMvxz-IrMbZiBTML9cbjgwgj-QnyI8,100051
314
- freestyle/utils/__init__.pyi,sha256=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
313
+ freestyle/types/__init__.pyi,sha256=BsZjLTN4AobRDBHcT_yh-VC7lo7mDvJPclsVl-fK5FM,100093
314
+ freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,5108
315
315
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=fPDfiBEjpoqXQhBhmHJ6WxG9oLMItwQ32MxKQz_c9_I,3445
316
316
  gpu/__init__.pyi,sha256=Q-AbyJO85pPYcwXNWtvgAhFGGJ6OnnHrlsXQxur9jhs,7999
317
317
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
318
318
  gpu/capabilities/__init__.pyi,sha256=U7oWzRMBqfzk6vILPP0ydvD_i7OBr_D3LDIEwp8RxOE,3756
319
- gpu/matrix/__init__.pyi,sha256=k4xYJpqcuk1QL6TMql77yitRaIALd1oHYk5Oivgd1U4,2583
319
+ gpu/matrix/__init__.pyi,sha256=I0XNqDYN1ZAPnRy8MjcbWOkE-3BPULhphZDOLtxuHIQ,2748
320
320
  gpu/platform/__init__.pyi,sha256=i04uMPhMl5w4ZNlXvep8f_7-AaVZ4R_ppcxikHuzQYA,803
321
321
  gpu/select/__init__.pyi,sha256=piRQyAtE8YnDjLSqF8S_SSttxzZTickDlbHRONYYdV8,207
322
322
  gpu/shader/__init__.pyi,sha256=JsSm0Zagw7GAVxeaLK4cUAa1oyjSckfNwpweWfepUQg,2138
323
323
  gpu/state/__init__.pyi,sha256=AimAU8NQNaZqYSgKtg7aMS76dzxNuK7m1vTA2ZwMnCQ,4310
324
324
  gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
- gpu/types/__init__.pyi,sha256=3irdUxznJA1-vvflQGps24-pxPBxopb_eOtUkiiw25I,26846
325
+ gpu/types/__init__.pyi,sha256=YP9_rEYD3QKsEAm23qlbvFrZzypTn86XT8Qf65N9pbw,27923
326
326
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
327
327
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
- gpu_extras/batch/__init__.pyi,sha256=tgSLHYF1sb3LZuu6iJ6l6tNmLCknXid9wy3_L7xp2j8,855
329
- gpu_extras/presets/__init__.pyi,sha256=XARWkuQ0koiQPC3Cjh2l7D2f9n3IgHRf5Ymd9xKkjBg,1435
328
+ gpu_extras/batch/__init__.pyi,sha256=t-kFLEyZ0OABqt8VbtSwvo60S7vw15Tq5HRea-G3odE,1278
329
+ gpu_extras/presets/__init__.pyi,sha256=pDhGELr5vKTZ9yDsLJ4Y836Kmh7cs95rDhSwd1i5e-s,1647
330
330
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
331
331
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
332
332
  idprop/__init__.pyi,sha256=k99082XuBl1__FNGc7dZUujlxTi6jK3J93dNtKNdgkE,91
333
333
  idprop/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
334
334
  idprop/types/__init__.pyi,sha256=fFSnDjuFFwu2jhm6BK57AxRx_i8zAkuf_blV2J0mvRk,1767
335
- imbuf/__init__.pyi,sha256=nwnD-Tu8aABtY6tc77fqG639NSuGchsgzIDmGBusqAw,1117
335
+ imbuf/__init__.pyi,sha256=aQUm2sFUW4UfgDpJxwJ0SoAjo-0ciH_KI_n-xSWDJsc,1131
336
336
  imbuf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
337
337
  imbuf/types/__init__.pyi,sha256=DaqHsV8Ww9zWRa9DFegHohh6fCgf5lBd5diDm9mAUac,1375
338
338
  keyingsets_builtins/__init__.pyi,sha256=FmSnRj8eAiQ_O-X_-kAHM_a8rCv_HZBrjXLXDRssvYU,15769
339
339
  keyingsets_builtins/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
340
340
  keyingsets_utils/__init__.pyi,sha256=UpGuAqOVl6bmy3rffJhqFS8ZKhUtAV-MfVyuuHtqXQI,770
341
341
  keyingsets_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
342
- mathutils/__init__.pyi,sha256=8m5OQ78bZkC094zIKPDjfXSzQZN1Vavo9Q0Ql4QilgM,88340
342
+ mathutils/__init__.pyi,sha256=ISsSCElrC_d8RQyErtGB00lCpUWV0EdXP5DCpELTjn0,89139
343
343
  mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
344
- mathutils/bvhtree/__init__.pyi,sha256=tnSMnnlM4AUV5BXMVRB8daXeBCc2dt1yF2VhVgx-png,4482
345
- mathutils/geometry/__init__.pyi,sha256=YU4LyVtd5nl5KJeVsbOcWMNZhJlI9TQWIWJ5V-nrkz0,22182
346
- mathutils/interpolate/__init__.pyi,sha256=3MR9khGFn6OavD1uxB06mLE8WC2zQdWDDuCTQFt0xMg,393
347
- mathutils/kdtree/__init__.pyi,sha256=bE3wUvxhvzr3n5ENSAqYQyzPCuQtTsOwtzXtSqqX8go,1862
344
+ mathutils/bvhtree/__init__.pyi,sha256=UtzuOlaUjgPwVQZnDiZhPrzgrFmgpyVY7z9WqoZzNsI,4933
345
+ mathutils/geometry/__init__.pyi,sha256=hlZ8PzbCxTbzG_0PE6CAbeRKtDBIFTMgO5WRi4xo8sQ,23278
346
+ mathutils/interpolate/__init__.pyi,sha256=3MaN3gfetfW_J0ZGye7U9Ae-O5cT7Ok2nyRWjy6HuV4,535
347
+ mathutils/kdtree/__init__.pyi,sha256=R7efrHFwgdpF3LKlQzW25s-GxVCECQgTuXOwSGoKJTk,2247
348
348
  mathutils/noise/__init__.pyi,sha256=nDUTZpaghLXZwQG_8sVJnR-vdPeN7qk0p343sAsovgI,12725
349
349
  nodeitems_builtins/__init__.pyi,sha256=UEiW_FT6HF0dl6FrM3-n3OnTE1SiufVzyyLjCsGCqPc,475
350
350
  nodeitems_builtins/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
351
351
  nodeitems_utils/__init__.pyi,sha256=F82sRq2Foowt3d9IUxloVB_qg7pTQP5w8qYvMJhwvFs,747
352
352
  nodeitems_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
353
- rna_info/__init__.pyi,sha256=sSGo1cH7Z0vV6m5FqAxQkU95CIPvXfuYF24k-MoaQHo,3143
353
+ rna_info/__init__.pyi,sha256=kI_XC8-AfgtU2sMzU5fmctZSDvbfVTGQ4SEwdsLNvSs,3157
354
354
  rna_info/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
355
355
  rna_keymap_ui/__init__.pyi,sha256=_NxiagnZt0BpMFhk-f0ArWcANpUAJZ3h3KAs6U12Kjs,413
356
356
  rna_keymap_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -358,7 +358,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
358
358
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
359
359
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
360
360
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
- fake_bpy_module-20241228.dist-info/METADATA,sha256=qBCYCeh8mvASp4mriS7DjdFaUF7miXeg8HTz7Xkbtcw,7289
362
- fake_bpy_module-20241228.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20241228.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241228.dist-info/RECORD,,
361
+ fake_bpy_module-20241230.dist-info/METADATA,sha256=SbAQR5DFXkGkYl4t1yqijbV6KkhfckxqTPbZvpEI1T0,7289
362
+ fake_bpy_module-20241230.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241230.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241230.dist-info/RECORD,,
@@ -32,7 +32,7 @@ class ChainPredicateIterator:
32
32
  bpred: freestyle.types.BinaryPredicate1D,
33
33
  restrict_to_selection: bool = True,
34
34
  restrict_to_unvisited: bool = True,
35
- begin: freestyle.types.ViewEdge | None = None,
35
+ begin: None | freestyle.types.ViewEdge | None = None,
36
36
  orientation: bool = True,
37
37
  ):
38
38
  """Builds a ChainPredicateIterator from a unary predicate, a binary
@@ -50,7 +50,7 @@ class ChainPredicateIterator:
50
50
  already been chained must be ignored ot not.
51
51
  :type restrict_to_unvisited: bool
52
52
  :param begin: The ViewEdge from where to start the iteration.
53
- :type begin: freestyle.types.ViewEdge | None
53
+ :type begin: None | freestyle.types.ViewEdge | None
54
54
  :param orientation: If true, we'll look for the next ViewEdge among
55
55
  the ViewEdges that surround the ending ViewVertex of begin. If
56
56
  false, we'll search over the ViewEdges surrounding the ending
@@ -81,7 +81,7 @@ class ChainSilhouetteIterator:
81
81
  def __init__(
82
82
  self,
83
83
  restrict_to_selection: bool = True,
84
- begin: freestyle.types.ViewEdge | None = None,
84
+ begin: None | freestyle.types.ViewEdge | None = None,
85
85
  orientation: bool = True,
86
86
  ):
87
87
  """Builds a ChainSilhouetteIterator from the first ViewEdge used for
@@ -91,7 +91,7 @@ class ChainSilhouetteIterator:
91
91
  to stay within the set of selected ViewEdges or not.
92
92
  :type restrict_to_selection: bool
93
93
  :param begin: The ViewEdge from where to start the iteration.
94
- :type begin: freestyle.types.ViewEdge | None
94
+ :type begin: None | freestyle.types.ViewEdge | None
95
95
  :param orientation: If true, we'll look for the next ViewEdge among
96
96
  the ViewEdges that surround the ending ViewVertex of begin. If
97
97
  false, we'll search over the ViewEdges surrounding the ending
@@ -273,7 +273,7 @@ class ChainingIterator:
273
273
  self,
274
274
  restrict_to_selection: bool = True,
275
275
  restrict_to_unvisited: bool = True,
276
- begin: ViewEdge | None = None,
276
+ begin: None | ViewEdge | None = None,
277
277
  orientation: bool = True,
278
278
  ):
279
279
  """Builds a Chaining Iterator from the first ViewEdge used for
@@ -286,7 +286,7 @@ class ChainingIterator:
286
286
  already been chained must be ignored ot not.
287
287
  :type restrict_to_unvisited: bool
288
288
  :param begin: The ViewEdge from which to start the chain.
289
- :type begin: ViewEdge | None
289
+ :type begin: None | ViewEdge | None
290
290
  :param orientation: The direction to follow to explore the graph. If
291
291
  true, the direction indicated by the first ViewEdge is used.
292
292
  :type orientation: bool
@@ -307,7 +307,7 @@ class ChainingIterator:
307
307
 
308
308
  """
309
309
 
310
- def traverse(self, it: AdjacencyIterator) -> ViewEdge:
310
+ def traverse(self, it: AdjacencyIterator) -> None | ViewEdge:
311
311
  """This method iterates over the potential next ViewEdges and returns
312
312
  the one that will be followed next. Returns the next ViewEdge to
313
313
  follow or None when the end of the chain is reached.
@@ -317,7 +317,7 @@ class ChainingIterator:
317
317
  restriction rules by only iterating over the valid ViewEdges.
318
318
  :type it: AdjacencyIterator
319
319
  :return: Returns the next ViewEdge to follow, or None if chaining ends.
320
- :rtype: ViewEdge
320
+ :rtype: None | ViewEdge
321
321
  """
322
322
 
323
323
  class Curve:
@@ -2806,12 +2806,12 @@ of the "begin" ViewEdge.
2806
2806
  :type: bool
2807
2807
  """
2808
2808
 
2809
- def __init__(self, begin: ViewEdge | None = None, orientation: bool = True):
2809
+ def __init__(self, begin: None | ViewEdge | None = None, orientation: bool = True):
2810
2810
  """Builds a ViewEdgeIterator from a starting ViewEdge and its
2811
2811
  orientation or the copy constructor.
2812
2812
 
2813
2813
  :param begin: The ViewEdge from where to start the iteration.
2814
- :type begin: ViewEdge | None
2814
+ :type begin: None | ViewEdge | None
2815
2815
  :param orientation: If true, we'll look for the next ViewEdge among
2816
2816
  the ViewEdges that surround the ending ViewVertex of begin. If
2817
2817
  false, we'll search over the ViewEdges surrounding the ending
@@ -124,7 +124,7 @@ def material_from_fedge(fe):
124
124
  """get the diffuse RGBA color from an FEdge"""
125
125
 
126
126
  def normal_at_I0D(it): ...
127
- def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
127
+ def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
128
128
  """Yields a tuple containing the previous and current object"""
129
129
 
130
130
  def rgb_to_bw(r, g, b):
gpu/matrix/__init__.pyi CHANGED
@@ -83,10 +83,11 @@ def push_projection():
83
83
  def reset():
84
84
  """Empty stack and set to identity."""
85
85
 
86
- def scale(scale):
86
+ def scale(scale: collections.abc.Sequence[float]):
87
87
  """Scale the current stack matrix.
88
88
 
89
89
  :param scale: Scale the current stack matrix with 2 or 3 floats.
90
+ :type scale: collections.abc.Sequence[float]
90
91
  """
91
92
 
92
93
  def scale_uniform(scale: float):
@@ -96,8 +97,9 @@ def scale_uniform(scale: float):
96
97
  :type scale: float
97
98
  """
98
99
 
99
- def translate(offset):
100
+ def translate(offset: collections.abc.Sequence[float]):
100
101
  """Scale the current stack matrix.
101
102
 
102
103
  :param offset: Translate the current stack matrix with 2 or 3 floats.
104
+ :type offset: collections.abc.Sequence[float]
103
105
  """