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

bgl/__init__.pyi CHANGED
@@ -476,10 +476,10 @@ def glCreateProgram() -> int:
476
476
  :rtype: int
477
477
  """
478
478
 
479
- def glCreateShader(shaderType: GL_GEOMETRY_SHADER) -> int:
479
+ def glCreateShader(shaderType: GL_GEOMETRY_SHADER | typing.Any) -> int:
480
480
  """Creates a shader object.`OpenGL Docs <https://khronos.org/registry/OpenGL-Refpages/gl4/html/glCreateShader.xhtml>`__
481
481
 
482
- :type shaderType: GL_GEOMETRY_SHADER
482
+ :type shaderType: GL_GEOMETRY_SHADER | typing.Any
483
483
  :return: 0 if an error occurs.
484
484
  :rtype: int
485
485
  """
bpy/ops/uv/__init__.pyi CHANGED
@@ -122,7 +122,7 @@ def cube_project(
122
122
  :type undo: bool | None
123
123
  :param cube_size: Cube Size, Size of the cube to project on
124
124
  :type cube_size: float | None
125
- :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
125
+ :param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
126
126
  :type correct_aspect: bool | None
127
127
  :param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
128
128
  :type clip_to_bounds: bool | None
@@ -195,7 +195,7 @@ def cylinder_project(
195
195
  :type seam: bool | None
196
196
  :param radius: Radius, Radius of the sphere or cylinder
197
197
  :type radius: float | None
198
- :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
198
+ :param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
199
199
  :type correct_aspect: bool | None
200
200
  :param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
201
201
  :type clip_to_bounds: bool | None
@@ -510,7 +510,7 @@ def project_from_view(
510
510
  :type orthographic: bool | None
511
511
  :param camera_bounds: Camera Bounds, Map UVs to the camera region taking resolution and aspect into account
512
512
  :type camera_bounds: bool | None
513
- :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
513
+ :param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
514
514
  :type correct_aspect: bool | None
515
515
  :param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
516
516
  :type clip_to_bounds: bool | None
@@ -1093,7 +1093,7 @@ def smart_project(
1093
1093
  :type island_margin: float | None
1094
1094
  :param area_weight: Area Weight, Weight projection's vector by faces with larger areas
1095
1095
  :type area_weight: float | None
1096
- :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
1096
+ :param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
1097
1097
  :type correct_aspect: bool | None
1098
1098
  :param scale_to_bounds: Scale to Bounds, Scale UV coordinates to bounds after unwrapping
1099
1099
  :type scale_to_bounds: bool | None
@@ -1177,7 +1177,7 @@ def sphere_project(
1177
1177
  :type pole: typing.Literal['PINCH','FAN'] | None
1178
1178
  :param seam: Preserve Seams, Separate projections by islands isolated by seams
1179
1179
  :type seam: bool | None
1180
- :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
1180
+ :param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
1181
1181
  :type correct_aspect: bool | None
1182
1182
  :param clip_to_bounds: Clip to Bounds, Clip UV coordinates to bounds after unwrapping
1183
1183
  :type clip_to_bounds: bool | None
@@ -1256,7 +1256,7 @@ def unwrap(
1256
1256
  :type method: typing.Literal['ANGLE_BASED','CONFORMAL','MINIMUM_STRETCH'] | None
1257
1257
  :param fill_holes: Fill Holes, Virtually fill holes in mesh before unwrapping, to better avoid overlaps and preserve symmetry
1258
1258
  :type fill_holes: bool | None
1259
- :param correct_aspect: Correct Aspect, Map UVs taking image aspect ratio into account
1259
+ :param correct_aspect: Correct Aspect, Map UVs taking aspect ratio of the image associated with the material into account
1260
1260
  :type correct_aspect: bool | None
1261
1261
  :param use_subsurf_data: Use Subdivision Surface, Map UVs taking vertex position after Subdivision Surface modifier has been applied
1262
1262
  :type use_subsurf_data: bool | None
bpy/props/__init__.pyi CHANGED
@@ -196,7 +196,7 @@ def BoolVectorProperty(
196
196
 
197
197
  def CollectionProperty(
198
198
  *,
199
- type=None,
199
+ type: type[bpy.types.PropertyGroup] | None = None,
200
200
  name: str | None = "",
201
201
  description: str | None = "",
202
202
  translation_context: str | None = "*",
@@ -207,6 +207,7 @@ def CollectionProperty(
207
207
  """Returns a new collection property definition.
208
208
 
209
209
  :param type: A subclass of a property group.
210
+ :type type: type[bpy.types.PropertyGroup] | None
210
211
  :param name: Name used in the user interface.
211
212
  :type name: str | None
212
213
  :param description: Text used for the tooltip and api documentation.
@@ -579,7 +580,7 @@ def IntVectorProperty(
579
580
 
580
581
  def PointerProperty(
581
582
  *,
582
- type=None,
583
+ type: type[bpy.types.PropertyGroup | bpy.types.ID] | None = None,
583
584
  name: str | None = "",
584
585
  description: str | None = "",
585
586
  translation_context: str | None = "*",
@@ -594,6 +595,7 @@ def PointerProperty(
594
595
  """Returns a new pointer property definition.
595
596
 
596
597
  :param type: A subclass of a property group or ID types.
598
+ :type type: type[bpy.types.PropertyGroup | bpy.types.ID] | None
597
599
  :param name: Name used in the user interface.
598
600
  :type name: str | None
599
601
  :param description: Text used for the tooltip and api documentation.
bpy/types/__init__.pyi CHANGED
@@ -150267,7 +150267,7 @@ class GeometryNodeInputID(GeometryNode, NodeInternal, Node, bpy_struct):
150267
150267
  """
150268
150268
 
150269
150269
  class GeometryNodeInputImage(GeometryNode, NodeInternal, Node, bpy_struct):
150270
- """Input image"""
150270
+ """Input an image data-block"""
150271
150271
 
150272
150272
  image: Image | None
150273
150273
  """
@@ -202079,7 +202079,7 @@ class ShaderNodeCombineColor(ShaderNode, NodeInternal, Node, bpy_struct):
202079
202079
  """
202080
202080
 
202081
202081
  class ShaderNodeCombineHSV(ShaderNode, NodeInternal, Node, bpy_struct):
202082
- """Create a color from its hue, saturation, and value channels"""
202082
+ """Deprecated"""
202083
202083
 
202084
202084
  @classmethod
202085
202085
  def is_registered_node_type(cls) -> bool:
@@ -202132,7 +202132,7 @@ class ShaderNodeCombineHSV(ShaderNode, NodeInternal, Node, bpy_struct):
202132
202132
  """
202133
202133
 
202134
202134
  class ShaderNodeCombineRGB(ShaderNode, NodeInternal, Node, bpy_struct):
202135
- """Generate a color from its red, green, and blue channels (Deprecated)"""
202135
+ """Deprecated"""
202136
202136
 
202137
202137
  @classmethod
202138
202138
  def is_registered_node_type(cls) -> bool:
@@ -204421,7 +204421,7 @@ class ShaderNodeSeparateColor(ShaderNode, NodeInternal, Node, bpy_struct):
204421
204421
  """
204422
204422
 
204423
204423
  class ShaderNodeSeparateHSV(ShaderNode, NodeInternal, Node, bpy_struct):
204424
- """Split a color into its hue, saturation, and value channels"""
204424
+ """Deprecated"""
204425
204425
 
204426
204426
  @classmethod
204427
204427
  def is_registered_node_type(cls) -> bool:
@@ -204474,7 +204474,7 @@ class ShaderNodeSeparateHSV(ShaderNode, NodeInternal, Node, bpy_struct):
204474
204474
  """
204475
204475
 
204476
204476
  class ShaderNodeSeparateRGB(ShaderNode, NodeInternal, Node, bpy_struct):
204477
- """Split a color into its red, green, and blue channels (Deprecated)"""
204477
+ """Deprecated"""
204478
204478
 
204479
204479
  @classmethod
204480
204480
  def is_registered_node_type(cls) -> bool:
@@ -204635,6 +204635,8 @@ class ShaderNodeShaderToRGB(ShaderNode, NodeInternal, Node, bpy_struct):
204635
204635
  """
204636
204636
 
204637
204637
  class ShaderNodeSqueeze(ShaderNode, NodeInternal, Node, bpy_struct):
204638
+ """Deprecated"""
204639
+
204638
204640
  @classmethod
204639
204641
  def is_registered_node_type(cls) -> bool:
204640
204642
  """True if a registered node type
@@ -217894,13 +217896,13 @@ class ThemeClipEditor(bpy_struct):
217894
217896
  """
217895
217897
 
217896
217898
  path_keyframe_after: mathutils.Color
217897
- """ Color of path after current frame
217899
+ """ Color of keyframes on a path after current frame
217898
217900
 
217899
217901
  :type: mathutils.Color
217900
217902
  """
217901
217903
 
217902
217904
  path_keyframe_before: mathutils.Color
217903
- """ Color of path before current frame
217905
+ """ Color of keyframes on a path before current frame
217904
217906
 
217905
217907
  :type: mathutils.Color
217906
217908
  """
bpy/utils/__init__.pyi CHANGED
@@ -179,10 +179,23 @@ def preset_paths(subdir: str) -> list[str]:
179
179
  def refresh_script_paths():
180
180
  """Run this after creating new script paths to update sys.path"""
181
181
 
182
- def register_class(cls):
182
+ def register_class(
183
+ cls: type[
184
+ bpy.types.Panel
185
+ | bpy.types.UIList
186
+ | bpy.types.Menu
187
+ | bpy.types.Header
188
+ | bpy.types.Operator
189
+ | bpy.types.KeyingSetInfo
190
+ | bpy.types.RenderEngine
191
+ | bpy.types.AssetShelf
192
+ | bpy.types.FileHandler
193
+ ],
194
+ ):
183
195
  """Register a subclass of a Blender type class.
184
196
 
185
197
  :param cls: Registerable Blender class type.
198
+ :type cls: type[bpy.types.Panel | bpy.types.UIList | bpy.types.Menu | bpy.types.Header | bpy.types.Operator | bpy.types.KeyingSetInfo | bpy.types.RenderEngine | bpy.types.AssetShelf | bpy.types.FileHandler]
186
199
  """
187
200
 
188
201
  def register_classes_factory(classes):
@@ -354,12 +367,25 @@ def unescape_identifier(string: str) -> str:
354
367
  :rtype: str
355
368
  """
356
369
 
357
- def unregister_class(cls):
370
+ def unregister_class(
371
+ cls: type[
372
+ bpy.types.Panel
373
+ | bpy.types.UIList
374
+ | bpy.types.Menu
375
+ | bpy.types.Header
376
+ | bpy.types.Operator
377
+ | bpy.types.KeyingSetInfo
378
+ | bpy.types.RenderEngine
379
+ | bpy.types.AssetShelf
380
+ | bpy.types.FileHandler
381
+ ],
382
+ ):
358
383
  """Unload the Python class from blender.
359
384
 
360
385
  :param cls: Blender type class,
361
386
  see `bpy.utils.register_class` for classes which can
362
387
  be registered.
388
+ :type cls: type[bpy.types.Panel | bpy.types.UIList | bpy.types.Menu | bpy.types.Header | bpy.types.Operator | bpy.types.KeyingSetInfo | bpy.types.RenderEngine | bpy.types.AssetShelf | bpy.types.FileHandler]
363
389
  """
364
390
 
365
391
  def unregister_cli_command(handle):
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250108
3
+ Version: 20250110
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
@@ -19,7 +19,7 @@ animsys_refactor/__init__.pyi,sha256=FVtTS8ep5YY_wxoK9FesObKvYKIffFgmOyS74iuza0s
19
19
  animsys_refactor/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  aud/__init__.pyi,sha256=tt3gNwZlxxqaCPPrJmqlpycZ-6LDuQyHzFeItdw0Ymw,33507
21
21
  aud/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
- bgl/__init__.pyi,sha256=5-Nz8jGOeMdI338xxTUnlKbbsVkqtzaGLL7MFNAXRgM,99508
22
+ bgl/__init__.pyi,sha256=qpQGlYz_sDIpS4AYONwmVkBlX2wM19TzfS76UM4IX-E,99534
23
23
  bgl/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  bl_app_override/__init__.pyi,sha256=kkg9A36TgZy86l0Nc2FnamcJsAG66am6xW0YjBDbjBI,368
25
25
  bl_app_override/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -269,16 +269,16 @@ bpy/ops/texture/__init__.pyi,sha256=oxKGKHziumZd9yFWYjRNVALiIAgR3-AIlmSnHbhhT1I,
269
269
  bpy/ops/transform/__init__.pyi,sha256=nFMU9BIC1R0F3vOtG3UJzG06_0bhvpn5WJ7jpB_B3rA,58195
270
270
  bpy/ops/ui/__init__.pyi,sha256=C3pDpcSf36MCa56mWmGyR-W_vDizDBBTmFj65RIvfS4,12411
271
271
  bpy/ops/uilist/__init__.pyi,sha256=1Vu7qHRYL-MOM5kdcHJLmJwucvveh10t1wbmL_98GEM,1618
272
- bpy/ops/uv/__init__.pyi,sha256=eWE-GqduQJ9QX70-KKlsnVvpmV-sP97kEdV2RfCSUck,45220
272
+ bpy/ops/uv/__init__.pyi,sha256=_PFdsIxNsw5RLzCHmpqA7MnHriWUf0mau2pvYSyj7DQ,45436
273
273
  bpy/ops/view2d/__init__.pyi,sha256=bw6xoLUDUWQGk36g4T8THDWpNSH_VX8Pyg_mlGB9Dik,6986
274
274
  bpy/ops/view3d/__init__.pyi,sha256=MGiNsaGKtQPLFiSQgEdKlULq2a0Rp6W3vGTub0Hb3p4,30689
275
275
  bpy/ops/wm/__init__.pyi,sha256=vNXQGtWFHxjk_ft3OeWStjne67NsOtRXjBtFWbP-jOA,215937
276
276
  bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHCU,1983
277
277
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
278
278
  bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
279
- bpy/props/__init__.pyi,sha256=SqTCM2aAF3vJsivwCNedGdhiddN9cgBWux2FGczQi3w,35035
280
- bpy/types/__init__.pyi,sha256=avQAZZ1bE88Ff2CCzIczRFbirhR97IzvyDBtKNjirVI,5419589
281
- bpy/utils/__init__.pyi,sha256=YdrQ1k62_Wg1AjSzbgZB2iRkwFOv9wXrUOvaPhM9K28,13413
279
+ bpy/props/__init__.pyi,sha256=rxpq9_AeVaMNXJ1MBAowRzLYjBzsYxNx5Ox5qWLLu5w,35255
280
+ bpy/types/__init__.pyi,sha256=N0XOaNiYo5db9I8NRT0mhJys7JPykivzq18AK50ooaI,5419445
281
+ bpy/utils/__init__.pyi,sha256=LBKZscVUnS43O9AFmDZrJA1hBxJE3AFAY9d5SCWdKyU,14403
282
282
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
283
283
  bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
284
284
  bpy_extras/__init__.pyi,sha256=wejK55NeAEGsAzM9psNhBokX9H0DBihwOdNQ5XlCHB4,968
@@ -310,8 +310,8 @@ freestyle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
310
310
  freestyle/chainingiterators/__init__.pyi,sha256=-sExETC4ZKfEvte3IoUoOj318RttlFo5otO6VATWnE0,10592
311
311
  freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTEOk4,48844
312
312
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
313
- freestyle/shaders/__init__.pyi,sha256=1Ov48B4P7LV3dwjBqHqqqbPFRBZWjENqIDaFb97Qdj0,23835
314
- freestyle/types/__init__.pyi,sha256=BsZjLTN4AobRDBHcT_yh-VC7lo7mDvJPclsVl-fK5FM,100093
313
+ freestyle/shaders/__init__.pyi,sha256=4a-rY8mkkIcsnIvYGcP8YgAULdJENDJnncju2CjhQVg,24014
314
+ freestyle/types/__init__.pyi,sha256=NDfpQQ0PBTw2NaRhCDcVRoEpJhH58BLBr16GcZORl98,100188
315
315
  freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,5108
316
316
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=fPDfiBEjpoqXQhBhmHJ6WxG9oLMItwQ32MxKQz_c9_I,3445
317
317
  gpu/__init__.pyi,sha256=Q-AbyJO85pPYcwXNWtvgAhFGGJ6OnnHrlsXQxur9jhs,7999
@@ -359,7 +359,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
359
359
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
360
360
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
361
361
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
- fake_bpy_module-20250108.dist-info/METADATA,sha256=8BzHh4E8xViu9EKO6n_h-O103PXXmBmuMWlpwYkwuQU,7289
363
- fake_bpy_module-20250108.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
364
- fake_bpy_module-20250108.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
- fake_bpy_module-20250108.dist-info/RECORD,,
362
+ fake_bpy_module-20250110.dist-info/METADATA,sha256=UafsBgKrGMSBVTU_hDZq7caSSvOlCU8BZAmESK-1XPA,7289
363
+ fake_bpy_module-20250110.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
+ fake_bpy_module-20250110.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
+ fake_bpy_module-20250110.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.7.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -11,6 +11,7 @@ freestyle.types.StrokeShader class.
11
11
  import typing
12
12
  import collections.abc
13
13
  import typing_extensions
14
+ import bpy.types
14
15
  import freestyle.types
15
16
  import mathutils
16
17
 
@@ -55,11 +56,14 @@ class BezierCurveShader:
55
56
  class BlenderTextureShader:
56
57
  """Class hierarchy: `freestyle.types.StrokeShader` > `BlenderTextureShader`[Texture shader]"""
57
58
 
58
- def __init__(self, texture):
59
+ def __init__(
60
+ self, texture: bpy.types.LineStyleTextureSlot | bpy.types.ShaderNodeTree
61
+ ):
59
62
  """Builds a BlenderTextureShader object.
60
63
 
61
64
  :param texture: A line style texture slot or a shader node tree to define
62
65
  a set of textures.
66
+ :type texture: bpy.types.LineStyleTextureSlot | bpy.types.ShaderNodeTree
63
67
  """
64
68
 
65
69
  def shade(self, stroke: freestyle.types.Stroke):
@@ -869,12 +869,15 @@ class, the .object property refers to a `StrokeVertex` object.
869
869
  :type brother: typing_extensions.Self
870
870
  """
871
871
 
872
- def __init__(self, it: CurvePointIterator | SVertexIterator):
872
+ def __init__(
873
+ self,
874
+ it: CurvePointIterator | SVertexIterator | StrokeVertexIterator | typing.Any,
875
+ ):
873
876
  """Construct a nested Interface0DIterator using either the copy constructor
874
877
  or the constructor that takes an he argument of a Function0D.
875
878
 
876
879
  :param it: An iterator object to be nested.
877
- :type it: CurvePointIterator | SVertexIterator
880
+ :type it: CurvePointIterator | SVertexIterator | StrokeVertexIterator | typing.Any
878
881
  """
879
882
 
880
883
  class Interface1D: