fake-bpy-module 20240518__py3-none-any.whl → 20240520__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_internal/__init__.pyi +3 -1
- _bpy_internal/freedesktop/__init__.pyi +3 -1
- addon_utils/__init__.pyi +3 -1
- animsys_refactor/__init__.pyi +3 -1
- aud/__init__.pyi +3 -1
- bgl/__init__.pyi +121 -146
- bl_app_override/__init__.pyi +3 -1
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +3 -1
- bl_console_utils/__init__.pyi +3 -1
- bl_console_utils/autocomplete/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
- bl_i18n_utils/__init__.pyi +3 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
- bl_i18n_utils/merge_po/__init__.pyi +3 -1
- bl_i18n_utils/settings/__init__.pyi +3 -1
- bl_i18n_utils/utils/__init__.pyi +3 -1
- bl_i18n_utils/utils_cli/__init__.pyi +3 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
- bl_keymap_utils/__init__.pyi +3 -1
- bl_keymap_utils/io/__init__.pyi +3 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
- bl_keymap_utils/versioning/__init__.pyi +3 -1
- bl_math/__init__.pyi +3 -1
- bl_operators/__init__.pyi +3 -1
- bl_operators/add_mesh_torus/__init__.pyi +3 -1
- bl_operators/anim/__init__.pyi +3 -1
- bl_operators/assets/__init__.pyi +3 -1
- bl_operators/bmesh/__init__.pyi +3 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
- bl_operators/clip/__init__.pyi +3 -1
- bl_operators/console/__init__.pyi +3 -1
- bl_operators/constraint/__init__.pyi +3 -1
- bl_operators/file/__init__.pyi +3 -1
- bl_operators/freestyle/__init__.pyi +3 -1
- bl_operators/geometry_nodes/__init__.pyi +3 -1
- bl_operators/image/__init__.pyi +3 -1
- bl_operators/mesh/__init__.pyi +3 -1
- bl_operators/node/__init__.pyi +3 -1
- bl_operators/object/__init__.pyi +3 -1
- bl_operators/object_align/__init__.pyi +3 -1
- bl_operators/object_quick_effects/__init__.pyi +3 -1
- bl_operators/object_randomize_transform/__init__.pyi +3 -1
- bl_operators/presets/__init__.pyi +3 -1
- bl_operators/rigidbody/__init__.pyi +3 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
- bl_operators/sequencer/__init__.pyi +3 -1
- bl_operators/spreadsheet/__init__.pyi +3 -1
- bl_operators/userpref/__init__.pyi +3 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
- bl_operators/uvcalc_transform/__init__.pyi +3 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
- bl_operators/view3d/__init__.pyi +3 -1
- bl_operators/wm/__init__.pyi +3 -1
- bl_operators/world/__init__.pyi +3 -1
- bl_previews_utils/__init__.pyi +3 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
- bl_rna_utils/__init__.pyi +3 -1
- bl_rna_utils/data_path/__init__.pyi +3 -1
- bl_text_utils/__init__.pyi +3 -1
- bl_text_utils/external_editor/__init__.pyi +3 -1
- bl_ui/__init__.pyi +3 -1
- bl_ui/anim/__init__.pyi +3 -1
- bl_ui/asset_shelf/__init__.pyi +3 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -1
- bl_ui/node_add_menu/__init__.pyi +3 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
- bl_ui/node_add_menu_shader/__init__.pyi +3 -1
- bl_ui/node_add_menu_texture/__init__.pyi +3 -1
- bl_ui/properties_animviz/__init__.pyi +3 -1
- bl_ui/properties_collection/__init__.pyi +3 -1
- bl_ui/properties_constraint/__init__.pyi +3 -1
- bl_ui/properties_data_armature/__init__.pyi +3 -1
- bl_ui/properties_data_bone/__init__.pyi +3 -1
- bl_ui/properties_data_camera/__init__.pyi +3 -1
- bl_ui/properties_data_curve/__init__.pyi +3 -1
- bl_ui/properties_data_curves/__init__.pyi +3 -1
- bl_ui/properties_data_empty/__init__.pyi +3 -1
- bl_ui/properties_data_gpencil/__init__.pyi +3 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
- bl_ui/properties_data_lattice/__init__.pyi +3 -1
- bl_ui/properties_data_light/__init__.pyi +3 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
- bl_ui/properties_data_mesh/__init__.pyi +3 -1
- bl_ui/properties_data_metaball/__init__.pyi +3 -1
- bl_ui/properties_data_modifier/__init__.pyi +3 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
- bl_ui/properties_data_speaker/__init__.pyi +3 -1
- bl_ui/properties_data_volume/__init__.pyi +3 -1
- bl_ui/properties_freestyle/__init__.pyi +3 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
- bl_ui/properties_mask_common/__init__.pyi +3 -1
- bl_ui/properties_material/__init__.pyi +3 -1
- bl_ui/properties_material_gpencil/__init__.pyi +3 -1
- bl_ui/properties_object/__init__.pyi +3 -1
- bl_ui/properties_output/__init__.pyi +3 -1
- bl_ui/properties_paint_common/__init__.pyi +3 -1
- bl_ui/properties_particle/__init__.pyi +3 -1
- bl_ui/properties_physics_cloth/__init__.pyi +3 -1
- bl_ui/properties_physics_common/__init__.pyi +3 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
- bl_ui/properties_physics_field/__init__.pyi +3 -1
- bl_ui/properties_physics_fluid/__init__.pyi +3 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
- bl_ui/properties_physics_softbody/__init__.pyi +3 -1
- bl_ui/properties_render/__init__.pyi +3 -1
- bl_ui/properties_scene/__init__.pyi +3 -1
- bl_ui/properties_texture/__init__.pyi +3 -1
- bl_ui/properties_view_layer/__init__.pyi +3 -1
- bl_ui/properties_workspace/__init__.pyi +3 -1
- bl_ui/properties_world/__init__.pyi +3 -1
- bl_ui/space_clip/__init__.pyi +3 -1
- bl_ui/space_console/__init__.pyi +3 -1
- bl_ui/space_dopesheet/__init__.pyi +3 -1
- bl_ui/space_filebrowser/__init__.pyi +3 -1
- bl_ui/space_graph/__init__.pyi +3 -1
- bl_ui/space_image/__init__.pyi +3 -1
- bl_ui/space_info/__init__.pyi +3 -1
- bl_ui/space_nla/__init__.pyi +3 -1
- bl_ui/space_node/__init__.pyi +3 -1
- bl_ui/space_outliner/__init__.pyi +3 -1
- bl_ui/space_properties/__init__.pyi +3 -1
- bl_ui/space_sequencer/__init__.pyi +3 -1
- bl_ui/space_spreadsheet/__init__.pyi +3 -1
- bl_ui/space_statusbar/__init__.pyi +3 -1
- bl_ui/space_text/__init__.pyi +3 -1
- bl_ui/space_time/__init__.pyi +3 -1
- bl_ui/space_toolsystem_common/__init__.pyi +3 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
- bl_ui/space_topbar/__init__.pyi +3 -1
- bl_ui/space_userpref/__init__.pyi +3 -1
- bl_ui/space_view3d/__init__.pyi +3 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
- bl_ui/temp_anim_layers/__init__.pyi +3 -1
- bl_ui/utils/__init__.pyi +3 -1
- bl_ui_utils/__init__.pyi +3 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -1
- bl_ui_utils/layout/__init__.pyi +3 -1
- blend_render_info/__init__.pyi +3 -1
- blf/__init__.pyi +3 -1
- bmesh/__init__.pyi +3 -1
- bmesh/geometry/__init__.pyi +3 -1
- bmesh/ops/__init__.pyi +39 -37
- bmesh/types/__init__.pyi +31 -28
- bmesh/utils/__init__.pyi +3 -1
- bpy/__init__.pyi +3 -1
- bpy/app/__init__.pyi +3 -1
- bpy/app/handlers/__init__.pyi +3 -1
- bpy/app/icons/__init__.pyi +3 -1
- bpy/app/timers/__init__.pyi +9 -15
- bpy/app/translations/__init__.pyi +3 -1
- bpy/msgbus/__init__.pyi +3 -1
- bpy/ops/__init__.pyi +3 -1
- bpy/ops/action/__init__.pyi +35 -33
- bpy/ops/anim/__init__.pyi +33 -31
- bpy/ops/armature/__init__.pyi +23 -21
- bpy/ops/asset/__init__.pyi +9 -7
- bpy/ops/bl_pkg/__init__.pyi +5 -3
- bpy/ops/boid/__init__.pyi +5 -3
- bpy/ops/brush/__init__.pyi +11 -9
- bpy/ops/buttons/__init__.pyi +11 -9
- bpy/ops/cachefile/__init__.pyi +13 -11
- bpy/ops/camera/__init__.pyi +3 -1
- bpy/ops/clip/__init__.pyi +41 -39
- bpy/ops/cloth/__init__.pyi +3 -1
- bpy/ops/collection/__init__.pyi +9 -7
- bpy/ops/console/__init__.pyi +9 -7
- bpy/ops/constraint/__init__.pyi +31 -29
- bpy/ops/curve/__init__.pyi +37 -35
- bpy/ops/curves/__init__.pyi +19 -17
- bpy/ops/cycles/__init__.pyi +3 -1
- bpy/ops/dpaint/__init__.pyi +7 -5
- bpy/ops/ed/__init__.pyi +7 -5
- bpy/ops/export_anim/__init__.pyi +5 -3
- bpy/ops/export_scene/__init__.pyi +41 -39
- bpy/ops/file/__init__.pyi +21 -19
- bpy/ops/fluid/__init__.pyi +3 -1
- bpy/ops/font/__init__.pyi +23 -21
- bpy/ops/geometry/__init__.pyi +23 -21
- bpy/ops/gizmogroup/__init__.pyi +3 -1
- bpy/ops/gpencil/__init__.pyi +135 -133
- bpy/ops/graph/__init__.pyi +57 -55
- bpy/ops/grease_pencil/__init__.pyi +45 -43
- bpy/ops/image/__init__.pyi +31 -29
- bpy/ops/import_anim/__init__.pyi +11 -9
- bpy/ops/import_curve/__init__.pyi +3 -1
- bpy/ops/import_scene/__init__.pyi +21 -19
- bpy/ops/info/__init__.pyi +7 -5
- bpy/ops/lattice/__init__.pyi +9 -7
- bpy/ops/marker/__init__.pyi +11 -9
- bpy/ops/mask/__init__.pyi +15 -13
- bpy/ops/material/__init__.pyi +3 -1
- bpy/ops/mball/__init__.pyi +9 -7
- bpy/ops/mesh/__init__.pyi +147 -145
- bpy/ops/nla/__init__.pyi +19 -17
- bpy/ops/node/__init__.pyi +35 -33
- bpy/ops/object/__init__.pyi +255 -253
- bpy/ops/outliner/__init__.pyi +43 -41
- bpy/ops/paint/__init__.pyi +75 -73
- bpy/ops/paintcurve/__init__.pyi +3 -1
- bpy/ops/palette/__init__.pyi +7 -5
- bpy/ops/particle/__init__.pyi +17 -15
- bpy/ops/pose/__init__.pyi +45 -43
- bpy/ops/poselib/__init__.pyi +3 -1
- bpy/ops/preferences/__init__.pyi +15 -13
- bpy/ops/ptcache/__init__.pyi +3 -1
- bpy/ops/render/__init__.pyi +5 -3
- bpy/ops/rigidbody/__init__.pyi +19 -17
- bpy/ops/scene/__init__.pyi +27 -25
- bpy/ops/screen/__init__.pyi +23 -21
- bpy/ops/script/__init__.pyi +3 -1
- bpy/ops/sculpt/__init__.pyi +69 -67
- bpy/ops/sculpt_curves/__init__.pyi +5 -3
- bpy/ops/sequencer/__init__.pyi +77 -75
- bpy/ops/sound/__init__.pyi +23 -21
- bpy/ops/spreadsheet/__init__.pyi +3 -1
- bpy/ops/surface/__init__.pyi +15 -13
- bpy/ops/text/__init__.pyi +25 -23
- bpy/ops/text_editor/__init__.pyi +3 -1
- bpy/ops/texture/__init__.pyi +5 -3
- bpy/ops/transform/__init__.pyi +91 -89
- bpy/ops/ui/__init__.pyi +9 -7
- bpy/ops/uilist/__init__.pyi +5 -3
- bpy/ops/uv/__init__.pyi +69 -67
- bpy/ops/view2d/__init__.pyi +3 -1
- bpy/ops/view3d/__init__.pyi +37 -35
- bpy/ops/wm/__init__.pyi +199 -197
- bpy/ops/workspace/__init__.pyi +3 -1
- bpy/ops/world/__init__.pyi +3 -1
- bpy/path/__init__.pyi +3 -1
- bpy/props/__init__.pyi +3 -1
- bpy/types/__init__.pyi +3448 -3370
- bpy/utils/__init__.pyi +3 -1
- bpy/utils/previews/__init__.pyi +3 -1
- bpy/utils/units/__init__.pyi +3 -1
- bpy_extras/__init__.pyi +3 -1
- bpy_extras/anim_utils/__init__.pyi +3 -1
- bpy_extras/asset_utils/__init__.pyi +3 -1
- bpy_extras/bmesh_utils/__init__.pyi +3 -1
- bpy_extras/extensions/__init__.pyi +3 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -1
- bpy_extras/image_utils/__init__.pyi +3 -1
- bpy_extras/io_utils/__init__.pyi +3 -1
- bpy_extras/keyconfig_utils/__init__.pyi +3 -1
- bpy_extras/mesh_utils/__init__.pyi +3 -1
- bpy_extras/node_shader_utils/__init__.pyi +3 -1
- bpy_extras/node_utils/__init__.pyi +3 -1
- bpy_extras/object_utils/__init__.pyi +3 -1
- bpy_extras/view3d_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
- bpy_restrict_state/__init__.pyi +3 -1
- bpy_types/__init__.pyi +3 -1
- console_python/__init__.pyi +3 -1
- console_shell/__init__.pyi +3 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
- fake_bpy_module-20240520.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +3 -1
- freestyle/chainingiterators/__init__.pyi +3 -1
- freestyle/functions/__init__.pyi +3 -1
- freestyle/predicates/__init__.pyi +3 -1
- freestyle/shaders/__init__.pyi +3 -1
- freestyle/types/__init__.pyi +3 -1
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +3 -1
- gpu/__init__.pyi +3 -1
- gpu/capabilities/__init__.pyi +3 -1
- gpu/matrix/__init__.pyi +3 -1
- gpu/platform/__init__.pyi +3 -1
- gpu/select/__init__.pyi +3 -1
- gpu/shader/__init__.pyi +3 -1
- gpu/state/__init__.pyi +3 -1
- gpu/texture/__init__.pyi +3 -1
- gpu/types/__init__.pyi +3 -1
- gpu_extras/__init__.pyi +3 -1
- gpu_extras/batch/__init__.pyi +3 -1
- gpu_extras/presets/__init__.pyi +3 -1
- graphviz_export/__init__.pyi +3 -1
- idprop/__init__.pyi +3 -1
- idprop/types/__init__.pyi +3 -1
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -1
- keyingsets_builtins/__init__.pyi +3 -1
- keyingsets_utils/__init__.pyi +3 -1
- mathutils/__init__.pyi +5 -2
- mathutils/bvhtree/__init__.pyi +3 -1
- mathutils/geometry/__init__.pyi +3 -1
- mathutils/interpolate/__init__.pyi +3 -1
- mathutils/kdtree/__init__.pyi +3 -1
- mathutils/noise/__init__.pyi +3 -1
- nodeitems_builtins/__init__.pyi +3 -1
- nodeitems_utils/__init__.pyi +3 -1
- rna_info/__init__.pyi +3 -1
- rna_keymap_ui/__init__.pyi +3 -1
- rna_prop_ui/__init__.pyi +3 -1
- rna_xml/__init__.pyi +3 -1
- sys_info/__init__.pyi +3 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
bpy/ops/paint/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def add_simple_uvs(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -21,17 +23,17 @@ def add_texture_paint_slot(
|
|
|
21
23
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
22
24
|
execution_context: str | int | None = None,
|
|
23
25
|
undo: bool | None = None,
|
|
24
|
-
type:
|
|
25
|
-
slot_type:
|
|
26
|
+
type: str | None = "BASE_COLOR",
|
|
27
|
+
slot_type: str | None = "IMAGE",
|
|
26
28
|
name: str | typing.Any = "Untitled",
|
|
27
29
|
color: typing.Any | None = (0.0, 0.0, 0.0, 1.0),
|
|
28
30
|
width: typing.Any | None = 1024,
|
|
29
31
|
height: typing.Any | None = 1024,
|
|
30
32
|
alpha: bool | typing.Any | None = True,
|
|
31
|
-
generated_type: str |
|
|
33
|
+
generated_type: str | None = "BLANK",
|
|
32
34
|
float: bool | typing.Any | None = False,
|
|
33
|
-
domain: str |
|
|
34
|
-
data_type: str |
|
|
35
|
+
domain: str | None = "POINT",
|
|
36
|
+
data_type: str | None = "FLOAT_COLOR",
|
|
35
37
|
):
|
|
36
38
|
"""Add a paint slot
|
|
37
39
|
|
|
@@ -39,9 +41,9 @@ def add_texture_paint_slot(
|
|
|
39
41
|
:type execution_context: str | int | None
|
|
40
42
|
:type undo: bool | None
|
|
41
43
|
:param type: Material Layer Type, Material layer type of new paint slot
|
|
42
|
-
:type type:
|
|
44
|
+
:type type: str | None
|
|
43
45
|
:param slot_type: Slot Type, Type of new paint slot
|
|
44
|
-
:type slot_type:
|
|
46
|
+
:type slot_type: str | None
|
|
45
47
|
:param name: Name, Name for new paint slot source
|
|
46
48
|
:type name: str | typing.Any
|
|
47
49
|
:param color: Color, Default fill color
|
|
@@ -53,13 +55,13 @@ def add_texture_paint_slot(
|
|
|
53
55
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
54
56
|
:type alpha: bool | typing.Any | None
|
|
55
57
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
56
|
-
:type generated_type: str |
|
|
58
|
+
:type generated_type: str | None
|
|
57
59
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
58
60
|
:type float: bool | typing.Any | None
|
|
59
61
|
:param domain: Domain, Type of element that attribute is stored on
|
|
60
|
-
:type domain: str |
|
|
62
|
+
:type domain: str | None
|
|
61
63
|
:param data_type: Data Type, Type of data stored in attribute
|
|
62
|
-
:type data_type: str |
|
|
64
|
+
:type data_type: str | None
|
|
63
65
|
"""
|
|
64
66
|
|
|
65
67
|
...
|
|
@@ -82,15 +84,15 @@ def brush_select(
|
|
|
82
84
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
83
85
|
execution_context: str | int | None = None,
|
|
84
86
|
undo: bool | None = None,
|
|
85
|
-
sculpt_tool: str |
|
|
86
|
-
vertex_tool: str |
|
|
87
|
-
weight_tool: str |
|
|
88
|
-
image_tool: str |
|
|
89
|
-
gpencil_tool: str |
|
|
90
|
-
gpencil_vertex_tool: str |
|
|
91
|
-
gpencil_sculpt_tool: str |
|
|
92
|
-
gpencil_weight_tool: str |
|
|
93
|
-
curves_sculpt_tool: str |
|
|
87
|
+
sculpt_tool: str | None = "DRAW",
|
|
88
|
+
vertex_tool: str | None = "DRAW",
|
|
89
|
+
weight_tool: str | None = "DRAW",
|
|
90
|
+
image_tool: str | None = "DRAW",
|
|
91
|
+
gpencil_tool: str | None = "DRAW",
|
|
92
|
+
gpencil_vertex_tool: str | None = "DRAW",
|
|
93
|
+
gpencil_sculpt_tool: str | None = "SMOOTH",
|
|
94
|
+
gpencil_weight_tool: str | None = "WEIGHT",
|
|
95
|
+
curves_sculpt_tool: str | None = "COMB",
|
|
94
96
|
toggle: bool | typing.Any | None = False,
|
|
95
97
|
create_missing: bool | typing.Any | None = False,
|
|
96
98
|
):
|
|
@@ -100,23 +102,23 @@ def brush_select(
|
|
|
100
102
|
:type execution_context: str | int | None
|
|
101
103
|
:type undo: bool | None
|
|
102
104
|
:param sculpt_tool: sculpt_tool
|
|
103
|
-
:type sculpt_tool: str |
|
|
105
|
+
:type sculpt_tool: str | None
|
|
104
106
|
:param vertex_tool: vertex_tool
|
|
105
|
-
:type vertex_tool: str |
|
|
107
|
+
:type vertex_tool: str | None
|
|
106
108
|
:param weight_tool: weight_tool
|
|
107
|
-
:type weight_tool: str |
|
|
109
|
+
:type weight_tool: str | None
|
|
108
110
|
:param image_tool: image_tool
|
|
109
|
-
:type image_tool: str |
|
|
111
|
+
:type image_tool: str | None
|
|
110
112
|
:param gpencil_tool: gpencil_tool
|
|
111
|
-
:type gpencil_tool: str |
|
|
113
|
+
:type gpencil_tool: str | None
|
|
112
114
|
:param gpencil_vertex_tool: gpencil_vertex_tool
|
|
113
|
-
:type gpencil_vertex_tool: str |
|
|
115
|
+
:type gpencil_vertex_tool: str | None
|
|
114
116
|
:param gpencil_sculpt_tool: gpencil_sculpt_tool
|
|
115
|
-
:type gpencil_sculpt_tool: str |
|
|
117
|
+
:type gpencil_sculpt_tool: str | None
|
|
116
118
|
:param gpencil_weight_tool: gpencil_weight_tool
|
|
117
|
-
:type gpencil_weight_tool: str |
|
|
119
|
+
:type gpencil_weight_tool: str | None
|
|
118
120
|
:param curves_sculpt_tool: curves_sculpt_tool
|
|
119
|
-
:type curves_sculpt_tool: str |
|
|
121
|
+
:type curves_sculpt_tool: str | None
|
|
120
122
|
:param toggle: Toggle, Toggle between two brushes rather than cycling
|
|
121
123
|
:type toggle: bool | typing.Any | None
|
|
122
124
|
:param create_missing: Create Missing, If the requested brush type does not exist, create a new brush
|
|
@@ -129,7 +131,7 @@ def face_select_all(
|
|
|
129
131
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
130
132
|
execution_context: str | int | None = None,
|
|
131
133
|
undo: bool | None = None,
|
|
132
|
-
action:
|
|
134
|
+
action: str | None = "TOGGLE",
|
|
133
135
|
):
|
|
134
136
|
"""Change selection for all faces
|
|
135
137
|
|
|
@@ -149,7 +151,7 @@ def face_select_all(
|
|
|
149
151
|
|
|
150
152
|
INVERT
|
|
151
153
|
Invert -- Invert selection of all elements.
|
|
152
|
-
:type action:
|
|
154
|
+
:type action: str | None
|
|
153
155
|
"""
|
|
154
156
|
|
|
155
157
|
...
|
|
@@ -299,8 +301,8 @@ def hide_show(
|
|
|
299
301
|
ymin: typing.Any | None = 0,
|
|
300
302
|
ymax: typing.Any | None = 0,
|
|
301
303
|
wait_for_input: bool | typing.Any | None = True,
|
|
302
|
-
action:
|
|
303
|
-
area:
|
|
304
|
+
action: str | None = "HIDE",
|
|
305
|
+
area: str | None = "Inside",
|
|
304
306
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
305
307
|
):
|
|
306
308
|
"""Hide/show some vertices
|
|
@@ -325,7 +327,7 @@ def hide_show(
|
|
|
325
327
|
|
|
326
328
|
SHOW
|
|
327
329
|
Show -- Show vertices.
|
|
328
|
-
:type action:
|
|
330
|
+
:type action: str | None
|
|
329
331
|
:param area: Visibility Area, Which vertices to hide or show
|
|
330
332
|
|
|
331
333
|
OUTSIDE
|
|
@@ -333,7 +335,7 @@ def hide_show(
|
|
|
333
335
|
|
|
334
336
|
Inside
|
|
335
337
|
Inside -- Hide or show vertices inside the selection.
|
|
336
|
-
:type area:
|
|
338
|
+
:type area: str | None
|
|
337
339
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
338
340
|
:type use_front_faces_only: bool | typing.Any | None
|
|
339
341
|
"""
|
|
@@ -344,7 +346,7 @@ def hide_show_all(
|
|
|
344
346
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
345
347
|
execution_context: str | int | None = None,
|
|
346
348
|
undo: bool | None = None,
|
|
347
|
-
action:
|
|
349
|
+
action: str | None = "HIDE",
|
|
348
350
|
):
|
|
349
351
|
"""Hide/show all vertices
|
|
350
352
|
|
|
@@ -358,7 +360,7 @@ def hide_show_all(
|
|
|
358
360
|
|
|
359
361
|
SHOW
|
|
360
362
|
Show -- Show vertices.
|
|
361
|
-
:type action:
|
|
363
|
+
:type action: str | None
|
|
362
364
|
"""
|
|
363
365
|
|
|
364
366
|
...
|
|
@@ -368,8 +370,8 @@ def hide_show_lasso_gesture(
|
|
|
368
370
|
execution_context: str | int | None = None,
|
|
369
371
|
undo: bool | None = None,
|
|
370
372
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
371
|
-
action:
|
|
372
|
-
area:
|
|
373
|
+
action: str | None = "HIDE",
|
|
374
|
+
area: str | None = "Inside",
|
|
373
375
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
374
376
|
):
|
|
375
377
|
"""Hide/show some vertices
|
|
@@ -386,7 +388,7 @@ def hide_show_lasso_gesture(
|
|
|
386
388
|
|
|
387
389
|
SHOW
|
|
388
390
|
Show -- Show vertices.
|
|
389
|
-
:type action:
|
|
391
|
+
:type action: str | None
|
|
390
392
|
:param area: Visibility Area, Which vertices to hide or show
|
|
391
393
|
|
|
392
394
|
OUTSIDE
|
|
@@ -394,7 +396,7 @@ def hide_show_lasso_gesture(
|
|
|
394
396
|
|
|
395
397
|
Inside
|
|
396
398
|
Inside -- Hide or show vertices inside the selection.
|
|
397
|
-
:type area:
|
|
399
|
+
:type area: str | None
|
|
398
400
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
399
401
|
:type use_front_faces_only: bool | typing.Any | None
|
|
400
402
|
"""
|
|
@@ -411,8 +413,8 @@ def hide_show_line_gesture(
|
|
|
411
413
|
yend: typing.Any | None = 0,
|
|
412
414
|
flip: bool | typing.Any | None = False,
|
|
413
415
|
cursor: typing.Any | None = 5,
|
|
414
|
-
action:
|
|
415
|
-
area:
|
|
416
|
+
action: str | None = "HIDE",
|
|
417
|
+
area: str | None = "Inside",
|
|
416
418
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
417
419
|
use_limit_to_segment: bool | typing.Any | None = False,
|
|
418
420
|
):
|
|
@@ -440,7 +442,7 @@ def hide_show_line_gesture(
|
|
|
440
442
|
|
|
441
443
|
SHOW
|
|
442
444
|
Show -- Show vertices.
|
|
443
|
-
:type action:
|
|
445
|
+
:type action: str | None
|
|
444
446
|
:param area: Visibility Area, Which vertices to hide or show
|
|
445
447
|
|
|
446
448
|
OUTSIDE
|
|
@@ -448,7 +450,7 @@ def hide_show_line_gesture(
|
|
|
448
450
|
|
|
449
451
|
Inside
|
|
450
452
|
Inside -- Hide or show vertices inside the selection.
|
|
451
|
-
:type area:
|
|
453
|
+
:type area: str | None
|
|
452
454
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
453
455
|
:type use_front_faces_only: bool | typing.Any | None
|
|
454
456
|
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
@@ -461,7 +463,7 @@ def hide_show_masked(
|
|
|
461
463
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
462
464
|
execution_context: str | int | None = None,
|
|
463
465
|
undo: bool | None = None,
|
|
464
|
-
action:
|
|
466
|
+
action: str | None = "HIDE",
|
|
465
467
|
):
|
|
466
468
|
"""Hide/show all masked vertices above a threshold
|
|
467
469
|
|
|
@@ -475,7 +477,7 @@ def hide_show_masked(
|
|
|
475
477
|
|
|
476
478
|
SHOW
|
|
477
479
|
Show -- Show vertices.
|
|
478
|
-
:type action:
|
|
480
|
+
:type action: str | None
|
|
479
481
|
"""
|
|
480
482
|
|
|
481
483
|
...
|
|
@@ -485,8 +487,8 @@ def hide_show_polyline_gesture(
|
|
|
485
487
|
execution_context: str | int | None = None,
|
|
486
488
|
undo: bool | None = None,
|
|
487
489
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
488
|
-
action:
|
|
489
|
-
area:
|
|
490
|
+
action: str | None = "HIDE",
|
|
491
|
+
area: str | None = "Inside",
|
|
490
492
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
491
493
|
):
|
|
492
494
|
"""Hide/show some vertices
|
|
@@ -503,7 +505,7 @@ def hide_show_polyline_gesture(
|
|
|
503
505
|
|
|
504
506
|
SHOW
|
|
505
507
|
Show -- Show vertices.
|
|
506
|
-
:type action:
|
|
508
|
+
:type action: str | None
|
|
507
509
|
:param area: Visibility Area, Which vertices to hide or show
|
|
508
510
|
|
|
509
511
|
OUTSIDE
|
|
@@ -511,7 +513,7 @@ def hide_show_polyline_gesture(
|
|
|
511
513
|
|
|
512
514
|
Inside
|
|
513
515
|
Inside -- Hide or show vertices inside the selection.
|
|
514
|
-
:type area:
|
|
516
|
+
:type area: str | None
|
|
515
517
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
516
518
|
:type use_front_faces_only: bool | typing.Any | None
|
|
517
519
|
"""
|
|
@@ -541,7 +543,7 @@ def image_paint(
|
|
|
541
543
|
undo: bool | None = None,
|
|
542
544
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
543
545
|
| None = None,
|
|
544
|
-
mode:
|
|
546
|
+
mode: str | None = "NORMAL",
|
|
545
547
|
):
|
|
546
548
|
"""Paint a stroke into the image
|
|
547
549
|
|
|
@@ -560,7 +562,7 @@ def image_paint(
|
|
|
560
562
|
|
|
561
563
|
SMOOTH
|
|
562
564
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
563
|
-
:type mode:
|
|
565
|
+
:type mode: str | None
|
|
564
566
|
"""
|
|
565
567
|
|
|
566
568
|
...
|
|
@@ -575,7 +577,7 @@ def mask_box_gesture(
|
|
|
575
577
|
ymax: typing.Any | None = 0,
|
|
576
578
|
wait_for_input: bool | typing.Any | None = True,
|
|
577
579
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
578
|
-
mode:
|
|
580
|
+
mode: str | None = "VALUE",
|
|
579
581
|
value: typing.Any | None = 1.0,
|
|
580
582
|
):
|
|
581
583
|
"""Mask within a rectangle defined by the cursor
|
|
@@ -605,7 +607,7 @@ def mask_box_gesture(
|
|
|
605
607
|
|
|
606
608
|
INVERT
|
|
607
609
|
Invert -- Invert the mask.
|
|
608
|
-
:type mode:
|
|
610
|
+
:type mode: str | None
|
|
609
611
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
610
612
|
:type value: typing.Any | None
|
|
611
613
|
"""
|
|
@@ -616,7 +618,7 @@ def mask_flood_fill(
|
|
|
616
618
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
617
619
|
execution_context: str | int | None = None,
|
|
618
620
|
undo: bool | None = None,
|
|
619
|
-
mode:
|
|
621
|
+
mode: str | None = "VALUE",
|
|
620
622
|
value: typing.Any | None = 0.0,
|
|
621
623
|
):
|
|
622
624
|
"""Fill the whole mask with a given value, or invert its values
|
|
@@ -634,7 +636,7 @@ def mask_flood_fill(
|
|
|
634
636
|
|
|
635
637
|
INVERT
|
|
636
638
|
Invert -- Invert the mask.
|
|
637
|
-
:type mode:
|
|
639
|
+
:type mode: str | None
|
|
638
640
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
639
641
|
:type value: typing.Any | None
|
|
640
642
|
"""
|
|
@@ -647,7 +649,7 @@ def mask_lasso_gesture(
|
|
|
647
649
|
undo: bool | None = None,
|
|
648
650
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
649
651
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
650
|
-
mode:
|
|
652
|
+
mode: str | None = "VALUE",
|
|
651
653
|
value: typing.Any | None = 1.0,
|
|
652
654
|
):
|
|
653
655
|
"""Mask within a shape defined by the cursor
|
|
@@ -669,7 +671,7 @@ def mask_lasso_gesture(
|
|
|
669
671
|
|
|
670
672
|
INVERT
|
|
671
673
|
Invert -- Invert the mask.
|
|
672
|
-
:type mode:
|
|
674
|
+
:type mode: str | None
|
|
673
675
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
674
676
|
:type value: typing.Any | None
|
|
675
677
|
"""
|
|
@@ -688,7 +690,7 @@ def mask_line_gesture(
|
|
|
688
690
|
cursor: typing.Any | None = 5,
|
|
689
691
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
690
692
|
use_limit_to_segment: bool | typing.Any | None = False,
|
|
691
|
-
mode:
|
|
693
|
+
mode: str | None = "VALUE",
|
|
692
694
|
value: typing.Any | None = 1.0,
|
|
693
695
|
):
|
|
694
696
|
"""Mask to one side of a line defined by the cursor
|
|
@@ -722,7 +724,7 @@ def mask_line_gesture(
|
|
|
722
724
|
|
|
723
725
|
INVERT
|
|
724
726
|
Invert -- Invert the mask.
|
|
725
|
-
:type mode:
|
|
727
|
+
:type mode: str | None
|
|
726
728
|
:param value: Value, Mask level to use when mode is 'Value'; zero means no masking and one is fully masked
|
|
727
729
|
:type value: typing.Any | None
|
|
728
730
|
"""
|
|
@@ -733,7 +735,7 @@ def project_image(
|
|
|
733
735
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
734
736
|
execution_context: str | int | None = None,
|
|
735
737
|
undo: bool | None = None,
|
|
736
|
-
image: str |
|
|
738
|
+
image: str | None = "",
|
|
737
739
|
):
|
|
738
740
|
"""Project an edited render from the active camera back onto the object
|
|
739
741
|
|
|
@@ -741,7 +743,7 @@ def project_image(
|
|
|
741
743
|
:type execution_context: str | int | None
|
|
742
744
|
:type undo: bool | None
|
|
743
745
|
:param image: Image
|
|
744
|
-
:type image: str |
|
|
746
|
+
:type image: str | None
|
|
745
747
|
"""
|
|
746
748
|
|
|
747
749
|
...
|
|
@@ -787,7 +789,7 @@ def vert_select_all(
|
|
|
787
789
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
788
790
|
execution_context: str | int | None = None,
|
|
789
791
|
undo: bool | None = None,
|
|
790
|
-
action:
|
|
792
|
+
action: str | None = "TOGGLE",
|
|
791
793
|
):
|
|
792
794
|
"""Change selection for all vertices
|
|
793
795
|
|
|
@@ -807,7 +809,7 @@ def vert_select_all(
|
|
|
807
809
|
|
|
808
810
|
INVERT
|
|
809
811
|
Invert -- Invert selection of all elements.
|
|
810
|
-
:type action:
|
|
812
|
+
:type action: str | None
|
|
811
813
|
"""
|
|
812
814
|
|
|
813
815
|
...
|
|
@@ -1071,7 +1073,7 @@ def vertex_paint(
|
|
|
1071
1073
|
undo: bool | None = None,
|
|
1072
1074
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1073
1075
|
| None = None,
|
|
1074
|
-
mode:
|
|
1076
|
+
mode: str | None = "NORMAL",
|
|
1075
1077
|
):
|
|
1076
1078
|
"""Paint a stroke in the active color attribute layer
|
|
1077
1079
|
|
|
@@ -1090,7 +1092,7 @@ def vertex_paint(
|
|
|
1090
1092
|
|
|
1091
1093
|
SMOOTH
|
|
1092
1094
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1093
|
-
:type mode:
|
|
1095
|
+
:type mode: str | None
|
|
1094
1096
|
"""
|
|
1095
1097
|
|
|
1096
1098
|
...
|
|
@@ -1127,7 +1129,7 @@ def weight_from_bones(
|
|
|
1127
1129
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1128
1130
|
execution_context: str | int | None = None,
|
|
1129
1131
|
undo: bool | None = None,
|
|
1130
|
-
type:
|
|
1132
|
+
type: str | None = "AUTOMATIC",
|
|
1131
1133
|
):
|
|
1132
1134
|
"""Set the weights of the groups matching the attached armature's selected bones, using the distance between the vertices and the bones
|
|
1133
1135
|
|
|
@@ -1141,7 +1143,7 @@ def weight_from_bones(
|
|
|
1141
1143
|
|
|
1142
1144
|
ENVELOPES
|
|
1143
1145
|
From Envelopes -- Weights from envelopes with user defined radius.
|
|
1144
|
-
:type type:
|
|
1146
|
+
:type type: str | None
|
|
1145
1147
|
"""
|
|
1146
1148
|
|
|
1147
1149
|
...
|
|
@@ -1150,7 +1152,7 @@ def weight_gradient(
|
|
|
1150
1152
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1151
1153
|
execution_context: str | int | None = None,
|
|
1152
1154
|
undo: bool | None = None,
|
|
1153
|
-
type:
|
|
1155
|
+
type: str | None = "LINEAR",
|
|
1154
1156
|
xstart: typing.Any | None = 0,
|
|
1155
1157
|
xend: typing.Any | None = 0,
|
|
1156
1158
|
ystart: typing.Any | None = 0,
|
|
@@ -1164,7 +1166,7 @@ def weight_gradient(
|
|
|
1164
1166
|
:type execution_context: str | int | None
|
|
1165
1167
|
:type undo: bool | None
|
|
1166
1168
|
:param type: Type
|
|
1167
|
-
:type type:
|
|
1169
|
+
:type type: str | None
|
|
1168
1170
|
:param xstart: X Start
|
|
1169
1171
|
:type xstart: typing.Any | None
|
|
1170
1172
|
:param xend: X End
|
|
@@ -1187,7 +1189,7 @@ def weight_paint(
|
|
|
1187
1189
|
undo: bool | None = None,
|
|
1188
1190
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1189
1191
|
| None = None,
|
|
1190
|
-
mode:
|
|
1192
|
+
mode: str | None = "NORMAL",
|
|
1191
1193
|
):
|
|
1192
1194
|
"""Paint a stroke in the current vertex group's weights
|
|
1193
1195
|
|
|
@@ -1206,7 +1208,7 @@ def weight_paint(
|
|
|
1206
1208
|
|
|
1207
1209
|
SMOOTH
|
|
1208
1210
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1209
|
-
:type mode:
|
|
1211
|
+
:type mode: str | None
|
|
1210
1212
|
"""
|
|
1211
1213
|
|
|
1212
1214
|
...
|
bpy/ops/paintcurve/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def add_point(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
bpy/ops/palette/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def color_add(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -35,7 +37,7 @@ def color_move(
|
|
|
35
37
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
36
38
|
execution_context: str | int | None = None,
|
|
37
39
|
undo: bool | None = None,
|
|
38
|
-
type:
|
|
40
|
+
type: str | None = "UP",
|
|
39
41
|
):
|
|
40
42
|
"""Move the active Color up/down in the list
|
|
41
43
|
|
|
@@ -43,7 +45,7 @@ def color_move(
|
|
|
43
45
|
:type execution_context: str | int | None
|
|
44
46
|
:type undo: bool | None
|
|
45
47
|
:param type: Type
|
|
46
|
-
:type type:
|
|
48
|
+
:type type: str | None
|
|
47
49
|
"""
|
|
48
50
|
|
|
49
51
|
...
|
|
@@ -100,7 +102,7 @@ def sort(
|
|
|
100
102
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
101
103
|
execution_context: str | int | None = None,
|
|
102
104
|
undo: bool | None = None,
|
|
103
|
-
type:
|
|
105
|
+
type: str | None = "HSV",
|
|
104
106
|
):
|
|
105
107
|
"""Sort Palette Colors
|
|
106
108
|
|
|
@@ -108,7 +110,7 @@ def sort(
|
|
|
108
110
|
:type execution_context: str | int | None
|
|
109
111
|
:type undo: bool | None
|
|
110
112
|
:param type: Type
|
|
111
|
-
:type type:
|
|
113
|
+
:type type: str | None
|
|
112
114
|
"""
|
|
113
115
|
|
|
114
116
|
...
|
bpy/ops/particle/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def brush_edit(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -42,7 +44,7 @@ def copy_particle_systems(
|
|
|
42
44
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
43
45
|
execution_context: str | int | None = None,
|
|
44
46
|
undo: bool | None = None,
|
|
45
|
-
space:
|
|
47
|
+
space: str | None = "OBJECT",
|
|
46
48
|
remove_target_particles: bool | typing.Any | None = True,
|
|
47
49
|
use_active: bool | typing.Any | None = False,
|
|
48
50
|
):
|
|
@@ -58,7 +60,7 @@ def copy_particle_systems(
|
|
|
58
60
|
|
|
59
61
|
WORLD
|
|
60
62
|
World -- Copy in world space.
|
|
61
|
-
:type space:
|
|
63
|
+
:type space: str | None
|
|
62
64
|
:param remove_target_particles: Remove Target Particles, Remove particle systems on the target objects
|
|
63
65
|
:type remove_target_particles: bool | typing.Any | None
|
|
64
66
|
:param use_active: Use Active, Use the active particle system from the context
|
|
@@ -71,7 +73,7 @@ def delete(
|
|
|
71
73
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
72
74
|
execution_context: str | int | None = None,
|
|
73
75
|
undo: bool | None = None,
|
|
74
|
-
type:
|
|
76
|
+
type: str | None = "PARTICLE",
|
|
75
77
|
):
|
|
76
78
|
"""Delete selected particles or keys
|
|
77
79
|
|
|
@@ -79,7 +81,7 @@ def delete(
|
|
|
79
81
|
:type execution_context: str | int | None
|
|
80
82
|
:type undo: bool | None
|
|
81
83
|
:param type: Type, Delete a full particle or only keys
|
|
82
|
-
:type type:
|
|
84
|
+
:type type: str | None
|
|
83
85
|
"""
|
|
84
86
|
|
|
85
87
|
...
|
|
@@ -353,7 +355,7 @@ def select_all(
|
|
|
353
355
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
354
356
|
execution_context: str | int | None = None,
|
|
355
357
|
undo: bool | None = None,
|
|
356
|
-
action:
|
|
358
|
+
action: str | None = "TOGGLE",
|
|
357
359
|
):
|
|
358
360
|
"""(De)select all particles' keys
|
|
359
361
|
|
|
@@ -373,7 +375,7 @@ def select_all(
|
|
|
373
375
|
|
|
374
376
|
INVERT
|
|
375
377
|
Invert -- Invert selection of all elements.
|
|
376
|
-
:type action:
|
|
378
|
+
:type action: str | None
|
|
377
379
|
"""
|
|
378
380
|
|
|
379
381
|
...
|
|
@@ -446,8 +448,8 @@ def select_random(
|
|
|
446
448
|
undo: bool | None = None,
|
|
447
449
|
ratio: typing.Any | None = 0.5,
|
|
448
450
|
seed: typing.Any | None = 0,
|
|
449
|
-
action:
|
|
450
|
-
type:
|
|
451
|
+
action: str | None = "SELECT",
|
|
452
|
+
type: str | None = "HAIR",
|
|
451
453
|
):
|
|
452
454
|
"""Select a randomly distributed set of hair or points
|
|
453
455
|
|
|
@@ -465,9 +467,9 @@ def select_random(
|
|
|
465
467
|
|
|
466
468
|
DESELECT
|
|
467
469
|
Deselect -- Deselect all elements.
|
|
468
|
-
:type action:
|
|
470
|
+
:type action: str | None
|
|
469
471
|
:param type: Type, Select either hair or points
|
|
470
|
-
:type type:
|
|
472
|
+
:type type: str | None
|
|
471
473
|
"""
|
|
472
474
|
|
|
473
475
|
...
|
|
@@ -476,7 +478,7 @@ def select_roots(
|
|
|
476
478
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
477
479
|
execution_context: str | int | None = None,
|
|
478
480
|
undo: bool | None = None,
|
|
479
|
-
action:
|
|
481
|
+
action: str | None = "SELECT",
|
|
480
482
|
):
|
|
481
483
|
"""Select roots of all visible particles
|
|
482
484
|
|
|
@@ -496,7 +498,7 @@ def select_roots(
|
|
|
496
498
|
|
|
497
499
|
INVERT
|
|
498
500
|
Invert -- Invert selection of all elements.
|
|
499
|
-
:type action:
|
|
501
|
+
:type action: str | None
|
|
500
502
|
"""
|
|
501
503
|
|
|
502
504
|
...
|
|
@@ -505,7 +507,7 @@ def select_tips(
|
|
|
505
507
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
506
508
|
execution_context: str | int | None = None,
|
|
507
509
|
undo: bool | None = None,
|
|
508
|
-
action:
|
|
510
|
+
action: str | None = "SELECT",
|
|
509
511
|
):
|
|
510
512
|
"""Select tips of all visible particles
|
|
511
513
|
|
|
@@ -525,7 +527,7 @@ def select_tips(
|
|
|
525
527
|
|
|
526
528
|
INVERT
|
|
527
529
|
Invert -- Invert selection of all elements.
|
|
528
|
-
:type action:
|
|
530
|
+
:type action: str | None
|
|
529
531
|
"""
|
|
530
532
|
|
|
531
533
|
...
|