fake-bpy-module 20240321__py3-none-any.whl → 20240324__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- 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 +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- 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 +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- 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 +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- 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 +253 -247
- bmesh/utils/__init__.pyi +54 -54
- 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 +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +646 -823
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +331 -429
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86446 -87424
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- 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 -1
- 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 +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/METADATA +1 -1
- fake_bpy_module-20240324.dist-info/RECORD +343 -0
- 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 +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- 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 +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- 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 +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/top_level.txt +0 -0
bpy/ops/console/__init__.pyi
CHANGED
|
@@ -4,244 +4,211 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def autocomplete(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
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,
|
|
12
10
|
):
|
|
13
11
|
"""Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one
|
|
14
12
|
|
|
15
|
-
:type override_context: typing.
|
|
16
|
-
:type execution_context: typing.
|
|
17
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
18
16
|
"""
|
|
19
17
|
|
|
20
18
|
...
|
|
21
19
|
|
|
22
20
|
def banner(
|
|
23
|
-
override_context: typing.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
27
|
-
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,
|
|
28
24
|
):
|
|
29
25
|
"""Print a message when the terminal initializes
|
|
30
26
|
|
|
31
|
-
:type override_context: typing.
|
|
32
|
-
:type execution_context: typing.
|
|
33
|
-
:type undo:
|
|
27
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
+
:type execution_context: typing.Union[str, int]
|
|
29
|
+
:type undo: bool
|
|
34
30
|
"""
|
|
35
31
|
|
|
36
32
|
...
|
|
37
33
|
|
|
38
34
|
def clear(
|
|
39
|
-
override_context: typing.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
*,
|
|
45
|
-
scrollback: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
46
|
-
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,
|
|
47
40
|
):
|
|
48
41
|
"""Clear text by type
|
|
49
42
|
|
|
50
|
-
:type override_context: typing.
|
|
51
|
-
:type execution_context: typing.
|
|
52
|
-
:type undo:
|
|
43
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
44
|
+
:type execution_context: typing.Union[str, int]
|
|
45
|
+
:type undo: bool
|
|
53
46
|
:param scrollback: Scrollback, Clear the scrollback history
|
|
54
|
-
:type scrollback: typing.
|
|
47
|
+
:type scrollback: typing.Union[bool, typing.Any]
|
|
55
48
|
:param history: History, Clear the command history
|
|
56
|
-
:type history: typing.
|
|
49
|
+
:type history: typing.Union[bool, typing.Any]
|
|
57
50
|
"""
|
|
58
51
|
|
|
59
52
|
...
|
|
60
53
|
|
|
61
54
|
def clear_line(
|
|
62
|
-
override_context: typing.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
66
|
-
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,
|
|
67
58
|
):
|
|
68
59
|
"""Clear the line and store in history
|
|
69
60
|
|
|
70
|
-
:type override_context: typing.
|
|
71
|
-
:type execution_context: typing.
|
|
72
|
-
:type undo:
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
73
64
|
"""
|
|
74
65
|
|
|
75
66
|
...
|
|
76
67
|
|
|
77
68
|
def copy(
|
|
78
|
-
override_context: typing.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
undo: typing.Optional[bool] = None,
|
|
83
|
-
*,
|
|
84
|
-
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,
|
|
85
73
|
):
|
|
86
74
|
"""Copy selected text to clipboard
|
|
87
75
|
|
|
88
|
-
:type override_context: typing.
|
|
89
|
-
:type execution_context: typing.
|
|
90
|
-
:type undo:
|
|
76
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
77
|
+
:type execution_context: typing.Union[str, int]
|
|
78
|
+
:type undo: bool
|
|
91
79
|
:param delete: Delete Selection, Whether to delete the selection after copying
|
|
92
|
-
:type delete: typing.
|
|
80
|
+
:type delete: typing.Union[bool, typing.Any]
|
|
93
81
|
"""
|
|
94
82
|
|
|
95
83
|
...
|
|
96
84
|
|
|
97
85
|
def copy_as_script(
|
|
98
|
-
override_context: typing.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
102
|
-
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,
|
|
103
89
|
):
|
|
104
90
|
"""Copy the console contents for use in a script
|
|
105
91
|
|
|
106
|
-
:type override_context: typing.
|
|
107
|
-
:type execution_context: typing.
|
|
108
|
-
:type undo:
|
|
92
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
93
|
+
:type execution_context: typing.Union[str, int]
|
|
94
|
+
:type undo: bool
|
|
109
95
|
"""
|
|
110
96
|
|
|
111
97
|
...
|
|
112
98
|
|
|
113
99
|
def delete(
|
|
114
|
-
override_context: typing.
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
undo: typing.Optional[bool] = None,
|
|
119
|
-
*,
|
|
120
|
-
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",
|
|
121
104
|
):
|
|
122
105
|
"""Delete text by cursor position
|
|
123
106
|
|
|
124
|
-
:type override_context: typing.
|
|
125
|
-
:type execution_context: typing.
|
|
126
|
-
:type undo:
|
|
107
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
108
|
+
:type execution_context: typing.Union[str, int]
|
|
109
|
+
:type undo: bool
|
|
127
110
|
:param type: Type, Which part of the text to delete
|
|
128
|
-
:type type: typing.
|
|
111
|
+
:type type: typing.Any
|
|
129
112
|
"""
|
|
130
113
|
|
|
131
114
|
...
|
|
132
115
|
|
|
133
116
|
def execute(
|
|
134
|
-
override_context: typing.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
undo: typing.Optional[bool] = None,
|
|
139
|
-
*,
|
|
140
|
-
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,
|
|
141
121
|
):
|
|
142
122
|
"""Execute the current console line as a Python expression
|
|
143
123
|
|
|
144
|
-
:type override_context: typing.
|
|
145
|
-
:type execution_context: typing.
|
|
146
|
-
:type undo:
|
|
124
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
125
|
+
:type execution_context: typing.Union[str, int]
|
|
126
|
+
:type undo: bool
|
|
147
127
|
:param interactive: interactive
|
|
148
|
-
:type interactive: typing.
|
|
128
|
+
:type interactive: typing.Union[bool, typing.Any]
|
|
149
129
|
"""
|
|
150
130
|
|
|
151
131
|
...
|
|
152
132
|
|
|
153
133
|
def history_append(
|
|
154
|
-
override_context: typing.
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
158
|
-
undo: typing.Optional[bool] = None,
|
|
159
|
-
*,
|
|
134
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
135
|
+
execution_context: typing.Union[str, int] = None,
|
|
136
|
+
undo: bool = None,
|
|
160
137
|
text: typing.Union[str, typing.Any] = "",
|
|
161
|
-
current_character: typing.
|
|
162
|
-
remove_duplicates: typing.
|
|
138
|
+
current_character: typing.Any = 0,
|
|
139
|
+
remove_duplicates: typing.Union[bool, typing.Any] = False,
|
|
163
140
|
):
|
|
164
141
|
"""Append history at cursor position
|
|
165
142
|
|
|
166
|
-
:type override_context: typing.
|
|
167
|
-
:type execution_context: typing.
|
|
168
|
-
:type undo:
|
|
143
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
144
|
+
:type execution_context: typing.Union[str, int]
|
|
145
|
+
:type undo: bool
|
|
169
146
|
:param text: Text, Text to insert at the cursor position
|
|
170
147
|
:type text: typing.Union[str, typing.Any]
|
|
171
148
|
:param current_character: Cursor, The index of the cursor
|
|
172
|
-
:type current_character: typing.
|
|
149
|
+
:type current_character: typing.Any
|
|
173
150
|
:param remove_duplicates: Remove Duplicates, Remove duplicate items in the history
|
|
174
|
-
:type remove_duplicates: typing.
|
|
151
|
+
:type remove_duplicates: typing.Union[bool, typing.Any]
|
|
175
152
|
"""
|
|
176
153
|
|
|
177
154
|
...
|
|
178
155
|
|
|
179
156
|
def history_cycle(
|
|
180
|
-
override_context: typing.
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
undo: typing.Optional[bool] = None,
|
|
185
|
-
*,
|
|
186
|
-
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,
|
|
187
161
|
):
|
|
188
162
|
"""Cycle through history
|
|
189
163
|
|
|
190
|
-
:type override_context: typing.
|
|
191
|
-
:type execution_context: typing.
|
|
192
|
-
:type undo:
|
|
164
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
165
|
+
:type execution_context: typing.Union[str, int]
|
|
166
|
+
:type undo: bool
|
|
193
167
|
:param reverse: Reverse, Reverse cycle history
|
|
194
|
-
:type reverse: typing.
|
|
168
|
+
:type reverse: typing.Union[bool, typing.Any]
|
|
195
169
|
"""
|
|
196
170
|
|
|
197
171
|
...
|
|
198
172
|
|
|
199
173
|
def indent(
|
|
200
|
-
override_context: typing.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
204
|
-
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,
|
|
205
177
|
):
|
|
206
178
|
"""Add 4 spaces at line beginning
|
|
207
179
|
|
|
208
|
-
:type override_context: typing.
|
|
209
|
-
:type execution_context: typing.
|
|
210
|
-
:type undo:
|
|
180
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
+
:type execution_context: typing.Union[str, int]
|
|
182
|
+
:type undo: bool
|
|
211
183
|
"""
|
|
212
184
|
|
|
213
185
|
...
|
|
214
186
|
|
|
215
187
|
def indent_or_autocomplete(
|
|
216
|
-
override_context: typing.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
220
|
-
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,
|
|
221
191
|
):
|
|
222
192
|
"""Indent selected text or autocomplete
|
|
223
193
|
|
|
224
|
-
:type override_context: typing.
|
|
225
|
-
:type execution_context: typing.
|
|
226
|
-
:type undo:
|
|
194
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
+
:type execution_context: typing.Union[str, int]
|
|
196
|
+
:type undo: bool
|
|
227
197
|
"""
|
|
228
198
|
|
|
229
199
|
...
|
|
230
200
|
|
|
231
201
|
def insert(
|
|
232
|
-
override_context: typing.
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
236
|
-
undo: typing.Optional[bool] = None,
|
|
237
|
-
*,
|
|
202
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
203
|
+
execution_context: typing.Union[str, int] = None,
|
|
204
|
+
undo: bool = None,
|
|
238
205
|
text: typing.Union[str, typing.Any] = "",
|
|
239
206
|
):
|
|
240
207
|
"""Insert text at cursor position
|
|
241
208
|
|
|
242
|
-
:type override_context: typing.
|
|
243
|
-
:type execution_context: typing.
|
|
244
|
-
:type undo:
|
|
209
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
210
|
+
:type execution_context: typing.Union[str, int]
|
|
211
|
+
:type undo: bool
|
|
245
212
|
:param text: Text, Text to insert at the cursor position
|
|
246
213
|
:type text: typing.Union[str, typing.Any]
|
|
247
214
|
"""
|
|
@@ -249,19 +216,16 @@ def insert(
|
|
|
249
216
|
...
|
|
250
217
|
|
|
251
218
|
def language(
|
|
252
|
-
override_context: typing.
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
256
|
-
undo: typing.Optional[bool] = None,
|
|
257
|
-
*,
|
|
219
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
+
execution_context: typing.Union[str, int] = None,
|
|
221
|
+
undo: bool = None,
|
|
258
222
|
language: typing.Union[str, typing.Any] = "",
|
|
259
223
|
):
|
|
260
224
|
"""Set the current language for this console
|
|
261
225
|
|
|
262
|
-
:type override_context: typing.
|
|
263
|
-
:type execution_context: typing.
|
|
264
|
-
:type undo:
|
|
226
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
227
|
+
:type execution_context: typing.Union[str, int]
|
|
228
|
+
:type undo: bool
|
|
265
229
|
:param language: Language
|
|
266
230
|
:type language: typing.Union[str, typing.Any]
|
|
267
231
|
"""
|
|
@@ -269,131 +233,114 @@ def language(
|
|
|
269
233
|
...
|
|
270
234
|
|
|
271
235
|
def move(
|
|
272
|
-
override_context: typing.
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
*,
|
|
278
|
-
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
279
|
-
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,
|
|
280
241
|
):
|
|
281
242
|
"""Move cursor position
|
|
282
243
|
|
|
283
|
-
:type override_context: typing.
|
|
284
|
-
:type execution_context: typing.
|
|
285
|
-
:type undo:
|
|
244
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
245
|
+
:type execution_context: typing.Union[str, int]
|
|
246
|
+
:type undo: bool
|
|
286
247
|
:param type: Type, Where to move cursor to
|
|
287
|
-
:type type: typing.
|
|
248
|
+
:type type: typing.Any
|
|
288
249
|
:param select: Select, Whether to select while moving
|
|
289
|
-
:type select: typing.
|
|
250
|
+
:type select: typing.Union[bool, typing.Any]
|
|
290
251
|
"""
|
|
291
252
|
|
|
292
253
|
...
|
|
293
254
|
|
|
294
255
|
def paste(
|
|
295
|
-
override_context: typing.
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
undo: typing.Optional[bool] = None,
|
|
300
|
-
*,
|
|
301
|
-
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,
|
|
302
260
|
):
|
|
303
261
|
"""Paste text from clipboard
|
|
304
262
|
|
|
305
|
-
:type override_context: typing.
|
|
306
|
-
:type execution_context: typing.
|
|
307
|
-
:type undo:
|
|
263
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
264
|
+
:type execution_context: typing.Union[str, int]
|
|
265
|
+
:type undo: bool
|
|
308
266
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
309
|
-
:type selection: typing.
|
|
267
|
+
:type selection: typing.Union[bool, typing.Any]
|
|
310
268
|
"""
|
|
311
269
|
|
|
312
270
|
...
|
|
313
271
|
|
|
314
272
|
def scrollback_append(
|
|
315
|
-
override_context: typing.
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
319
|
-
undo: typing.Optional[bool] = None,
|
|
320
|
-
*,
|
|
273
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
274
|
+
execution_context: typing.Union[str, int] = None,
|
|
275
|
+
undo: bool = None,
|
|
321
276
|
text: typing.Union[str, typing.Any] = "",
|
|
322
|
-
type: typing.
|
|
277
|
+
type: typing.Any = "OUTPUT",
|
|
323
278
|
):
|
|
324
279
|
"""Append scrollback text by type
|
|
325
280
|
|
|
326
|
-
:type override_context: typing.
|
|
327
|
-
:type execution_context: typing.
|
|
328
|
-
:type undo:
|
|
281
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
282
|
+
:type execution_context: typing.Union[str, int]
|
|
283
|
+
:type undo: bool
|
|
329
284
|
:param text: Text, Text to insert at the cursor position
|
|
330
285
|
:type text: typing.Union[str, typing.Any]
|
|
331
286
|
:param type: Type, Console output type
|
|
332
|
-
:type type: typing.
|
|
287
|
+
:type type: typing.Any
|
|
333
288
|
"""
|
|
334
289
|
|
|
335
290
|
...
|
|
336
291
|
|
|
337
292
|
def select_all(
|
|
338
|
-
override_context: typing.
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
342
|
-
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,
|
|
343
296
|
):
|
|
344
297
|
"""Select all the text
|
|
345
298
|
|
|
346
|
-
:type override_context: typing.
|
|
347
|
-
:type execution_context: typing.
|
|
348
|
-
:type undo:
|
|
299
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
300
|
+
:type execution_context: typing.Union[str, int]
|
|
301
|
+
:type undo: bool
|
|
349
302
|
"""
|
|
350
303
|
|
|
351
304
|
...
|
|
352
305
|
|
|
353
306
|
def select_set(
|
|
354
|
-
override_context: typing.
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
358
|
-
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,
|
|
359
310
|
):
|
|
360
311
|
"""Set the console selection
|
|
361
312
|
|
|
362
|
-
:type override_context: typing.
|
|
363
|
-
:type execution_context: typing.
|
|
364
|
-
:type undo:
|
|
313
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
314
|
+
:type execution_context: typing.Union[str, int]
|
|
315
|
+
:type undo: bool
|
|
365
316
|
"""
|
|
366
317
|
|
|
367
318
|
...
|
|
368
319
|
|
|
369
320
|
def select_word(
|
|
370
|
-
override_context: typing.
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
374
|
-
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,
|
|
375
324
|
):
|
|
376
325
|
"""Select word at cursor position
|
|
377
326
|
|
|
378
|
-
:type override_context: typing.
|
|
379
|
-
:type execution_context: typing.
|
|
380
|
-
:type undo:
|
|
327
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
328
|
+
:type execution_context: typing.Union[str, int]
|
|
329
|
+
:type undo: bool
|
|
381
330
|
"""
|
|
382
331
|
|
|
383
332
|
...
|
|
384
333
|
|
|
385
334
|
def unindent(
|
|
386
|
-
override_context: typing.
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
390
|
-
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,
|
|
391
338
|
):
|
|
392
339
|
"""Delete 4 spaces from line beginning
|
|
393
340
|
|
|
394
|
-
:type override_context: typing.
|
|
395
|
-
:type execution_context: typing.
|
|
396
|
-
:type undo:
|
|
341
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
342
|
+
:type execution_context: typing.Union[str, int]
|
|
343
|
+
:type undo: bool
|
|
397
344
|
"""
|
|
398
345
|
|
|
399
346
|
...
|