fake-bpy-module 20240517__py3-none-any.whl → 20240519__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 +2 -1
- _bpy_internal/freedesktop/__init__.pyi +20 -86
- addon_utils/__init__.pyi +7 -31
- animsys_refactor/__init__.pyi +7 -26
- aud/__init__.pyi +3 -5
- bgl/__init__.pyi +2 -1630
- bl_app_override/__init__.pyi +5 -15
- bl_app_override/helpers/__init__.pyi +4 -23
- bl_app_template_utils/__init__.pyi +5 -16
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
- bl_i18n_utils/merge_po/__init__.pyi +3 -5
- bl_i18n_utils/settings/__init__.pyi +4 -23
- bl_i18n_utils/utils/__init__.pyi +10 -66
- bl_i18n_utils/utils_cli/__init__.pyi +9 -31
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +10 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
- bl_keymap_utils/versioning/__init__.pyi +3 -5
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +4 -10
- bl_operators/add_mesh_torus/__init__.pyi +4 -19
- bl_operators/anim/__init__.pyi +2 -71
- bl_operators/assets/__init__.pyi +2 -30
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
- bl_operators/clip/__init__.pyi +7 -115
- bl_operators/console/__init__.pyi +2 -38
- bl_operators/constraint/__init__.pyi +2 -37
- bl_operators/file/__init__.pyi +2 -28
- bl_operators/freestyle/__init__.pyi +2 -37
- bl_operators/geometry_nodes/__init__.pyi +15 -103
- bl_operators/image/__init__.pyi +2 -52
- bl_operators/mesh/__init__.pyi +2 -28
- bl_operators/node/__init__.pyi +2 -105
- bl_operators/object/__init__.pyi +2 -138
- bl_operators/object_align/__init__.pyi +5 -24
- bl_operators/object_quick_effects/__init__.pyi +4 -49
- bl_operators/object_randomize_transform/__init__.pyi +5 -14
- bl_operators/presets/__init__.pyi +4 -376
- bl_operators/rigidbody/__init__.pyi +2 -28
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
- bl_operators/sequencer/__init__.pyi +3 -104
- bl_operators/spreadsheet/__init__.pyi +2 -10
- bl_operators/userpref/__init__.pyi +3 -201
- bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
- bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
- bl_operators/uvcalc_transform/__init__.pyi +13 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
- bl_operators/view3d/__init__.pyi +2 -64
- bl_operators/wm/__init__.pyi +16 -451
- bl_operators/world/__init__.pyi +2 -10
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +3 -5
- bl_ui/__init__.pyi +32 -141
- bl_ui/anim/__init__.pyi +3 -12
- bl_ui/asset_shelf/__init__.pyi +3 -16
- bl_ui/generic_ui_list/__init__.pyi +4 -31
- bl_ui/node_add_menu/__init__.pyi +6 -28
- bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
- bl_ui/node_add_menu_shader/__init__.pyi +20 -170
- bl_ui/node_add_menu_texture/__init__.pyi +11 -118
- bl_ui/properties_animviz/__init__.pyi +2 -15
- bl_ui/properties_collection/__init__.pyi +9 -112
- bl_ui/properties_constraint/__init__.pyi +81 -1524
- bl_ui/properties_data_armature/__init__.pyi +14 -214
- bl_ui/properties_data_bone/__init__.pyi +12 -198
- bl_ui/properties_data_camera/__init__.pyi +17 -312
- bl_ui/properties_data_curve/__init__.pyi +17 -319
- bl_ui/properties_data_curves/__init__.pyi +8 -108
- bl_ui/properties_data_empty/__init__.pyi +4 -44
- bl_ui/properties_data_gpencil/__init__.pyi +20 -350
- bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
- bl_ui/properties_data_lattice/__init__.pyi +5 -65
- bl_ui/properties_data_light/__init__.pyi +14 -264
- bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
- bl_ui/properties_data_mesh/__init__.pyi +23 -325
- bl_ui/properties_data_metaball/__init__.pyi +7 -103
- bl_ui/properties_data_modifier/__init__.pyi +10 -178
- bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
- bl_ui/properties_data_speaker/__init__.pyi +7 -111
- bl_ui/properties_data_volume/__init__.pyi +10 -156
- bl_ui/properties_freestyle/__init__.pyi +31 -615
- bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
- bl_ui/properties_mask_common/__init__.pyi +10 -111
- bl_ui/properties_material/__init__.pyi +20 -331
- bl_ui/properties_material_gpencil/__init__.pyi +12 -182
- bl_ui/properties_object/__init__.pyi +16 -276
- bl_ui/properties_output/__init__.pyi +20 -370
- bl_ui/properties_paint_common/__init__.pyi +14 -106
- bl_ui/properties_particle/__init__.pyi +58 -1159
- bl_ui/properties_physics_cloth/__init__.pyi +17 -314
- bl_ui/properties_physics_common/__init__.pyi +9 -58
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
- bl_ui/properties_physics_field/__init__.pyi +13 -218
- bl_ui/properties_physics_fluid/__init__.pyi +30 -626
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
- bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
- bl_ui/properties_physics_softbody/__init__.pyi +18 -353
- bl_ui/properties_render/__init__.pyi +56 -1146
- bl_ui/properties_scene/__init__.pyi +17 -298
- bl_ui/properties_texture/__init__.pyi +30 -577
- bl_ui/properties_view_layer/__init__.pyi +20 -346
- bl_ui/properties_workspace/__init__.pyi +6 -80
- bl_ui/properties_world/__init__.pyi +12 -220
- bl_ui/space_clip/__init__.pyi +73 -1090
- bl_ui/space_console/__init__.pyi +9 -73
- bl_ui/space_dopesheet/__init__.pyi +33 -485
- bl_ui/space_filebrowser/__init__.pyi +36 -431
- bl_ui/space_graph/__init__.pyi +22 -237
- bl_ui/space_image/__init__.pyi +70 -1089
- bl_ui/space_info/__init__.pyi +8 -71
- bl_ui/space_nla/__init__.pyi +19 -210
- bl_ui/space_node/__init__.pyi +32 -436
- bl_ui/space_outliner/__init__.pyi +17 -165
- bl_ui/space_properties/__init__.pyi +5 -42
- bl_ui/space_sequencer/__init__.pyi +79 -1142
- bl_ui/space_spreadsheet/__init__.pyi +3 -12
- bl_ui/space_statusbar/__init__.pyi +3 -12
- bl_ui/space_text/__init__.pyi +18 -193
- bl_ui/space_time/__init__.pyi +10 -111
- bl_ui/space_toolsystem_common/__init__.pyi +42 -200
- bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
- bl_ui/space_topbar/__init__.pyi +29 -335
- bl_ui/space_userpref/__init__.pyi +94 -1576
- bl_ui/space_view3d/__init__.pyi +271 -3438
- bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
- bl_ui/temp_anim_layers/__init__.pyi +4 -22
- bl_ui/utils/__init__.pyi +2 -8
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -5
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +4 -10
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +29 -45
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +191 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +546 -4852
- bpy/utils/__init__.pyi +16 -71
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -2
- bpy_extras/asset_utils/__init__.pyi +2 -11
- bpy_extras/bmesh_utils/__init__.pyi +3 -5
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -7
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +6 -25
- bpy_extras/keyconfig_utils/__init__.pyi +4 -10
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +46 -286
- bpy_extras/node_utils/__init__.pyi +4 -10
- bpy_extras/object_utils/__init__.pyi +2 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
- bpy_restrict_state/__init__.pyi +3 -15
- bpy_types/__init__.pyi +10 -275
- console_python/__init__.pyi +8 -37
- console_shell/__init__.pyi +8 -26
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +12 -41
- freestyle/functions/__init__.pyi +9 -34
- freestyle/predicates/__init__.pyi +46 -218
- freestyle/shaders/__init__.pyi +2 -11
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +5 -16
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +4 -10
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +8 -34
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -3
- keyingsets_builtins/__init__.pyi +4 -157
- keyingsets_utils/__init__.pyi +17 -71
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -3
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +7 -31
- nodeitems_utils/__init__.pyi +10 -46
- rna_info/__init__.pyi +24 -201
- rna_keymap_ui/__init__.pyi +9 -31
- rna_prop_ui/__init__.pyi +11 -50
- rna_xml/__init__.pyi +8 -30
- sys_info/__init__.pyi +3 -5
- fake_bpy_module-20240517.dist-info/RECORD +0 -353
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/image/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def add_render_slot(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -94,7 +95,7 @@ def curves_point_set(
|
|
|
94
95
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
95
96
|
execution_context: str | int | None = None,
|
|
96
97
|
undo: bool | None = None,
|
|
97
|
-
point:
|
|
98
|
+
point: str | int | None = "BLACK_POINT",
|
|
98
99
|
size: typing.Any | None = 1,
|
|
99
100
|
):
|
|
100
101
|
"""Set black point or white point for curves
|
|
@@ -103,7 +104,7 @@ def curves_point_set(
|
|
|
103
104
|
:type execution_context: str | int | None
|
|
104
105
|
:type undo: bool | None
|
|
105
106
|
:param point: Point, Set black point or white point for curves
|
|
106
|
-
:type point:
|
|
107
|
+
:type point: str | int | None
|
|
107
108
|
:param size: Sample Size
|
|
108
109
|
:type size: typing.Any | None
|
|
109
110
|
"""
|
|
@@ -172,8 +173,8 @@ def file_browse(
|
|
|
172
173
|
relative_path: bool | typing.Any | None = True,
|
|
173
174
|
show_multiview: bool | typing.Any | None = False,
|
|
174
175
|
use_multiview: bool | typing.Any | None = False,
|
|
175
|
-
display_type:
|
|
176
|
-
sort_method: str | int |
|
|
176
|
+
display_type: str | int | None = "DEFAULT",
|
|
177
|
+
sort_method: str | int | None = "",
|
|
177
178
|
):
|
|
178
179
|
"""Open an image file browser, hold Shift to open the file, Alt to browse containing directory
|
|
179
180
|
|
|
@@ -241,9 +242,9 @@ def file_browse(
|
|
|
241
242
|
|
|
242
243
|
THUMBNAIL
|
|
243
244
|
Thumbnails -- Display files as thumbnails.
|
|
244
|
-
:type display_type:
|
|
245
|
+
:type display_type: str | int | None
|
|
245
246
|
:param sort_method: File sorting mode
|
|
246
|
-
:type sort_method: str | int |
|
|
247
|
+
:type sort_method: str | int | None
|
|
247
248
|
"""
|
|
248
249
|
|
|
249
250
|
...
|
|
@@ -381,8 +382,8 @@ def open(
|
|
|
381
382
|
relative_path: bool | typing.Any | None = True,
|
|
382
383
|
show_multiview: bool | typing.Any | None = False,
|
|
383
384
|
use_multiview: bool | typing.Any | None = False,
|
|
384
|
-
display_type:
|
|
385
|
-
sort_method: str | int |
|
|
385
|
+
display_type: str | int | None = "DEFAULT",
|
|
386
|
+
sort_method: str | int | None = "",
|
|
386
387
|
use_sequence_detection: bool | typing.Any | None = True,
|
|
387
388
|
use_udim_detecting: bool | typing.Any | None = True,
|
|
388
389
|
):
|
|
@@ -458,9 +459,9 @@ def open(
|
|
|
458
459
|
|
|
459
460
|
THUMBNAIL
|
|
460
461
|
Thumbnails -- Display files as thumbnails.
|
|
461
|
-
:type display_type:
|
|
462
|
+
:type display_type: str | int | None
|
|
462
463
|
:param sort_method: File sorting mode
|
|
463
|
-
:type sort_method: str | int |
|
|
464
|
+
:type sort_method: str | int | None
|
|
464
465
|
:param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected images (based on file names)
|
|
465
466
|
:type use_sequence_detection: bool | typing.Any | None
|
|
466
467
|
:param use_udim_detecting: Detect UDIMs, Detect selected UDIM files and load all matching tiles
|
|
@@ -640,8 +641,8 @@ def replace(
|
|
|
640
641
|
relative_path: bool | typing.Any | None = True,
|
|
641
642
|
show_multiview: bool | typing.Any | None = False,
|
|
642
643
|
use_multiview: bool | typing.Any | None = False,
|
|
643
|
-
display_type:
|
|
644
|
-
sort_method: str | int |
|
|
644
|
+
display_type: str | int | None = "DEFAULT",
|
|
645
|
+
sort_method: str | int | None = "",
|
|
645
646
|
):
|
|
646
647
|
"""Replace current image by another one from disk
|
|
647
648
|
|
|
@@ -709,9 +710,9 @@ def replace(
|
|
|
709
710
|
|
|
710
711
|
THUMBNAIL
|
|
711
712
|
Thumbnails -- Display files as thumbnails.
|
|
712
|
-
:type display_type:
|
|
713
|
+
:type display_type: str | int | None
|
|
713
714
|
:param sort_method: File sorting mode
|
|
714
|
-
:type sort_method: str | int |
|
|
715
|
+
:type sort_method: str | int | None
|
|
715
716
|
"""
|
|
716
717
|
|
|
717
718
|
...
|
|
@@ -737,7 +738,7 @@ def rotate_orthogonal(
|
|
|
737
738
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
738
739
|
execution_context: str | int | None = None,
|
|
739
740
|
undo: bool | None = None,
|
|
740
|
-
degrees:
|
|
741
|
+
degrees: str | int | None = "90",
|
|
741
742
|
):
|
|
742
743
|
"""Rotate the image
|
|
743
744
|
|
|
@@ -754,7 +755,7 @@ def rotate_orthogonal(
|
|
|
754
755
|
|
|
755
756
|
270
|
|
756
757
|
270 Degrees -- Rotate 270 degrees clockwise.
|
|
757
|
-
:type degrees:
|
|
758
|
+
:type degrees: str | int | None
|
|
758
759
|
"""
|
|
759
760
|
|
|
760
761
|
...
|
|
@@ -866,8 +867,8 @@ def save_as(
|
|
|
866
867
|
relative_path: bool | typing.Any | None = True,
|
|
867
868
|
show_multiview: bool | typing.Any | None = False,
|
|
868
869
|
use_multiview: bool | typing.Any | None = False,
|
|
869
|
-
display_type:
|
|
870
|
-
sort_method: str | int |
|
|
870
|
+
display_type: str | int | None = "DEFAULT",
|
|
871
|
+
sort_method: str | int | None = "",
|
|
871
872
|
):
|
|
872
873
|
"""Save the image with another name and/or settings
|
|
873
874
|
|
|
@@ -939,9 +940,9 @@ def save_as(
|
|
|
939
940
|
|
|
940
941
|
THUMBNAIL
|
|
941
942
|
Thumbnails -- Display files as thumbnails.
|
|
942
|
-
:type display_type:
|
|
943
|
+
:type display_type: str | int | None
|
|
943
944
|
:param sort_method: File sorting mode
|
|
944
|
-
:type sort_method: str | int |
|
|
945
|
+
:type sort_method: str | int | None
|
|
945
946
|
"""
|
|
946
947
|
|
|
947
948
|
...
|
bpy/ops/import_anim/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def bvh(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -9,16 +10,16 @@ def bvh(
|
|
|
9
10
|
undo: bool | None = None,
|
|
10
11
|
filepath: str | typing.Any = "",
|
|
11
12
|
filter_glob: str | typing.Any = "*.bvh",
|
|
12
|
-
target:
|
|
13
|
+
target: str | int | None = "ARMATURE",
|
|
13
14
|
global_scale: typing.Any | None = 1.0,
|
|
14
15
|
frame_start: typing.Any | None = 1,
|
|
15
16
|
use_fps_scale: bool | typing.Any | None = False,
|
|
16
17
|
update_scene_fps: bool | typing.Any | None = False,
|
|
17
18
|
update_scene_duration: bool | typing.Any | None = False,
|
|
18
19
|
use_cyclic: bool | typing.Any | None = False,
|
|
19
|
-
rotate_mode:
|
|
20
|
-
axis_forward:
|
|
21
|
-
axis_up:
|
|
20
|
+
rotate_mode: str | int | None = "NATIVE",
|
|
21
|
+
axis_forward: str | int | None = "-Z",
|
|
22
|
+
axis_up: str | int | None = "Y",
|
|
22
23
|
):
|
|
23
24
|
"""Load a BVH motion capture file
|
|
24
25
|
|
|
@@ -30,7 +31,7 @@ def bvh(
|
|
|
30
31
|
:param filter_glob: filter_glob
|
|
31
32
|
:type filter_glob: str | typing.Any
|
|
32
33
|
:param target: Target, Import target type
|
|
33
|
-
:type target:
|
|
34
|
+
:type target: str | int | None
|
|
34
35
|
:param global_scale: Scale, Scale the BVH by this value
|
|
35
36
|
:type global_scale: typing.Any | None
|
|
36
37
|
:param frame_start: Start Frame, Starting frame for the animation
|
|
@@ -68,11 +69,11 @@ def bvh(
|
|
|
68
69
|
|
|
69
70
|
ZYX
|
|
70
71
|
Euler (ZYX) -- Convert rotations to euler ZYX.
|
|
71
|
-
:type rotate_mode:
|
|
72
|
+
:type rotate_mode: str | int | None
|
|
72
73
|
:param axis_forward: Forward
|
|
73
|
-
:type axis_forward:
|
|
74
|
+
:type axis_forward: str | int | None
|
|
74
75
|
:param axis_up: Up
|
|
75
|
-
:type axis_up:
|
|
76
|
+
:type axis_up: str | int | None
|
|
76
77
|
"""
|
|
77
78
|
|
|
78
79
|
...
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def svg(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def fbx(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -12,12 +13,12 @@ def fbx(
|
|
|
12
13
|
filter_glob: str | typing.Any = "*.fbx",
|
|
13
14
|
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
14
15
|
| None = None,
|
|
15
|
-
ui_tab:
|
|
16
|
+
ui_tab: str | int | None = "MAIN",
|
|
16
17
|
use_manual_orientation: bool | typing.Any | None = False,
|
|
17
18
|
global_scale: typing.Any | None = 1.0,
|
|
18
19
|
bake_space_transform: bool | typing.Any | None = False,
|
|
19
20
|
use_custom_normals: bool | typing.Any | None = True,
|
|
20
|
-
colors_type:
|
|
21
|
+
colors_type: str | int | None = "SRGB",
|
|
21
22
|
use_image_search: bool | typing.Any | None = True,
|
|
22
23
|
use_alpha_decals: bool | typing.Any | None = False,
|
|
23
24
|
decal_offset: typing.Any | None = 0.0,
|
|
@@ -29,11 +30,11 @@ def fbx(
|
|
|
29
30
|
ignore_leaf_bones: bool | typing.Any | None = False,
|
|
30
31
|
force_connect_children: bool | typing.Any | None = False,
|
|
31
32
|
automatic_bone_orientation: bool | typing.Any | None = False,
|
|
32
|
-
primary_bone_axis:
|
|
33
|
-
secondary_bone_axis:
|
|
33
|
+
primary_bone_axis: str | int | None = "Y",
|
|
34
|
+
secondary_bone_axis: str | int | None = "X",
|
|
34
35
|
use_prepost_rot: bool | typing.Any | None = True,
|
|
35
|
-
axis_forward:
|
|
36
|
-
axis_up:
|
|
36
|
+
axis_forward: str | int | None = "-Z",
|
|
37
|
+
axis_up: str | int | None = "Y",
|
|
37
38
|
):
|
|
38
39
|
"""Load a FBX file
|
|
39
40
|
|
|
@@ -55,7 +56,7 @@ def fbx(
|
|
|
55
56
|
|
|
56
57
|
ARMATURE
|
|
57
58
|
Armatures -- Armature-related settings.
|
|
58
|
-
:type ui_tab:
|
|
59
|
+
:type ui_tab: str | int | None
|
|
59
60
|
:param use_manual_orientation: Manual Orientation, Specify orientation and scale, instead of using embedded data in FBX file
|
|
60
61
|
:type use_manual_orientation: bool | typing.Any | None
|
|
61
62
|
:param global_scale: Scale
|
|
@@ -74,7 +75,7 @@ def fbx(
|
|
|
74
75
|
|
|
75
76
|
LINEAR
|
|
76
77
|
Linear -- Expect file colors in linear color space.
|
|
77
|
-
:type colors_type:
|
|
78
|
+
:type colors_type: str | int | None
|
|
78
79
|
:param use_image_search: Image Search, Search subdirs for any associated images (WARNING: may be slow)
|
|
79
80
|
:type use_image_search: bool | typing.Any | None
|
|
80
81
|
:param use_alpha_decals: Alpha Decals, Treat materials with alpha as decals (no shadow casting)
|
|
@@ -98,15 +99,15 @@ def fbx(
|
|
|
98
99
|
:param automatic_bone_orientation: Automatic Bone Orientation, Try to align the major bone axis with the bone children
|
|
99
100
|
:type automatic_bone_orientation: bool | typing.Any | None
|
|
100
101
|
:param primary_bone_axis: Primary Bone Axis
|
|
101
|
-
:type primary_bone_axis:
|
|
102
|
+
:type primary_bone_axis: str | int | None
|
|
102
103
|
:param secondary_bone_axis: Secondary Bone Axis
|
|
103
|
-
:type secondary_bone_axis:
|
|
104
|
+
:type secondary_bone_axis: str | int | None
|
|
104
105
|
:param use_prepost_rot: Use Pre/Post Rotation, Use pre/post rotation from FBX transform (you may have to disable that in some cases)
|
|
105
106
|
:type use_prepost_rot: bool | typing.Any | None
|
|
106
107
|
:param axis_forward: Forward
|
|
107
|
-
:type axis_forward:
|
|
108
|
+
:type axis_forward: str | int | None
|
|
108
109
|
:param axis_up: Up
|
|
109
|
-
:type axis_up:
|
|
110
|
+
:type axis_up: str | int | None
|
|
110
111
|
"""
|
|
111
112
|
|
|
112
113
|
...
|
|
@@ -116,15 +117,15 @@ def gltf(
|
|
|
116
117
|
execution_context: str | int | None = None,
|
|
117
118
|
undo: bool | None = None,
|
|
118
119
|
filepath: str | typing.Any = "",
|
|
119
|
-
export_import_convert_lighting_mode:
|
|
120
|
+
export_import_convert_lighting_mode: str | int | None = "SPEC",
|
|
120
121
|
filter_glob: str | typing.Any = "*.glb;*.gltf",
|
|
121
122
|
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
122
123
|
| None = None,
|
|
123
124
|
loglevel: typing.Any | None = 0,
|
|
124
125
|
import_pack_images: bool | typing.Any | None = True,
|
|
125
126
|
merge_vertices: bool | typing.Any | None = False,
|
|
126
|
-
import_shading:
|
|
127
|
-
bone_heuristic:
|
|
127
|
+
import_shading: str | int | None = "NORMALS",
|
|
128
|
+
bone_heuristic: str | int | None = "BLENDER",
|
|
128
129
|
guess_original_bind_pose: bool | typing.Any | None = True,
|
|
129
130
|
import_webp_texture: bool | typing.Any | None = False,
|
|
130
131
|
):
|
|
@@ -145,7 +146,7 @@ def gltf(
|
|
|
145
146
|
|
|
146
147
|
RAW
|
|
147
148
|
Raw (Deprecated) -- Blender lighting strengths with no conversion.
|
|
148
|
-
:type export_import_convert_lighting_mode:
|
|
149
|
+
:type export_import_convert_lighting_mode: str | int | None
|
|
149
150
|
:param filter_glob: filter_glob
|
|
150
151
|
:type filter_glob: str | typing.Any
|
|
151
152
|
:param files: File Path
|
|
@@ -157,7 +158,7 @@ def gltf(
|
|
|
157
158
|
:param merge_vertices: Merge Vertices, The glTF format requires discontinuous normals, UVs, and other vertex attributes to be stored as separate vertices, as required for rendering on typical graphics hardware. This option attempts to combine co-located vertices where possible. Currently cannot combine verts with different normals
|
|
158
159
|
:type merge_vertices: bool | typing.Any | None
|
|
159
160
|
:param import_shading: Shading, How normals are computed during import
|
|
160
|
-
:type import_shading:
|
|
161
|
+
:type import_shading: str | int | None
|
|
161
162
|
:param bone_heuristic: Bone Dir, Heuristic for placing bones. Tries to make bones pretty
|
|
162
163
|
|
|
163
164
|
BLENDER
|
|
@@ -168,7 +169,7 @@ def gltf(
|
|
|
168
169
|
|
|
169
170
|
FORTUNE
|
|
170
171
|
Fortune (may look better, less accurate) -- Might look better than Temperance, but also might have errors. A bone with one child has its tip placed at its child's root. Non-uniform scalings may get messed up though, so beware.
|
|
171
|
-
:type bone_heuristic:
|
|
172
|
+
:type bone_heuristic: str | int | None
|
|
172
173
|
:param guess_original_bind_pose: Guess Original Bind Pose, Try to guess the original bind pose for skinned meshes from the inverse bind matrices. When off, use default/rest pose as bind pose
|
|
173
174
|
:type guess_original_bind_pose: bool | typing.Any | None
|
|
174
175
|
:param import_webp_texture: Import WebP textures, If a texture exists in WebP format, loads the WebP texture instead of the fallback PNG/JPEG one
|
bpy/ops/info/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def report_copy(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -63,7 +64,7 @@ def select_all(
|
|
|
63
64
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
64
65
|
execution_context: str | int | None = None,
|
|
65
66
|
undo: bool | None = None,
|
|
66
|
-
action:
|
|
67
|
+
action: str | int | None = "SELECT",
|
|
67
68
|
):
|
|
68
69
|
"""Change selection of all visible reports
|
|
69
70
|
|
|
@@ -83,7 +84,7 @@ def select_all(
|
|
|
83
84
|
|
|
84
85
|
INVERT
|
|
85
86
|
Invert -- Invert selection of all elements.
|
|
86
|
-
:type action:
|
|
87
|
+
:type action: str | int | None
|
|
87
88
|
"""
|
|
88
89
|
|
|
89
90
|
...
|
|
@@ -97,7 +98,7 @@ def select_box(
|
|
|
97
98
|
ymin: typing.Any | None = 0,
|
|
98
99
|
ymax: typing.Any | None = 0,
|
|
99
100
|
wait_for_input: bool | typing.Any | None = True,
|
|
100
|
-
mode:
|
|
101
|
+
mode: str | int | None = "SET",
|
|
101
102
|
):
|
|
102
103
|
"""Toggle box selection
|
|
103
104
|
|
|
@@ -124,7 +125,7 @@ def select_box(
|
|
|
124
125
|
|
|
125
126
|
SUB
|
|
126
127
|
Subtract -- Subtract existing selection.
|
|
127
|
-
:type mode:
|
|
128
|
+
:type mode: str | int | None
|
|
128
129
|
"""
|
|
129
130
|
|
|
130
131
|
...
|
bpy/ops/lattice/__init__.pyi
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def flip(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
8
9
|
execution_context: str | int | None = None,
|
|
9
10
|
undo: bool | None = None,
|
|
10
|
-
axis:
|
|
11
|
+
axis: str | int | None = "U",
|
|
11
12
|
):
|
|
12
13
|
"""Mirror all control points without inverting the lattice deform
|
|
13
14
|
|
|
@@ -15,7 +16,7 @@ def flip(
|
|
|
15
16
|
:type execution_context: str | int | None
|
|
16
17
|
:type undo: bool | None
|
|
17
18
|
:param axis: Flip Axis, Coordinates along this axis get flipped
|
|
18
|
-
:type axis:
|
|
19
|
+
:type axis: str | int | None
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
22
|
...
|
|
@@ -38,7 +39,7 @@ def select_all(
|
|
|
38
39
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
39
40
|
execution_context: str | int | None = None,
|
|
40
41
|
undo: bool | None = None,
|
|
41
|
-
action:
|
|
42
|
+
action: str | int | None = "TOGGLE",
|
|
42
43
|
):
|
|
43
44
|
"""Change selection of all UVW control points
|
|
44
45
|
|
|
@@ -58,7 +59,7 @@ def select_all(
|
|
|
58
59
|
|
|
59
60
|
INVERT
|
|
60
61
|
Invert -- Invert selection of all elements.
|
|
61
|
-
:type action:
|
|
62
|
+
:type action: str | int | None
|
|
62
63
|
"""
|
|
63
64
|
|
|
64
65
|
...
|
|
@@ -117,7 +118,7 @@ def select_random(
|
|
|
117
118
|
undo: bool | None = None,
|
|
118
119
|
ratio: typing.Any | None = 0.5,
|
|
119
120
|
seed: typing.Any | None = 0,
|
|
120
|
-
action:
|
|
121
|
+
action: str | int | None = "SELECT",
|
|
121
122
|
):
|
|
122
123
|
"""Randomly select UVW control points
|
|
123
124
|
|
|
@@ -135,7 +136,7 @@ def select_random(
|
|
|
135
136
|
|
|
136
137
|
DESELECT
|
|
137
138
|
Deselect -- Deselect all elements.
|
|
138
|
-
:type action:
|
|
139
|
+
:type action: str | int | None
|
|
139
140
|
"""
|
|
140
141
|
|
|
141
142
|
...
|
bpy/ops/marker/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def add(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -69,7 +70,7 @@ def make_links_scene(
|
|
|
69
70
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
70
71
|
execution_context: str | int | None = None,
|
|
71
72
|
undo: bool | None = None,
|
|
72
|
-
scene: str | int |
|
|
73
|
+
scene: str | int | None = "",
|
|
73
74
|
):
|
|
74
75
|
"""Copy selected markers to another scene
|
|
75
76
|
|
|
@@ -77,7 +78,7 @@ def make_links_scene(
|
|
|
77
78
|
:type execution_context: str | int | None
|
|
78
79
|
:type undo: bool | None
|
|
79
80
|
:param scene: Scene
|
|
80
|
-
:type scene: str | int |
|
|
81
|
+
:type scene: str | int | None
|
|
81
82
|
"""
|
|
82
83
|
|
|
83
84
|
...
|
|
@@ -152,7 +153,7 @@ def select_all(
|
|
|
152
153
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
153
154
|
execution_context: str | int | None = None,
|
|
154
155
|
undo: bool | None = None,
|
|
155
|
-
action:
|
|
156
|
+
action: str | int | None = "TOGGLE",
|
|
156
157
|
):
|
|
157
158
|
"""Change selection of all time markers
|
|
158
159
|
|
|
@@ -172,7 +173,7 @@ def select_all(
|
|
|
172
173
|
|
|
173
174
|
INVERT
|
|
174
175
|
Invert -- Invert selection of all elements.
|
|
175
|
-
:type action:
|
|
176
|
+
:type action: str | int | None
|
|
176
177
|
"""
|
|
177
178
|
|
|
178
179
|
...
|
|
@@ -186,7 +187,7 @@ def select_box(
|
|
|
186
187
|
ymin: typing.Any | None = 0,
|
|
187
188
|
ymax: typing.Any | None = 0,
|
|
188
189
|
wait_for_input: bool | typing.Any | None = True,
|
|
189
|
-
mode:
|
|
190
|
+
mode: str | int | None = "SET",
|
|
190
191
|
tweak: bool | typing.Any | None = False,
|
|
191
192
|
):
|
|
192
193
|
"""Select all time markers using box selection
|
|
@@ -214,7 +215,7 @@ def select_box(
|
|
|
214
215
|
|
|
215
216
|
SUB
|
|
216
217
|
Subtract -- Subtract existing selection.
|
|
217
|
-
:type mode:
|
|
218
|
+
:type mode: str | int | None
|
|
218
219
|
:param tweak: Tweak, Operator has been activated using a click-drag event
|
|
219
220
|
:type tweak: bool | typing.Any | None
|
|
220
221
|
"""
|
|
@@ -225,7 +226,7 @@ def select_leftright(
|
|
|
225
226
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
226
227
|
execution_context: str | int | None = None,
|
|
227
228
|
undo: bool | None = None,
|
|
228
|
-
mode:
|
|
229
|
+
mode: str | int | None = "LEFT",
|
|
229
230
|
extend: bool | typing.Any | None = False,
|
|
230
231
|
):
|
|
231
232
|
"""Select markers on and left/right of the current frame
|
|
@@ -234,7 +235,7 @@ def select_leftright(
|
|
|
234
235
|
:type execution_context: str | int | None
|
|
235
236
|
:type undo: bool | None
|
|
236
237
|
:param mode: Mode
|
|
237
|
-
:type mode:
|
|
238
|
+
:type mode: str | int | None
|
|
238
239
|
:param extend: Extend Select
|
|
239
240
|
:type extend: bool | typing.Any | None
|
|
240
241
|
"""
|
bpy/ops/mask/__init__.pyi
CHANGED
|
@@ -2,7 +2,8 @@ import typing
|
|
|
2
2
|
import bpy.ops.transform
|
|
3
3
|
import bpy.types
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
7
|
|
|
7
8
|
def add_feather_vertex(
|
|
8
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -175,7 +176,7 @@ def handle_type_set(
|
|
|
175
176
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
176
177
|
execution_context: str | int | None = None,
|
|
177
178
|
undo: bool | None = None,
|
|
178
|
-
type:
|
|
179
|
+
type: str | int | None = "AUTO",
|
|
179
180
|
):
|
|
180
181
|
"""Set type of handles for selected control points
|
|
181
182
|
|
|
@@ -183,7 +184,7 @@ def handle_type_set(
|
|
|
183
184
|
:type execution_context: str | int | None
|
|
184
185
|
:type undo: bool | None
|
|
185
186
|
:param type: Type, Spline type
|
|
186
|
-
:type type:
|
|
187
|
+
:type type: str | int | None
|
|
187
188
|
"""
|
|
188
189
|
|
|
189
190
|
...
|
|
@@ -226,7 +227,7 @@ def layer_move(
|
|
|
226
227
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
227
228
|
execution_context: str | int | None = None,
|
|
228
229
|
undo: bool | None = None,
|
|
229
|
-
direction:
|
|
230
|
+
direction: str | int | None = "UP",
|
|
230
231
|
):
|
|
231
232
|
"""Move the active layer up/down in the list
|
|
232
233
|
|
|
@@ -234,7 +235,7 @@ def layer_move(
|
|
|
234
235
|
:type execution_context: str | int | None
|
|
235
236
|
:type undo: bool | None
|
|
236
237
|
:param direction: Direction, Direction to move the active layer
|
|
237
|
-
:type direction:
|
|
238
|
+
:type direction: str | int | None
|
|
238
239
|
"""
|
|
239
240
|
|
|
240
241
|
...
|
|
@@ -419,7 +420,7 @@ def select_all(
|
|
|
419
420
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
420
421
|
execution_context: str | int | None = None,
|
|
421
422
|
undo: bool | None = None,
|
|
422
|
-
action:
|
|
423
|
+
action: str | int | None = "TOGGLE",
|
|
423
424
|
):
|
|
424
425
|
"""Change selection of all curve points
|
|
425
426
|
|
|
@@ -439,7 +440,7 @@ def select_all(
|
|
|
439
440
|
|
|
440
441
|
INVERT
|
|
441
442
|
Invert -- Invert selection of all elements.
|
|
442
|
-
:type action:
|
|
443
|
+
:type action: str | int | None
|
|
443
444
|
"""
|
|
444
445
|
|
|
445
446
|
...
|
|
@@ -453,7 +454,7 @@ def select_box(
|
|
|
453
454
|
ymin: typing.Any | None = 0,
|
|
454
455
|
ymax: typing.Any | None = 0,
|
|
455
456
|
wait_for_input: bool | typing.Any | None = True,
|
|
456
|
-
mode:
|
|
457
|
+
mode: str | int | None = "SET",
|
|
457
458
|
):
|
|
458
459
|
"""Select curve points using box selection
|
|
459
460
|
|
|
@@ -480,7 +481,7 @@ def select_box(
|
|
|
480
481
|
|
|
481
482
|
SUB
|
|
482
483
|
Subtract -- Subtract existing selection.
|
|
483
|
-
:type mode:
|
|
484
|
+
:type mode: str | int | None
|
|
484
485
|
"""
|
|
485
486
|
|
|
486
487
|
...
|
|
@@ -493,7 +494,7 @@ def select_circle(
|
|
|
493
494
|
y: typing.Any | None = 0,
|
|
494
495
|
radius: typing.Any | None = 25,
|
|
495
496
|
wait_for_input: bool | typing.Any | None = True,
|
|
496
|
-
mode:
|
|
497
|
+
mode: str | int | None = "SET",
|
|
497
498
|
):
|
|
498
499
|
"""Select curve points using circle selection
|
|
499
500
|
|
|
@@ -518,7 +519,7 @@ def select_circle(
|
|
|
518
519
|
|
|
519
520
|
SUB
|
|
520
521
|
Subtract -- Subtract existing selection.
|
|
521
|
-
:type mode:
|
|
522
|
+
:type mode: str | int | None
|
|
522
523
|
"""
|
|
523
524
|
|
|
524
525
|
...
|
|
@@ -528,7 +529,7 @@ def select_lasso(
|
|
|
528
529
|
execution_context: str | int | None = None,
|
|
529
530
|
undo: bool | None = None,
|
|
530
531
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
531
|
-
mode:
|
|
532
|
+
mode: str | int | None = "SET",
|
|
532
533
|
):
|
|
533
534
|
"""Select curve points using lasso selection
|
|
534
535
|
|
|
@@ -547,7 +548,7 @@ def select_lasso(
|
|
|
547
548
|
|
|
548
549
|
SUB
|
|
549
550
|
Subtract -- Subtract existing selection.
|
|
550
|
-
:type mode:
|
|
551
|
+
:type mode: str | int | None
|
|
551
552
|
"""
|
|
552
553
|
|
|
553
554
|
...
|
bpy/ops/material/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def copy(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|