fake-bpy-module 20250213__py3-none-any.whl → 20250215__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_operators/__init__.pyi CHANGED
@@ -13,6 +13,7 @@ from . import constraint as constraint
13
13
  from . import file as file
14
14
  from . import freestyle as freestyle
15
15
  from . import geometry_nodes as geometry_nodes
16
+ from . import grease_pencil as grease_pencil
16
17
  from . import image as image
17
18
  from . import image_as_planes as image_as_planes
18
19
  from . import mesh as mesh
@@ -0,0 +1,40 @@
1
+ import typing
2
+ import collections.abc
3
+ import typing_extensions
4
+ import bpy.types
5
+
6
+ class GREASE_PENCIL_OT_relative_layer_mask_add(bpy.types.Operator):
7
+ """Mask active layer with layer above or below"""
8
+
9
+ bl_idname: typing.Any
10
+ bl_label: typing.Any
11
+ bl_options: typing.Any
12
+ bl_rna: typing.Any
13
+ id_data: typing.Any
14
+
15
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
16
+ """
17
+
18
+ :return: The RNA type or default when not found.
19
+ :rtype: bpy.types.Struct
20
+ """
21
+
22
+ def bl_rna_get_subclass_py(self) -> typing.Any:
23
+ """
24
+
25
+ :return: The class or default when not found.
26
+ :rtype: typing.Any
27
+ """
28
+
29
+ def execute(self, context):
30
+ """
31
+
32
+ :param context:
33
+ """
34
+
35
+ @classmethod
36
+ def poll(cls, context):
37
+ """
38
+
39
+ :param context:
40
+ """
@@ -1079,6 +1079,21 @@ def primitive_polyline(
1079
1079
  :type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
1080
1080
  """
1081
1081
 
1082
+ def relative_layer_mask_add(
1083
+ execution_context: int | str | None = None,
1084
+ undo: bool | None = None,
1085
+ /,
1086
+ *,
1087
+ mode: typing.Literal["ABOVE", "BELOW"] | None = "ABOVE",
1088
+ ):
1089
+ """Mask active layer with layer above or below
1090
+
1091
+ :type execution_context: int | str | None
1092
+ :type undo: bool | None
1093
+ :param mode: Mode, Which relative layer (above or below) to use as a mask
1094
+ :type mode: typing.Literal['ABOVE','BELOW'] | None
1095
+ """
1096
+
1082
1097
  def reorder(
1083
1098
  execution_context: int | str | None = None,
1084
1099
  undo: bool | None = None,
bpy/types/__init__.pyi CHANGED
@@ -105139,6 +105139,7 @@ import bl_operators.connect_to_output
105139
105139
  import bl_operators.constraint
105140
105140
  import bl_operators.file
105141
105141
  import bl_operators.freestyle
105142
+ import bl_operators.grease_pencil
105142
105143
  import bl_operators.image
105143
105144
  import bl_operators.image_as_planes
105144
105145
  import bl_operators.node
@@ -155926,6 +155927,12 @@ class GeometryNodeReplaceMaterial(GeometryNode, NodeInternal, Node, bpy_struct):
155926
155927
  class GeometryNodeResampleCurve(GeometryNode, NodeInternal, Node, bpy_struct):
155927
155928
  """Generate a poly spline for each input spline"""
155928
155929
 
155930
+ keep_last_segment: bool
155931
+ """ Don't collapse a curves to single points if they are shorter than the given length. The collapsing behavior exists for compatibility reasons.
155932
+
155933
+ :type: bool
155934
+ """
155935
+
155929
155936
  mode: typing.Literal["EVALUATED", "COUNT", "LENGTH"]
155930
155937
  """ How to specify the amount of samples
155931
155938
 
@@ -235276,6 +235283,8 @@ GREASE_PENCIL_MT_snap_pie: bl_ui.properties_grease_pencil_common.GREASE_PENCIL_M
235276
235283
 
235277
235284
  GREASE_PENCIL_MT_stroke_simplify: bl_ui.properties_grease_pencil_common.GREASE_PENCIL_MT_stroke_simplify
235278
235285
 
235286
+ GREASE_PENCIL_OT_relative_layer_mask_add: bl_operators.grease_pencil.GREASE_PENCIL_OT_relative_layer_mask_add
235287
+
235279
235288
  GREASE_PENCIL_UL_attributes: bl_ui.properties_data_grease_pencil.GREASE_PENCIL_UL_attributes
235280
235289
 
235281
235290
  GREASE_PENCIL_UL_masks: bl_ui.properties_data_grease_pencil.GREASE_PENCIL_UL_masks
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250213
3
+ Version: 20250215
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
@@ -51,7 +51,7 @@ bl_keymap_utils/platform_helpers/__init__.pyi,sha256=j9YTosCFcrTQB8KfCNiy6jDVxSB
51
51
  bl_keymap_utils/versioning/__init__.pyi,sha256=MrawbVFwXqRmjaeoTTRqKRy-bF30DvQLp91s8jAXjic,124
52
52
  bl_math/__init__.pyi,sha256=irbUYYPIyG7TV3S4glHrzDxsQbWT3yi2xG8qYdkSTDc,1598
53
53
  bl_math/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
- bl_operators/__init__.pyi,sha256=6hPAE8swQjayB0dSbhCaxyud2gW8bWRwZDmrqBBteKg,1481
54
+ bl_operators/__init__.pyi,sha256=j8NYf-Pt6Mb3Ccnsg7L3U2V_QX-Wk_A6PMCgDy92Cyc,1526
55
55
  bl_operators/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
56
  bl_operators/add_mesh_torus/__init__.pyi,sha256=ITeBHDEWU9g8M3rVWWTiNl9v-1FRiBiGPDFt2ZNdxCM,1158
57
57
  bl_operators/anim/__init__.pyi,sha256=W6mhq_J3TDb3_UspHA6qMqJwhHiOU8_9NQ2GkBxBQ5o,10262
@@ -66,6 +66,7 @@ bl_operators/constraint/__init__.pyi,sha256=QsYjI0B2lCPjm0-6bUz0Eeu6chrifsEMxFDN
66
66
  bl_operators/file/__init__.pyi,sha256=JTGU6cCI1ya0oNwyKNhNwoa5DfXzeUoZhUT6W5GKt5o,2441
67
67
  bl_operators/freestyle/__init__.pyi,sha256=bPoeyNCgKMKCrbPufTbTBXiIpKs6L6DVK3VFjuPvM8Q,3432
68
68
  bl_operators/geometry_nodes/__init__.pyi,sha256=h0mxRrKeb6_NoRZJUENU2aj_WiN3SHUNBvK5u-Mev4s,4084
69
+ bl_operators/grease_pencil/__init__.pyi,sha256=w5CNcOa6UwmpynLOTi1qAVF_04PMwk7-QjGzOa4HPa8,835
69
70
  bl_operators/image/__init__.pyi,sha256=YNHvnRdvl9z5DBqDRR23PpFgA94TshQfexGmyYbyzK0,3436
70
71
  bl_operators/image_as_planes/__init__.pyi,sha256=msyQ3WObip0mOUVflYsSpneXxgBNKZs_QIPIQDJjuFg,4556
71
72
  bl_operators/mesh/__init__.pyi,sha256=jdyChlzXgKrhiw9ROSf8o7YFi3L40p4dBGfTn-vAshU,2412
@@ -228,7 +229,7 @@ bpy/ops/geometry/__init__.pyi,sha256=5E3W4rVQTQmgHc8p8Adr9EHk-VsTrhwYbCvchw4Ax7c
228
229
  bpy/ops/gizmogroup/__init__.pyi,sha256=lsDnIxuI4uIqJJEiLNmKUuMq2uqlc6HQAqDHY3T9tf8,1262
229
230
  bpy/ops/gpencil/__init__.pyi,sha256=cqeFGa_2tSDBDSWhsWVQVZx5BhHs08wiW4And1rhfVE,4832
230
231
  bpy/ops/graph/__init__.pyi,sha256=LxlhLzlxAjlrVyfx09PY74t15-khJK0tiasNQyYUqw4,41703
231
- bpy/ops/grease_pencil/__init__.pyi,sha256=7UMA3MkUlsSmr2HXPYWb8VeHYufNqcvJ2GVp7D-2nO8,62088
232
+ bpy/ops/grease_pencil/__init__.pyi,sha256=-5jE8hJDQbMhbAYidVq_c6EmLLgRglboXrElJwlp6oU,62541
232
233
  bpy/ops/image/__init__.pyi,sha256=GiNPnZRmVUdtFmuckOxdV55Po_2ul_qda5wU2fFrm6U,52466
233
234
  bpy/ops/import_anim/__init__.pyi,sha256=aE1pDcT6TlridpXwg7tF-E3tXLcm83n7j1vVgn_-g7A,3046
234
235
  bpy/ops/import_curve/__init__.pyi,sha256=sDhKpg3cI-y0NYuUo8ey3jb3h-KKergdPUDKlQ-C2iI,485
@@ -277,7 +278,7 @@ bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHC
277
278
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
278
279
  bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
279
280
  bpy/props/__init__.pyi,sha256=Ky1J5ndL8p_pvAaQakudyKKVynbr1NxXvzoN-5E9_I0,35237
280
- bpy/types/__init__.pyi,sha256=m8KfZuundt6QiLZ86p_kiXN53ag1UYNXO7Tu9IEYLAU,5469976
281
+ bpy/types/__init__.pyi,sha256=r0btO2YPQW6FCTixTDq2o_7Xfti0uvPWm0iOVIaGwRk,5470325
281
282
  bpy/utils/__init__.pyi,sha256=y7dfOaWh9PE_q0Qs8gEKOm71RQuMZI0wQ1B07DCDHF4,14909
282
283
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
283
284
  bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
@@ -326,7 +327,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
326
327
  gpu/types/__init__.pyi,sha256=Q8Gym2MsHoDFLW7snVIfPMUGCQns-XA2URYfeOV3nnk,27923
327
328
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
328
329
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
- gpu_extras/batch/__init__.pyi,sha256=nbeZNWRKChMLBkKYc4mLF9abAffVyzEHp01yf64gZK8,1279
330
+ gpu_extras/batch/__init__.pyi,sha256=t-kFLEyZ0OABqt8VbtSwvo60S7vw15Tq5HRea-G3odE,1278
330
331
  gpu_extras/presets/__init__.pyi,sha256=pDhGELr5vKTZ9yDsLJ4Y836Kmh7cs95rDhSwd1i5e-s,1647
331
332
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
332
333
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -359,7 +360,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
359
360
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
360
361
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
361
362
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
- fake_bpy_module-20250213.dist-info/METADATA,sha256=3TrHC-BF9kaFupnaonPazNIYBczoa7ysaLFU73tI61A,7429
363
- fake_bpy_module-20250213.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
- fake_bpy_module-20250213.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
- fake_bpy_module-20250213.dist-info/RECORD,,
363
+ fake_bpy_module-20250215.dist-info/METADATA,sha256=QTUe3DLuJx3KMYHz6mefxL1LNhMGIk4G3zMdvq8Tkpc,7429
364
+ fake_bpy_module-20250215.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
365
+ fake_bpy_module-20250215.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
366
+ fake_bpy_module-20250215.dist-info/RECORD,,
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import bgl
4
5
  import gpu.types
5
6
 
6
7
  def batch_for_shader(
@@ -8,7 +9,7 @@ def batch_for_shader(
8
9
  type: str,
9
10
  content: dict[
10
11
  str,
11
- gpu.types.Buffer
12
+ bgl.Buffer
12
13
  | collections.abc.Sequence[float]
13
14
  | collections.abc.Sequence[int]
14
15
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -25,7 +26,7 @@ def batch_for_shader(
25
26
  :type type: str
26
27
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
27
28
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
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]]]
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]]]
29
30
  :return: compatible batch
30
31
  :rtype: gpu.types.GPUBatch
31
32
  """