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

@@ -32,6 +32,34 @@ class NODE_FH_image_node(bpy.types.FileHandler):
32
32
  :param context:
33
33
  """
34
34
 
35
+ class NODE_OT_add_foreach_geometry_element_zone(
36
+ NodeAddZoneOperator, bpy.types.Operator
37
+ ):
38
+ """Add a For Each Geometry Element zone that allows executing nodes e.g. for each vertex separately"""
39
+
40
+ add_default_geometry_link: typing.Any
41
+ bl_idname: typing.Any
42
+ bl_label: typing.Any
43
+ bl_options: typing.Any
44
+ bl_rna: typing.Any
45
+ id_data: typing.Any
46
+ input_node_type: typing.Any
47
+ output_node_type: typing.Any
48
+
49
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
50
+ """
51
+
52
+ :return: The RNA type or default when not found.
53
+ :rtype: bpy.types.Struct
54
+ """
55
+
56
+ def bl_rna_get_subclass_py(self) -> typing.Any:
57
+ """
58
+
59
+ :return: The class or default when not found.
60
+ :rtype: typing.Any
61
+ """
62
+
35
63
  class NODE_OT_add_node(NodeAddOperator, bpy.types.Operator):
36
64
  """Add a node to the active tree"""
37
65
 
@@ -72,6 +100,7 @@ class NODE_OT_add_node(NodeAddOperator, bpy.types.Operator):
72
100
  class NODE_OT_add_repeat_zone(NodeAddZoneOperator, bpy.types.Operator):
73
101
  """Add a repeat zone that allows executing nodes a dynamic number of times"""
74
102
 
103
+ add_default_geometry_link: typing.Any
75
104
  bl_idname: typing.Any
76
105
  bl_label: typing.Any
77
106
  bl_options: typing.Any
@@ -97,6 +126,7 @@ class NODE_OT_add_repeat_zone(NodeAddZoneOperator, bpy.types.Operator):
97
126
  class NODE_OT_add_simulation_zone(NodeAddZoneOperator, bpy.types.Operator):
98
127
  """Add simulation zone input and output nodes to the active tree"""
99
128
 
129
+ add_default_geometry_link: typing.Any
100
130
  bl_idname: typing.Any
101
131
  bl_label: typing.Any
102
132
  bl_options: typing.Any
@@ -356,6 +386,8 @@ class NodeSetting(bpy.types.PropertyGroup):
356
386
  """
357
387
 
358
388
  class NodeAddZoneOperator(NodeAddOperator):
389
+ add_default_geometry_link: typing.Any
390
+
359
391
  def execute(self, context):
360
392
  """
361
393
 
@@ -29,6 +29,7 @@ class NODE_MT_category_layout(bpy.types.Menu):
29
29
  :param _context:
30
30
  """
31
31
 
32
+ def add_foreach_geometry_element_zone(layout, label): ...
32
33
  def add_node_type(layout, node_type, *, label=None, poll=None, search_weight=0.0):
33
34
  """Add a node type to a menu."""
34
35
 
@@ -203,6 +203,14 @@ class DATA_PT_grease_pencil_layers(DataButtonsPanel, bpy.types.Panel):
203
203
  :param context:
204
204
  """
205
205
 
206
+ @classmethod
207
+ def draw_settings(cls, layout, grease_pencil):
208
+ """
209
+
210
+ :param layout:
211
+ :param grease_pencil:
212
+ """
213
+
206
214
  class DATA_PT_grease_pencil_onion_skinning(DataButtonsPanel, bpy.types.Panel):
207
215
  bl_context: typing.Any
208
216
  bl_label: typing.Any
@@ -222,6 +222,7 @@ class _defs_gpencil_weight: ...
222
222
 
223
223
  class _defs_grease_pencil_edit:
224
224
  interpolate: typing.Any
225
+ texture_gradient: typing.Any
225
226
 
226
227
  class _defs_grease_pencil_paint:
227
228
  arc: typing.Any
@@ -714,6 +714,22 @@ def layer_mask_reorder(
714
714
  :type direction: typing.Literal['UP','DOWN'] | None
715
715
  """
716
716
 
717
+ def layer_move(
718
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
719
+ execution_context: int | str | None = None,
720
+ undo: bool | None = None,
721
+ *,
722
+ direction: typing.Literal["UP", "DOWN"] | None = "UP",
723
+ ):
724
+ """Move the active Grease Pencil layer or Group
725
+
726
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
727
+ :type execution_context: int | str | None
728
+ :type undo: bool | None
729
+ :param direction: Direction
730
+ :type direction: typing.Literal['UP','DOWN'] | None
731
+ """
732
+
717
733
  def layer_remove(
718
734
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
719
735
  execution_context: int | str | None = None,
@@ -890,6 +906,7 @@ def paste(
890
906
  undo: bool | None = None,
891
907
  *,
892
908
  paste_back: bool | None = False,
909
+ keep_world_transform: bool | None = False,
893
910
  ):
894
911
  """Paste Grease Pencil points or strokes from the internal clipboard to the active layer
895
912
 
@@ -898,6 +915,8 @@ def paste(
898
915
  :type undo: bool | None
899
916
  :param paste_back: Paste on Back, Add pasted strokes behind all strokes
900
917
  :type paste_back: bool | None
918
+ :param keep_world_transform: Keep World Transform, Keep the world transform of strokes from the clipboard unchanged
919
+ :type keep_world_transform: bool | None
901
920
  """
902
921
 
903
922
  def primitive_arc(
@@ -1616,6 +1635,37 @@ def stroke_trim(
1616
1635
  :type smooth_stroke_radius: int | None
1617
1636
  """
1618
1637
 
1638
+ def texture_gradient(
1639
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1640
+ execution_context: int | str | None = None,
1641
+ undo: bool | None = None,
1642
+ *,
1643
+ xstart: int | None = 0,
1644
+ xend: int | None = 0,
1645
+ ystart: int | None = 0,
1646
+ yend: int | None = 0,
1647
+ flip: bool | None = False,
1648
+ cursor: int | None = 5,
1649
+ ):
1650
+ """Draw a line to set the fill material gradient for the selected strokes
1651
+
1652
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1653
+ :type execution_context: int | str | None
1654
+ :type undo: bool | None
1655
+ :param xstart: X Start
1656
+ :type xstart: int | None
1657
+ :param xend: X End
1658
+ :type xend: int | None
1659
+ :param ystart: Y Start
1660
+ :type ystart: int | None
1661
+ :param yend: Y End
1662
+ :type yend: int | None
1663
+ :param flip: Flip
1664
+ :type flip: bool | None
1665
+ :param cursor: Cursor, Mouse cursor style to use during the modal operator
1666
+ :type cursor: int | None
1667
+ """
1668
+
1619
1669
  def trace_image(
1620
1670
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
1621
1671
  execution_context: int | str | None = None,
bpy/ops/node/__init__.pyi CHANGED
@@ -166,6 +166,29 @@ def add_file(
166
166
  :type session_uid: int | None
167
167
  """
168
168
 
169
+ def add_foreach_geometry_element_zone(
170
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
171
+ execution_context: int | str | None = None,
172
+ undo: bool | None = None,
173
+ *,
174
+ use_transform: bool | None = False,
175
+ settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting]
176
+ | None = None,
177
+ offset: collections.abc.Iterable[float] | None = (150.0, 0.0),
178
+ ):
179
+ """Add a For Each Geometry Element zone that allows executing nodes e.g. for each vertex separately
180
+
181
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
182
+ :type execution_context: int | str | None
183
+ :type undo: bool | None
184
+ :param use_transform: Use Transform, Start transform operator after inserting the node
185
+ :type use_transform: bool | None
186
+ :param settings: Settings, Settings to be applied on the newly created node
187
+ :type settings: bpy.types.bpy_prop_collection[bl_operators.node.NodeSetting] | None
188
+ :param offset: Offset, Offset of nodes from the cursor when added
189
+ :type offset: collections.abc.Iterable[float] | None
190
+ """
191
+
169
192
  def add_group(
170
193
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
171
194
  execution_context: int | str | None = None,
@@ -801,6 +824,126 @@ def find_node(
801
824
  :type undo: bool | None
802
825
  """
803
826
 
827
+ def foreach_geometry_element_zone_generation_item_add(
828
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
829
+ execution_context: int | str | None = None,
830
+ undo: bool | None = None,
831
+ ):
832
+ """Add for-each generation item
833
+
834
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
835
+ :type execution_context: int | str | None
836
+ :type undo: bool | None
837
+ """
838
+
839
+ def foreach_geometry_element_zone_generation_item_move(
840
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
841
+ execution_context: int | str | None = None,
842
+ undo: bool | None = None,
843
+ *,
844
+ direction: typing.Literal["UP", "DOWN"] | None = "UP",
845
+ ):
846
+ """Move active for-each generation item
847
+
848
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
849
+ :type execution_context: int | str | None
850
+ :type undo: bool | None
851
+ :param direction: Direction, Move direction
852
+ :type direction: typing.Literal['UP','DOWN'] | None
853
+ """
854
+
855
+ def foreach_geometry_element_zone_generation_item_remove(
856
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
857
+ execution_context: int | str | None = None,
858
+ undo: bool | None = None,
859
+ ):
860
+ """Remove active for-each generation item
861
+
862
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
863
+ :type execution_context: int | str | None
864
+ :type undo: bool | None
865
+ """
866
+
867
+ def foreach_geometry_element_zone_input_item_add(
868
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
869
+ execution_context: int | str | None = None,
870
+ undo: bool | None = None,
871
+ ):
872
+ """Add for-each input item
873
+
874
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
875
+ :type execution_context: int | str | None
876
+ :type undo: bool | None
877
+ """
878
+
879
+ def foreach_geometry_element_zone_input_item_move(
880
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
881
+ execution_context: int | str | None = None,
882
+ undo: bool | None = None,
883
+ *,
884
+ direction: typing.Literal["UP", "DOWN"] | None = "UP",
885
+ ):
886
+ """Move active for-each input item
887
+
888
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
889
+ :type execution_context: int | str | None
890
+ :type undo: bool | None
891
+ :param direction: Direction, Move direction
892
+ :type direction: typing.Literal['UP','DOWN'] | None
893
+ """
894
+
895
+ def foreach_geometry_element_zone_input_item_remove(
896
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
897
+ execution_context: int | str | None = None,
898
+ undo: bool | None = None,
899
+ ):
900
+ """Remove active for-each input item
901
+
902
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
903
+ :type execution_context: int | str | None
904
+ :type undo: bool | None
905
+ """
906
+
907
+ def foreach_geometry_element_zone_main_item_add(
908
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
909
+ execution_context: int | str | None = None,
910
+ undo: bool | None = None,
911
+ ):
912
+ """Add for-each main item
913
+
914
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
915
+ :type execution_context: int | str | None
916
+ :type undo: bool | None
917
+ """
918
+
919
+ def foreach_geometry_element_zone_main_item_move(
920
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
921
+ execution_context: int | str | None = None,
922
+ undo: bool | None = None,
923
+ *,
924
+ direction: typing.Literal["UP", "DOWN"] | None = "UP",
925
+ ):
926
+ """Move active for-each main item
927
+
928
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
929
+ :type execution_context: int | str | None
930
+ :type undo: bool | None
931
+ :param direction: Direction, Move direction
932
+ :type direction: typing.Literal['UP','DOWN'] | None
933
+ """
934
+
935
+ def foreach_geometry_element_zone_main_item_remove(
936
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
937
+ execution_context: int | str | None = None,
938
+ undo: bool | None = None,
939
+ ):
940
+ """Remove active for-each main item
941
+
942
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
943
+ :type execution_context: int | str | None
944
+ :type undo: bool | None
945
+ """
946
+
804
947
  def gltf_settings_node_operator(
805
948
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
806
949
  execution_context: int | str | None = None,
@@ -617,6 +617,50 @@ def mask_filter(
617
617
  :type auto_iteration_count: bool | None
618
618
  """
619
619
 
620
+ def mask_from_boundary(
621
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
622
+ execution_context: int | str | None = None,
623
+ undo: bool | None = None,
624
+ *,
625
+ mix_mode: typing.Literal["MIX", "MULTIPLY", "DIVIDE", "ADD", "SUBTRACT"]
626
+ | None = "MIX",
627
+ mix_factor: float | None = 1.0,
628
+ settings_source: typing.Literal["OPERATOR", "BRUSH", "SCENE"] | None = "OPERATOR",
629
+ boundary_mode: typing.Literal["MESH", "FACE_SETS"] | None = "MESH",
630
+ propagation_steps: int | None = 1,
631
+ ):
632
+ """Creates a mask based on the boundaries of the surface
633
+
634
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
635
+ :type execution_context: int | str | None
636
+ :type undo: bool | None
637
+ :param mix_mode: Mode, Mix mode
638
+ :type mix_mode: typing.Literal['MIX','MULTIPLY','DIVIDE','ADD','SUBTRACT'] | None
639
+ :param mix_factor: Mix Factor
640
+ :type mix_factor: float | None
641
+ :param settings_source: Settings, Use settings from here
642
+
643
+ OPERATOR
644
+ Operator -- Use settings from operator properties.
645
+
646
+ BRUSH
647
+ Brush -- Use settings from brush.
648
+
649
+ SCENE
650
+ Scene -- Use settings from scene.
651
+ :type settings_source: typing.Literal['OPERATOR','BRUSH','SCENE'] | None
652
+ :param boundary_mode: Mode, Boundary type to mask
653
+
654
+ MESH
655
+ Mesh -- Calculate the boundary mask based on disconnected mesh topology islands.
656
+
657
+ FACE_SETS
658
+ Face Sets -- Calculate the boundary mask between face sets.
659
+ :type boundary_mode: typing.Literal['MESH','FACE_SETS'] | None
660
+ :param propagation_steps: Propagation Steps
661
+ :type propagation_steps: int | None
662
+ """
663
+
620
664
  def mask_from_cavity(
621
665
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
622
666
  execution_context: int | str | None = None,