fake-bpy-module 20240911__py3-none-any.whl → 20240912__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_ui/properties_paint_common/__init__.pyi +3 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +17 -0
- bl_ui/space_view3d/__init__.pyi +77 -0
- bpy/ops/grease_pencil/__init__.pyi +56 -1
- bpy/types/__init__.pyi +108 -102
- {fake_bpy_module-20240911.dist-info → fake_bpy_module-20240912.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240911.dist-info → fake_bpy_module-20240912.dist-info}/RECORD +9 -9
- {fake_bpy_module-20240911.dist-info → fake_bpy_module-20240912.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240911.dist-info → fake_bpy_module-20240912.dist-info}/top_level.txt +0 -0
|
@@ -315,6 +315,9 @@ def brush_basic_gpencil_weight_settings(layout, _context, brush, *, compact=Fals
|
|
|
315
315
|
def brush_basic_grease_pencil_paint_settings(
|
|
316
316
|
layout, context, brush, *, compact=False
|
|
317
317
|
): ...
|
|
318
|
+
def brush_basic_grease_pencil_vertex_settings(
|
|
319
|
+
layout, context, brush, *, compact=False
|
|
320
|
+
): ...
|
|
318
321
|
def brush_basic_grease_pencil_weight_settings(
|
|
319
322
|
layout, context, brush, *, compact=False
|
|
320
323
|
): ...
|
|
@@ -320,6 +320,23 @@ class _defs_grease_pencil_sculpt:
|
|
|
320
320
|
"""
|
|
321
321
|
...
|
|
322
322
|
|
|
323
|
+
class _defs_grease_pencil_vertex:
|
|
324
|
+
@staticmethod
|
|
325
|
+
def generate_from_brushes(context):
|
|
326
|
+
"""
|
|
327
|
+
|
|
328
|
+
:param context:
|
|
329
|
+
"""
|
|
330
|
+
...
|
|
331
|
+
|
|
332
|
+
@staticmethod
|
|
333
|
+
def poll_select_mask(context):
|
|
334
|
+
"""
|
|
335
|
+
|
|
336
|
+
:param context:
|
|
337
|
+
"""
|
|
338
|
+
...
|
|
339
|
+
|
|
323
340
|
class _defs_grease_pencil_weight:
|
|
324
341
|
@staticmethod
|
|
325
342
|
def generate_from_brushes(context):
|
bl_ui/space_view3d/__init__.pyi
CHANGED
|
@@ -211,6 +211,45 @@ class TOPBAR_PT_gpencil_vertexcolor(
|
|
|
211
211
|
"""
|
|
212
212
|
...
|
|
213
213
|
|
|
214
|
+
class TOPBAR_PT_grease_pencil_vertex_color(bpy.types.Panel):
|
|
215
|
+
bl_label: typing.Any
|
|
216
|
+
bl_region_type: typing.Any
|
|
217
|
+
bl_rna: typing.Any
|
|
218
|
+
bl_space_type: typing.Any
|
|
219
|
+
bl_ui_units_x: typing.Any
|
|
220
|
+
id_data: typing.Any
|
|
221
|
+
|
|
222
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
223
|
+
"""
|
|
224
|
+
|
|
225
|
+
:return: The RNA type or default when not found.
|
|
226
|
+
:rtype: bpy.types.Struct
|
|
227
|
+
"""
|
|
228
|
+
...
|
|
229
|
+
|
|
230
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
231
|
+
"""
|
|
232
|
+
|
|
233
|
+
:return: The class or default when not found.
|
|
234
|
+
:rtype: typing.Any
|
|
235
|
+
"""
|
|
236
|
+
...
|
|
237
|
+
|
|
238
|
+
def draw(self, context):
|
|
239
|
+
"""
|
|
240
|
+
|
|
241
|
+
:param context:
|
|
242
|
+
"""
|
|
243
|
+
...
|
|
244
|
+
|
|
245
|
+
@classmethod
|
|
246
|
+
def poll(cls, context):
|
|
247
|
+
"""
|
|
248
|
+
|
|
249
|
+
:param context:
|
|
250
|
+
"""
|
|
251
|
+
...
|
|
252
|
+
|
|
214
253
|
class VIEW3D_AST_brush_gpencil_paint(View3DAssetShelf, bpy.types.AssetShelf):
|
|
215
254
|
bl_activate_operator: typing.Any
|
|
216
255
|
bl_default_preview_size: typing.Any
|
|
@@ -3975,6 +4014,34 @@ class VIEW3D_MT_paint_vertex(bpy.types.Menu):
|
|
|
3975
4014
|
"""
|
|
3976
4015
|
...
|
|
3977
4016
|
|
|
4017
|
+
class VIEW3D_MT_paint_vertex_grease_pencil(bpy.types.Menu):
|
|
4018
|
+
bl_label: typing.Any
|
|
4019
|
+
bl_rna: typing.Any
|
|
4020
|
+
id_data: typing.Any
|
|
4021
|
+
|
|
4022
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
4023
|
+
"""
|
|
4024
|
+
|
|
4025
|
+
:return: The RNA type or default when not found.
|
|
4026
|
+
:rtype: bpy.types.Struct
|
|
4027
|
+
"""
|
|
4028
|
+
...
|
|
4029
|
+
|
|
4030
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
4031
|
+
"""
|
|
4032
|
+
|
|
4033
|
+
:return: The class or default when not found.
|
|
4034
|
+
:rtype: typing.Any
|
|
4035
|
+
"""
|
|
4036
|
+
...
|
|
4037
|
+
|
|
4038
|
+
def draw(self, _context):
|
|
4039
|
+
"""
|
|
4040
|
+
|
|
4041
|
+
:param _context:
|
|
4042
|
+
"""
|
|
4043
|
+
...
|
|
4044
|
+
|
|
3978
4045
|
class VIEW3D_MT_paint_weight(bpy.types.Menu):
|
|
3979
4046
|
bl_label: typing.Any
|
|
3980
4047
|
bl_rna: typing.Any
|
|
@@ -8395,6 +8462,16 @@ class _draw_tool_settings_context_mode:
|
|
|
8395
8462
|
"""
|
|
8396
8463
|
...
|
|
8397
8464
|
|
|
8465
|
+
@staticmethod
|
|
8466
|
+
def VERTEX_GREASE_PENCIL(context, layout, tool):
|
|
8467
|
+
"""
|
|
8468
|
+
|
|
8469
|
+
:param context:
|
|
8470
|
+
:param layout:
|
|
8471
|
+
:param tool:
|
|
8472
|
+
"""
|
|
8473
|
+
...
|
|
8474
|
+
|
|
8398
8475
|
@staticmethod
|
|
8399
8476
|
def WEIGHT_GPENCIL(context, layout, tool):
|
|
8400
8477
|
"""
|
|
@@ -1000,7 +1000,7 @@ def sculpt_paint(
|
|
|
1000
1000
|
| None = None,
|
|
1001
1001
|
mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
|
|
1002
1002
|
):
|
|
1003
|
-
"""
|
|
1003
|
+
"""Sculpt strokes in the active Grease Pencil object
|
|
1004
1004
|
|
|
1005
1005
|
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1006
1006
|
:type execution_context: int | str | None
|
|
@@ -1624,6 +1624,61 @@ def trace_image(
|
|
|
1624
1624
|
|
|
1625
1625
|
...
|
|
1626
1626
|
|
|
1627
|
+
def vertex_brush_stroke(
|
|
1628
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1629
|
+
execution_context: int | str | None = None,
|
|
1630
|
+
undo: bool | None = None,
|
|
1631
|
+
*,
|
|
1632
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1633
|
+
| None = None,
|
|
1634
|
+
mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
|
|
1635
|
+
):
|
|
1636
|
+
"""Draw on vertex colors in the active Grease Pencil object
|
|
1637
|
+
|
|
1638
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1639
|
+
:type execution_context: int | str | None
|
|
1640
|
+
:type undo: bool | None
|
|
1641
|
+
:param stroke: Stroke
|
|
1642
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
1643
|
+
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
1644
|
+
|
|
1645
|
+
NORMAL
|
|
1646
|
+
Regular -- Apply brush normally.
|
|
1647
|
+
|
|
1648
|
+
INVERT
|
|
1649
|
+
Invert -- Invert action of brush for duration of stroke.
|
|
1650
|
+
|
|
1651
|
+
SMOOTH
|
|
1652
|
+
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1653
|
+
|
|
1654
|
+
ERASE
|
|
1655
|
+
Erase -- Switch brush to erase mode for duration of stroke.
|
|
1656
|
+
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
1657
|
+
"""
|
|
1658
|
+
|
|
1659
|
+
...
|
|
1660
|
+
|
|
1661
|
+
def vertex_group_smooth(
|
|
1662
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1663
|
+
execution_context: int | str | None = None,
|
|
1664
|
+
undo: bool | None = None,
|
|
1665
|
+
*,
|
|
1666
|
+
factor: float | None = 0.5,
|
|
1667
|
+
repeat: int | None = 1,
|
|
1668
|
+
):
|
|
1669
|
+
"""Smooth the weights of the active vertex group
|
|
1670
|
+
|
|
1671
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1672
|
+
:type execution_context: int | str | None
|
|
1673
|
+
:type undo: bool | None
|
|
1674
|
+
:param factor: Factor
|
|
1675
|
+
:type factor: float | None
|
|
1676
|
+
:param repeat: Iterations
|
|
1677
|
+
:type repeat: int | None
|
|
1678
|
+
"""
|
|
1679
|
+
|
|
1680
|
+
...
|
|
1681
|
+
|
|
1627
1682
|
def weight_brush_stroke(
|
|
1628
1683
|
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1629
1684
|
execution_context: int | str | None = None,
|