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

@@ -785,6 +785,9 @@ type GreasePencilSelectmodeItems = typing.Literal[
785
785
  ]
786
786
  type IconItems = typing.Literal[
787
787
  "NONE", # NONE.
788
+ "CHAR_NOTDEF", # CHAR_NOTDEF.
789
+ "CHAR_REPLACEMENT", # CHAR_REPLACEMENT.
790
+ "NOT_FOUND", # NOT_FOUND.
788
791
  "BLANK1", # BLANK1.
789
792
  "AUTOMERGE_OFF", # AUTOMERGE_OFF.
790
793
  "AUTOMERGE_ON", # AUTOMERGE_ON.
@@ -857,6 +860,7 @@ type IconItems = typing.Literal[
857
860
  "GHOST_DISABLED", # GHOST_DISABLED.
858
861
  "GHOST_ENABLED", # GHOST_ENABLED.
859
862
  "GRIP", # GRIP.
863
+ "GRIP_V", # GRIP_V.
860
864
  "HAND", # HAND.
861
865
  "HELP", # HELP.
862
866
  "LINKED", # LINKED.
@@ -393,6 +393,13 @@ def select_random(
393
393
  :type probability: float | None
394
394
  """
395
395
 
396
+ def separate(execution_context: int | str | None = None, undo: bool | None = None):
397
+ """Separate selected geometry into a new object
398
+
399
+ :type execution_context: int | str | None
400
+ :type undo: bool | None
401
+ """
402
+
396
403
  def set_selection_domain(
397
404
  execution_context: int | str | None = None,
398
405
  undo: bool | None = None,
@@ -43,31 +43,11 @@ def delete(execution_context: int | str | None = None, undo: bool | None = None)
43
43
  :type undo: bool | None
44
44
  """
45
45
 
46
- def duplicate(
47
- execution_context: int | str | None = None,
48
- undo: bool | None = None,
49
- /,
50
- *,
51
- action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
52
- ):
46
+ def duplicate(execution_context: int | str | None = None, undo: bool | None = None):
53
47
  """Copy selected points
54
48
 
55
- :type execution_context: int | str | None
56
- :type undo: bool | None
57
- :param action: Action, Selection action to execute
58
-
59
- TOGGLE
60
- Toggle -- Toggle selection for all elements.
61
-
62
- SELECT
63
- Select -- Select all elements.
64
-
65
- DESELECT
66
- Deselect -- Deselect all elements.
67
-
68
- INVERT
69
- Invert -- Invert selection of all elements.
70
- :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
49
+ :type execution_context: int | str | None
50
+ :type undo: bool | None
71
51
  """
72
52
 
73
53
  def duplicate_move(
@@ -114,3 +94,10 @@ def select_all(
114
94
  Invert -- Invert selection of all elements.
115
95
  :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
116
96
  """
97
+
98
+ def separate(execution_context: int | str | None = None, undo: bool | None = None):
99
+ """Separate selected geometry into a new point cloud
100
+
101
+ :type execution_context: int | str | None
102
+ :type undo: bool | None
103
+ """
bpy/types/__init__.pyi CHANGED
@@ -48181,6 +48181,7 @@ database.
48181
48181
  * bpy.context.id
48182
48182
  * bpy.context.selected_ids
48183
48183
  * bpy.context.texture_user
48184
+ * Action.fcurve_ensure_for_datablock
48184
48185
  * AssetRepresentation.local_id
48185
48186
  * BlendDataObjects.new
48186
48187
  * BlendImportContextItem.id
@@ -53282,6 +53283,7 @@ print(positions_data)
53282
53283
  * bpy.context.selected_editable_fcurves
53283
53284
  * bpy.context.selected_visible_fcurves
53284
53285
  * bpy.context.visible_fcurves
53286
+ * Action.fcurve_ensure_for_datablock
53285
53287
  * Action.fcurves
53286
53288
  * ActionChannelbag.fcurves
53287
53289
  * ActionChannelbagFCurves.find
@@ -106086,12 +106088,12 @@ class ActionChannelbags(bpy_prop_collection[ActionChannelbag], bpy_struct):
106086
106088
  """
106087
106089
 
106088
106090
  class ActionFCurves(bpy_prop_collection[FCurve], bpy_struct):
106089
- """Collection of action F-Curves"""
106091
+ """Collection of action F-Curves. Note that this is a legacy API that is unaware of action slots, and will only consider the F-Curves for this action's first slot"""
106090
106092
 
106091
106093
  def new(
106092
106094
  self, data_path: str, *, index: int | None = 0, action_group: str = ""
106093
106095
  ) -> FCurve:
106094
- """Add an F-Curve to the action
106096
+ """Add an F-Curve for the first slot of this action, creating the necessary layer, strip, and slot if necessary
106095
106097
 
106096
106098
  :param data_path: Data Path, F-Curve data path to use
106097
106099
  :type data_path: str
@@ -106104,7 +106106,7 @@ class ActionFCurves(bpy_prop_collection[FCurve], bpy_struct):
106104
106106
  """
106105
106107
 
106106
106108
  def find(self, data_path: str, *, index: int | None = 0) -> FCurve:
106107
- """Find an F-Curve. Note that this function performs a linear scan of all F-Curves in the action.
106109
+ """Find an F-Curve. Note that this function performs a linear scan of all F-Curves for the action's first slot.
106108
106110
 
106109
106111
  :param data_path: Data Path, F-Curve data path
106110
106112
  :type data_path: str
@@ -106115,14 +106117,14 @@ class ActionFCurves(bpy_prop_collection[FCurve], bpy_struct):
106115
106117
  """
106116
106118
 
106117
106119
  def remove(self, fcurve: FCurve):
106118
- """Remove F-Curve
106120
+ """Remove the F-Curve from the action's first slot
106119
106121
 
106120
106122
  :param fcurve: F-Curve to remove
106121
106123
  :type fcurve: FCurve
106122
106124
  """
106123
106125
 
106124
106126
  def clear(self):
106125
- """Remove all F-Curves"""
106127
+ """Remove all F-Curves from the action's first slot"""
106126
106128
 
106127
106129
  @classmethod
106128
106130
  def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
@@ -116048,7 +116050,7 @@ class Action(ID, bpy_struct):
116048
116050
  """
116049
116051
 
116050
116052
  fcurves: ActionFCurves
116051
- """ The individual F-Curves that make up the action
116053
+ """ Legacy API, for backward compatibility with code that does not handle slotted actions yet. This collection contains the F-Curves for the action's first slot
116052
116054
 
116053
116055
  :type: ActionFCurves
116054
116056
  """
@@ -116072,7 +116074,7 @@ class Action(ID, bpy_struct):
116072
116074
  """
116073
116075
 
116074
116076
  groups: ActionGroups
116075
- """ Convenient groupings of F-Curves
116077
+ """ Legacy API, for backward compatibility with code that does not handle slotted actions yet. This collection contains the F-Curve groups for the action's first slot
116076
116078
 
116077
116079
  :type: ActionGroups
116078
116080
  """
@@ -116119,7 +116121,7 @@ class Action(ID, bpy_struct):
116119
116121
  "WORLD",
116120
116122
  "UNSPECIFIED",
116121
116123
  ]
116122
- """ Type of ID block that action can be used on - DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING
116124
+ """ Legacy API, for backward compatibility with code that does not handle slotted actions yet. Type of data-block that the action's first slot can be used on. Do not change unless you know what you are doing
116123
116125
 
116124
116126
  :type: typing.Literal['ACTION','ARMATURE','BRUSH','CACHEFILE','CAMERA','COLLECTION','CURVE','CURVES','FONT','GREASEPENCIL','GREASEPENCIL_V3','IMAGE','KEY','LATTICE','LIBRARY','LIGHT','LIGHT_PROBE','LINESTYLE','MASK','MATERIAL','MESH','META','MOVIECLIP','NODETREE','OBJECT','PAINTCURVE','PALETTE','PARTICLE','POINTCLOUD','SCENE','SCREEN','SOUND','SPEAKER','TEXT','TEXTURE','VOLUME','WINDOWMANAGER','WORKSPACE','WORLD','UNSPECIFIED']
116125
116127
  """
@@ -116131,7 +116133,7 @@ class Action(ID, bpy_struct):
116131
116133
  """
116132
116134
 
116133
116135
  is_action_legacy: bool
116134
- """ Return whether this is a legacy Action. Legacy Actions have no layers or slots. An empty Action considered as both a 'legacy' and a 'layered' Action.
116136
+ """ Return whether this is a legacy Action. Legacy Actions have no layers or slots. An empty Action considered as both a 'legacy' and a 'layered' Action. Since Blender 4.4 actions are automatically updated to layered actions, and thus this will only return True when the action is empty
116135
116137
 
116136
116138
  :type: bool
116137
116139
  """
@@ -116175,6 +116177,21 @@ class Action(ID, bpy_struct):
116175
116177
  def deselect_keys(self):
116176
116178
  """Deselects all keys of the Action. The selection status of F-Curves is unchanged."""
116177
116179
 
116180
+ def fcurve_ensure_for_datablock(
116181
+ self, datablock: ID, data_path: str, *, index: int | None = 0
116182
+ ) -> FCurve:
116183
+ """Ensure that an F-Curve exists, with the given data path and array index, for the given data-block. This action must already be assigned to the data-block. This function will also create the layer, keyframe strip, and action slot if necessary, and take care of assigning the action slot too
116184
+
116185
+ :param datablock: The data-block animated by this action, for which to ensure the F-Curve exists. This action must already be assigned to the data-block
116186
+ :type datablock: ID
116187
+ :param data_path: Data Path, F-Curve data path
116188
+ :type data_path: str
116189
+ :param index: Index, Array index
116190
+ :type index: int | None
116191
+ :return: The found or created F-Curve
116192
+ :rtype: FCurve
116193
+ """
116194
+
116178
116195
  def flip_with_pose(self, object: Object):
116179
116196
  """Flip the action around the X axis using a pose
116180
116197
 
@@ -227015,9 +227032,8 @@ class UIList(bpy_struct):
227015
227032
  icon: int | None,
227016
227033
  active_data: typing.Any,
227017
227034
  active_property: str | None,
227018
- *,
227019
- index: int | None = 0,
227020
- flt_flag: int | None = 0,
227035
+ index: int | None,
227036
+ flt_flag: int | None,
227021
227037
  ):
227022
227038
  """Draw an item in the list (NOTE: when you define your own draw_item function, you may want to check given 'item' is of the right type...)
227023
227039
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250218
3
+ Version: 20250219
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
@@ -192,7 +192,7 @@ bmesh/utils/__init__.pyi,sha256=XNhFTqYQPL7ZUvljUTQkN0X_3YCS_RyrOgEzqrQZiDg,6235
192
192
  bpy/__init__.pyi,sha256=KeQc-X1TjhtunVxLDy0IK0cMmurLmAQm4fX_D__UPJo,464
193
193
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
194
194
  bpy/_typing/__init__.pyi,sha256=7bioadpQS-8UKR8TdY1m4MqUFqKVy8h13sPIt28ZUqs,99
195
- bpy/_typing/rna_enums/__init__.pyi,sha256=5HbFPSOzvlGhGA1nqaneyn_CPRfXCTsJpIhMc0cNhAU,138715
195
+ bpy/_typing/rna_enums/__init__.pyi,sha256=FbJCbUdEBpmkjKPuoah3DYPQsOgvOQ-5ZF_TuFbn3XM,138851
196
196
  bpy/app/__init__.pyi,sha256=rNqetnnLndA8L1Ap2JsOPF9kSBCk2maa6dQtWV_a3ZY,8739
197
197
  bpy/app/handlers/__init__.pyi,sha256=Gxao8v-gF10WpVRUdswsB4QndzHjO1UtymwrorJef-4,6911
198
198
  bpy/app/icons/__init__.pyi,sha256=w18Xn9y0T54WlpHyhC3_y8a3Lq9kuo3U72Bu7wOY41A,928
@@ -215,7 +215,7 @@ bpy/ops/collection/__init__.pyi,sha256=z2rWoNxbdj4xFqPlItbIi2l57eHlarU6RnUM0zjI-
215
215
  bpy/ops/console/__init__.pyi,sha256=lgoYIWzf29q06AniBBiPYuI7zndNoc2aGyXYyINZbPI,7304
216
216
  bpy/ops/constraint/__init__.pyi,sha256=lb318xrvDTH1T_raLhoBKcDPTl4mVmYPfh5TxbnoGDU,11838
217
217
  bpy/ops/curve/__init__.pyi,sha256=eO5HeAhCijFOcq-V8WBJVig7VkKmt1QQqiuVijIfueQ,28585
218
- bpy/ops/curves/__init__.pyi,sha256=c2qqV_FWtUG5wRnYQ-389Wp417M6KKXCQK6q7l5Qbuc,15074
218
+ bpy/ops/curves/__init__.pyi,sha256=HebR1M-El_BvS9VTzahaqheg73uCju6XQgGAdzN4eDc,15294
219
219
  bpy/ops/cycles/__init__.pyi,sha256=TzurmelE8U7FLjghhDWt-0HBU-cyTALEWTfG4taUCSI,1739
220
220
  bpy/ops/dpaint/__init__.pyi,sha256=LhNcaKIZxU6RVVV3Am5d-0r3fVmTqc_UbXwM53yPFCQ,1555
221
221
  bpy/ops/ed/__init__.pyi,sha256=XrnkDR-2DzjfrqGDmMjiI0ZoYJmnUdX6yGdtpePIAis,7102
@@ -249,7 +249,7 @@ bpy/ops/paint/__init__.pyi,sha256=Q-EnWEXXc_RyYXxGY0x4zTQbmNwd4HOaPxashYEWwpk,37
249
249
  bpy/ops/paintcurve/__init__.pyi,sha256=sJfa-6TohaHNlvBFZ5X2vhjeMCp91in2K6UqwIF3d80,2980
250
250
  bpy/ops/palette/__init__.pyi,sha256=RD7rkE6f28SyME46hM3HwjWKCgKFtOXZDDPOO6mQB0Q,2093
251
251
  bpy/ops/particle/__init__.pyi,sha256=fvUbIxeb5nxdxJAK6wWu0AsCBIpy3cCKXMNKY2ZIJqM,13621
252
- bpy/ops/point_cloud/__init__.pyi,sha256=Tp7l9XE3ka7BY8Po9WULa0Le-YusoQihIOeprVXbl2k,3580
252
+ bpy/ops/point_cloud/__init__.pyi,sha256=SaJsHeCGj2e4iW9vfLVQsZX7EmshxoFI1pVpTeMrcUs,3321
253
253
  bpy/ops/pose/__init__.pyi,sha256=X3uT13DBbdw1nsmBhbId71DYAjYEGL6WtapfpwpihzA,26770
254
254
  bpy/ops/poselib/__init__.pyi,sha256=gznUsY5ppqRYjKMHdUHXvCYF0n568JR6t-djfMV9rrU,5374
255
255
  bpy/ops/preferences/__init__.pyi,sha256=1IgwxC10pDOYBY7qhdYOc-VW-I0fpTJXo1LINr1120s,19481
@@ -279,7 +279,7 @@ bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHC
279
279
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
280
280
  bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
281
281
  bpy/props/__init__.pyi,sha256=Ky1J5ndL8p_pvAaQakudyKKVynbr1NxXvzoN-5E9_I0,35237
282
- bpy/types/__init__.pyi,sha256=pbjHFM-6s0B9Ie905JmRk316a2L3HYTMdt6GGYumMR0,5470297
282
+ bpy/types/__init__.pyi,sha256=So_orMnvU84zNOuoTr6wzfdMaS43fJ9RC3ji2aHrevE,5471973
283
283
  bpy/utils/__init__.pyi,sha256=y7dfOaWh9PE_q0Qs8gEKOm71RQuMZI0wQ1B07DCDHF4,14909
284
284
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
285
285
  bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
@@ -314,7 +314,7 @@ freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTE
314
314
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
315
315
  freestyle/shaders/__init__.pyi,sha256=4a-rY8mkkIcsnIvYGcP8YgAULdJENDJnncju2CjhQVg,24014
316
316
  freestyle/types/__init__.pyi,sha256=Dmb8LokYlO2lCfmDwPX5MwwpnHHSRaXU2t6Nu37Rzjg,100200
317
- freestyle/utils/__init__.pyi,sha256=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
317
+ freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,5108
318
318
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=fPDfiBEjpoqXQhBhmHJ6WxG9oLMItwQ32MxKQz_c9_I,3445
319
319
  gpu/__init__.pyi,sha256=Q-AbyJO85pPYcwXNWtvgAhFGGJ6OnnHrlsXQxur9jhs,7999
320
320
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -361,7 +361,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
361
361
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
362
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
363
363
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
364
- fake_bpy_module-20250218.dist-info/METADATA,sha256=NbQ7RMQXRxoOI70jkqVXnW6vOlLqQK4j7dGzLHC7vWk,7429
365
- fake_bpy_module-20250218.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
366
- fake_bpy_module-20250218.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
- fake_bpy_module-20250218.dist-info/RECORD,,
364
+ fake_bpy_module-20250219.dist-info/METADATA,sha256=mtmvOQ6-H_Zo3lfaokQ02oMtBmzTu6Tzxg_xwCDDOO4,7429
365
+ fake_bpy_module-20250219.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
366
+ fake_bpy_module-20250219.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
367
+ fake_bpy_module-20250219.dist-info/RECORD,,
@@ -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):