fake-bpy-module 20240224__py3-none-any.whl → 20240326__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +268 -262
- bmesh/utils/__init__.pyi +55 -55
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/cloth/__init__.pyi
CHANGED
|
@@ -4,25 +4,24 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def preset_add(
|
|
7
|
-
override_context=None,
|
|
8
|
-
execution_context=None,
|
|
9
|
-
undo=None,
|
|
10
|
-
*,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
11
10
|
name: typing.Union[str, typing.Any] = "",
|
|
12
|
-
remove_name: typing.
|
|
13
|
-
remove_active: typing.
|
|
11
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
12
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
14
13
|
):
|
|
15
14
|
"""Add or remove a Cloth Preset
|
|
16
15
|
|
|
17
|
-
:type override_context: typing.
|
|
18
|
-
:type execution_context: typing.
|
|
19
|
-
:type undo:
|
|
16
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
+
:type execution_context: typing.Union[str, int]
|
|
18
|
+
:type undo: bool
|
|
20
19
|
:param name: Name, Name of the preset, used to make the path name
|
|
21
20
|
:type name: typing.Union[str, typing.Any]
|
|
22
21
|
:param remove_name: remove_name
|
|
23
|
-
:type remove_name: typing.
|
|
22
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
24
23
|
:param remove_active: remove_active
|
|
25
|
-
:type remove_active: typing.
|
|
24
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
26
25
|
"""
|
|
27
26
|
|
|
28
27
|
...
|
bpy/ops/collection/__init__.pyi
CHANGED
|
@@ -4,17 +4,16 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def create(
|
|
7
|
-
override_context=None,
|
|
8
|
-
execution_context=None,
|
|
9
|
-
undo=None,
|
|
10
|
-
*,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
11
10
|
name: typing.Union[str, typing.Any] = "Collection",
|
|
12
11
|
):
|
|
13
12
|
"""Create an object collection from selected objects
|
|
14
13
|
|
|
15
|
-
:type override_context: typing.
|
|
16
|
-
:type execution_context: typing.
|
|
17
|
-
:type undo:
|
|
14
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
+
:type execution_context: typing.Union[str, int]
|
|
16
|
+
:type undo: bool
|
|
18
17
|
:param name: Name, Name of the new collection
|
|
19
18
|
:type name: typing.Union[str, typing.Any]
|
|
20
19
|
"""
|
|
@@ -22,65 +21,66 @@ def create(
|
|
|
22
21
|
...
|
|
23
22
|
|
|
24
23
|
def objects_add_active(
|
|
25
|
-
override_context=None,
|
|
26
|
-
execution_context=None,
|
|
27
|
-
undo=None,
|
|
28
|
-
|
|
29
|
-
collection: typing.Optional[typing.Union[int, str, typing.Any]] = "",
|
|
24
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
25
|
+
execution_context: typing.Union[str, int] = None,
|
|
26
|
+
undo: bool = None,
|
|
27
|
+
collection: typing.Union[str, int, typing.Any] = "",
|
|
30
28
|
):
|
|
31
29
|
"""Add the object to an object collection that contains the active object
|
|
32
30
|
|
|
33
|
-
:type override_context: typing.
|
|
34
|
-
:type execution_context: typing.
|
|
35
|
-
:type undo:
|
|
31
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
32
|
+
:type execution_context: typing.Union[str, int]
|
|
33
|
+
:type undo: bool
|
|
36
34
|
:param collection: Collection, The collection to add other selected objects to
|
|
37
|
-
:type collection: typing.
|
|
35
|
+
:type collection: typing.Union[str, int, typing.Any]
|
|
38
36
|
"""
|
|
39
37
|
|
|
40
38
|
...
|
|
41
39
|
|
|
42
40
|
def objects_remove(
|
|
43
|
-
override_context=None,
|
|
44
|
-
execution_context=None,
|
|
45
|
-
undo=None,
|
|
46
|
-
|
|
47
|
-
collection: typing.Optional[typing.Union[int, str, typing.Any]] = "",
|
|
41
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
42
|
+
execution_context: typing.Union[str, int] = None,
|
|
43
|
+
undo: bool = None,
|
|
44
|
+
collection: typing.Union[str, int, typing.Any] = "",
|
|
48
45
|
):
|
|
49
46
|
"""Remove selected objects from a collection
|
|
50
47
|
|
|
51
|
-
:type override_context: typing.
|
|
52
|
-
:type execution_context: typing.
|
|
53
|
-
:type undo:
|
|
48
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
49
|
+
:type execution_context: typing.Union[str, int]
|
|
50
|
+
:type undo: bool
|
|
54
51
|
:param collection: Collection, The collection to remove this object from
|
|
55
|
-
:type collection: typing.
|
|
52
|
+
:type collection: typing.Union[str, int, typing.Any]
|
|
56
53
|
"""
|
|
57
54
|
|
|
58
55
|
...
|
|
59
56
|
|
|
60
57
|
def objects_remove_active(
|
|
61
|
-
override_context=None,
|
|
62
|
-
execution_context=None,
|
|
63
|
-
undo=None,
|
|
64
|
-
|
|
65
|
-
collection: typing.Optional[typing.Union[int, str, typing.Any]] = "",
|
|
58
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
59
|
+
execution_context: typing.Union[str, int] = None,
|
|
60
|
+
undo: bool = None,
|
|
61
|
+
collection: typing.Union[str, int, typing.Any] = "",
|
|
66
62
|
):
|
|
67
63
|
"""Remove the object from an object collection that contains the active object
|
|
68
64
|
|
|
69
|
-
:type override_context: typing.
|
|
70
|
-
:type execution_context: typing.
|
|
71
|
-
:type undo:
|
|
65
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
66
|
+
:type execution_context: typing.Union[str, int]
|
|
67
|
+
:type undo: bool
|
|
72
68
|
:param collection: Collection, The collection to remove other selected objects from
|
|
73
|
-
:type collection: typing.
|
|
69
|
+
:type collection: typing.Union[str, int, typing.Any]
|
|
74
70
|
"""
|
|
75
71
|
|
|
76
72
|
...
|
|
77
73
|
|
|
78
|
-
def objects_remove_all(
|
|
74
|
+
def objects_remove_all(
|
|
75
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
76
|
+
execution_context: typing.Union[str, int] = None,
|
|
77
|
+
undo: bool = None,
|
|
78
|
+
):
|
|
79
79
|
"""Remove selected objects from all collections
|
|
80
80
|
|
|
81
|
-
:type override_context: typing.
|
|
82
|
-
:type execution_context: typing.
|
|
83
|
-
:type undo:
|
|
81
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
82
|
+
:type execution_context: typing.Union[str, int]
|
|
83
|
+
:type undo: bool
|
|
84
84
|
"""
|
|
85
85
|
|
|
86
86
|
...
|
bpy/ops/console/__init__.pyi
CHANGED
|
@@ -3,195 +3,212 @@ import bpy.types
|
|
|
3
3
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
|
-
def autocomplete(
|
|
6
|
+
def autocomplete(
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
):
|
|
7
11
|
"""Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one
|
|
8
12
|
|
|
9
|
-
:type override_context: typing.
|
|
10
|
-
:type execution_context: typing.
|
|
11
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
12
16
|
"""
|
|
13
17
|
|
|
14
18
|
...
|
|
15
19
|
|
|
16
|
-
def banner(
|
|
20
|
+
def banner(
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
24
|
+
):
|
|
17
25
|
"""Print a message when the terminal initializes
|
|
18
26
|
|
|
19
|
-
:type override_context: typing.
|
|
20
|
-
:type execution_context: typing.
|
|
21
|
-
:type undo:
|
|
27
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
+
:type execution_context: typing.Union[str, int]
|
|
29
|
+
:type undo: bool
|
|
22
30
|
"""
|
|
23
31
|
|
|
24
32
|
...
|
|
25
33
|
|
|
26
34
|
def clear(
|
|
27
|
-
override_context=None,
|
|
28
|
-
execution_context=None,
|
|
29
|
-
undo=None,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
history: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
35
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
+
execution_context: typing.Union[str, int] = None,
|
|
37
|
+
undo: bool = None,
|
|
38
|
+
scrollback: typing.Union[bool, typing.Any] = True,
|
|
39
|
+
history: typing.Union[bool, typing.Any] = False,
|
|
33
40
|
):
|
|
34
41
|
"""Clear text by type
|
|
35
42
|
|
|
36
|
-
:type override_context: typing.
|
|
37
|
-
:type execution_context: typing.
|
|
38
|
-
:type undo:
|
|
43
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
44
|
+
:type execution_context: typing.Union[str, int]
|
|
45
|
+
:type undo: bool
|
|
39
46
|
:param scrollback: Scrollback, Clear the scrollback history
|
|
40
|
-
:type scrollback: typing.
|
|
47
|
+
:type scrollback: typing.Union[bool, typing.Any]
|
|
41
48
|
:param history: History, Clear the command history
|
|
42
|
-
:type history: typing.
|
|
49
|
+
:type history: typing.Union[bool, typing.Any]
|
|
43
50
|
"""
|
|
44
51
|
|
|
45
52
|
...
|
|
46
53
|
|
|
47
|
-
def clear_line(
|
|
54
|
+
def clear_line(
|
|
55
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
56
|
+
execution_context: typing.Union[str, int] = None,
|
|
57
|
+
undo: bool = None,
|
|
58
|
+
):
|
|
48
59
|
"""Clear the line and store in history
|
|
49
60
|
|
|
50
|
-
:type override_context: typing.
|
|
51
|
-
:type execution_context: typing.
|
|
52
|
-
:type undo:
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
53
64
|
"""
|
|
54
65
|
|
|
55
66
|
...
|
|
56
67
|
|
|
57
68
|
def copy(
|
|
58
|
-
override_context=None,
|
|
59
|
-
execution_context=None,
|
|
60
|
-
undo=None,
|
|
61
|
-
|
|
62
|
-
delete: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
69
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
70
|
+
execution_context: typing.Union[str, int] = None,
|
|
71
|
+
undo: bool = None,
|
|
72
|
+
delete: typing.Union[bool, typing.Any] = False,
|
|
63
73
|
):
|
|
64
74
|
"""Copy selected text to clipboard
|
|
65
75
|
|
|
66
|
-
:type override_context: typing.
|
|
67
|
-
:type execution_context: typing.
|
|
68
|
-
:type undo:
|
|
76
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
77
|
+
:type execution_context: typing.Union[str, int]
|
|
78
|
+
:type undo: bool
|
|
69
79
|
:param delete: Delete Selection, Whether to delete the selection after copying
|
|
70
|
-
:type delete: typing.
|
|
80
|
+
:type delete: typing.Union[bool, typing.Any]
|
|
71
81
|
"""
|
|
72
82
|
|
|
73
83
|
...
|
|
74
84
|
|
|
75
|
-
def copy_as_script(
|
|
85
|
+
def copy_as_script(
|
|
86
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
87
|
+
execution_context: typing.Union[str, int] = None,
|
|
88
|
+
undo: bool = None,
|
|
89
|
+
):
|
|
76
90
|
"""Copy the console contents for use in a script
|
|
77
91
|
|
|
78
|
-
:type override_context: typing.
|
|
79
|
-
:type execution_context: typing.
|
|
80
|
-
:type undo:
|
|
92
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
93
|
+
:type execution_context: typing.Union[str, int]
|
|
94
|
+
:type undo: bool
|
|
81
95
|
"""
|
|
82
96
|
|
|
83
97
|
...
|
|
84
98
|
|
|
85
99
|
def delete(
|
|
86
|
-
override_context=None,
|
|
87
|
-
execution_context=None,
|
|
88
|
-
undo=None,
|
|
89
|
-
|
|
90
|
-
type: typing.Optional[typing.Any] = "NEXT_CHARACTER",
|
|
100
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
101
|
+
execution_context: typing.Union[str, int] = None,
|
|
102
|
+
undo: bool = None,
|
|
103
|
+
type: typing.Any = "NEXT_CHARACTER",
|
|
91
104
|
):
|
|
92
105
|
"""Delete text by cursor position
|
|
93
106
|
|
|
94
|
-
:type override_context: typing.
|
|
95
|
-
:type execution_context: typing.
|
|
96
|
-
:type undo:
|
|
107
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
108
|
+
:type execution_context: typing.Union[str, int]
|
|
109
|
+
:type undo: bool
|
|
97
110
|
:param type: Type, Which part of the text to delete
|
|
98
|
-
:type type: typing.
|
|
111
|
+
:type type: typing.Any
|
|
99
112
|
"""
|
|
100
113
|
|
|
101
114
|
...
|
|
102
115
|
|
|
103
116
|
def execute(
|
|
104
|
-
override_context=None,
|
|
105
|
-
execution_context=None,
|
|
106
|
-
undo=None,
|
|
107
|
-
|
|
108
|
-
interactive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
117
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
118
|
+
execution_context: typing.Union[str, int] = None,
|
|
119
|
+
undo: bool = None,
|
|
120
|
+
interactive: typing.Union[bool, typing.Any] = False,
|
|
109
121
|
):
|
|
110
122
|
"""Execute the current console line as a Python expression
|
|
111
123
|
|
|
112
|
-
:type override_context: typing.
|
|
113
|
-
:type execution_context: typing.
|
|
114
|
-
:type undo:
|
|
124
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
125
|
+
:type execution_context: typing.Union[str, int]
|
|
126
|
+
:type undo: bool
|
|
115
127
|
:param interactive: interactive
|
|
116
|
-
:type interactive: typing.
|
|
128
|
+
:type interactive: typing.Union[bool, typing.Any]
|
|
117
129
|
"""
|
|
118
130
|
|
|
119
131
|
...
|
|
120
132
|
|
|
121
133
|
def history_append(
|
|
122
|
-
override_context=None,
|
|
123
|
-
execution_context=None,
|
|
124
|
-
undo=None,
|
|
125
|
-
*,
|
|
134
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
135
|
+
execution_context: typing.Union[str, int] = None,
|
|
136
|
+
undo: bool = None,
|
|
126
137
|
text: typing.Union[str, typing.Any] = "",
|
|
127
|
-
current_character: typing.
|
|
128
|
-
remove_duplicates: typing.
|
|
138
|
+
current_character: typing.Any = 0,
|
|
139
|
+
remove_duplicates: typing.Union[bool, typing.Any] = False,
|
|
129
140
|
):
|
|
130
141
|
"""Append history at cursor position
|
|
131
142
|
|
|
132
|
-
:type override_context: typing.
|
|
133
|
-
:type execution_context: typing.
|
|
134
|
-
:type undo:
|
|
143
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
144
|
+
:type execution_context: typing.Union[str, int]
|
|
145
|
+
:type undo: bool
|
|
135
146
|
:param text: Text, Text to insert at the cursor position
|
|
136
147
|
:type text: typing.Union[str, typing.Any]
|
|
137
148
|
:param current_character: Cursor, The index of the cursor
|
|
138
|
-
:type current_character: typing.
|
|
149
|
+
:type current_character: typing.Any
|
|
139
150
|
:param remove_duplicates: Remove Duplicates, Remove duplicate items in the history
|
|
140
|
-
:type remove_duplicates: typing.
|
|
151
|
+
:type remove_duplicates: typing.Union[bool, typing.Any]
|
|
141
152
|
"""
|
|
142
153
|
|
|
143
154
|
...
|
|
144
155
|
|
|
145
156
|
def history_cycle(
|
|
146
|
-
override_context=None,
|
|
147
|
-
execution_context=None,
|
|
148
|
-
undo=None,
|
|
149
|
-
|
|
150
|
-
reverse: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
157
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
158
|
+
execution_context: typing.Union[str, int] = None,
|
|
159
|
+
undo: bool = None,
|
|
160
|
+
reverse: typing.Union[bool, typing.Any] = False,
|
|
151
161
|
):
|
|
152
162
|
"""Cycle through history
|
|
153
163
|
|
|
154
|
-
:type override_context: typing.
|
|
155
|
-
:type execution_context: typing.
|
|
156
|
-
:type undo:
|
|
164
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
165
|
+
:type execution_context: typing.Union[str, int]
|
|
166
|
+
:type undo: bool
|
|
157
167
|
:param reverse: Reverse, Reverse cycle history
|
|
158
|
-
:type reverse: typing.
|
|
168
|
+
:type reverse: typing.Union[bool, typing.Any]
|
|
159
169
|
"""
|
|
160
170
|
|
|
161
171
|
...
|
|
162
172
|
|
|
163
|
-
def indent(
|
|
173
|
+
def indent(
|
|
174
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
+
execution_context: typing.Union[str, int] = None,
|
|
176
|
+
undo: bool = None,
|
|
177
|
+
):
|
|
164
178
|
"""Add 4 spaces at line beginning
|
|
165
179
|
|
|
166
|
-
:type override_context: typing.
|
|
167
|
-
:type execution_context: typing.
|
|
168
|
-
:type undo:
|
|
180
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
+
:type execution_context: typing.Union[str, int]
|
|
182
|
+
:type undo: bool
|
|
169
183
|
"""
|
|
170
184
|
|
|
171
185
|
...
|
|
172
186
|
|
|
173
|
-
def indent_or_autocomplete(
|
|
187
|
+
def indent_or_autocomplete(
|
|
188
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
+
execution_context: typing.Union[str, int] = None,
|
|
190
|
+
undo: bool = None,
|
|
191
|
+
):
|
|
174
192
|
"""Indent selected text or autocomplete
|
|
175
193
|
|
|
176
|
-
:type override_context: typing.
|
|
177
|
-
:type execution_context: typing.
|
|
178
|
-
:type undo:
|
|
194
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
+
:type execution_context: typing.Union[str, int]
|
|
196
|
+
:type undo: bool
|
|
179
197
|
"""
|
|
180
198
|
|
|
181
199
|
...
|
|
182
200
|
|
|
183
201
|
def insert(
|
|
184
|
-
override_context=None,
|
|
185
|
-
execution_context=None,
|
|
186
|
-
undo=None,
|
|
187
|
-
*,
|
|
202
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
203
|
+
execution_context: typing.Union[str, int] = None,
|
|
204
|
+
undo: bool = None,
|
|
188
205
|
text: typing.Union[str, typing.Any] = "",
|
|
189
206
|
):
|
|
190
207
|
"""Insert text at cursor position
|
|
191
208
|
|
|
192
|
-
:type override_context: typing.
|
|
193
|
-
:type execution_context: typing.
|
|
194
|
-
:type undo:
|
|
209
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
210
|
+
:type execution_context: typing.Union[str, int]
|
|
211
|
+
:type undo: bool
|
|
195
212
|
:param text: Text, Text to insert at the cursor position
|
|
196
213
|
:type text: typing.Union[str, typing.Any]
|
|
197
214
|
"""
|
|
@@ -199,17 +216,16 @@ def insert(
|
|
|
199
216
|
...
|
|
200
217
|
|
|
201
218
|
def language(
|
|
202
|
-
override_context=None,
|
|
203
|
-
execution_context=None,
|
|
204
|
-
undo=None,
|
|
205
|
-
*,
|
|
219
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
+
execution_context: typing.Union[str, int] = None,
|
|
221
|
+
undo: bool = None,
|
|
206
222
|
language: typing.Union[str, typing.Any] = "",
|
|
207
223
|
):
|
|
208
224
|
"""Set the current language for this console
|
|
209
225
|
|
|
210
|
-
:type override_context: typing.
|
|
211
|
-
:type execution_context: typing.
|
|
212
|
-
:type undo:
|
|
226
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
227
|
+
:type execution_context: typing.Union[str, int]
|
|
228
|
+
:type undo: bool
|
|
213
229
|
:param language: Language
|
|
214
230
|
:type language: typing.Union[str, typing.Any]
|
|
215
231
|
"""
|
|
@@ -217,101 +233,114 @@ def language(
|
|
|
217
233
|
...
|
|
218
234
|
|
|
219
235
|
def move(
|
|
220
|
-
override_context=None,
|
|
221
|
-
execution_context=None,
|
|
222
|
-
undo=None,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
select: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
236
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
237
|
+
execution_context: typing.Union[str, int] = None,
|
|
238
|
+
undo: bool = None,
|
|
239
|
+
type: typing.Any = "LINE_BEGIN",
|
|
240
|
+
select: typing.Union[bool, typing.Any] = False,
|
|
226
241
|
):
|
|
227
242
|
"""Move cursor position
|
|
228
243
|
|
|
229
|
-
:type override_context: typing.
|
|
230
|
-
:type execution_context: typing.
|
|
231
|
-
:type undo:
|
|
244
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
245
|
+
:type execution_context: typing.Union[str, int]
|
|
246
|
+
:type undo: bool
|
|
232
247
|
:param type: Type, Where to move cursor to
|
|
233
|
-
:type type: typing.
|
|
248
|
+
:type type: typing.Any
|
|
234
249
|
:param select: Select, Whether to select while moving
|
|
235
|
-
:type select: typing.
|
|
250
|
+
:type select: typing.Union[bool, typing.Any]
|
|
236
251
|
"""
|
|
237
252
|
|
|
238
253
|
...
|
|
239
254
|
|
|
240
255
|
def paste(
|
|
241
|
-
override_context=None,
|
|
242
|
-
execution_context=None,
|
|
243
|
-
undo=None,
|
|
244
|
-
|
|
245
|
-
selection: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
256
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
257
|
+
execution_context: typing.Union[str, int] = None,
|
|
258
|
+
undo: bool = None,
|
|
259
|
+
selection: typing.Union[bool, typing.Any] = False,
|
|
246
260
|
):
|
|
247
261
|
"""Paste text from clipboard
|
|
248
262
|
|
|
249
|
-
:type override_context: typing.
|
|
250
|
-
:type execution_context: typing.
|
|
251
|
-
:type undo:
|
|
263
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
264
|
+
:type execution_context: typing.Union[str, int]
|
|
265
|
+
:type undo: bool
|
|
252
266
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
253
|
-
:type selection: typing.
|
|
267
|
+
:type selection: typing.Union[bool, typing.Any]
|
|
254
268
|
"""
|
|
255
269
|
|
|
256
270
|
...
|
|
257
271
|
|
|
258
272
|
def scrollback_append(
|
|
259
|
-
override_context=None,
|
|
260
|
-
execution_context=None,
|
|
261
|
-
undo=None,
|
|
262
|
-
*,
|
|
273
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
274
|
+
execution_context: typing.Union[str, int] = None,
|
|
275
|
+
undo: bool = None,
|
|
263
276
|
text: typing.Union[str, typing.Any] = "",
|
|
264
|
-
type: typing.
|
|
277
|
+
type: typing.Any = "OUTPUT",
|
|
265
278
|
):
|
|
266
279
|
"""Append scrollback text by type
|
|
267
280
|
|
|
268
|
-
:type override_context: typing.
|
|
269
|
-
:type execution_context: typing.
|
|
270
|
-
:type undo:
|
|
281
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
282
|
+
:type execution_context: typing.Union[str, int]
|
|
283
|
+
:type undo: bool
|
|
271
284
|
:param text: Text, Text to insert at the cursor position
|
|
272
285
|
:type text: typing.Union[str, typing.Any]
|
|
273
286
|
:param type: Type, Console output type
|
|
274
|
-
:type type: typing.
|
|
287
|
+
:type type: typing.Any
|
|
275
288
|
"""
|
|
276
289
|
|
|
277
290
|
...
|
|
278
291
|
|
|
279
|
-
def select_all(
|
|
292
|
+
def select_all(
|
|
293
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
294
|
+
execution_context: typing.Union[str, int] = None,
|
|
295
|
+
undo: bool = None,
|
|
296
|
+
):
|
|
280
297
|
"""Select all the text
|
|
281
298
|
|
|
282
|
-
:type override_context: typing.
|
|
283
|
-
:type execution_context: typing.
|
|
284
|
-
:type undo:
|
|
299
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
300
|
+
:type execution_context: typing.Union[str, int]
|
|
301
|
+
:type undo: bool
|
|
285
302
|
"""
|
|
286
303
|
|
|
287
304
|
...
|
|
288
305
|
|
|
289
|
-
def select_set(
|
|
306
|
+
def select_set(
|
|
307
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
308
|
+
execution_context: typing.Union[str, int] = None,
|
|
309
|
+
undo: bool = None,
|
|
310
|
+
):
|
|
290
311
|
"""Set the console selection
|
|
291
312
|
|
|
292
|
-
:type override_context: typing.
|
|
293
|
-
:type execution_context: typing.
|
|
294
|
-
:type undo:
|
|
313
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
314
|
+
:type execution_context: typing.Union[str, int]
|
|
315
|
+
:type undo: bool
|
|
295
316
|
"""
|
|
296
317
|
|
|
297
318
|
...
|
|
298
319
|
|
|
299
|
-
def select_word(
|
|
320
|
+
def select_word(
|
|
321
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
322
|
+
execution_context: typing.Union[str, int] = None,
|
|
323
|
+
undo: bool = None,
|
|
324
|
+
):
|
|
300
325
|
"""Select word at cursor position
|
|
301
326
|
|
|
302
|
-
:type override_context: typing.
|
|
303
|
-
:type execution_context: typing.
|
|
304
|
-
:type undo:
|
|
327
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
328
|
+
:type execution_context: typing.Union[str, int]
|
|
329
|
+
:type undo: bool
|
|
305
330
|
"""
|
|
306
331
|
|
|
307
332
|
...
|
|
308
333
|
|
|
309
|
-
def unindent(
|
|
334
|
+
def unindent(
|
|
335
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
336
|
+
execution_context: typing.Union[str, int] = None,
|
|
337
|
+
undo: bool = None,
|
|
338
|
+
):
|
|
310
339
|
"""Delete 4 spaces from line beginning
|
|
311
340
|
|
|
312
|
-
:type override_context: typing.
|
|
313
|
-
:type execution_context: typing.
|
|
314
|
-
:type undo:
|
|
341
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
342
|
+
:type execution_context: typing.Union[str, int]
|
|
343
|
+
:type undo: bool
|
|
315
344
|
"""
|
|
316
345
|
|
|
317
346
|
...
|