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

bl_ui/__init__.pyi CHANGED
@@ -20,7 +20,6 @@ from . import properties_data_camera as properties_data_camera
20
20
  from . import properties_data_curve as properties_data_curve
21
21
  from . import properties_data_curves as properties_data_curves
22
22
  from . import properties_data_empty as properties_data_empty
23
- from . import properties_data_gpencil as properties_data_gpencil
24
23
  from . import properties_data_grease_pencil as properties_data_grease_pencil
25
24
  from . import properties_data_lattice as properties_data_lattice
26
25
  from . import properties_data_light as properties_data_light
@@ -5658,6 +5658,40 @@ class VIEW3D_PT_overlay_edit_curve(bpy.types.Panel):
5658
5658
  :param context:
5659
5659
  """
5660
5660
 
5661
+ class VIEW3D_PT_overlay_edit_curves(bpy.types.Panel):
5662
+ bl_label: typing.Any
5663
+ bl_region_type: typing.Any
5664
+ bl_rna: typing.Any
5665
+ bl_space_type: typing.Any
5666
+ id_data: typing.Any
5667
+
5668
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
5669
+ """
5670
+
5671
+ :return: The RNA type or default when not found.
5672
+ :rtype: bpy.types.Struct
5673
+ """
5674
+
5675
+ def bl_rna_get_subclass_py(self) -> typing.Any:
5676
+ """
5677
+
5678
+ :return: The class or default when not found.
5679
+ :rtype: typing.Any
5680
+ """
5681
+
5682
+ def draw(self, context):
5683
+ """
5684
+
5685
+ :param context:
5686
+ """
5687
+
5688
+ @classmethod
5689
+ def poll(cls, context):
5690
+ """
5691
+
5692
+ :param context:
5693
+ """
5694
+
5661
5695
  class VIEW3D_PT_overlay_edit_mesh(bpy.types.Panel):
5662
5696
  bl_label: typing.Any
5663
5697
  bl_region_type: typing.Any
@@ -7090,3 +7124,4 @@ class VIEW3D_MT_bone_options_toggle(bpy.types.Menu, BoneOptions):
7090
7124
  """
7091
7125
 
7092
7126
  def draw_curve(self_, _context): ...
7127
+ def draw_topbar_grease_pencil_layer_panel(context, layout): ...
bmesh/types/__init__.pyi CHANGED
@@ -735,29 +735,17 @@ class BMIter[_GenericType1]:
735
735
  class BMLayerAccessEdge:
736
736
  """Exposes custom-data layer attributes."""
737
737
 
738
- color: BMLayerCollection
739
- """ Generic RGBA color with 8-bit precision custom-data layer.
738
+ color: typing.Any
739
+ """ Generic RGBA color with 8-bit precision custom-data layer."""
740
740
 
741
- :type: BMLayerCollection
742
- """
743
-
744
- float: BMLayerCollection
745
- """ Generic float custom-data layer.
741
+ float: typing.Any
742
+ """ Generic float custom-data layer."""
746
743
 
747
- :type: BMLayerCollection
748
- """
744
+ float_color: typing.Any
745
+ """ Generic RGBA color with float precision custom-data layer."""
749
746
 
750
- float_color: BMLayerCollection
751
- """ Generic RGBA color with float precision custom-data layer.
752
-
753
- :type: BMLayerCollection
754
- """
755
-
756
- float_vector: BMLayerCollection
757
- """ Generic 3D vector with float precision custom-data layer.
758
-
759
- :type: BMLayerCollection
760
- """
747
+ float_vector: typing.Any
748
+ """ Generic 3D vector with float precision custom-data layer."""
761
749
 
762
750
  freestyle: BMLayerCollection
763
751
  """ Accessor for Freestyle edge layer.
@@ -765,44 +753,26 @@ class BMLayerAccessEdge:
765
753
  :type: BMLayerCollection
766
754
  """
767
755
 
768
- int: BMLayerCollection
769
- """ Generic int custom-data layer.
770
-
771
- :type: BMLayerCollection
772
- """
773
-
774
- string: BMLayerCollection
775
- """ Generic string custom-data layer (exposed as bytes, 255 max length).
756
+ int: typing.Any
757
+ """ Generic int custom-data layer."""
776
758
 
777
- :type: BMLayerCollection
778
- """
759
+ string: typing.Any
760
+ """ Generic string custom-data layer (exposed as bytes, 255 max length)."""
779
761
 
780
762
  class BMLayerAccessFace:
781
763
  """Exposes custom-data layer attributes."""
782
764
 
783
- color: BMLayerCollection
784
- """ Generic RGBA color with 8-bit precision custom-data layer.
785
-
786
- :type: BMLayerCollection
787
- """
788
-
789
- float: BMLayerCollection
790
- """ Generic float custom-data layer.
791
-
792
- :type: BMLayerCollection
793
- """
765
+ color: typing.Any
766
+ """ Generic RGBA color with 8-bit precision custom-data layer."""
794
767
 
795
- float_color: BMLayerCollection
796
- """ Generic RGBA color with float precision custom-data layer.
768
+ float: typing.Any
769
+ """ Generic float custom-data layer."""
797
770
 
798
- :type: BMLayerCollection
799
- """
771
+ float_color: typing.Any
772
+ """ Generic RGBA color with float precision custom-data layer."""
800
773
 
801
- float_vector: BMLayerCollection
802
- """ Generic 3D vector with float precision custom-data layer.
803
-
804
- :type: BMLayerCollection
805
- """
774
+ float_vector: typing.Any
775
+ """ Generic 3D vector with float precision custom-data layer."""
806
776
 
807
777
  freestyle: BMLayerCollection
808
778
  """ Accessor for Freestyle face layer.
@@ -810,119 +780,65 @@ class BMLayerAccessFace:
810
780
  :type: BMLayerCollection
811
781
  """
812
782
 
813
- int: BMLayerCollection
814
- """ Generic int custom-data layer.
783
+ int: typing.Any
784
+ """ Generic int custom-data layer."""
815
785
 
816
- :type: BMLayerCollection
817
- """
818
-
819
- string: BMLayerCollection
820
- """ Generic string custom-data layer (exposed as bytes, 255 max length).
821
-
822
- :type: BMLayerCollection
823
- """
786
+ string: typing.Any
787
+ """ Generic string custom-data layer (exposed as bytes, 255 max length)."""
824
788
 
825
789
  class BMLayerAccessLoop:
826
790
  """Exposes custom-data layer attributes."""
827
791
 
828
- color: BMLayerCollection
829
- """ Generic RGBA color with 8-bit precision custom-data layer.
830
-
831
- :type: BMLayerCollection
832
- """
833
-
834
- float: BMLayerCollection
835
- """ Generic float custom-data layer.
836
-
837
- :type: BMLayerCollection
838
- """
839
-
840
- float_color: BMLayerCollection
841
- """ Generic RGBA color with float precision custom-data layer.
792
+ color: typing.Any
793
+ """ Generic RGBA color with 8-bit precision custom-data layer."""
842
794
 
843
- :type: BMLayerCollection
844
- """
795
+ float: typing.Any
796
+ """ Generic float custom-data layer."""
845
797
 
846
- float_vector: BMLayerCollection
847
- """ Generic 3D vector with float precision custom-data layer.
798
+ float_color: typing.Any
799
+ """ Generic RGBA color with float precision custom-data layer."""
848
800
 
849
- :type: BMLayerCollection
850
- """
801
+ float_vector: typing.Any
802
+ """ Generic 3D vector with float precision custom-data layer."""
851
803
 
852
- int: BMLayerCollection
853
- """ Generic int custom-data layer.
804
+ int: typing.Any
805
+ """ Generic int custom-data layer."""
854
806
 
855
- :type: BMLayerCollection
856
- """
857
-
858
- string: BMLayerCollection
859
- """ Generic string custom-data layer (exposed as bytes, 255 max length).
807
+ string: typing.Any
808
+ """ Generic string custom-data layer (exposed as bytes, 255 max length)."""
860
809
 
861
- :type: BMLayerCollection
862
- """
863
-
864
- uv: BMLayerCollection
865
- """ Accessor for `BMLoopUV` UV (as a 2D Vector).
866
-
867
- :type: BMLayerCollection
868
- """
810
+ uv: typing.Any
811
+ """ Accessor for `BMLoopUV` UV (as a 2D Vector)."""
869
812
 
870
813
  class BMLayerAccessVert:
871
814
  """Exposes custom-data layer attributes."""
872
815
 
873
- color: BMLayerCollection
874
- """ Generic RGBA color with 8-bit precision custom-data layer.
875
-
876
- :type: BMLayerCollection
877
- """
878
-
879
- deform: BMLayerCollection
880
- """ Vertex deform weight `BMDeformVert` (TODO).
881
-
882
- :type: BMLayerCollection
883
- """
884
-
885
- float: BMLayerCollection
886
- """ Generic float custom-data layer.
816
+ color: typing.Any
817
+ """ Generic RGBA color with 8-bit precision custom-data layer."""
887
818
 
888
- :type: BMLayerCollection
889
- """
819
+ deform: typing.Any
820
+ """ Vertex deform weight `BMDeformVert` (TODO)."""
890
821
 
891
- float_color: BMLayerCollection
892
- """ Generic RGBA color with float precision custom-data layer.
822
+ float: typing.Any
823
+ """ Generic float custom-data layer."""
893
824
 
894
- :type: BMLayerCollection
895
- """
825
+ float_color: typing.Any
826
+ """ Generic RGBA color with float precision custom-data layer."""
896
827
 
897
- float_vector: BMLayerCollection
898
- """ Generic 3D vector with float precision custom-data layer.
828
+ float_vector: typing.Any
829
+ """ Generic 3D vector with float precision custom-data layer."""
899
830
 
900
- :type: BMLayerCollection
901
- """
902
-
903
- int: BMLayerCollection
904
- """ Generic int custom-data layer.
831
+ int: typing.Any
832
+ """ Generic int custom-data layer."""
905
833
 
906
- :type: BMLayerCollection
907
- """
834
+ shape: typing.Any
835
+ """ Vertex shapekey absolute location (as a 3D Vector)."""
908
836
 
909
- shape: BMLayerCollection
910
- """ Vertex shapekey absolute location (as a 3D Vector).
837
+ skin: typing.Any
838
+ """ Accessor for skin layer."""
911
839
 
912
- :type: BMLayerCollection
913
- """
914
-
915
- skin: BMLayerCollection
916
- """ Accessor for skin layer.
917
-
918
- :type: BMLayerCollection
919
- """
920
-
921
- string: BMLayerCollection
922
- """ Generic string custom-data layer (exposed as bytes, 255 max length).
923
-
924
- :type: BMLayerCollection
925
- """
840
+ string: typing.Any
841
+ """ Generic string custom-data layer (exposed as bytes, 255 max length)."""
926
842
 
927
843
  class BMLayerCollection[_GenericType2]:
928
844
  """Gives access to a collection of custom-data layers of the same type and behaves like Python dictionaries, except for the ability to do list like index access."""
bmesh/utils/__init__.pyi CHANGED
@@ -73,7 +73,9 @@ def face_split(
73
73
  :rtype: tuple[bmesh.types.BMFace, bmesh.types.BMLoop]
74
74
  """
75
75
 
76
- def face_split_edgenet(face: bmesh.types.BMFace, edgenet: bmesh.types.BMEdge):
76
+ def face_split_edgenet(
77
+ face: bmesh.types.BMFace, edgenet: bmesh.types.BMEdge
78
+ ) -> tuple[bmesh.types.BMFace, ...]:
77
79
  """Splits a face into any number of regions defined by an edgenet.
78
80
 
79
81
  :param face: The face to split.The face to split.
@@ -81,6 +83,7 @@ def face_split_edgenet(face: bmesh.types.BMFace, edgenet: bmesh.types.BMEdge):
81
83
  :param edgenet: Sequence of edges.
82
84
  :type edgenet: bmesh.types.BMEdge
83
85
  :return: The newly created faces.
86
+ :rtype: tuple[bmesh.types.BMFace, ...]
84
87
  """
85
88
 
86
89
  def face_vert_separate(
bpy/app/__init__.pyi CHANGED
@@ -14,6 +14,8 @@ bpy.app.timers.rst
14
14
  import typing
15
15
  import collections.abc
16
16
  import typing_extensions
17
+ import bpy.typing
18
+
17
19
  from . import handlers as handlers
18
20
  from . import icons as icons
19
21
  from . import timers as timers
@@ -26,11 +28,11 @@ def help_text(all: bool | None = False):
26
28
  :type all: bool | None
27
29
  """
28
30
 
29
- def is_job_running(job_type: str | None):
31
+ def is_job_running(job_type: bpy.typing.WmJobTypeItems):
30
32
  """Check whether a job of the given type is running.
31
33
 
32
34
  :param job_type: job type in `rna_enum_wm_job_type_items`.
33
- :type job_type: str | None
35
+ :type job_type: bpy.typing.WmJobTypeItems
34
36
  :return: Whether a job of the given type is currently running.
35
37
  """
36
38
 
bpy/ops/anim/__init__.pyi CHANGED
@@ -893,18 +893,6 @@ def slot_new_for_id(
893
893
  :type undo: bool | None
894
894
  """
895
895
 
896
- def slot_new_for_object(
897
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
898
- execution_context: int | str | None = None,
899
- undo: bool | None = None,
900
- ):
901
- """Create a new Slot for this object, on the Action already assigned to it
902
-
903
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
904
- :type execution_context: int | str | None
905
- :type undo: bool | None
906
- """
907
-
908
896
  def slot_unassign_from_constraint(
909
897
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
910
898
  execution_context: int | str | None = None,
bpy/ops/ui/__init__.pyi CHANGED
@@ -281,22 +281,6 @@ def eyedropper_driver(
281
281
  :type mapping_type: typing.Literal['SINGLE_MANY','DIRECT','MATCH','NONE_ALL','NONE_SINGLE'] | None
282
282
  """
283
283
 
284
- def eyedropper_gpencil_color(
285
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
286
- execution_context: int | str | None = None,
287
- undo: bool | None = None,
288
- *,
289
- mode: typing.Literal["MATERIAL", "PALETTE"] | None = "MATERIAL",
290
- ):
291
- """Sample a color from the Blender Window and create Grease Pencil material
292
-
293
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
294
- :type execution_context: int | str | None
295
- :type undo: bool | None
296
- :param mode: Mode
297
- :type mode: typing.Literal['MATERIAL','PALETTE'] | None
298
- """
299
-
300
284
  def eyedropper_grease_pencil_color(
301
285
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
302
286
  execution_context: int | str | None = None,