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

bpy/app/__init__.pyi CHANGED
@@ -197,11 +197,11 @@ module: typing.Any
197
197
  """
198
198
 
199
199
  ocio: typing.Any
200
- """ Constant value bpy.app.ocio(supported=True, version=(2, 3, 2), version_string=' 2, 3, 2')
200
+ """ Constant value bpy.app.ocio(supported=True, version=(2, 4, 1), version_string=' 2, 4, 1')
201
201
  """
202
202
 
203
203
  oiio: typing.Any
204
- """ Constant value bpy.app.oiio(supported=True, version=(2, 5, 11), version_string=' 2, 5, 11')
204
+ """ Constant value bpy.app.oiio(supported=True, version=(3, 0, 3), version_string=' 3, 0, 3')
205
205
  """
206
206
 
207
207
  online_access: typing.Any
@@ -217,7 +217,7 @@ opensubdiv: typing.Any
217
217
  """
218
218
 
219
219
  openvdb: typing.Any
220
- """ Constant value bpy.app.openvdb(supported=True, version=(11, 0, 0), version_string='11, 0, 0')
220
+ """ Constant value bpy.app.openvdb(supported=True, version=(12, 0, 0), version_string='12, 0, 0')
221
221
  """
222
222
 
223
223
  portable: typing.Any
@@ -245,7 +245,7 @@ tempdir: typing.Any
245
245
  """
246
246
 
247
247
  usd: typing.Any
248
- """ Constant value bpy.app.usd(supported=True, version=(0, 24, 5), version_string=' 0, 24, 5')
248
+ """ Constant value bpy.app.usd(supported=True, version=(0, 25, 2), version_string=' 0, 25, 2')
249
249
  """
250
250
 
251
251
  use_event_simulate: typing.Any
bpy/ops/__init__.pyi CHANGED
@@ -62,12 +62,14 @@ It is possible to override context members that the operator sees, so that they
62
62
  act on specified rather than the selected or active data, or to execute an
63
63
  operator in the different part of the user interface.
64
64
 
65
- The context overrides are passed as a dictionary, with keys matching the context
66
- member names in bpy.context.
65
+ The context overrides are passed in as keyword arguments,
66
+ with keywords matching the context member names in bpy.context
67
+
68
+ .
67
69
  For example to override bpy.context.active_object
68
70
 
69
71
  ,
70
- you would pass {'active_object': object}
72
+ you would pass active_object=object
71
73
 
72
74
  to bpy.types.Context.temp_override.
73
75
 
@@ -75,6 +77,10 @@ you would pass {'active_object': object}
75
77
  You will nearly always want to use a copy of the actual current context as basis
76
78
  (otherwise, you'll have to find and gather all needed data yourself).
77
79
 
80
+ [NOTE]
81
+ Context members are names which Blender uses for data access,
82
+ overrides do not extend to overriding methods or any Python specific functionality.
83
+
78
84
  ```../examples/bpy.ops.1.py```
79
85
 
80
86
 
@@ -28,7 +28,6 @@ def change_effect_type(
28
28
  "ALPHA_UNDER",
29
29
  "GAMMA_CROSS",
30
30
  "MULTIPLY",
31
- "OVER_DROP",
32
31
  "WIPE",
33
32
  "GLOW",
34
33
  "TRANSFORM",
@@ -69,9 +68,6 @@ def change_effect_type(
69
68
  MULTIPLY
70
69
  Multiply -- Multiply effect strip type.
71
70
 
72
- OVER_DROP
73
- Alpha Over Drop -- Alpha Over Drop effect strip type.
74
-
75
71
  WIPE
76
72
  Wipe -- Wipe effect strip type.
77
73
 
@@ -101,7 +97,7 @@ def change_effect_type(
101
97
 
102
98
  COLORMIX
103
99
  Color Mix.
104
- :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','OVER_DROP','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
100
+ :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
105
101
  """
106
102
 
107
103
  def change_path(
@@ -343,7 +339,6 @@ def effect_strip_add(
343
339
  "ALPHA_UNDER",
344
340
  "GAMMA_CROSS",
345
341
  "MULTIPLY",
346
- "OVER_DROP",
347
342
  "WIPE",
348
343
  "GLOW",
349
344
  "TRANSFORM",
@@ -391,9 +386,6 @@ def effect_strip_add(
391
386
  MULTIPLY
392
387
  Multiply -- Multiply effect strip type.
393
388
 
394
- OVER_DROP
395
- Alpha Over Drop -- Alpha Over Drop effect strip type.
396
-
397
389
  WIPE
398
390
  Wipe -- Wipe effect strip type.
399
391
 
@@ -423,7 +415,7 @@ def effect_strip_add(
423
415
 
424
416
  COLORMIX
425
417
  Color Mix.
426
- :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','OVER_DROP','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
418
+ :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
427
419
  :param frame_start: Start Frame, Start frame of the sequence strip
428
420
  :type frame_start: int | None
429
421
  :param frame_end: End Frame, End frame for the color strip
bpy/types/__init__.pyi CHANGED
@@ -139,6 +139,16 @@
139
139
  --------------------
140
140
 
141
141
  * bpy_struct.id_data
142
+ * GreasePencilTreeNode.name
143
+ * GreasePencilTreeNode.hide
144
+ * GreasePencilTreeNode.lock
145
+ * GreasePencilTreeNode.select
146
+ * GreasePencilTreeNode.use_onion_skinning
147
+ * GreasePencilTreeNode.use_masks
148
+ * GreasePencilTreeNode.channel_color
149
+ * GreasePencilTreeNode.next_node
150
+ * GreasePencilTreeNode.prev_node
151
+ * GreasePencilTreeNode.parent_group
142
152
 
143
153
  :columns: 2
144
154
 
@@ -168,14 +178,15 @@
168
178
  * bpy_struct.rna_ancestors
169
179
  * bpy_struct.type_recast
170
180
  * bpy_struct.values
181
+ * GreasePencilTreeNode.bl_rna_get_subclass
182
+ * GreasePencilTreeNode.bl_rna_get_subclass_py
171
183
 
172
184
  :columns: 2
173
185
 
174
186
 
175
187
  --------------------
176
188
 
177
- * GreasePencilLayer.parent_group
178
- * GreasePencilLayerGroup.parent_group
189
+ * GreasePencilTreeNode.parent_group
179
190
  * GreasePencilv3.layer_groups
180
191
  * GreasePencilv3LayerGroup.active
181
192
  * GreasePencilv3LayerGroup.move
@@ -13770,93 +13781,6 @@ Property types used in class declarations are all in bpy.props
13770
13781
  :columns: 2
13771
13782
 
13772
13783
 
13773
- --------------------
13774
-
13775
- * bpy_struct.id_data
13776
- * Strip.name
13777
- * Strip.type
13778
- * Strip.select
13779
- * Strip.select_left_handle
13780
- * Strip.select_right_handle
13781
- * Strip.mute
13782
- * Strip.lock
13783
- * Strip.frame_final_duration
13784
- * Strip.frame_duration
13785
- * Strip.frame_start
13786
- * Strip.frame_final_start
13787
- * Strip.frame_final_end
13788
- * Strip.frame_offset_start
13789
- * Strip.frame_offset_end
13790
- * Strip.channel
13791
- * Strip.use_linear_modifiers
13792
- * Strip.blend_type
13793
- * Strip.blend_alpha
13794
- * Strip.effect_fader
13795
- * Strip.use_default_fade
13796
- * Strip.color_tag
13797
- * Strip.modifiers
13798
- * Strip.use_cache_raw
13799
- * Strip.use_cache_preprocessed
13800
- * Strip.use_cache_composite
13801
- * Strip.override_cache_settings
13802
- * Strip.show_retiming_keys
13803
- * EffectStrip.use_deinterlace
13804
- * EffectStrip.alpha_mode
13805
- * EffectStrip.use_flip_x
13806
- * EffectStrip.use_flip_y
13807
- * EffectStrip.use_float
13808
- * EffectStrip.use_reverse_frames
13809
- * EffectStrip.color_multiply
13810
- * EffectStrip.multiply_alpha
13811
- * EffectStrip.color_saturation
13812
- * EffectStrip.strobe
13813
- * EffectStrip.transform
13814
- * EffectStrip.crop
13815
- * EffectStrip.use_proxy
13816
- * EffectStrip.proxy
13817
-
13818
- :columns: 2
13819
-
13820
-
13821
- --------------------
13822
-
13823
- * bpy_struct.as_pointer
13824
- * bpy_struct.driver_add
13825
- * bpy_struct.driver_remove
13826
- * bpy_struct.get
13827
- * bpy_struct.id_properties_clear
13828
- * bpy_struct.id_properties_ensure
13829
- * bpy_struct.id_properties_ui
13830
- * bpy_struct.is_property_hidden
13831
- * bpy_struct.is_property_overridable_library
13832
- * bpy_struct.is_property_readonly
13833
- * bpy_struct.is_property_set
13834
- * bpy_struct.items
13835
- * bpy_struct.keyframe_delete
13836
- * bpy_struct.keyframe_insert
13837
- * bpy_struct.keys
13838
- * bpy_struct.path_from_id
13839
- * bpy_struct.path_resolve
13840
- * bpy_struct.pop
13841
- * bpy_struct.property_overridable_library_set
13842
- * bpy_struct.property_unset
13843
- * bpy_struct.rna_ancestors
13844
- * bpy_struct.type_recast
13845
- * bpy_struct.values
13846
- * Strip.strip_elem_from_frame
13847
- * Strip.swap
13848
- * Strip.move_to_meta
13849
- * Strip.parent_meta
13850
- * Strip.invalidate_cache
13851
- * Strip.split
13852
- * Strip.bl_rna_get_subclass
13853
- * Strip.bl_rna_get_subclass_py
13854
- * EffectStrip.bl_rna_get_subclass
13855
- * EffectStrip.bl_rna_get_subclass_py
13856
-
13857
- :columns: 2
13858
-
13859
-
13860
13784
  --------------------
13861
13785
 
13862
13786
  * bpy_struct.id_data
@@ -18319,6 +18243,50 @@ Property types used in class declarations are all in bpy.props
18319
18243
  :columns: 2
18320
18244
 
18321
18245
 
18246
+ --------------------
18247
+
18248
+ * GreasePencilTreeNode.next_node
18249
+ * GreasePencilTreeNode.prev_node
18250
+
18251
+ :columns: 2
18252
+
18253
+
18254
+ --------------------
18255
+
18256
+ * bpy_struct.id_data
18257
+
18258
+ :columns: 2
18259
+
18260
+
18261
+ --------------------
18262
+
18263
+ * bpy_struct.as_pointer
18264
+ * bpy_struct.driver_add
18265
+ * bpy_struct.driver_remove
18266
+ * bpy_struct.get
18267
+ * bpy_struct.id_properties_clear
18268
+ * bpy_struct.id_properties_ensure
18269
+ * bpy_struct.id_properties_ui
18270
+ * bpy_struct.is_property_hidden
18271
+ * bpy_struct.is_property_overridable_library
18272
+ * bpy_struct.is_property_readonly
18273
+ * bpy_struct.is_property_set
18274
+ * bpy_struct.items
18275
+ * bpy_struct.keyframe_delete
18276
+ * bpy_struct.keyframe_insert
18277
+ * bpy_struct.keys
18278
+ * bpy_struct.path_from_id
18279
+ * bpy_struct.path_resolve
18280
+ * bpy_struct.pop
18281
+ * bpy_struct.property_overridable_library_set
18282
+ * bpy_struct.property_unset
18283
+ * bpy_struct.rna_ancestors
18284
+ * bpy_struct.type_recast
18285
+ * bpy_struct.values
18286
+
18287
+ :columns: 2
18288
+
18289
+
18322
18290
  --------------------
18323
18291
 
18324
18292
  * Preferences.apps
@@ -48645,6 +48613,16 @@ Shared Enum Types <bpy_types_enum_items/index>
48645
48613
  --------------------
48646
48614
 
48647
48615
  * bpy_struct.id_data
48616
+ * GreasePencilTreeNode.name
48617
+ * GreasePencilTreeNode.hide
48618
+ * GreasePencilTreeNode.lock
48619
+ * GreasePencilTreeNode.select
48620
+ * GreasePencilTreeNode.use_onion_skinning
48621
+ * GreasePencilTreeNode.use_masks
48622
+ * GreasePencilTreeNode.channel_color
48623
+ * GreasePencilTreeNode.next_node
48624
+ * GreasePencilTreeNode.prev_node
48625
+ * GreasePencilTreeNode.parent_group
48648
48626
 
48649
48627
  :columns: 2
48650
48628
 
@@ -48674,6 +48652,8 @@ Shared Enum Types <bpy_types_enum_items/index>
48674
48652
  * bpy_struct.rna_ancestors
48675
48653
  * bpy_struct.type_recast
48676
48654
  * bpy_struct.values
48655
+ * GreasePencilTreeNode.bl_rna_get_subclass
48656
+ * GreasePencilTreeNode.bl_rna_get_subclass_py
48677
48657
 
48678
48658
  :columns: 2
48679
48659
 
@@ -90013,6 +89993,102 @@ This example script prints the vertices and UVs for each polygon, assumes the ac
90013
89993
  :columns: 2
90014
89994
 
90015
89995
 
89996
+ --------------------
89997
+
89998
+ * bpy_struct.as_pointer
89999
+ * bpy_struct.driver_add
90000
+ * bpy_struct.driver_remove
90001
+ * bpy_struct.get
90002
+ * bpy_struct.id_properties_clear
90003
+ * bpy_struct.id_properties_ensure
90004
+ * bpy_struct.id_properties_ui
90005
+ * bpy_struct.is_property_hidden
90006
+ * bpy_struct.is_property_overridable_library
90007
+ * bpy_struct.is_property_readonly
90008
+ * bpy_struct.is_property_set
90009
+ * bpy_struct.items
90010
+ * bpy_struct.keyframe_delete
90011
+ * bpy_struct.keyframe_insert
90012
+ * bpy_struct.keys
90013
+ * bpy_struct.path_from_id
90014
+ * bpy_struct.path_resolve
90015
+ * bpy_struct.pop
90016
+ * bpy_struct.property_overridable_library_set
90017
+ * bpy_struct.property_unset
90018
+ * bpy_struct.rna_ancestors
90019
+ * bpy_struct.type_recast
90020
+ * bpy_struct.values
90021
+ * Node.socket_value_update
90022
+ * Node.is_registered_node_type
90023
+ * Node.poll
90024
+ * Node.poll_instance
90025
+ * Node.update
90026
+ * Node.insert_link
90027
+ * Node.init
90028
+ * Node.copy
90029
+ * Node.free
90030
+ * Node.draw_buttons
90031
+ * Node.draw_buttons_ext
90032
+ * Node.draw_label
90033
+ * Node.debug_zone_body_lazy_function_graph
90034
+ * Node.debug_zone_lazy_function_graph
90035
+ * Node.poll
90036
+ * Node.bl_rna_get_subclass
90037
+ * Node.bl_rna_get_subclass_py
90038
+ * NodeInternal.poll
90039
+ * NodeInternal.poll_instance
90040
+ * NodeInternal.update
90041
+ * NodeInternal.draw_buttons
90042
+ * NodeInternal.draw_buttons_ext
90043
+ * NodeInternal.bl_rna_get_subclass
90044
+ * NodeInternal.bl_rna_get_subclass_py
90045
+ * GeometryNode.poll
90046
+ * GeometryNode.bl_rna_get_subclass
90047
+ * GeometryNode.bl_rna_get_subclass_py
90048
+
90049
+ :columns: 2
90050
+
90051
+
90052
+ --------------------
90053
+
90054
+ * bpy_struct.id_data
90055
+ * Node.type
90056
+ * Node.location
90057
+ * Node.location_absolute
90058
+ * Node.width
90059
+ * Node.height
90060
+ * Node.dimensions
90061
+ * Node.name
90062
+ * Node.label
90063
+ * Node.inputs
90064
+ * Node.outputs
90065
+ * Node.internal_links
90066
+ * Node.parent
90067
+ * Node.warning_propagation
90068
+ * Node.use_custom_color
90069
+ * Node.color
90070
+ * Node.color_tag
90071
+ * Node.select
90072
+ * Node.show_options
90073
+ * Node.show_preview
90074
+ * Node.hide
90075
+ * Node.mute
90076
+ * Node.show_texture
90077
+ * Node.bl_idname
90078
+ * Node.bl_label
90079
+ * Node.bl_description
90080
+ * Node.bl_icon
90081
+ * Node.bl_static_type
90082
+ * Node.bl_width_default
90083
+ * Node.bl_width_min
90084
+ * Node.bl_width_max
90085
+ * Node.bl_height_default
90086
+ * Node.bl_height_min
90087
+ * Node.bl_height_max
90088
+
90089
+ :columns: 2
90090
+
90091
+
90016
90092
  --------------------
90017
90093
 
90018
90094
  * bpy_struct.as_pointer
@@ -99868,6 +99944,8 @@ from a search field, this can be done using bpy.types.Operator.invoke_search_pop
99868
99944
  * GeometryNodeImageInfo.output_template
99869
99945
  * GeometryNodeImageTexture.input_template
99870
99946
  * GeometryNodeImageTexture.output_template
99947
+ * GeometryNodeImportCSV.input_template
99948
+ * GeometryNodeImportCSV.output_template
99871
99949
  * GeometryNodeImportOBJ.input_template
99872
99950
  * GeometryNodeImportOBJ.output_template
99873
99951
  * GeometryNodeImportPLY.input_template
@@ -101060,8 +101138,6 @@ from a search field, this can be done using bpy.types.Operator.invoke_search_pop
101060
101138
  * MetaStrip.strips
101061
101139
  * MultiplyStrip.input_1
101062
101140
  * MultiplyStrip.input_2
101063
- * OverDropStrip.input_1
101064
- * OverDropStrip.input_2
101065
101141
  * SequenceEditor.active_strip
101066
101142
  * SequenceEditor.display_stack
101067
101143
  * SequenceEditor.meta_stack
@@ -114675,7 +114751,6 @@ class StripsMeta(bpy_prop_collection[Strip], bpy_struct):
114675
114751
  "ALPHA_UNDER",
114676
114752
  "GAMMA_CROSS",
114677
114753
  "MULTIPLY",
114678
- "OVER_DROP",
114679
114754
  "WIPE",
114680
114755
  "GLOW",
114681
114756
  "TRANSFORM",
@@ -114700,7 +114775,7 @@ class StripsMeta(bpy_prop_collection[Strip], bpy_struct):
114700
114775
  :param name: Name for the new strip
114701
114776
  :type name: str
114702
114777
  :param type: Type, type for the new strip
114703
- :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','OVER_DROP','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
114778
+ :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
114704
114779
  :param channel: Channel, The channel for the new strip
114705
114780
  :type channel: int | None
114706
114781
  :param frame_start: The start frame for the new strip
@@ -114917,7 +114992,6 @@ class StripsTopLevel(bpy_prop_collection[Strip], bpy_struct):
114917
114992
  "ALPHA_UNDER",
114918
114993
  "GAMMA_CROSS",
114919
114994
  "MULTIPLY",
114920
- "OVER_DROP",
114921
114995
  "WIPE",
114922
114996
  "GLOW",
114923
114997
  "TRANSFORM",
@@ -114942,7 +115016,7 @@ class StripsTopLevel(bpy_prop_collection[Strip], bpy_struct):
114942
115016
  :param name: Name for the new strip
114943
115017
  :type name: str
114944
115018
  :param type: Type, type for the new strip
114945
- :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','OVER_DROP','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
115019
+ :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
114946
115020
  :param channel: Channel, The channel for the new strip
114947
115021
  :type channel: int | None
114948
115022
  :param frame_start: The start frame for the new strip
@@ -151439,6 +151513,59 @@ class GeometryNodeImageTexture(GeometryNode, NodeInternal, Node, bpy_struct):
151439
151513
  :rtype: typing.Any
151440
151514
  """
151441
151515
 
151516
+ class GeometryNodeImportCSV(GeometryNode, NodeInternal, Node, bpy_struct):
151517
+ """Import geometry from an CSV file"""
151518
+
151519
+ @classmethod
151520
+ def is_registered_node_type(cls) -> bool:
151521
+ """True if a registered node type
151522
+
151523
+ :return: Result
151524
+ :rtype: bool
151525
+ """
151526
+
151527
+ @classmethod
151528
+ def input_template(cls, index: int | None) -> NodeInternalSocketTemplate:
151529
+ """Input socket template
151530
+
151531
+ :param index: Index
151532
+ :type index: int | None
151533
+ :return: result
151534
+ :rtype: NodeInternalSocketTemplate
151535
+ """
151536
+
151537
+ @classmethod
151538
+ def output_template(cls, index: int | None) -> NodeInternalSocketTemplate:
151539
+ """Output socket template
151540
+
151541
+ :param index: Index
151542
+ :type index: int | None
151543
+ :return: result
151544
+ :rtype: NodeInternalSocketTemplate
151545
+ """
151546
+
151547
+ @classmethod
151548
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
151549
+ """
151550
+
151551
+ :param id: The RNA type identifier.
151552
+ :type id: str | None
151553
+ :param default:
151554
+ :return: The RNA type or default when not found.
151555
+ :rtype: Struct
151556
+ """
151557
+
151558
+ @classmethod
151559
+ def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
151560
+ """
151561
+
151562
+ :param id: The RNA type identifier.
151563
+ :type id: str | None
151564
+ :param default:
151565
+ :return: The class or default when not found.
151566
+ :rtype: typing.Any
151567
+ """
151568
+
151442
151569
  class GeometryNodeImportOBJ(GeometryNode, NodeInternal, Node, bpy_struct):
151443
151570
  """Import geometry from an OBJ file"""
151444
151571
 
@@ -161791,7 +161918,7 @@ class GreasePencilLatticeModifier(Modifier, bpy_struct):
161791
161918
  :rtype: typing.Any
161792
161919
  """
161793
161920
 
161794
- class GreasePencilLayer(bpy_struct):
161921
+ class GreasePencilLayer(GreasePencilTreeNode, bpy_struct):
161795
161922
  """Collection of related drawings"""
161796
161923
 
161797
161924
  blend_mode: typing.Literal[
@@ -161814,24 +161941,12 @@ class GreasePencilLayer(bpy_struct):
161814
161941
  :type: GreasePencilFrames
161815
161942
  """
161816
161943
 
161817
- hide: bool
161818
- """ Set layer visibility
161819
-
161820
- :type: bool
161821
- """
161822
-
161823
161944
  ignore_locked_materials: bool
161824
161945
  """ Allow editing strokes even if they use locked materials
161825
161946
 
161826
161947
  :type: bool
161827
161948
  """
161828
161949
 
161829
- lock: bool
161830
- """ Protect layer from further editing and/or frame changes
161831
-
161832
- :type: bool
161833
- """
161834
-
161835
161950
  lock_frame: bool
161836
161951
  """ Lock current frame displayed by layer
161837
161952
 
@@ -161856,12 +161971,6 @@ class GreasePencilLayer(bpy_struct):
161856
161971
  :type: mathutils.Matrix
161857
161972
  """
161858
161973
 
161859
- name: str
161860
- """ Layer name
161861
-
161862
- :type: str
161863
- """
161864
-
161865
161974
  opacity: float
161866
161975
  """ Layer Opacity
161867
161976
 
@@ -161880,12 +161989,6 @@ class GreasePencilLayer(bpy_struct):
161880
161989
  :type: str
161881
161990
  """
161882
161991
 
161883
- parent_group: GreasePencilLayerGroup
161884
- """ The parent layer group this layer is part of
161885
-
161886
- :type: GreasePencilLayerGroup
161887
- """
161888
-
161889
161992
  pass_index: int
161890
161993
  """ Index number for the "Layer Index" pass
161891
161994
 
@@ -161910,12 +162013,6 @@ class GreasePencilLayer(bpy_struct):
161910
162013
  :type: mathutils.Vector
161911
162014
  """
161912
162015
 
161913
- select: bool
161914
- """ Layer is selected for editing in the Dope Sheet
161915
-
161916
- :type: bool
161917
- """
161918
-
161919
162016
  tint_color: mathutils.Color
161920
162017
  """ Color for tinting stroke colors
161921
162018
 
@@ -161940,18 +162037,6 @@ class GreasePencilLayer(bpy_struct):
161940
162037
  :type: bool
161941
162038
  """
161942
162039
 
161943
- use_masks: bool
161944
- """ The visibility of drawings on this layer is affected by the layers in its masks list
161945
-
161946
- :type: bool
161947
- """
161948
-
161949
- use_onion_skinning: bool
161950
- """ Display onion skins before and after the current frame
161951
-
161952
- :type: bool
161953
- """
161954
-
161955
162040
  use_viewlayer_masks: bool
161956
162041
  """ Include the mask layers when rendering the view-layer
161957
162042
 
@@ -162002,7 +162087,7 @@ class GreasePencilLayer(bpy_struct):
162002
162087
  :rtype: typing.Any
162003
162088
  """
162004
162089
 
162005
- class GreasePencilLayerGroup(bpy_struct):
162090
+ class GreasePencilLayerGroup(GreasePencilTreeNode, bpy_struct):
162006
162091
  """Group of Grease Pencil layers"""
162007
162092
 
162008
162093
  color_tag: typing.Literal[
@@ -162021,48 +162106,12 @@ class GreasePencilLayerGroup(bpy_struct):
162021
162106
  :type: typing.Literal['NONE','COLOR1','COLOR2','COLOR3','COLOR4','COLOR5','COLOR6','COLOR7','COLOR8']
162022
162107
  """
162023
162108
 
162024
- hide: bool
162025
- """ Set layer group visibility
162026
-
162027
- :type: bool
162028
- """
162029
-
162030
162109
  is_expanded: bool
162031
162110
  """ The layer groups is expanded in the UI
162032
162111
 
162033
162112
  :type: bool
162034
162113
  """
162035
162114
 
162036
- lock: bool
162037
- """ Protect group from further editing and/or frame changes
162038
-
162039
- :type: bool
162040
- """
162041
-
162042
- name: str
162043
- """ Group name
162044
-
162045
- :type: str
162046
- """
162047
-
162048
- parent_group: typing_extensions.Self
162049
- """ The parent group this group is part of
162050
-
162051
- :type: typing_extensions.Self
162052
- """
162053
-
162054
- use_masks: bool
162055
- """ The visibility of drawings in the layers in this group is affected by the layers in the masks lists
162056
-
162057
- :type: bool
162058
- """
162059
-
162060
- use_onion_skinning: bool
162061
- """ Display onion skins before and after the current frame
162062
-
162063
- :type: bool
162064
- """
162065
-
162066
162115
  @classmethod
162067
162116
  def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
162068
162117
  """
@@ -164839,6 +164888,91 @@ class GreasePencilTintModifier(Modifier, bpy_struct):
164839
164888
  :rtype: typing.Any
164840
164889
  """
164841
164890
 
164891
+ class GreasePencilTreeNode(bpy_struct):
164892
+ """Grease Pencil node in the layer tree. Either a layer or a group"""
164893
+
164894
+ channel_color: mathutils.Color
164895
+ """ Color of the channel in the dope sheet
164896
+
164897
+ :type: mathutils.Color
164898
+ """
164899
+
164900
+ hide: bool
164901
+ """ Set tree node visibility
164902
+
164903
+ :type: bool
164904
+ """
164905
+
164906
+ lock: bool
164907
+ """ Protect tree node from editing
164908
+
164909
+ :type: bool
164910
+ """
164911
+
164912
+ name: str
164913
+ """ The name of the tree node
164914
+
164915
+ :type: str
164916
+ """
164917
+
164918
+ next_node: typing_extensions.Self
164919
+ """ The layer tree node after (i.e. above) this one
164920
+
164921
+ :type: typing_extensions.Self
164922
+ """
164923
+
164924
+ parent_group: GreasePencilLayerGroup
164925
+ """ The parent group of this layer tree node
164926
+
164927
+ :type: GreasePencilLayerGroup
164928
+ """
164929
+
164930
+ prev_node: typing_extensions.Self
164931
+ """ The layer tree node before (i.e. below) this one
164932
+
164933
+ :type: typing_extensions.Self
164934
+ """
164935
+
164936
+ select: bool
164937
+ """ Tree node is selected
164938
+
164939
+ :type: bool
164940
+ """
164941
+
164942
+ use_masks: bool
164943
+ """ The visibility of drawings in this tree node is affected by the layers in the masks list
164944
+
164945
+ :type: bool
164946
+ """
164947
+
164948
+ use_onion_skinning: bool
164949
+ """ Display onion skins before and after the current frame
164950
+
164951
+ :type: bool
164952
+ """
164953
+
164954
+ @classmethod
164955
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
164956
+ """
164957
+
164958
+ :param id: The RNA type identifier.
164959
+ :type id: str | None
164960
+ :param default:
164961
+ :return: The RNA type or default when not found.
164962
+ :rtype: Struct
164963
+ """
164964
+
164965
+ @classmethod
164966
+ def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
164967
+ """
164968
+
164969
+ :param id: The RNA type identifier.
164970
+ :type id: str | None
164971
+ :param default:
164972
+ :return: The class or default when not found.
164973
+ :rtype: typing.Any
164974
+ """
164975
+
164842
164976
  class GreasePencilWeightAngleModifier(Modifier, bpy_struct):
164843
164977
  """Calculate Vertex Weight dynamically"""
164844
164978
 
@@ -166690,13 +166824,21 @@ class Image(ID, bpy_struct):
166690
166824
  :type quality: int | None
166691
166825
  """
166692
166826
 
166693
- def save(self, *, filepath: str = "", quality: int | None = 0):
166827
+ def save(
166828
+ self,
166829
+ *,
166830
+ filepath: str = "",
166831
+ quality: int | None = 0,
166832
+ save_copy: bool | None = False,
166833
+ ):
166694
166834
  """Save image
166695
166835
 
166696
166836
  :param filepath: Output path, uses image data-block filepath if not specified
166697
166837
  :type filepath: str
166698
166838
  :param quality: Quality, Quality for image formats that support lossy compression, uses default quality if not specified
166699
166839
  :type quality: int | None
166840
+ :param save_copy: Save Copy, Save the image as a copy, without updating current image's filepath
166841
+ :type save_copy: bool | None
166700
166842
  """
166701
166843
 
166702
166844
  def pack(self, *, data: str = "", data_len: int | None = 0):
@@ -189059,49 +189201,6 @@ class OperatorStrokeElement(PropertyGroup, bpy_struct):
189059
189201
  :rtype: typing.Any
189060
189202
  """
189061
189203
 
189062
- class OverDropStrip(EffectStrip, Strip, bpy_struct):
189063
- """Over Drop Strip"""
189064
-
189065
- input_1: Strip
189066
- """ First input for the effect strip
189067
-
189068
- :type: Strip
189069
- """
189070
-
189071
- input_2: Strip
189072
- """ Second input for the effect strip
189073
-
189074
- :type: Strip
189075
- """
189076
-
189077
- input_count: int
189078
- """
189079
-
189080
- :type: int
189081
- """
189082
-
189083
- @classmethod
189084
- def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
189085
- """
189086
-
189087
- :param id: The RNA type identifier.
189088
- :type id: str | None
189089
- :param default:
189090
- :return: The RNA type or default when not found.
189091
- :rtype: Struct
189092
- """
189093
-
189094
- @classmethod
189095
- def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
189096
- """
189097
-
189098
- :param id: The RNA type identifier.
189099
- :type id: str | None
189100
- :param default:
189101
- :return: The class or default when not found.
189102
- :rtype: typing.Any
189103
- """
189104
-
189105
189204
  class PARTICLE_UL_particle_systems(UIList, bpy_struct):
189106
189205
  def draw_item(
189107
189206
  self,
@@ -214835,11 +214934,10 @@ class Strip(bpy_struct):
214835
214934
  "ALPHA_OVER",
214836
214935
  "ALPHA_UNDER",
214837
214936
  "GAMMA_CROSS",
214838
- "OVER_DROP",
214839
214937
  ]
214840
214938
  """ Method for controlling how the strip combines with other strips
214841
214939
 
214842
- :type: typing.Literal['REPLACE','CROSS','DARKEN','MULTIPLY','BURN','LINEAR_BURN','LIGHTEN','SCREEN','DODGE','ADD','OVERLAY','SOFT_LIGHT','HARD_LIGHT','VIVID_LIGHT','LINEAR_LIGHT','PIN_LIGHT','DIFFERENCE','EXCLUSION','SUBTRACT','HUE','SATURATION','COLOR','VALUE','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','OVER_DROP']
214940
+ :type: typing.Literal['REPLACE','CROSS','DARKEN','MULTIPLY','BURN','LINEAR_BURN','LIGHTEN','SCREEN','DODGE','ADD','OVERLAY','SOFT_LIGHT','HARD_LIGHT','VIVID_LIGHT','LINEAR_LIGHT','PIN_LIGHT','DIFFERENCE','EXCLUSION','SUBTRACT','HUE','SATURATION','COLOR','VALUE','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS']
214843
214941
  """
214844
214942
 
214845
214943
  channel: int
@@ -214971,7 +215069,6 @@ class Strip(bpy_struct):
214971
215069
  "ALPHA_UNDER",
214972
215070
  "GAMMA_CROSS",
214973
215071
  "MULTIPLY",
214974
- "OVER_DROP",
214975
215072
  "WIPE",
214976
215073
  "GLOW",
214977
215074
  "TRANSFORM",
@@ -214985,7 +215082,7 @@ class Strip(bpy_struct):
214985
215082
  ]
214986
215083
  """
214987
215084
 
214988
- :type: typing.Literal['IMAGE','META','SCENE','MOVIE','MOVIECLIP','MASK','SOUND','CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','OVER_DROP','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX']
215085
+ :type: typing.Literal['IMAGE','META','SCENE','MOVIE','MOVIECLIP','MASK','SOUND','CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX']
214989
215086
  """
214990
215087
 
214991
215088
  use_cache_composite: bool
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250210
3
+ Version: 20250212
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,13 +192,13 @@ bpy/__init__.pyi,sha256=KeQc-X1TjhtunVxLDy0IK0cMmurLmAQm4fX_D__UPJo,464
192
192
  bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
193
193
  bpy/_typing/__init__.pyi,sha256=7bioadpQS-8UKR8TdY1m4MqUFqKVy8h13sPIt28ZUqs,99
194
194
  bpy/_typing/rna_enums/__init__.pyi,sha256=5HbFPSOzvlGhGA1nqaneyn_CPRfXCTsJpIhMc0cNhAU,138715
195
- bpy/app/__init__.pyi,sha256=s6DxbRrXGzFTpAIeczXT4DiCPzeYAKldZFZk4uVR5Yg,8740
195
+ bpy/app/__init__.pyi,sha256=rNqetnnLndA8L1Ap2JsOPF9kSBCk2maa6dQtWV_a3ZY,8739
196
196
  bpy/app/handlers/__init__.pyi,sha256=Gxao8v-gF10WpVRUdswsB4QndzHjO1UtymwrorJef-4,6911
197
197
  bpy/app/icons/__init__.pyi,sha256=w18Xn9y0T54WlpHyhC3_y8a3Lq9kuo3U72Bu7wOY41A,928
198
198
  bpy/app/timers/__init__.pyi,sha256=vtrATRAmkTfP1CknievwpOCC19cPOMowyLTE6Ie9GSg,2126
199
199
  bpy/app/translations/__init__.pyi,sha256=rrUs88RJakTJ8IZzE7oRunD_HqLByX5tqmLSrQ_e8dQ,7007
200
200
  bpy/msgbus/__init__.pyi,sha256=e9cmp_Wq7FA5pDTQQJ2s0_I84bEJMu8J-5Lu5gNoClM,2954
201
- bpy/ops/__init__.pyi,sha256=JptIpKHRAy3jrKGANEBzrwmfNuZx8JLP9ofvWLCaLBU,5396
201
+ bpy/ops/__init__.pyi,sha256=4UAWi3R0nS5cOHanhW0V32u2JGu11U2vIaEJ6dv0LnE,5559
202
202
  bpy/ops/action/__init__.pyi,sha256=LBNWtp-Nd2C-ae5OK4WTxg-ztiufJ4OLan-f6W7EJXo,18645
203
203
  bpy/ops/anim/__init__.pyi,sha256=VM6kJF9mPnpDINvcVqrf-fEHlSRzn-P1vmCPvK8KDwA,24980
204
204
  bpy/ops/armature/__init__.pyi,sha256=k6XyBQsnS9j-7cKqfmN4qYVyhv9gQVwX45g-3DJ8jro,20909
@@ -259,7 +259,7 @@ bpy/ops/screen/__init__.pyi,sha256=6WbfNAHRE24NwTHuUyk6pfZAROdMzIn5V_hjYq3rVLQ,1
259
259
  bpy/ops/script/__init__.pyi,sha256=LPFPi3ovQdpV5IVlMnJpo9K3i88q1t6cFnoXnfiJ5HA,978
260
260
  bpy/ops/sculpt/__init__.pyi,sha256=VzEVUPbe_HnfrYblaeM7zvA45ocxqGiIQgyIigz9ja4,47060
261
261
  bpy/ops/sculpt_curves/__init__.pyi,sha256=jDglkug-tn6Esxo-_DrILnCkifpWfQ82x9JE_q0PW-c,2849
262
- bpy/ops/sequencer/__init__.pyi,sha256=PvVUvPL124adjdt8bF65h35mUIkK1DnLj2glJ15O6FA,78337
262
+ bpy/ops/sequencer/__init__.pyi,sha256=UuFJ-EkUCro9cr6zlOAyxeauPpcRSRYx6746-yKETDk,78125
263
263
  bpy/ops/sound/__init__.pyi,sha256=kz9Sk9QCN0lUszJ6sShcwBSj7azOAne3SMADKG3i15c,16929
264
264
  bpy/ops/spreadsheet/__init__.pyi,sha256=q_4fYPoBC6g61Pw7Mz71PQB93vYHxk661B18CvIkguA,1360
265
265
  bpy/ops/surface/__init__.pyi,sha256=OD-_jQEOIHzb89OaZ4JLMZlnP7-s4jbY4a2DpI9bA_I,10315
@@ -277,7 +277,7 @@ bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHC
277
277
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
278
278
  bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
279
279
  bpy/props/__init__.pyi,sha256=Ky1J5ndL8p_pvAaQakudyKKVynbr1NxXvzoN-5E9_I0,35237
280
- bpy/types/__init__.pyi,sha256=GiwGQVvWJSv8Xob8NeeH2Da7d7wUDmpDhXygXmF7pU8,5467171
280
+ bpy/types/__init__.pyi,sha256=nBXR9HU-AHE_t1RBbyivTIZeuvknQ6ErideMNrvrxo4,5469953
281
281
  bpy/utils/__init__.pyi,sha256=y7dfOaWh9PE_q0Qs8gEKOm71RQuMZI0wQ1B07DCDHF4,14909
282
282
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
283
283
  bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
@@ -326,7 +326,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
326
326
  gpu/types/__init__.pyi,sha256=Q8Gym2MsHoDFLW7snVIfPMUGCQns-XA2URYfeOV3nnk,27923
327
327
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
328
328
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
- gpu_extras/batch/__init__.pyi,sha256=t-kFLEyZ0OABqt8VbtSwvo60S7vw15Tq5HRea-G3odE,1278
329
+ gpu_extras/batch/__init__.pyi,sha256=nbeZNWRKChMLBkKYc4mLF9abAffVyzEHp01yf64gZK8,1279
330
330
  gpu_extras/presets/__init__.pyi,sha256=pDhGELr5vKTZ9yDsLJ4Y836Kmh7cs95rDhSwd1i5e-s,1647
331
331
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
332
332
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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-20250210.dist-info/METADATA,sha256=Ns5SDqqlhY8qHXPGfbSeyFCbK_yCv3V1OaUnXHD5dFw,7429
363
- fake_bpy_module-20250210.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
- fake_bpy_module-20250210.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
- fake_bpy_module-20250210.dist-info/RECORD,,
362
+ fake_bpy_module-20250212.dist-info/METADATA,sha256=BWzr7SUGxwcX7_wDF2vQKk5Eo8yQ2J83BoC_-iqHPVk,7429
363
+ fake_bpy_module-20250212.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
+ fake_bpy_module-20250212.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
+ fake_bpy_module-20250212.dist-info/RECORD,,
@@ -1,7 +1,6 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import bgl
5
4
  import gpu.types
6
5
 
7
6
  def batch_for_shader(
@@ -9,7 +8,7 @@ def batch_for_shader(
9
8
  type: str,
10
9
  content: dict[
11
10
  str,
12
- bgl.Buffer
11
+ gpu.types.Buffer
13
12
  | collections.abc.Sequence[float]
14
13
  | collections.abc.Sequence[int]
15
14
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -26,7 +25,7 @@ def batch_for_shader(
26
25
  :type type: str
27
26
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
28
27
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
29
- :type content: dict[str, bgl.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
28
+ :type content: dict[str, gpu.types.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
30
29
  :return: compatible batch
31
30
  :rtype: gpu.types.GPUBatch
32
31
  """