fake-bpy-module 20240210__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 -11
- animsys_refactor/__init__.pyi +36 -7
- aud/__init__.pyi +307 -321
- bgl/__init__.pyi +2926 -865
- bl_app_override/__init__.pyi +14 -4
- bl_app_override/helpers/__init__.pyi +24 -3
- bl_app_template_utils/__init__.pyi +19 -5
- bl_console_utils/__init__.pyi +0 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -3
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
- bl_i18n_utils/__init__.pyi +2 -3
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
- bl_i18n_utils/merge_po/__init__.pyi +4 -2
- bl_i18n_utils/settings/__init__.pyi +53 -7
- bl_i18n_utils/utils/__init__.pyi +332 -45
- bl_i18n_utils/utils_cli/__init__.pyi +29 -7
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
- bl_keymap_utils/__init__.pyi +2 -3
- bl_keymap_utils/io/__init__.pyi +44 -10
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
- bl_keymap_utils/versioning/__init__.pyi +4 -2
- bl_math/__init__.pyi +21 -22
- bl_operators/__init__.pyi +30 -24
- bl_operators/add_mesh_torus/__init__.pyi +171 -38
- bl_operators/anim/__init__.pyi +1065 -227
- bl_operators/assets/__init__.pyi +427 -93
- bl_operators/bmesh/__init__.pyi +0 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
- bl_operators/clip/__init__.pyi +1342 -288
- bl_operators/console/__init__.pyi +647 -141
- bl_operators/constraint/__init__.pyi +524 -113
- bl_operators/file/__init__.pyi +396 -85
- bl_operators/freestyle/__init__.pyi +532 -114
- bl_operators/geometry_nodes/__init__.pyi +2412 -597
- bl_operators/image/__init__.pyi +380 -83
- bl_operators/mesh/__init__.pyi +401 -86
- bl_operators/node/__init__.pyi +1756 -385
- bl_operators/object/__init__.pyi +2022 -553
- bl_operators/object_align/__init__.pyi +145 -32
- bl_operators/object_quick_effects/__init__.pyi +555 -125
- bl_operators/object_randomize_transform/__init__.pyi +136 -33
- bl_operators/presets/__init__.pyi +3516 -709
- bl_operators/rigidbody/__init__.pyi +401 -86
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
- bl_operators/sequencer/__init__.pyi +731 -150
- bl_operators/spreadsheet/__init__.pyi +145 -31
- bl_operators/userpref/__init__.pyi +3416 -825
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
- bl_operators/uvcalc_transform/__init__.pyi +344 -74
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
- bl_operators/view3d/__init__.pyi +697 -147
- bl_operators/wm/__init__.pyi +6287 -1534
- bl_previews_utils/__init__.pyi +0 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
- bl_rna_utils/__init__.pyi +0 -1
- bl_rna_utils/data_path/__init__.pyi +12 -3
- bl_text_utils/__init__.pyi +0 -1
- bl_text_utils/external_editor/__init__.pyi +4 -2
- bl_ui/__init__.pyi +567 -170
- bl_ui/anim/__init__.pyi +164 -34
- bl_ui/asset_shelf/__init__.pyi +146 -32
- bl_ui/generic_ui_list/__init__.pyi +471 -100
- bl_ui/node_add_menu/__init__.pyi +196 -41
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
- bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
- bl_ui/properties_animviz/__init__.pyi +32 -3
- bl_ui/properties_collection/__init__.pyi +787 -180
- bl_ui/properties_constraint/__init__.pyi +28635 -5524
- bl_ui/properties_data_armature/__init__.pyi +1905 -449
- bl_ui/properties_data_bone/__init__.pyi +1560 -337
- bl_ui/properties_data_camera/__init__.pyi +2269 -495
- bl_ui/properties_data_curve/__init__.pyi +2362 -535
- bl_ui/properties_data_curves/__init__.pyi +951 -204
- bl_ui/properties_data_empty/__init__.pyi +317 -70
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
- bl_ui/properties_data_lattice/__init__.pyi +472 -105
- bl_ui/properties_data_light/__init__.pyi +1570 -338
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
- bl_ui/properties_data_mesh/__init__.pyi +3205 -768
- bl_ui/properties_data_metaball/__init__.pyi +774 -171
- bl_ui/properties_data_modifier/__init__.pyi +1554 -329
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
- bl_ui/properties_data_speaker/__init__.pyi +782 -169
- bl_ui/properties_data_volume/__init__.pyi +1243 -282
- bl_ui/properties_freestyle/__init__.pyi +4071 -1031
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
- bl_ui/properties_mask_common/__init__.pyi +1256 -250
- bl_ui/properties_material/__init__.pyi +2351 -543
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
- bl_ui/properties_object/__init__.pyi +2179 -513
- bl_ui/properties_output/__init__.pyi +2956 -706
- bl_ui/properties_paint_common/__init__.pyi +947 -141
- bl_ui/properties_particle/__init__.pyi +8322 -1971
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
- bl_ui/properties_physics_common/__init__.pyi +200 -45
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
- bl_ui/properties_physics_field/__init__.pyi +1695 -365
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
- bl_ui/properties_render/__init__.pyi +8312 -1934
- bl_ui/properties_scene/__init__.pyi +2211 -540
- bl_ui/properties_texture/__init__.pyi +4185 -1014
- bl_ui/properties_view_layer/__init__.pyi +2803 -665
- bl_ui/properties_workspace/__init__.pyi +626 -149
- bl_ui/properties_world/__init__.pyi +1092 -235
- bl_ui/space_clip/__init__.pyi +11475 -2806
- bl_ui/space_console/__init__.pyi +967 -203
- bl_ui/space_dopesheet/__init__.pyi +4260 -967
- bl_ui/space_filebrowser/__init__.pyi +4852 -1188
- bl_ui/space_graph/__init__.pyi +3251 -703
- bl_ui/space_image/__init__.pyi +12218 -2968
- bl_ui/space_info/__init__.pyi +964 -201
- bl_ui/space_nla/__init__.pyi +2756 -585
- bl_ui/space_node/__init__.pyi +5661 -1266
- bl_ui/space_outliner/__init__.pyi +2294 -479
- bl_ui/space_properties/__init__.pyi +417 -93
- bl_ui/space_sequencer/__init__.pyi +12436 -3010
- bl_ui/space_spreadsheet/__init__.pyi +184 -37
- bl_ui/space_statusbar/__init__.pyi +135 -31
- bl_ui/space_text/__init__.pyi +2556 -543
- bl_ui/space_time/__init__.pyi +1151 -244
- bl_ui/space_toolsystem_common/__init__.pyi +368 -67
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
- bl_ui/space_topbar/__init__.pyi +4214 -888
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +42751 -9613
- bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
- bl_ui/utils/__init__.pyi +42 -5
- bl_ui_utils/__init__.pyi +0 -1
- bl_ui_utils/bug_report_url/__init__.pyi +4 -2
- bl_ui_utils/layout/__init__.pyi +4 -2
- blend_render_info/__init__.pyi +13 -4
- blf/__init__.pyi +15 -18
- bmesh/__init__.pyi +18 -18
- bmesh/geometry/__init__.pyi +5 -6
- bmesh/ops/__init__.pyi +1337 -1158
- bmesh/types/__init__.pyi +464 -374
- bmesh/utils/__init__.pyi +64 -70
- bpy/__init__.pyi +6 -7
- bpy/app/__init__.pyi +36 -38
- bpy/app/handlers/__init__.pyi +37 -38
- bpy/app/icons/__init__.pyi +8 -11
- bpy/app/timers/__init__.pyi +18 -17
- bpy/app/translations/__init__.pyi +32 -30
- bpy/msgbus/__init__.pyi +25 -20
- bpy/ops/__init__.pyi +63 -64
- bpy/ops/action/__init__.pyi +408 -436
- bpy/ops/anim/__init__.pyi +459 -577
- bpy/ops/armature/__init__.pyi +396 -498
- bpy/ops/asset/__init__.pyi +187 -213
- bpy/ops/boid/__init__.pyi +50 -68
- bpy/ops/brush/__init__.pyi +72 -97
- bpy/ops/buttons/__init__.pyi +202 -193
- bpy/ops/cachefile/__init__.pyi +198 -188
- bpy/ops/camera/__init__.pyi +24 -31
- bpy/ops/clip/__init__.pyi +1021 -1082
- bpy/ops/cloth/__init__.pyi +11 -15
- bpy/ops/collection/__init__.pyi +36 -51
- bpy/ops/console/__init__.pyi +155 -209
- bpy/ops/constraint/__init__.pyi +286 -254
- bpy/ops/curve/__init__.pyi +597 -659
- bpy/ops/curves/__init__.pyi +191 -225
- bpy/ops/cycles/__init__.pyi +21 -30
- bpy/ops/dpaint/__init__.pyi +34 -47
- bpy/ops/ed/__init__.pyi +160 -176
- bpy/ops/export_anim/__init__.pyi +51 -34
- bpy/ops/export_mesh/__init__.pyi +47 -45
- bpy/ops/export_scene/__init__.pyi +659 -504
- bpy/ops/file/__init__.pyi +469 -474
- bpy/ops/fluid/__init__.pyi +89 -119
- bpy/ops/font/__init__.pyi +325 -361
- bpy/ops/geometry/__init__.pyi +86 -114
- bpy/ops/gizmogroup/__init__.pyi +22 -28
- bpy/ops/gpencil/__init__.pyi +1900 -1976
- bpy/ops/graph/__init__.pyi +875 -894
- bpy/ops/grease_pencil/__init__.pyi +572 -508
- bpy/ops/image/__init__.pyi +805 -855
- bpy/ops/import_anim/__init__.pyi +66 -46
- bpy/ops/import_curve/__init__.pyi +7 -11
- bpy/ops/import_mesh/__init__.pyi +19 -25
- bpy/ops/import_scene/__init__.pyi +164 -147
- bpy/ops/info/__init__.pyi +88 -85
- bpy/ops/lattice/__init__.pyi +86 -90
- bpy/ops/marker/__init__.pyi +135 -146
- bpy/ops/mask/__init__.pyi +372 -436
- bpy/ops/material/__init__.pyi +18 -25
- bpy/ops/mball/__init__.pyi +93 -99
- bpy/ops/mesh/__init__.pyi +2525 -2664
- bpy/ops/nla/__init__.pyi +398 -455
- bpy/ops/node/__init__.pyi +1015 -1207
- bpy/ops/object/__init__.pyi +3423 -3390
- bpy/ops/outliner/__init__.pyi +667 -685
- bpy/ops/paint/__init__.pyi +719 -672
- bpy/ops/paintcurve/__init__.pyi +64 -85
- bpy/ops/palette/__init__.pyi +48 -67
- bpy/ops/particle/__init__.pyi +323 -367
- bpy/ops/pose/__init__.pyi +569 -474
- bpy/ops/poselib/__init__.pyi +77 -100
- bpy/ops/preferences/__init__.pyi +460 -512
- bpy/ops/ptcache/__init__.pyi +46 -63
- bpy/ops/render/__init__.pyi +121 -155
- bpy/ops/rigidbody/__init__.pyi +148 -143
- bpy/ops/scene/__init__.pyi +336 -380
- bpy/ops/screen/__init__.pyi +454 -530
- bpy/ops/script/__init__.pyi +19 -28
- bpy/ops/sculpt/__init__.pyi +734 -587
- bpy/ops/sculpt_curves/__init__.pyi +51 -56
- bpy/ops/sequencer/__init__.pyi +1617 -1500
- bpy/ops/sound/__init__.pyi +392 -315
- bpy/ops/spreadsheet/__init__.pyi +31 -42
- bpy/ops/surface/__init__.pyi +198 -163
- bpy/ops/text/__init__.pyi +479 -545
- bpy/ops/text_editor/__init__.pyi +11 -15
- bpy/ops/texture/__init__.pyi +26 -36
- bpy/ops/transform/__init__.pyi +825 -941
- bpy/ops/ui/__init__.pyi +246 -295
- bpy/ops/uilist/__init__.pyi +34 -38
- bpy/ops/uv/__init__.pyi +912 -824
- bpy/ops/view2d/__init__.pyi +157 -197
- bpy/ops/view3d/__init__.pyi +777 -878
- bpy/ops/wm/__init__.pyi +4102 -3595
- bpy/ops/workspace/__init__.pyi +42 -58
- bpy/ops/world/__init__.pyi +6 -9
- bpy/path/__init__.pyi +166 -109
- bpy/props/__init__.pyi +478 -395
- bpy/types/__init__.pyi +87194 -81467
- bpy/utils/__init__.pyi +325 -169
- bpy/utils/previews/__init__.pyi +108 -21
- bpy/utils/units/__init__.pyi +37 -39
- bpy_extras/__init__.pyi +4 -9
- bpy_extras/anim_utils/__init__.pyi +25 -55
- bpy_extras/asset_utils/__init__.pyi +3 -13
- bpy_extras/id_map_utils/__init__.pyi +1 -4
- bpy_extras/image_utils/__init__.pyi +33 -23
- bpy_extras/io_utils/__init__.pyi +116 -66
- bpy_extras/keyconfig_utils/__init__.pyi +5 -3
- bpy_extras/mesh_utils/__init__.pyi +42 -34
- bpy_extras/node_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +58 -43
- bpy_extras/view3d_utils/__init__.pyi +64 -63
- bpy_restrict_state/__init__.pyi +14 -2
- bpy_types/__init__.pyi +3873 -998
- console_python/__init__.pyi +41 -8
- console_shell/__init__.pyi +24 -6
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/__init__.pyi +4 -5
- freestyle/chainingiterators/__init__.pyi +229 -73
- freestyle/functions/__init__.pyi +624 -402
- freestyle/predicates/__init__.pyi +381 -169
- freestyle/shaders/__init__.pyi +424 -155
- freestyle/types/__init__.pyi +1572 -726
- freestyle/utils/ContextFunctions/__init__.pyi +54 -43
- freestyle/utils/__init__.pyi +67 -31
- gpu/__init__.pyi +3 -4
- gpu/capabilities/__init__.pyi +57 -37
- gpu/matrix/__init__.pyi +14 -17
- gpu/platform/__init__.pyi +5 -6
- gpu/select/__init__.pyi +2 -5
- gpu/shader/__init__.pyi +14 -12
- gpu/state/__init__.pyi +48 -62
- gpu/texture/__init__.pyi +7 -7
- gpu/types/__init__.pyi +670 -229
- gpu_extras/__init__.pyi +1 -2
- gpu_extras/batch/__init__.pyi +27 -6
- gpu_extras/presets/__init__.pyi +67 -27
- graphviz_export/__init__.pyi +9 -3
- idprop/__init__.pyi +0 -1
- idprop/types/__init__.pyi +42 -13
- imbuf/__init__.pyi +6 -10
- imbuf/types/__init__.pyi +8 -16
- keyingsets_builtins/__init__.pyi +3149 -702
- keyingsets_utils/__init__.pyi +69 -15
- mathutils/__init__.pyi +951 -876
- mathutils/bvhtree/__init__.pyi +47 -48
- mathutils/geometry/__init__.pyi +237 -242
- mathutils/interpolate/__init__.pyi +3 -6
- mathutils/kdtree/__init__.pyi +23 -26
- mathutils/noise/__init__.pyi +50 -51
- nodeitems_builtins/__init__.pyi +50 -11
- nodeitems_utils/__init__.pyi +58 -11
- rna_info/__init__.pyi +230 -27
- rna_keymap_ui/__init__.pyi +29 -7
- rna_prop_ui/__init__.pyi +69 -13
- rna_xml/__init__.pyi +29 -7
- sys_info/__init__.pyi +4 -2
- bpy_extras/bmesh_utils/__init__.pyi +0 -7
- bpy_extras/extensions/__init__.pyi +0 -5
- bpy_extras/extensions/junction_module/__init__.pyi +0 -13
- bpy_extras/node_shader_utils/__init__.pyi +0 -132
- bpy_extras/wm_utils/__init__.pyi +0 -5
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
- fake_bpy_module-20240210.dist-info/RECORD +0 -349
- {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/console/__init__.pyi
CHANGED
|
@@ -1,248 +1,214 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def autocomplete(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
12
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
13
10
|
):
|
|
14
|
-
"""Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one
|
|
11
|
+
"""Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one
|
|
15
12
|
|
|
16
|
-
:type override_context: typing.
|
|
17
|
-
:type execution_context: typing.
|
|
18
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
19
16
|
"""
|
|
20
17
|
|
|
21
18
|
...
|
|
22
19
|
|
|
23
20
|
def banner(
|
|
24
|
-
override_context: typing.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
28
|
-
undo: typing.Optional[bool] = None,
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
29
24
|
):
|
|
30
|
-
"""Print a message when the terminal initializes
|
|
25
|
+
"""Print a message when the terminal initializes
|
|
31
26
|
|
|
32
|
-
:type override_context: typing.
|
|
33
|
-
:type execution_context: typing.
|
|
34
|
-
:type undo:
|
|
27
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
+
:type execution_context: typing.Union[str, int]
|
|
29
|
+
:type undo: bool
|
|
35
30
|
"""
|
|
36
31
|
|
|
37
32
|
...
|
|
38
33
|
|
|
39
34
|
def clear(
|
|
40
|
-
override_context: typing.
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
*,
|
|
46
|
-
scrollback: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
47
|
-
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,
|
|
48
40
|
):
|
|
49
41
|
"""Clear text by type
|
|
50
42
|
|
|
51
|
-
:type override_context: typing.
|
|
52
|
-
:type execution_context: typing.
|
|
53
|
-
:type undo:
|
|
43
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
44
|
+
:type execution_context: typing.Union[str, int]
|
|
45
|
+
:type undo: bool
|
|
54
46
|
:param scrollback: Scrollback, Clear the scrollback history
|
|
55
|
-
:type scrollback: typing.
|
|
47
|
+
:type scrollback: typing.Union[bool, typing.Any]
|
|
56
48
|
:param history: History, Clear the command history
|
|
57
|
-
:type history: typing.
|
|
49
|
+
:type history: typing.Union[bool, typing.Any]
|
|
58
50
|
"""
|
|
59
51
|
|
|
60
52
|
...
|
|
61
53
|
|
|
62
54
|
def clear_line(
|
|
63
|
-
override_context: typing.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
67
|
-
undo: typing.Optional[bool] = None,
|
|
55
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
56
|
+
execution_context: typing.Union[str, int] = None,
|
|
57
|
+
undo: bool = None,
|
|
68
58
|
):
|
|
69
59
|
"""Clear the line and store in history
|
|
70
60
|
|
|
71
|
-
:type override_context: typing.
|
|
72
|
-
:type execution_context: typing.
|
|
73
|
-
:type undo:
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
74
64
|
"""
|
|
75
65
|
|
|
76
66
|
...
|
|
77
67
|
|
|
78
68
|
def copy(
|
|
79
|
-
override_context: typing.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
undo: typing.Optional[bool] = None,
|
|
84
|
-
*,
|
|
85
|
-
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,
|
|
86
73
|
):
|
|
87
74
|
"""Copy selected text to clipboard
|
|
88
75
|
|
|
89
|
-
:type override_context: typing.
|
|
90
|
-
:type execution_context: typing.
|
|
91
|
-
:type undo:
|
|
76
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
77
|
+
:type execution_context: typing.Union[str, int]
|
|
78
|
+
:type undo: bool
|
|
92
79
|
:param delete: Delete Selection, Whether to delete the selection after copying
|
|
93
|
-
:type delete: typing.
|
|
80
|
+
:type delete: typing.Union[bool, typing.Any]
|
|
94
81
|
"""
|
|
95
82
|
|
|
96
83
|
...
|
|
97
84
|
|
|
98
85
|
def copy_as_script(
|
|
99
|
-
override_context: typing.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
103
|
-
undo: typing.Optional[bool] = None,
|
|
86
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
87
|
+
execution_context: typing.Union[str, int] = None,
|
|
88
|
+
undo: bool = None,
|
|
104
89
|
):
|
|
105
|
-
"""Copy the console contents for use in a script
|
|
90
|
+
"""Copy the console contents for use in a script
|
|
106
91
|
|
|
107
|
-
:type override_context: typing.
|
|
108
|
-
:type execution_context: typing.
|
|
109
|
-
:type undo:
|
|
92
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
93
|
+
:type execution_context: typing.Union[str, int]
|
|
94
|
+
:type undo: bool
|
|
110
95
|
"""
|
|
111
96
|
|
|
112
97
|
...
|
|
113
98
|
|
|
114
99
|
def delete(
|
|
115
|
-
override_context: typing.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
undo: typing.Optional[bool] = None,
|
|
120
|
-
*,
|
|
121
|
-
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",
|
|
122
104
|
):
|
|
123
105
|
"""Delete text by cursor position
|
|
124
106
|
|
|
125
|
-
:type override_context: typing.
|
|
126
|
-
:type execution_context: typing.
|
|
127
|
-
:type undo:
|
|
107
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
108
|
+
:type execution_context: typing.Union[str, int]
|
|
109
|
+
:type undo: bool
|
|
128
110
|
:param type: Type, Which part of the text to delete
|
|
129
|
-
:type type: typing.
|
|
111
|
+
:type type: typing.Any
|
|
130
112
|
"""
|
|
131
113
|
|
|
132
114
|
...
|
|
133
115
|
|
|
134
116
|
def execute(
|
|
135
|
-
override_context: typing.
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
undo: typing.Optional[bool] = None,
|
|
140
|
-
*,
|
|
141
|
-
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,
|
|
142
121
|
):
|
|
143
|
-
"""Execute the current console line as a Python expression
|
|
122
|
+
"""Execute the current console line as a Python expression
|
|
144
123
|
|
|
145
|
-
:type override_context: typing.
|
|
146
|
-
:type execution_context: typing.
|
|
147
|
-
:type undo:
|
|
124
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
125
|
+
:type execution_context: typing.Union[str, int]
|
|
126
|
+
:type undo: bool
|
|
148
127
|
:param interactive: interactive
|
|
149
|
-
:type interactive: typing.
|
|
128
|
+
:type interactive: typing.Union[bool, typing.Any]
|
|
150
129
|
"""
|
|
151
130
|
|
|
152
131
|
...
|
|
153
132
|
|
|
154
133
|
def history_append(
|
|
155
|
-
override_context: typing.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
159
|
-
undo: typing.Optional[bool] = None,
|
|
160
|
-
*,
|
|
134
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
135
|
+
execution_context: typing.Union[str, int] = None,
|
|
136
|
+
undo: bool = None,
|
|
161
137
|
text: typing.Union[str, typing.Any] = "",
|
|
162
|
-
current_character: typing.
|
|
163
|
-
remove_duplicates: typing.
|
|
138
|
+
current_character: typing.Any = 0,
|
|
139
|
+
remove_duplicates: typing.Union[bool, typing.Any] = False,
|
|
164
140
|
):
|
|
165
141
|
"""Append history at cursor position
|
|
166
142
|
|
|
167
|
-
:type override_context: typing.
|
|
168
|
-
:type execution_context: typing.
|
|
169
|
-
:type undo:
|
|
143
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
144
|
+
:type execution_context: typing.Union[str, int]
|
|
145
|
+
:type undo: bool
|
|
170
146
|
:param text: Text, Text to insert at the cursor position
|
|
171
147
|
:type text: typing.Union[str, typing.Any]
|
|
172
148
|
:param current_character: Cursor, The index of the cursor
|
|
173
|
-
:type current_character: typing.
|
|
149
|
+
:type current_character: typing.Any
|
|
174
150
|
:param remove_duplicates: Remove Duplicates, Remove duplicate items in the history
|
|
175
|
-
:type remove_duplicates: typing.
|
|
151
|
+
:type remove_duplicates: typing.Union[bool, typing.Any]
|
|
176
152
|
"""
|
|
177
153
|
|
|
178
154
|
...
|
|
179
155
|
|
|
180
156
|
def history_cycle(
|
|
181
|
-
override_context: typing.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
undo: typing.Optional[bool] = None,
|
|
186
|
-
*,
|
|
187
|
-
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,
|
|
188
161
|
):
|
|
189
162
|
"""Cycle through history
|
|
190
163
|
|
|
191
|
-
:type override_context: typing.
|
|
192
|
-
:type execution_context: typing.
|
|
193
|
-
:type undo:
|
|
164
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
165
|
+
:type execution_context: typing.Union[str, int]
|
|
166
|
+
:type undo: bool
|
|
194
167
|
:param reverse: Reverse, Reverse cycle history
|
|
195
|
-
:type reverse: typing.
|
|
168
|
+
:type reverse: typing.Union[bool, typing.Any]
|
|
196
169
|
"""
|
|
197
170
|
|
|
198
171
|
...
|
|
199
172
|
|
|
200
173
|
def indent(
|
|
201
|
-
override_context: typing.
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
205
|
-
undo: typing.Optional[bool] = None,
|
|
174
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
+
execution_context: typing.Union[str, int] = None,
|
|
176
|
+
undo: bool = None,
|
|
206
177
|
):
|
|
207
178
|
"""Add 4 spaces at line beginning
|
|
208
179
|
|
|
209
|
-
:type override_context: typing.
|
|
210
|
-
:type execution_context: typing.
|
|
211
|
-
:type undo:
|
|
180
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
+
:type execution_context: typing.Union[str, int]
|
|
182
|
+
:type undo: bool
|
|
212
183
|
"""
|
|
213
184
|
|
|
214
185
|
...
|
|
215
186
|
|
|
216
187
|
def indent_or_autocomplete(
|
|
217
|
-
override_context: typing.
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
221
|
-
undo: typing.Optional[bool] = None,
|
|
188
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
+
execution_context: typing.Union[str, int] = None,
|
|
190
|
+
undo: bool = None,
|
|
222
191
|
):
|
|
223
192
|
"""Indent selected text or autocomplete
|
|
224
193
|
|
|
225
|
-
:type override_context: typing.
|
|
226
|
-
:type execution_context: typing.
|
|
227
|
-
:type undo:
|
|
194
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
+
:type execution_context: typing.Union[str, int]
|
|
196
|
+
:type undo: bool
|
|
228
197
|
"""
|
|
229
198
|
|
|
230
199
|
...
|
|
231
200
|
|
|
232
201
|
def insert(
|
|
233
|
-
override_context: typing.
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
237
|
-
undo: typing.Optional[bool] = None,
|
|
238
|
-
*,
|
|
202
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
203
|
+
execution_context: typing.Union[str, int] = None,
|
|
204
|
+
undo: bool = None,
|
|
239
205
|
text: typing.Union[str, typing.Any] = "",
|
|
240
206
|
):
|
|
241
207
|
"""Insert text at cursor position
|
|
242
208
|
|
|
243
|
-
:type override_context: typing.
|
|
244
|
-
:type execution_context: typing.
|
|
245
|
-
:type undo:
|
|
209
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
210
|
+
:type execution_context: typing.Union[str, int]
|
|
211
|
+
:type undo: bool
|
|
246
212
|
:param text: Text, Text to insert at the cursor position
|
|
247
213
|
:type text: typing.Union[str, typing.Any]
|
|
248
214
|
"""
|
|
@@ -250,19 +216,16 @@ def insert(
|
|
|
250
216
|
...
|
|
251
217
|
|
|
252
218
|
def language(
|
|
253
|
-
override_context: typing.
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
257
|
-
undo: typing.Optional[bool] = None,
|
|
258
|
-
*,
|
|
219
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
+
execution_context: typing.Union[str, int] = None,
|
|
221
|
+
undo: bool = None,
|
|
259
222
|
language: typing.Union[str, typing.Any] = "",
|
|
260
223
|
):
|
|
261
|
-
"""Set the current language for this console
|
|
224
|
+
"""Set the current language for this console
|
|
262
225
|
|
|
263
|
-
:type override_context: typing.
|
|
264
|
-
:type execution_context: typing.
|
|
265
|
-
:type undo:
|
|
226
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
227
|
+
:type execution_context: typing.Union[str, int]
|
|
228
|
+
:type undo: bool
|
|
266
229
|
:param language: Language
|
|
267
230
|
:type language: typing.Union[str, typing.Any]
|
|
268
231
|
"""
|
|
@@ -270,131 +233,114 @@ def language(
|
|
|
270
233
|
...
|
|
271
234
|
|
|
272
235
|
def move(
|
|
273
|
-
override_context: typing.
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
*,
|
|
279
|
-
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
280
|
-
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,
|
|
281
241
|
):
|
|
282
242
|
"""Move cursor position
|
|
283
243
|
|
|
284
|
-
:type override_context: typing.
|
|
285
|
-
:type execution_context: typing.
|
|
286
|
-
:type undo:
|
|
244
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
245
|
+
:type execution_context: typing.Union[str, int]
|
|
246
|
+
:type undo: bool
|
|
287
247
|
:param type: Type, Where to move cursor to
|
|
288
|
-
:type type: typing.
|
|
248
|
+
:type type: typing.Any
|
|
289
249
|
:param select: Select, Whether to select while moving
|
|
290
|
-
:type select: typing.
|
|
250
|
+
:type select: typing.Union[bool, typing.Any]
|
|
291
251
|
"""
|
|
292
252
|
|
|
293
253
|
...
|
|
294
254
|
|
|
295
255
|
def paste(
|
|
296
|
-
override_context: typing.
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
undo: typing.Optional[bool] = None,
|
|
301
|
-
*,
|
|
302
|
-
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,
|
|
303
260
|
):
|
|
304
261
|
"""Paste text from clipboard
|
|
305
262
|
|
|
306
|
-
:type override_context: typing.
|
|
307
|
-
:type execution_context: typing.
|
|
308
|
-
:type undo:
|
|
263
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
264
|
+
:type execution_context: typing.Union[str, int]
|
|
265
|
+
:type undo: bool
|
|
309
266
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
310
|
-
:type selection: typing.
|
|
267
|
+
:type selection: typing.Union[bool, typing.Any]
|
|
311
268
|
"""
|
|
312
269
|
|
|
313
270
|
...
|
|
314
271
|
|
|
315
272
|
def scrollback_append(
|
|
316
|
-
override_context: typing.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
320
|
-
undo: typing.Optional[bool] = None,
|
|
321
|
-
*,
|
|
273
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
274
|
+
execution_context: typing.Union[str, int] = None,
|
|
275
|
+
undo: bool = None,
|
|
322
276
|
text: typing.Union[str, typing.Any] = "",
|
|
323
|
-
type: typing.
|
|
277
|
+
type: typing.Any = "OUTPUT",
|
|
324
278
|
):
|
|
325
279
|
"""Append scrollback text by type
|
|
326
280
|
|
|
327
|
-
:type override_context: typing.
|
|
328
|
-
:type execution_context: typing.
|
|
329
|
-
:type undo:
|
|
281
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
282
|
+
:type execution_context: typing.Union[str, int]
|
|
283
|
+
:type undo: bool
|
|
330
284
|
:param text: Text, Text to insert at the cursor position
|
|
331
285
|
:type text: typing.Union[str, typing.Any]
|
|
332
286
|
:param type: Type, Console output type
|
|
333
|
-
:type type: typing.
|
|
287
|
+
:type type: typing.Any
|
|
334
288
|
"""
|
|
335
289
|
|
|
336
290
|
...
|
|
337
291
|
|
|
338
292
|
def select_all(
|
|
339
|
-
override_context: typing.
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
343
|
-
undo: typing.Optional[bool] = None,
|
|
293
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
294
|
+
execution_context: typing.Union[str, int] = None,
|
|
295
|
+
undo: bool = None,
|
|
344
296
|
):
|
|
345
297
|
"""Select all the text
|
|
346
298
|
|
|
347
|
-
:type override_context: typing.
|
|
348
|
-
:type execution_context: typing.
|
|
349
|
-
:type undo:
|
|
299
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
300
|
+
:type execution_context: typing.Union[str, int]
|
|
301
|
+
:type undo: bool
|
|
350
302
|
"""
|
|
351
303
|
|
|
352
304
|
...
|
|
353
305
|
|
|
354
306
|
def select_set(
|
|
355
|
-
override_context: typing.
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
359
|
-
undo: typing.Optional[bool] = None,
|
|
307
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
308
|
+
execution_context: typing.Union[str, int] = None,
|
|
309
|
+
undo: bool = None,
|
|
360
310
|
):
|
|
361
311
|
"""Set the console selection
|
|
362
312
|
|
|
363
|
-
:type override_context: typing.
|
|
364
|
-
:type execution_context: typing.
|
|
365
|
-
:type undo:
|
|
313
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
314
|
+
:type execution_context: typing.Union[str, int]
|
|
315
|
+
:type undo: bool
|
|
366
316
|
"""
|
|
367
317
|
|
|
368
318
|
...
|
|
369
319
|
|
|
370
320
|
def select_word(
|
|
371
|
-
override_context: typing.
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
375
|
-
undo: typing.Optional[bool] = None,
|
|
321
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
322
|
+
execution_context: typing.Union[str, int] = None,
|
|
323
|
+
undo: bool = None,
|
|
376
324
|
):
|
|
377
325
|
"""Select word at cursor position
|
|
378
326
|
|
|
379
|
-
:type override_context: typing.
|
|
380
|
-
:type execution_context: typing.
|
|
381
|
-
:type undo:
|
|
327
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
328
|
+
:type execution_context: typing.Union[str, int]
|
|
329
|
+
:type undo: bool
|
|
382
330
|
"""
|
|
383
331
|
|
|
384
332
|
...
|
|
385
333
|
|
|
386
334
|
def unindent(
|
|
387
|
-
override_context: typing.
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
391
|
-
undo: typing.Optional[bool] = None,
|
|
335
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
336
|
+
execution_context: typing.Union[str, int] = None,
|
|
337
|
+
undo: bool = None,
|
|
392
338
|
):
|
|
393
339
|
"""Delete 4 spaces from line beginning
|
|
394
340
|
|
|
395
|
-
:type override_context: typing.
|
|
396
|
-
:type execution_context: typing.
|
|
397
|
-
:type undo:
|
|
341
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
342
|
+
:type execution_context: typing.Union[str, int]
|
|
343
|
+
:type undo: bool
|
|
398
344
|
"""
|
|
399
345
|
|
|
400
346
|
...
|