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

@@ -989,6 +989,59 @@ def reorder(
989
989
  :type direction: typing.Literal['TOP','UP','DOWN','BOTTOM'] | None
990
990
  """
991
991
 
992
+ def reproject(
993
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
994
+ execution_context: int | str | None = None,
995
+ undo: bool | None = None,
996
+ *,
997
+ type: typing.Literal["FRONT", "SIDE", "TOP", "VIEW", "SURFACE", "CURSOR"]
998
+ | None = "VIEW",
999
+ keep_original: bool | None = False,
1000
+ offset: float | None = 0.0,
1001
+ ):
1002
+ """Reproject the selected strokes from the current viewpoint as if they had been newly drawn (e.g. to fix problems from accidental 3D cursor movement or accidental viewport changes, or for matching deforming geometry)
1003
+
1004
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1005
+ :type execution_context: int | str | None
1006
+ :type undo: bool | None
1007
+ :param type: Projection Type
1008
+
1009
+ FRONT
1010
+ Front -- Reproject the strokes using the X-Z plane.
1011
+
1012
+ SIDE
1013
+ Side -- Reproject the strokes using the Y-Z plane.
1014
+
1015
+ TOP
1016
+ Top -- Reproject the strokes using the X-Y plane.
1017
+
1018
+ VIEW
1019
+ View -- Reproject the strokes to end up on the same plane, as if drawn from the current viewpoint using 'Cursor' Stroke Placement.
1020
+
1021
+ SURFACE
1022
+ Surface -- Reproject the strokes on to the scene geometry, as if drawn using 'Surface' placement.
1023
+
1024
+ CURSOR
1025
+ Cursor -- Reproject the strokes using the orientation of 3D cursor.
1026
+ :type type: typing.Literal['FRONT','SIDE','TOP','VIEW','SURFACE','CURSOR'] | None
1027
+ :param keep_original: Keep Original, Keep original strokes and create a copy before reprojecting
1028
+ :type keep_original: bool | None
1029
+ :param offset: Surface Offset
1030
+ :type offset: float | None
1031
+ """
1032
+
1033
+ def reset_uvs(
1034
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1035
+ execution_context: int | str | None = None,
1036
+ undo: bool | None = None,
1037
+ ):
1038
+ """Reset UV transformation to default values
1039
+
1040
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1041
+ :type execution_context: int | str | None
1042
+ :type undo: bool | None
1043
+ """
1044
+
992
1045
  def sculpt_paint(
993
1046
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
994
1047
  execution_context: int | str | None = None,
bpy/types/__init__.pyi CHANGED
@@ -39742,7 +39742,7 @@ of the scene and only show nodes of the renderer they are designed for.
39742
39742
 
39743
39743
  --------------------
39744
39744
 
39745
- * ActionStrip.channelbags
39745
+ * ActionKeyframeStrip.channelbags
39746
39746
 
39747
39747
  :columns: 2
39748
39748
 
@@ -43031,8 +43031,8 @@ example of how to create/use filtering/reordering callbacks.
43031
43031
 
43032
43032
  * ActionChannelBags.new
43033
43033
  * ActionChannelBags.remove
43034
- * ActionStrip.channelbags
43035
- * ActionStrip.channels
43034
+ * ActionKeyframeStrip.channelbags
43035
+ * ActionKeyframeStrip.channels
43036
43036
 
43037
43037
  :columns: 2
43038
43038
 
@@ -44513,10 +44513,10 @@ example of how to create/use filtering/reordering callbacks.
44513
44513
 
44514
44514
  * Action.slots
44515
44515
  * ActionChannelBags.new
44516
+ * ActionKeyframeStrip.key_insert
44516
44517
  * ActionSlots.active
44517
44518
  * ActionSlots.new
44518
44519
  * ActionSlots.remove
44519
- * ActionStrip.key_insert
44520
44520
  * AnimData.action_slot
44521
44521
  * AnimData.action_slots
44522
44522
  * NlaStrip.action_slot
@@ -80567,6 +80567,44 @@ Shared Enum Types <bpy_types_enum_items/index>
80567
80567
  :columns: 2
80568
80568
 
80569
80569
 
80570
+ --------------------
80571
+
80572
+ * bpy_struct.id_data
80573
+ * ActionStrip.type
80574
+
80575
+ :columns: 2
80576
+
80577
+
80578
+ --------------------
80579
+
80580
+ * bpy_struct.as_pointer
80581
+ * bpy_struct.driver_add
80582
+ * bpy_struct.driver_remove
80583
+ * bpy_struct.get
80584
+ * bpy_struct.id_properties_clear
80585
+ * bpy_struct.id_properties_ensure
80586
+ * bpy_struct.id_properties_ui
80587
+ * bpy_struct.is_property_hidden
80588
+ * bpy_struct.is_property_overridable_library
80589
+ * bpy_struct.is_property_readonly
80590
+ * bpy_struct.is_property_set
80591
+ * bpy_struct.items
80592
+ * bpy_struct.keyframe_delete
80593
+ * bpy_struct.keyframe_insert
80594
+ * bpy_struct.keys
80595
+ * bpy_struct.path_from_id
80596
+ * bpy_struct.path_resolve
80597
+ * bpy_struct.pop
80598
+ * bpy_struct.property_overridable_library_set
80599
+ * bpy_struct.property_unset
80600
+ * bpy_struct.type_recast
80601
+ * bpy_struct.values
80602
+ * ActionStrip.bl_rna_get_subclass
80603
+ * ActionStrip.bl_rna_get_subclass_py
80604
+
80605
+ :columns: 2
80606
+
80607
+
80570
80608
  --------------------
80571
80609
 
80572
80610
  * bpy_struct.id_data
@@ -111500,6 +111538,70 @@ class ActionGroup(bpy_struct):
111500
111538
  :rtype: typing.Any
111501
111539
  """
111502
111540
 
111541
+ class ActionKeyframeStrip(ActionStrip, bpy_struct):
111542
+ """Strip with a set of F-Curves for each action slot"""
111543
+
111544
+ channelbags: ActionChannelBags
111545
+ """
111546
+
111547
+ :type: ActionChannelBags
111548
+ """
111549
+
111550
+ def channels(self, slot_handle: int | None) -> ActionChannelBag:
111551
+ """Find the ActionChannelBag for a specific Slot
111552
+
111553
+ :param slot_handle: Slot Handle, Number that identifies a specific action slot
111554
+ :type slot_handle: int | None
111555
+ :return: Channels
111556
+ :rtype: ActionChannelBag
111557
+ """
111558
+
111559
+ def key_insert(
111560
+ self,
111561
+ slot: ActionSlot | None,
111562
+ data_path: str,
111563
+ array_index: int | None,
111564
+ value: float | None,
111565
+ time: float | None,
111566
+ ) -> bool:
111567
+ """key_insert
111568
+
111569
+ :param slot: Slot, The slot that identifies which 'thing' should be keyed
111570
+ :type slot: ActionSlot | None
111571
+ :param data_path: Data Path, F-Curve data path
111572
+ :type data_path: str
111573
+ :param array_index: Array Index, Index of the animated array element, or -1 if the property is not an array
111574
+ :type array_index: int | None
111575
+ :param value: Value to key, Value of the animated property
111576
+ :type value: float | None
111577
+ :param time: Time of the key, Time, in frames, of the key
111578
+ :type time: float | None
111579
+ :return: Success, Whether the key was successfully inserted
111580
+ :rtype: bool
111581
+ """
111582
+
111583
+ @classmethod
111584
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
111585
+ """
111586
+
111587
+ :param id: The RNA type identifier.
111588
+ :type id: str | None
111589
+ :param default:
111590
+ :return: The RNA type or default when not found.
111591
+ :rtype: Struct
111592
+ """
111593
+
111594
+ @classmethod
111595
+ def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
111596
+ """
111597
+
111598
+ :param id: The RNA type identifier.
111599
+ :type id: str | None
111600
+ :param default:
111601
+ :return: The class or default when not found.
111602
+ :rtype: typing.Any
111603
+ """
111604
+
111503
111605
  class ActionLayer(bpy_struct):
111504
111606
  influence: float
111505
111607
  """ How much of this layer is used when blending into the lower layers
@@ -111557,7 +111659,7 @@ class ActionSlot(bpy_struct):
111557
111659
  """
111558
111660
 
111559
111661
  handle: int
111560
- """ Number specific to this Slot, unique within the ActionThis is used, for example, on a KeyframeActionStrip to look up the ActionChannelBag for this Slot
111662
+ """ Number specific to this Slot, unique within the ActionThis is used, for example, on a ActionKeyframeStrip to look up the ActionChannelBag for this Slot
111561
111663
 
111562
111664
  :type: int
111563
111665
  """
@@ -111615,51 +111717,12 @@ class ActionSlot(bpy_struct):
111615
111717
  """
111616
111718
 
111617
111719
  class ActionStrip(bpy_struct):
111618
- channelbags: ActionChannelBags
111619
- """
111620
-
111621
- :type: ActionChannelBags
111622
- """
111623
-
111624
111720
  type: typing.Literal["KEYFRAME"]
111625
111721
  """
111626
111722
 
111627
111723
  :type: typing.Literal['KEYFRAME']
111628
111724
  """
111629
111725
 
111630
- def channels(self, slot_handle: int | None) -> ActionChannelBag:
111631
- """Find the ActionChannelBag for a specific Slot
111632
-
111633
- :param slot_handle: Slot Handle, Number that identifies a specific action slot
111634
- :type slot_handle: int | None
111635
- :return: Channels
111636
- :rtype: ActionChannelBag
111637
- """
111638
-
111639
- def key_insert(
111640
- self,
111641
- slot: ActionSlot | None,
111642
- data_path: str,
111643
- array_index: int | None,
111644
- value: float | None,
111645
- time: float | None,
111646
- ) -> bool:
111647
- """key_insert
111648
-
111649
- :param slot: Slot, The slot that identifies which 'thing' should be keyed
111650
- :type slot: ActionSlot | None
111651
- :param data_path: Data Path, F-Curve data path
111652
- :type data_path: str
111653
- :param array_index: Array Index, Index of the animated array element, or -1 if the property is not an array
111654
- :type array_index: int | None
111655
- :param value: Value to key, Value of the animated property
111656
- :type value: float | None
111657
- :param time: Time of the key, Time, in frames, of the key
111658
- :type time: float | None
111659
- :return: Success, Whether the key was successfully inserted
111660
- :rtype: bool
111661
- """
111662
-
111663
111726
  @classmethod
111664
111727
  def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
111665
111728
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20240919
3
+ Version: 20240920
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
@@ -227,7 +227,7 @@ bpy/ops/geometry/__init__.pyi,sha256=5ItSsrN3bGvrspDcvkP_ad_5wYMsIKjgBdtwsZ8qyVQ
227
227
  bpy/ops/gizmogroup/__init__.pyi,sha256=5BhbMktKxCAcli4TVr2Es06wAGLXHX74fNgPM2YEeTA,1664
228
228
  bpy/ops/gpencil/__init__.pyi,sha256=5uFRvVhzcxyEd1_Ez3TWGk5-HdRmrsVUHtI6OakKKWw,106110
229
229
  bpy/ops/graph/__init__.pyi,sha256=22Zl9bitYy-_OHq7VpExcPCgJtpM9x2NjCkAQWCm_8w,50730
230
- bpy/ops/grease_pencil/__init__.pyi,sha256=lk67uJ1YfwYbLwXrm0P1wQXcNvOYVPWkiSfJZwY4_HE,63019
230
+ bpy/ops/grease_pencil/__init__.pyi,sha256=AqvBWeuFnSfDtHGoqMT-Iar1pcOXHBRM7Ra800Wx-D8,65009
231
231
  bpy/ops/image/__init__.pyi,sha256=PaQTAK2-CI8vwaurH0xPga972WY3UvI3rQAj8JVhLNo,59249
232
232
  bpy/ops/import_anim/__init__.pyi,sha256=CpXwlgkUCYCoO8Ft22pqjIoJ7KgnvElLGZ7X5hqhMqA,3299
233
233
  bpy/ops/import_curve/__init__.pyi,sha256=MdJrsU3hAoeFvFEoCJWB48gDQ57-wYbgQUSdO3SFS3A,734
@@ -276,7 +276,7 @@ bpy/ops/workspace/__init__.pyi,sha256=N3uQf3eYbGlIlTqthqc6N69TCvBi-SmxXCH8GLV-ti
276
276
  bpy/ops/world/__init__.pyi,sha256=K3fYZgPYXVbFluCdb4kdprc_jeL5FyxEc_cBnSHIBpg,1015
277
277
  bpy/path/__init__.pyi,sha256=spEkOkkdGUGsjGXlhxQD6pQYttj2OEvIu_xurlHRhJY,5499
278
278
  bpy/props/__init__.pyi,sha256=8BAhHyAQjGfUSnFR7WlPF6a6hXiwmKgQvfvIN1gZnI0,29536
279
- bpy/types/__init__.pyi,sha256=_NnyDVhrAcB6Vdfc400PCR7eVisO_nameC1Bc5jKJRE,5311474
279
+ bpy/types/__init__.pyi,sha256=Mkjlqe0be30KxrxUwaVmKxxQIvruQkxHkDGNKQRRBEw,5313012
280
280
  bpy/typing/__init__.pyi,sha256=ZbiOJQfiZ1TFk5ZISlszbyXPb6eCuY7lPELM1065AHY,54308
281
281
  bpy/utils/__init__.pyi,sha256=eRH_LptFruPjTR0_1fQJ0WEetKTcZHblC5A0ZvOK3js,13214
282
282
  bpy/utils/previews/__init__.pyi,sha256=Y28DInfByVAVwhh_xaDZJTZHHxKN-xx4hl2ulO2dA4c,2377
@@ -312,7 +312,7 @@ freestyle/functions/__init__.pyi,sha256=_qoqOgWvp7LsQxxY8R09csihWmTv0CNG7c4uRwdZ
312
312
  freestyle/predicates/__init__.pyi,sha256=TLsaj7zFm9r2CjBAYbZOxl7Z-SAcrtCPjfYxe0BJCeY,13558
313
313
  freestyle/shaders/__init__.pyi,sha256=4gN1KFon20osMmGHHk5TJxPkK0nIKOUP-iCry2yZAaY,23932
314
314
  freestyle/types/__init__.pyi,sha256=ZGxJsAhve7s1NO3Cseytn6B8tXBs8yA7sT2mEdI3HNg,98994
315
- freestyle/utils/__init__.pyi,sha256=amWf94hozX5jilDRAQB4nkPtAxRVlw0d3Zh1PYAZdUY,5205
315
+ freestyle/utils/__init__.pyi,sha256=53vlghAZUXrQIOB9zGeTMV-_uph54W3JlcTpT37qwpw,5205
316
316
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=BI1okYPvlruWeevcp68btcbffKuVk-0hLpBAr_l47i4,3502
317
317
  gpu/__init__.pyi,sha256=373QCYtsRqUw6t03GMU9uVuMWtyLPu7LXb3SwA6dUPk,8072
318
318
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -359,7 +359,7 @@ rna_prop_ui/__init__.pyi,sha256=Ci_6Iu0iI1Cls7T3pAODDzDgytYK7SGpUvKTeXEQlNc,1378
359
359
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
360
360
  rna_xml/__init__.pyi,sha256=njhax4JCSOZrAcxAQfy7gGHrsLRyX6yspwtPhcR7nnE,674
361
361
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
- fake_bpy_module-20240919.dist-info/METADATA,sha256=MN1u9kp-KgWODlc8pxrbwfvDBKKV3eThl2TeXfDbBJs,7289
363
- fake_bpy_module-20240919.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
364
- fake_bpy_module-20240919.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
- fake_bpy_module-20240919.dist-info/RECORD,,
362
+ fake_bpy_module-20240920.dist-info/METADATA,sha256=5h85UxtZA_5GMTxECI9QL69Zj3GVza1g1LHAb8Wa11U,7289
363
+ fake_bpy_module-20240920.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
364
+ fake_bpy_module-20240920.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
+ fake_bpy_module-20240920.dist-info/RECORD,,
@@ -127,7 +127,7 @@ def material_from_fedge(fe):
127
127
  """get the diffuse RGBA color from an FEdge"""
128
128
 
129
129
  def normal_at_I0D(it): ...
130
- def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
130
+ def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
131
131
  """Yields a tuple containing the previous and current object"""
132
132
 
133
133
  def rgb_to_bw(r, g, b):