fake-bpy-module 20240421__py3-none-any.whl → 20240423__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.
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +52 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +333 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +580 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +331 -330
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2418 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +105733 -102298
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +21 -18
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/top_level.txt +0 -0
bpy/ops/console/__init__.pyi
CHANGED
|
@@ -4,211 +4,211 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
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,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
):
|
|
11
11
|
"""Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
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,
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
24
|
):
|
|
25
25
|
"""Print a message when the terminal initializes
|
|
26
26
|
|
|
27
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
-
:type execution_context: typing.Union[str, int]
|
|
29
|
-
:type undo: bool
|
|
27
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
28
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
29
|
+
:type undo: typing.Optional[bool]
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
...
|
|
33
33
|
|
|
34
34
|
def clear(
|
|
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,
|
|
35
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
36
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
37
|
+
undo: typing.Optional[bool] = None,
|
|
38
|
+
scrollback: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
39
|
+
history: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
40
40
|
):
|
|
41
41
|
"""Clear text by type
|
|
42
42
|
|
|
43
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
44
|
-
:type execution_context: typing.Union[str, int]
|
|
45
|
-
:type undo: bool
|
|
43
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
44
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
45
|
+
:type undo: typing.Optional[bool]
|
|
46
46
|
:param scrollback: Scrollback, Clear the scrollback history
|
|
47
|
-
:type scrollback: typing.Union[bool, typing.Any]
|
|
47
|
+
:type scrollback: typing.Optional[typing.Union[bool, typing.Any]]
|
|
48
48
|
:param history: History, Clear the command history
|
|
49
|
-
:type history: typing.Union[bool, typing.Any]
|
|
49
|
+
:type history: typing.Optional[typing.Union[bool, typing.Any]]
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
...
|
|
53
53
|
|
|
54
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,
|
|
55
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
56
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
57
|
+
undo: typing.Optional[bool] = None,
|
|
58
58
|
):
|
|
59
59
|
"""Clear the line and store in history
|
|
60
60
|
|
|
61
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
-
:type execution_context: typing.Union[str, int]
|
|
63
|
-
:type undo: bool
|
|
61
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
62
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
63
|
+
:type undo: typing.Optional[bool]
|
|
64
64
|
"""
|
|
65
65
|
|
|
66
66
|
...
|
|
67
67
|
|
|
68
68
|
def copy(
|
|
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,
|
|
69
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
70
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
71
|
+
undo: typing.Optional[bool] = None,
|
|
72
|
+
delete: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
73
73
|
):
|
|
74
74
|
"""Copy selected text to clipboard
|
|
75
75
|
|
|
76
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
77
|
-
:type execution_context: typing.Union[str, int]
|
|
78
|
-
:type undo: bool
|
|
76
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
77
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
78
|
+
:type undo: typing.Optional[bool]
|
|
79
79
|
:param delete: Delete Selection, Whether to delete the selection after copying
|
|
80
|
-
:type delete: typing.Union[bool, typing.Any]
|
|
80
|
+
:type delete: typing.Optional[typing.Union[bool, typing.Any]]
|
|
81
81
|
"""
|
|
82
82
|
|
|
83
83
|
...
|
|
84
84
|
|
|
85
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,
|
|
86
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
87
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
88
|
+
undo: typing.Optional[bool] = None,
|
|
89
89
|
):
|
|
90
90
|
"""Copy the console contents for use in a script
|
|
91
91
|
|
|
92
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
93
|
-
:type execution_context: typing.Union[str, int]
|
|
94
|
-
:type undo: bool
|
|
92
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
93
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
94
|
+
:type undo: typing.Optional[bool]
|
|
95
95
|
"""
|
|
96
96
|
|
|
97
97
|
...
|
|
98
98
|
|
|
99
99
|
def delete(
|
|
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",
|
|
100
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
101
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
102
|
+
undo: typing.Optional[bool] = None,
|
|
103
|
+
type: typing.Optional[typing.Any] = "NEXT_CHARACTER",
|
|
104
104
|
):
|
|
105
105
|
"""Delete text by cursor position
|
|
106
106
|
|
|
107
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
108
|
-
:type execution_context: typing.Union[str, int]
|
|
109
|
-
:type undo: bool
|
|
107
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
108
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
109
|
+
:type undo: typing.Optional[bool]
|
|
110
110
|
:param type: Type, Which part of the text to delete
|
|
111
|
-
:type type: typing.Any
|
|
111
|
+
:type type: typing.Optional[typing.Any]
|
|
112
112
|
"""
|
|
113
113
|
|
|
114
114
|
...
|
|
115
115
|
|
|
116
116
|
def execute(
|
|
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,
|
|
117
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
118
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
119
|
+
undo: typing.Optional[bool] = None,
|
|
120
|
+
interactive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
121
121
|
):
|
|
122
122
|
"""Execute the current console line as a Python expression
|
|
123
123
|
|
|
124
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
125
|
-
:type execution_context: typing.Union[str, int]
|
|
126
|
-
:type undo: bool
|
|
124
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
125
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
126
|
+
:type undo: typing.Optional[bool]
|
|
127
127
|
:param interactive: interactive
|
|
128
|
-
:type interactive: typing.Union[bool, typing.Any]
|
|
128
|
+
:type interactive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
129
129
|
"""
|
|
130
130
|
|
|
131
131
|
...
|
|
132
132
|
|
|
133
133
|
def history_append(
|
|
134
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
135
|
-
execution_context: typing.Union[str, int] = None,
|
|
136
|
-
undo: bool = None,
|
|
134
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
135
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
136
|
+
undo: typing.Optional[bool] = None,
|
|
137
137
|
text: typing.Union[str, typing.Any] = "",
|
|
138
|
-
current_character: typing.Any = 0,
|
|
139
|
-
remove_duplicates: typing.Union[bool, typing.Any] = False,
|
|
138
|
+
current_character: typing.Optional[typing.Any] = 0,
|
|
139
|
+
remove_duplicates: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
140
140
|
):
|
|
141
141
|
"""Append history at cursor position
|
|
142
142
|
|
|
143
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
144
|
-
:type execution_context: typing.Union[str, int]
|
|
145
|
-
:type undo: bool
|
|
143
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
144
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
145
|
+
:type undo: typing.Optional[bool]
|
|
146
146
|
:param text: Text, Text to insert at the cursor position
|
|
147
147
|
:type text: typing.Union[str, typing.Any]
|
|
148
148
|
:param current_character: Cursor, The index of the cursor
|
|
149
|
-
:type current_character: typing.Any
|
|
149
|
+
:type current_character: typing.Optional[typing.Any]
|
|
150
150
|
:param remove_duplicates: Remove Duplicates, Remove duplicate items in the history
|
|
151
|
-
:type remove_duplicates: typing.Union[bool, typing.Any]
|
|
151
|
+
:type remove_duplicates: typing.Optional[typing.Union[bool, typing.Any]]
|
|
152
152
|
"""
|
|
153
153
|
|
|
154
154
|
...
|
|
155
155
|
|
|
156
156
|
def history_cycle(
|
|
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,
|
|
157
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
158
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
159
|
+
undo: typing.Optional[bool] = None,
|
|
160
|
+
reverse: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
161
161
|
):
|
|
162
162
|
"""Cycle through history
|
|
163
163
|
|
|
164
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
165
|
-
:type execution_context: typing.Union[str, int]
|
|
166
|
-
:type undo: bool
|
|
164
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
165
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
166
|
+
:type undo: typing.Optional[bool]
|
|
167
167
|
:param reverse: Reverse, Reverse cycle history
|
|
168
|
-
:type reverse: typing.Union[bool, typing.Any]
|
|
168
|
+
:type reverse: typing.Optional[typing.Union[bool, typing.Any]]
|
|
169
169
|
"""
|
|
170
170
|
|
|
171
171
|
...
|
|
172
172
|
|
|
173
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,
|
|
174
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
175
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
176
|
+
undo: typing.Optional[bool] = None,
|
|
177
177
|
):
|
|
178
178
|
"""Add 4 spaces at line beginning
|
|
179
179
|
|
|
180
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
-
:type execution_context: typing.Union[str, int]
|
|
182
|
-
:type undo: bool
|
|
180
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
181
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
182
|
+
:type undo: typing.Optional[bool]
|
|
183
183
|
"""
|
|
184
184
|
|
|
185
185
|
...
|
|
186
186
|
|
|
187
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,
|
|
188
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
189
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
190
|
+
undo: typing.Optional[bool] = None,
|
|
191
191
|
):
|
|
192
192
|
"""Indent selected text or autocomplete
|
|
193
193
|
|
|
194
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
-
:type execution_context: typing.Union[str, int]
|
|
196
|
-
:type undo: bool
|
|
194
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
195
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
196
|
+
:type undo: typing.Optional[bool]
|
|
197
197
|
"""
|
|
198
198
|
|
|
199
199
|
...
|
|
200
200
|
|
|
201
201
|
def insert(
|
|
202
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
203
|
-
execution_context: typing.Union[str, int] = None,
|
|
204
|
-
undo: bool = None,
|
|
202
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
203
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
204
|
+
undo: typing.Optional[bool] = None,
|
|
205
205
|
text: typing.Union[str, typing.Any] = "",
|
|
206
206
|
):
|
|
207
207
|
"""Insert text at cursor position
|
|
208
208
|
|
|
209
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
210
|
-
:type execution_context: typing.Union[str, int]
|
|
211
|
-
:type undo: bool
|
|
209
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
210
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
211
|
+
:type undo: typing.Optional[bool]
|
|
212
212
|
:param text: Text, Text to insert at the cursor position
|
|
213
213
|
:type text: typing.Union[str, typing.Any]
|
|
214
214
|
"""
|
|
@@ -216,16 +216,16 @@ def insert(
|
|
|
216
216
|
...
|
|
217
217
|
|
|
218
218
|
def language(
|
|
219
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
-
execution_context: typing.Union[str, int] = None,
|
|
221
|
-
undo: bool = None,
|
|
219
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
220
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
221
|
+
undo: typing.Optional[bool] = None,
|
|
222
222
|
language: typing.Union[str, typing.Any] = "",
|
|
223
223
|
):
|
|
224
224
|
"""Set the current language for this console
|
|
225
225
|
|
|
226
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
227
|
-
:type execution_context: typing.Union[str, int]
|
|
228
|
-
:type undo: bool
|
|
226
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
227
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
228
|
+
:type undo: typing.Optional[bool]
|
|
229
229
|
:param language: Language
|
|
230
230
|
:type language: typing.Union[str, typing.Any]
|
|
231
231
|
"""
|
|
@@ -233,114 +233,114 @@ def language(
|
|
|
233
233
|
...
|
|
234
234
|
|
|
235
235
|
def move(
|
|
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,
|
|
236
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
237
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
238
|
+
undo: typing.Optional[bool] = None,
|
|
239
|
+
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
240
|
+
select: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
241
241
|
):
|
|
242
242
|
"""Move cursor position
|
|
243
243
|
|
|
244
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
245
|
-
:type execution_context: typing.Union[str, int]
|
|
246
|
-
:type undo: bool
|
|
244
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
245
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
246
|
+
:type undo: typing.Optional[bool]
|
|
247
247
|
:param type: Type, Where to move cursor to
|
|
248
|
-
:type type: typing.Any
|
|
248
|
+
:type type: typing.Optional[typing.Any]
|
|
249
249
|
:param select: Select, Whether to select while moving
|
|
250
|
-
:type select: typing.Union[bool, typing.Any]
|
|
250
|
+
:type select: typing.Optional[typing.Union[bool, typing.Any]]
|
|
251
251
|
"""
|
|
252
252
|
|
|
253
253
|
...
|
|
254
254
|
|
|
255
255
|
def paste(
|
|
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,
|
|
256
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
257
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
258
|
+
undo: typing.Optional[bool] = None,
|
|
259
|
+
selection: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
260
260
|
):
|
|
261
261
|
"""Paste text from clipboard
|
|
262
262
|
|
|
263
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
264
|
-
:type execution_context: typing.Union[str, int]
|
|
265
|
-
:type undo: bool
|
|
263
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
264
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
265
|
+
:type undo: typing.Optional[bool]
|
|
266
266
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
267
|
-
:type selection: typing.Union[bool, typing.Any]
|
|
267
|
+
:type selection: typing.Optional[typing.Union[bool, typing.Any]]
|
|
268
268
|
"""
|
|
269
269
|
|
|
270
270
|
...
|
|
271
271
|
|
|
272
272
|
def scrollback_append(
|
|
273
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
274
|
-
execution_context: typing.Union[str, int] = None,
|
|
275
|
-
undo: bool = None,
|
|
273
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
274
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
275
|
+
undo: typing.Optional[bool] = None,
|
|
276
276
|
text: typing.Union[str, typing.Any] = "",
|
|
277
|
-
type: typing.Any = "OUTPUT",
|
|
277
|
+
type: typing.Optional[typing.Any] = "OUTPUT",
|
|
278
278
|
):
|
|
279
279
|
"""Append scrollback text by type
|
|
280
280
|
|
|
281
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
282
|
-
:type execution_context: typing.Union[str, int]
|
|
283
|
-
:type undo: bool
|
|
281
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
282
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
283
|
+
:type undo: typing.Optional[bool]
|
|
284
284
|
:param text: Text, Text to insert at the cursor position
|
|
285
285
|
:type text: typing.Union[str, typing.Any]
|
|
286
286
|
:param type: Type, Console output type
|
|
287
|
-
:type type: typing.Any
|
|
287
|
+
:type type: typing.Optional[typing.Any]
|
|
288
288
|
"""
|
|
289
289
|
|
|
290
290
|
...
|
|
291
291
|
|
|
292
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,
|
|
293
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
294
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
295
|
+
undo: typing.Optional[bool] = None,
|
|
296
296
|
):
|
|
297
297
|
"""Select all the text
|
|
298
298
|
|
|
299
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
300
|
-
:type execution_context: typing.Union[str, int]
|
|
301
|
-
:type undo: bool
|
|
299
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
300
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
301
|
+
:type undo: typing.Optional[bool]
|
|
302
302
|
"""
|
|
303
303
|
|
|
304
304
|
...
|
|
305
305
|
|
|
306
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,
|
|
307
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
308
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
309
|
+
undo: typing.Optional[bool] = None,
|
|
310
310
|
):
|
|
311
311
|
"""Set the console selection
|
|
312
312
|
|
|
313
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
314
|
-
:type execution_context: typing.Union[str, int]
|
|
315
|
-
:type undo: bool
|
|
313
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
314
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
315
|
+
:type undo: typing.Optional[bool]
|
|
316
316
|
"""
|
|
317
317
|
|
|
318
318
|
...
|
|
319
319
|
|
|
320
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,
|
|
321
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
322
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
323
|
+
undo: typing.Optional[bool] = None,
|
|
324
324
|
):
|
|
325
325
|
"""Select word at cursor position
|
|
326
326
|
|
|
327
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
328
|
-
:type execution_context: typing.Union[str, int]
|
|
329
|
-
:type undo: bool
|
|
327
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
328
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
329
|
+
:type undo: typing.Optional[bool]
|
|
330
330
|
"""
|
|
331
331
|
|
|
332
332
|
...
|
|
333
333
|
|
|
334
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,
|
|
335
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
336
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
337
|
+
undo: typing.Optional[bool] = None,
|
|
338
338
|
):
|
|
339
339
|
"""Delete 4 spaces from line beginning
|
|
340
340
|
|
|
341
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
342
|
-
:type execution_context: typing.Union[str, int]
|
|
343
|
-
:type undo: bool
|
|
341
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
342
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
343
|
+
:type undo: typing.Optional[bool]
|
|
344
344
|
"""
|
|
345
345
|
|
|
346
346
|
...
|