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

bmesh/ops/__init__.pyi CHANGED
@@ -175,8 +175,8 @@ def bisect_plane(
175
175
  | list[bmesh.types.BMFace]
176
176
  | list[bmesh.types.BMVert] = [],
177
177
  dist: float = 0,
178
- plane_co: collections.abc.Sequence[float] | mathutils.Vector = None(),
179
- plane_no: collections.abc.Sequence[float] | mathutils.Vector = None(),
178
+ plane_co: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
179
+ plane_no: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
180
180
  use_snap_center: bool = False,
181
181
  clear_outer: bool = False,
182
182
  clear_inner: bool = False,
@@ -462,7 +462,7 @@ def create_circle(
462
462
  segments: int = 0,
463
463
  radius: float = 0,
464
464
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
465
- | mathutils.Matrix = None(4),
465
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
466
466
  calc_uvs: bool = False,
467
467
  ) -> dict[str, typing.Any]:
468
468
  """Creates a Circle.
@@ -498,7 +498,7 @@ def create_cone(
498
498
  radius2: float = 0,
499
499
  depth: float = 0,
500
500
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
501
- | mathutils.Matrix = None(4),
501
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
502
502
  calc_uvs: bool = False,
503
503
  ) -> dict[str, typing.Any]:
504
504
  """Create Cone.Creates a cone with variable depth at both ends
@@ -533,7 +533,7 @@ def create_cube(
533
533
  bm: bmesh.types.BMesh,
534
534
  size: float = 0,
535
535
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
536
- | mathutils.Matrix = None(4),
536
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
537
537
  calc_uvs: bool = False,
538
538
  ) -> dict[str, typing.Any]:
539
539
  """Create CubeCreates a cube.
@@ -560,7 +560,7 @@ def create_grid(
560
560
  y_segments: int = 0,
561
561
  size: float = 0,
562
562
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
563
- | mathutils.Matrix = None(4),
563
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
564
564
  calc_uvs: bool = False,
565
565
  ) -> dict[str, typing.Any]:
566
566
  """Create Grid.Creates a grid with a variable number of subdivisions
@@ -590,7 +590,7 @@ def create_icosphere(
590
590
  subdivisions: int = 0,
591
591
  radius: float = 0,
592
592
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
593
- | mathutils.Matrix = None(4),
593
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
594
594
  calc_uvs: bool = False,
595
595
  ) -> dict[str, typing.Any]:
596
596
  """Create Ico-Sphere.Creates a grid with a variable number of subdivisions
@@ -616,7 +616,7 @@ def create_icosphere(
616
616
  def create_monkey(
617
617
  bm: bmesh.types.BMesh,
618
618
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
619
- | mathutils.Matrix = None(4),
619
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
620
620
  calc_uvs: bool = False,
621
621
  ) -> dict[str, typing.Any]:
622
622
  """Create Suzanne.Creates a monkey (standard blender primitive).
@@ -641,7 +641,7 @@ def create_uvsphere(
641
641
  v_segments: int = 0,
642
642
  radius: float = 0,
643
643
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
644
- | mathutils.Matrix = None(4),
644
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
645
645
  calc_uvs: bool = False,
646
646
  ) -> dict[str, typing.Any]:
647
647
  """Create UV Sphere.Creates a grid with a variable number of subdivisions
@@ -668,7 +668,7 @@ def create_uvsphere(
668
668
 
669
669
  def create_vert(
670
670
  bm: bmesh.types.BMesh,
671
- co: collections.abc.Sequence[float] | mathutils.Vector = None(),
671
+ co: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
672
672
  ) -> dict[str, typing.Any]:
673
673
  """Make Vertex.Creates a single vertex; this BMOP was necessary
674
674
  for click-create-vertex.
@@ -1297,7 +1297,7 @@ def mirror(
1297
1297
  | list[bmesh.types.BMFace]
1298
1298
  | list[bmesh.types.BMVert] = [],
1299
1299
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
1300
- | mathutils.Matrix = None(4),
1300
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
1301
1301
  merge_dist: float = 0,
1302
1302
  axis: str = "X",
1303
1303
  mirror_u: bool = False,
@@ -1399,7 +1399,7 @@ def planar_faces(
1399
1399
  def pointmerge(
1400
1400
  bm: bmesh.types.BMesh,
1401
1401
  verts: list[bmesh.types.BMVert] = [],
1402
- merge_co: collections.abc.Sequence[float] | mathutils.Vector = None(),
1402
+ merge_co: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
1403
1403
  ):
1404
1404
  """Point Merge.Merge verts together at a point.
1405
1405
 
@@ -1566,12 +1566,12 @@ def reverse_uvs(bm: bmesh.types.BMesh, faces: list[bmesh.types.BMFace] = []):
1566
1566
 
1567
1567
  def rotate(
1568
1568
  bm: bmesh.types.BMesh,
1569
- cent: collections.abc.Sequence[float] | mathutils.Vector = None(),
1569
+ cent: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
1570
1570
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
1571
- | mathutils.Matrix = None(4),
1571
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
1572
1572
  verts: list[bmesh.types.BMVert] = [],
1573
1573
  space: collections.abc.Sequence[collections.abc.Sequence[float]]
1574
- | mathutils.Matrix = None(4),
1574
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
1575
1575
  use_shapekey: bool = False,
1576
1576
  ):
1577
1577
  """Rotate.Rotate vertices around a center, using a 3x3 rotation matrix.
@@ -1649,9 +1649,9 @@ def rotate_uvs(
1649
1649
 
1650
1650
  def scale(
1651
1651
  bm: bmesh.types.BMesh,
1652
- vec: collections.abc.Sequence[float] | mathutils.Vector = None(),
1652
+ vec: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
1653
1653
  space: collections.abc.Sequence[collections.abc.Sequence[float]]
1654
- | mathutils.Matrix = None(4),
1654
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
1655
1655
  verts: list[bmesh.types.BMVert] = [],
1656
1656
  use_shapekey: bool = False,
1657
1657
  ):
@@ -1770,12 +1770,12 @@ def spin(
1770
1770
  geom: list[bmesh.types.BMEdge]
1771
1771
  | list[bmesh.types.BMFace]
1772
1772
  | list[bmesh.types.BMVert] = [],
1773
- cent: collections.abc.Sequence[float] | mathutils.Vector = None(),
1774
- axis: collections.abc.Sequence[float] | mathutils.Vector = None(),
1775
- dvec: collections.abc.Sequence[float] | mathutils.Vector = None(),
1773
+ cent: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
1774
+ axis: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
1775
+ dvec: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
1776
1776
  angle: float = 0,
1777
1777
  space: collections.abc.Sequence[collections.abc.Sequence[float]]
1778
- | mathutils.Matrix = None(4),
1778
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
1779
1779
  steps: int = 0,
1780
1780
  use_merge: bool = False,
1781
1781
  use_normal_flip: bool = False,
@@ -1852,7 +1852,7 @@ def split(
1852
1852
  def split_edges(
1853
1853
  bm: bmesh.types.BMesh,
1854
1854
  edges: list[bmesh.types.BMEdge] = [],
1855
- verts: list[bmesh.types.BMVert] | None = [],
1855
+ verts: list[bmesh.types.BMVert] = [],
1856
1856
  use_verts: bool = False,
1857
1857
  ) -> dict[str, typing.Any]:
1858
1858
  """Edge Split.Disconnects faces along input edges.
@@ -1862,7 +1862,7 @@ def split_edges(
1862
1862
  :param edges: input edges
1863
1863
  :type edges: list[bmesh.types.BMEdge]
1864
1864
  :param verts: optional tag verts, use to have greater control of splits
1865
- :type verts: list[bmesh.types.BMVert] | None
1865
+ :type verts: list[bmesh.types.BMVert]
1866
1866
  :param use_verts: use 'verts' for splitting, else just find verts to split from edges
1867
1867
  :type use_verts: bool
1868
1868
  :return: edges: old output disconnected edges
@@ -2008,9 +2008,9 @@ def symmetrize(
2008
2008
  def transform(
2009
2009
  bm: bmesh.types.BMesh,
2010
2010
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
2011
- | mathutils.Matrix = None(4),
2011
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
2012
2012
  space: collections.abc.Sequence[collections.abc.Sequence[float]]
2013
- | mathutils.Matrix = None(4),
2013
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
2014
2014
  verts: list[bmesh.types.BMVert] = [],
2015
2015
  use_shapekey: bool = False,
2016
2016
  ):
@@ -2033,9 +2033,9 @@ def transform(
2033
2033
 
2034
2034
  def translate(
2035
2035
  bm: bmesh.types.BMesh,
2036
- vec: collections.abc.Sequence[float] | mathutils.Vector = None(),
2036
+ vec: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
2037
2037
  space: collections.abc.Sequence[collections.abc.Sequence[float]]
2038
- | mathutils.Matrix = None(4),
2038
+ | mathutils.Matrix = mathutils.Matrix.Identity(4),
2039
2039
  verts: list[bmesh.types.BMVert] = [],
2040
2040
  use_shapekey: bool = False,
2041
2041
  ):
@@ -2060,7 +2060,7 @@ def triangle_fill(
2060
2060
  use_beauty: bool = False,
2061
2061
  use_dissolve: bool = False,
2062
2062
  edges: list[bmesh.types.BMEdge] = [],
2063
- normal: collections.abc.Sequence[float] | mathutils.Vector = None(),
2063
+ normal: collections.abc.Sequence[float] | mathutils.Vector = mathutils.Vector(),
2064
2064
  ) -> dict[str, typing.Any]:
2065
2065
  """Triangle Fill.Fill edges with triangles
2066
2066
 
bmesh/types/__init__.pyi CHANGED
@@ -1204,16 +1204,16 @@ class BMLoop:
1204
1204
  ...
1205
1205
 
1206
1206
  def copy_from_face_interp(
1207
- self, face: BMFace, vert: bool | None = True, multires: bool | None = True
1207
+ self, face: BMFace, vert: bool = True, multires: bool = True
1208
1208
  ):
1209
1209
  """Interpolate the customdata from a face onto this loop (the loops vert should overlap the face).
1210
1210
 
1211
1211
  :param face: The face to interpolate data from.
1212
1212
  :type face: BMFace
1213
1213
  :param vert: When enabled, interpolate the loops vertex data (optional).
1214
- :type vert: bool | None
1214
+ :type vert: bool
1215
1215
  :param multires: When enabled, interpolate the loops multires data (optional).
1216
- :type multires: bool | None
1216
+ :type multires: bool
1217
1217
  """
1218
1218
  ...
1219
1219
 
@@ -1475,13 +1475,13 @@ class BMVertSeq:
1475
1475
 
1476
1476
  def new(
1477
1477
  self,
1478
- co: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
1478
+ co: collections.abc.Sequence[float] | mathutils.Vector = (0.0, 0.0, 0.0),
1479
1479
  example: BMVert = None,
1480
1480
  ) -> BMVert:
1481
1481
  """Create a new vertex.
1482
1482
 
1483
1483
  :param co: The initial location of the vertex (optional argument).
1484
- :type co: collections.abc.Sequence[float] | mathutils.Vector | None
1484
+ :type co: collections.abc.Sequence[float] | mathutils.Vector
1485
1485
  :param example: Existing vert to initialize settings.
1486
1486
  :type example: BMVert
1487
1487
  :return: The newly created vertex.
bmesh/utils/__init__.pyi CHANGED
@@ -62,7 +62,7 @@ def face_split(
62
62
  face: bmesh.types.BMFace,
63
63
  vert_a: bmesh.types.BMVert,
64
64
  vert_b: bmesh.types.BMVert,
65
- coords: list[float] | None = (),
65
+ coords: list[float] = (),
66
66
  use_exist: bool = True,
67
67
  example: bmesh.types.BMEdge = None,
68
68
  ) -> tuple[bmesh.types.BMFace, bmesh.types.BMLoop]:
@@ -75,7 +75,7 @@ def face_split(
75
75
  :param vert_b: Second vertex to cut in the face (face must contain the vert).
76
76
  :type vert_b: bmesh.types.BMVert
77
77
  :param coords: Optional argument to define points in between vert_a and vert_b.
78
- :type coords: list[float] | None
78
+ :type coords: list[float]
79
79
  :param use_exist: .Use an existing edge if it exists (Only used when coords argument is empty or omitted)
80
80
  :type use_exist: bool
81
81
  :param example: Newly created edge will copy settings from this one.
@@ -148,13 +148,13 @@ def convert_to_mesh_plane(
148
148
  :param alpha_mode: Alpha Mode, Representation of alpha in the image file, to convert to and from when saving and loading the image
149
149
 
150
150
  STRAIGHT
151
- Straight -- Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG.
151
+ Straight -- Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG..
152
152
 
153
153
  PREMUL
154
- Premultiplied -- Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR.
154
+ Premultiplied -- Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR..
155
155
 
156
156
  CHANNEL_PACKED
157
- Channel Packed -- Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory.
157
+ Channel Packed -- Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory..
158
158
 
159
159
  NONE
160
160
  None -- Ignore alpha channel from the file and make image fully opaque.
@@ -470,13 +470,13 @@ def import_as_mesh_planes(
470
470
  :param alpha_mode: Alpha Mode, Representation of alpha in the image file, to convert to and from when saving and loading the image
471
471
 
472
472
  STRAIGHT
473
- Straight -- Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG.
473
+ Straight -- Store RGB and alpha channels separately with alpha acting as a mask, also known as unassociated alpha. Commonly used by image editing applications and file formats like PNG..
474
474
 
475
475
  PREMUL
476
- Premultiplied -- Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR.
476
+ Premultiplied -- Store RGB channels with alpha multiplied in, also known as associated alpha. The natural format for renders and used by file formats like OpenEXR..
477
477
 
478
478
  CHANNEL_PACKED
479
- Channel Packed -- Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory.
479
+ Channel Packed -- Different images are packed in the RGB and alpha channels, and they should not affect each other. Channel packing is commonly used by game engines to save memory..
480
480
 
481
481
  NONE
482
482
  None -- Ignore alpha channel from the file and make image fully opaque.
@@ -376,7 +376,7 @@ def extension_repo_add(
376
376
  :type access_token: str
377
377
  :param use_sync_on_startup: Check for Updates on Startup, Allow Blender to check for updates upon launch
378
378
  :type use_sync_on_startup: bool | None
379
- :param use_custom_directory: Custom Directory, Manually set the path for extensions to be stored. When disabled a user's extensions directory is created
379
+ :param use_custom_directory: Custom Directory, Manually set the path for extensions to be stored. When disabled a user's extensions directory is created.
380
380
  :type use_custom_directory: bool | None
381
381
  :param custom_directory: Custom Directory, The local directory containing extensions
382
382
  :type custom_directory: str
bpy/path/__init__.pyi CHANGED
@@ -13,17 +13,17 @@ GenericType1 = typing.TypeVar("GenericType1")
13
13
  GenericType2 = typing.TypeVar("GenericType2")
14
14
 
15
15
  def abspath(
16
- path, *, start: bytes | str | None = None, library: bpy.types.Library | None = None
16
+ path, *, start: bytes | str = None, library: bpy.types.Library = None
17
17
  ) -> str:
18
18
  """Returns the absolute path relative to the current blend file
19
19
  using the "//" prefix.
20
20
 
21
21
  :param start: Relative to this path,
22
22
  when not set the current filename is used.
23
- :type start: bytes | str | None
23
+ :type start: bytes | str
24
24
  :param library: The library this path is from. This is only included for
25
25
  convenience, when the library is not None its path replaces start.
26
- :type library: bpy.types.Library | None
26
+ :type library: bpy.types.Library
27
27
  :return: The absolute path.
28
28
  :rtype: str
29
29
  """
@@ -39,155 +39,149 @@ def basename(path) -> str:
39
39
 
40
40
  ...
41
41
 
42
- def clean_name(name: bytes | str | None, *, replace: str | None = "_") -> str:
42
+ def clean_name(name: bytes | str, *, replace: str = "_") -> str:
43
43
  """Returns a name with characters replaced that
44
44
  may cause problems under various circumstances,
45
45
  such as writing to a file.All characters besides A-Z/a-z, 0-9 are replaced with "_"
46
46
  or the replace argument if defined.
47
47
 
48
48
  :param name: The path name.
49
- :type name: bytes | str | None
49
+ :type name: bytes | str
50
50
  :param replace: The replacement for non-valid characters.
51
- :type replace: str | None
51
+ :type replace: str
52
52
  :return: The cleaned name.
53
53
  :rtype: str
54
54
  """
55
55
 
56
56
  ...
57
57
 
58
- def display_name(
59
- name: str | None, *, has_ext: bool | None = True, title_case: bool | None = True
60
- ) -> str:
58
+ def display_name(name: str, *, has_ext: bool = True, title_case: bool = True) -> str:
61
59
  """Creates a display string from name to be used menus and the user interface.
62
60
  Intended for use with filenames and module names.
63
61
 
64
62
  :param name: The name to be used for displaying the user interface.
65
- :type name: str | None
63
+ :type name: str
66
64
  :param has_ext: Remove file extension from name.
67
- :type has_ext: bool | None
65
+ :type has_ext: bool
68
66
  :param title_case: Convert lowercase names to title case.
69
- :type title_case: bool | None
67
+ :type title_case: bool
70
68
  :return: The display string.
71
69
  :rtype: str
72
70
  """
73
71
 
74
72
  ...
75
73
 
76
- def display_name_from_filepath(name: str | None) -> str:
74
+ def display_name_from_filepath(name: str) -> str:
77
75
  """Returns the path stripped of directory and extension,
78
76
  ensured to be utf8 compatible.
79
77
 
80
78
  :param name: The file path to convert.
81
- :type name: str | None
79
+ :type name: str
82
80
  :return: The display name.
83
81
  :rtype: str
84
82
  """
85
83
 
86
84
  ...
87
85
 
88
- def display_name_to_filepath(name: str | None) -> str:
86
+ def display_name_to_filepath(name: str) -> str:
89
87
  """Performs the reverse of display_name using literal versions of characters
90
88
  which aren't supported in a filepath.
91
89
 
92
90
  :param name: The display name to convert.
93
- :type name: str | None
91
+ :type name: str
94
92
  :return: The file path.
95
93
  :rtype: str
96
94
  """
97
95
 
98
96
  ...
99
97
 
100
- def ensure_ext(
101
- filepath: str | None, ext: str | None, *, case_sensitive: bool | None = False
102
- ) -> str:
98
+ def ensure_ext(filepath: str, ext: str, *, case_sensitive: bool = False) -> str:
103
99
  """Return the path with the extension added if it is not already set.
104
100
 
105
101
  :param filepath: The file path.
106
- :type filepath: str | None
102
+ :type filepath: str
107
103
  :param ext: The extension to check for, can be a compound extension. Should
108
104
  start with a dot, such as '.blend' or '.tar.gz'.
109
- :type ext: str | None
105
+ :type ext: str
110
106
  :param case_sensitive: Check for matching case when comparing extensions.
111
- :type case_sensitive: bool | None
107
+ :type case_sensitive: bool
112
108
  :return: The file path with the given extension.
113
109
  :rtype: str
114
110
  """
115
111
 
116
112
  ...
117
113
 
118
- def is_subdir(path: bytes | str | None, directory) -> bool:
114
+ def is_subdir(path: bytes | str, directory) -> bool:
119
115
  """Returns true if path in a subdirectory of directory.
120
116
  Both paths must be absolute.
121
117
 
122
118
  :param path: An absolute path.
123
- :type path: bytes | str | None
119
+ :type path: bytes | str
124
120
  :return: Whether or not the path is a subdirectory.
125
121
  :rtype: bool
126
122
  """
127
123
 
128
124
  ...
129
125
 
130
- def module_names(
131
- path: str | None, *, recursive: bool | None = False, package: str | None = ""
132
- ) -> list[str]:
126
+ def module_names(path: str, *, recursive: bool = False, package: str = "") -> list[str]:
133
127
  """Return a list of modules which can be imported from path.
134
128
 
135
129
  :param path: a directory to scan.
136
- :type path: str | None
130
+ :type path: str
137
131
  :param recursive: Also return submodule names for packages.
138
- :type recursive: bool | None
132
+ :type recursive: bool
139
133
  :param package: Optional string, used as the prefix for module names (without the trailing ".").
140
- :type package: str | None
134
+ :type package: str
141
135
  :return: a list of string pairs (module_name, module_file).
142
136
  :rtype: list[str]
143
137
  """
144
138
 
145
139
  ...
146
140
 
147
- def native_pathsep(path: str | None) -> str:
141
+ def native_pathsep(path: str) -> str:
148
142
  """Replace the path separator with the systems native os.sep.
149
143
 
150
144
  :param path: The path to replace.
151
- :type path: str | None
145
+ :type path: str
152
146
  :return: The path with system native separators.
153
147
  :rtype: str
154
148
  """
155
149
 
156
150
  ...
157
151
 
158
- def reduce_dirs(dirs: list[str] | None) -> list[str]:
152
+ def reduce_dirs(dirs: list[str]) -> list[str]:
159
153
  """Given a sequence of directories, remove duplicates and
160
154
  any directories nested in one of the other paths.
161
155
  (Useful for recursive path searching).
162
156
 
163
157
  :param dirs: Sequence of directory paths.
164
- :type dirs: list[str] | None
158
+ :type dirs: list[str]
165
159
  :return: A unique list of paths.
166
160
  :rtype: list[str]
167
161
  """
168
162
 
169
163
  ...
170
164
 
171
- def relpath(path: bytes | str | None, *, start: bytes | str | None = None) -> str:
165
+ def relpath(path: bytes | str, *, start: bytes | str = None) -> str:
172
166
  """Returns the path relative to the current blend file using the "//" prefix.
173
167
 
174
168
  :param path: An absolute path.
175
- :type path: bytes | str | None
169
+ :type path: bytes | str
176
170
  :param start: Relative to this path,
177
171
  when not set the current filename is used.
178
- :type start: bytes | str | None
172
+ :type start: bytes | str
179
173
  :return: The relative path.
180
174
  :rtype: str
181
175
  """
182
176
 
183
177
  ...
184
178
 
185
- def resolve_ncase(path: str | None) -> str:
179
+ def resolve_ncase(path: str) -> str:
186
180
  """Resolve a case insensitive path on a case sensitive system,
187
181
  returning a string with the path if found else return the original path.
188
182
 
189
183
  :param path: The path name to resolve.
190
- :type path: str | None
184
+ :type path: str
191
185
  :return: The resolved path.
192
186
  :rtype: str
193
187
  """
bpy/props/__init__.pyi CHANGED
@@ -388,10 +388,10 @@ def FloatVectorProperty(
388
388
  description: str | None = "",
389
389
  translation_context: str | None = "*",
390
390
  default: collections.abc.Sequence | None = (0.0, 0.0, 0.0),
391
- min: float | None = None,
392
- max: float | None = None,
393
- soft_min: float | None = None,
394
- soft_max: float | None = None,
391
+ min: float | None = sys.float_info.min,
392
+ max: float | None = sys.float_info.max,
393
+ soft_min: float | None = sys.float_info.min,
394
+ soft_max: float | None = sys.float_info.max,
395
395
  step: int | None = 3,
396
396
  precision: int | None = 2,
397
397
  options: set | None = {"ANIMATABLE"},