fake-bpy-module 20240508__py3-none-any.whl → 20240509__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bpy/ops/action/__init__.pyi +152 -76
- bpy/ops/anim/__init__.pyi +212 -106
- bpy/ops/armature/__init__.pyi +192 -96
- bpy/ops/asset/__init__.pyi +64 -32
- bpy/ops/boid/__init__.pyi +32 -16
- bpy/ops/brush/__init__.pyi +36 -18
- bpy/ops/buttons/__init__.pyi +24 -12
- bpy/ops/cachefile/__init__.pyi +20 -10
- bpy/ops/camera/__init__.pyi +8 -4
- bpy/ops/clip/__init__.pyi +368 -184
- bpy/ops/cloth/__init__.pyi +4 -2
- bpy/ops/collection/__init__.pyi +36 -18
- bpy/ops/console/__init__.pyi +84 -42
- bpy/ops/constraint/__init__.pyi +72 -36
- bpy/ops/curve/__init__.pyi +204 -102
- bpy/ops/curves/__init__.pyi +108 -54
- bpy/ops/cycles/__init__.pyi +12 -6
- bpy/ops/dpaint/__init__.pyi +20 -10
- bpy/ops/ed/__init__.pyi +48 -24
- bpy/ops/export_anim/__init__.pyi +4 -2
- bpy/ops/export_mesh/__init__.pyi +4 -2
- bpy/ops/export_scene/__init__.pyi +16 -10
- bpy/ops/file/__init__.pyi +160 -80
- bpy/ops/fluid/__init__.pyi +56 -28
- bpy/ops/font/__init__.pyi +92 -46
- bpy/ops/geometry/__init__.pyi +40 -20
- bpy/ops/gizmogroup/__init__.pyi +8 -4
- bpy/ops/gpencil/__init__.pyi +600 -300
- bpy/ops/graph/__init__.pyi +260 -130
- bpy/ops/grease_pencil/__init__.pyi +268 -134
- bpy/ops/image/__init__.pyi +188 -94
- bpy/ops/import_anim/__init__.pyi +4 -2
- bpy/ops/import_curve/__init__.pyi +4 -2
- bpy/ops/import_mesh/__init__.pyi +4 -2
- bpy/ops/import_scene/__init__.pyi +12 -6
- bpy/ops/info/__init__.pyi +28 -14
- bpy/ops/lattice/__init__.pyi +32 -16
- bpy/ops/marker/__init__.pyi +44 -22
- bpy/ops/mask/__init__.pyi +156 -78
- bpy/ops/material/__init__.pyi +12 -6
- bpy/ops/mball/__init__.pyi +32 -16
- bpy/ops/mesh/__init__.pyi +652 -326
- bpy/ops/nla/__init__.pyi +159 -81
- bpy/ops/node/__init__.pyi +404 -202
- bpy/ops/object/__init__.pyi +1002 -490
- bpy/ops/outliner/__init__.pyi +276 -138
- bpy/ops/paint/__init__.pyi +212 -106
- bpy/ops/paintcurve/__init__.pyi +32 -16
- bpy/ops/palette/__init__.pyi +28 -14
- bpy/ops/particle/__init__.pyi +144 -72
- bpy/ops/pose/__init__.pyi +156 -78
- bpy/ops/poselib/__init__.pyi +36 -18
- bpy/ops/preferences/__init__.pyi +152 -76
- bpy/ops/ptcache/__init__.pyi +28 -14
- bpy/ops/render/__init__.pyi +48 -24
- bpy/ops/rigidbody/__init__.pyi +52 -26
- bpy/ops/scene/__init__.pyi +156 -78
- bpy/ops/screen/__init__.pyi +156 -78
- bpy/ops/script/__init__.pyi +12 -6
- bpy/ops/sculpt/__init__.pyi +134 -68
- bpy/ops/sculpt_curves/__init__.pyi +16 -8
- bpy/ops/sequencer/__init__.pyi +340 -170
- bpy/ops/sound/__init__.pyi +28 -14
- bpy/ops/spreadsheet/__init__.pyi +16 -8
- bpy/ops/surface/__init__.pyi +24 -12
- bpy/ops/text/__init__.pyi +172 -86
- bpy/ops/text_editor/__init__.pyi +4 -2
- bpy/ops/texture/__init__.pyi +16 -8
- bpy/ops/transform/__init__.pyi +108 -54
- bpy/ops/ui/__init__.pyi +132 -66
- bpy/ops/uilist/__init__.pyi +12 -6
- bpy/ops/uv/__init__.pyi +196 -98
- bpy/ops/view2d/__init__.pyi +56 -28
- bpy/ops/view3d/__init__.pyi +268 -134
- bpy/ops/wm/__init__.pyi +493 -224
- bpy/ops/workspace/__init__.pyi +28 -14
- bpy/ops/world/__init__.pyi +4 -2
- bpy/types/__init__.pyi +396 -28
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/RECORD +83 -83
- mathutils/__init__.pyi +20 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/top_level.txt +0 -0
bpy/ops/cloth/__init__.pyi
CHANGED
|
@@ -4,7 +4,9 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def preset_add(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
name: typing.Union[str, typing.Any] = "",
|
|
@@ -13,7 +15,7 @@ def preset_add(
|
|
|
13
15
|
):
|
|
14
16
|
"""Add or remove a Cloth Preset
|
|
15
17
|
|
|
16
|
-
:type override_context: typing.Optional[typing.Union[
|
|
18
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
17
19
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
18
20
|
:type undo: typing.Optional[bool]
|
|
19
21
|
:param name: Name, Name of the preset, used to make the path name
|
bpy/ops/collection/__init__.pyi
CHANGED
|
@@ -4,14 +4,16 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def create(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
name: typing.Union[str, typing.Any] = "Collection",
|
|
11
13
|
):
|
|
12
14
|
"""Create an object collection from selected objects
|
|
13
15
|
|
|
14
|
-
:type override_context: typing.Optional[typing.Union[
|
|
16
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
15
17
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
16
18
|
:type undo: typing.Optional[bool]
|
|
17
19
|
:param name: Name, Name of the new collection
|
|
@@ -21,13 +23,15 @@ def create(
|
|
|
21
23
|
...
|
|
22
24
|
|
|
23
25
|
def export_all(
|
|
24
|
-
override_context: typing.Optional[
|
|
26
|
+
override_context: typing.Optional[
|
|
27
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
28
|
+
] = None,
|
|
25
29
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
26
30
|
undo: typing.Optional[bool] = None,
|
|
27
31
|
):
|
|
28
32
|
"""Invoke all configured exporters on this collection
|
|
29
33
|
|
|
30
|
-
:type override_context: typing.Optional[typing.Union[
|
|
34
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
31
35
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
32
36
|
:type undo: typing.Optional[bool]
|
|
33
37
|
"""
|
|
@@ -35,14 +39,16 @@ def export_all(
|
|
|
35
39
|
...
|
|
36
40
|
|
|
37
41
|
def exporter_add(
|
|
38
|
-
override_context: typing.Optional[
|
|
42
|
+
override_context: typing.Optional[
|
|
43
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
44
|
+
] = None,
|
|
39
45
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
40
46
|
undo: typing.Optional[bool] = None,
|
|
41
47
|
name: typing.Union[str, typing.Any] = "",
|
|
42
48
|
):
|
|
43
49
|
"""Add Exporter
|
|
44
50
|
|
|
45
|
-
:type override_context: typing.Optional[typing.Union[
|
|
51
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
46
52
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
47
53
|
:type undo: typing.Optional[bool]
|
|
48
54
|
:param name: Name, FileHandler idname
|
|
@@ -52,14 +58,16 @@ def exporter_add(
|
|
|
52
58
|
...
|
|
53
59
|
|
|
54
60
|
def exporter_export(
|
|
55
|
-
override_context: typing.Optional[
|
|
61
|
+
override_context: typing.Optional[
|
|
62
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
63
|
+
] = None,
|
|
56
64
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
57
65
|
undo: typing.Optional[bool] = None,
|
|
58
66
|
index: typing.Optional[typing.Any] = 0,
|
|
59
67
|
):
|
|
60
68
|
"""Invoke the export operation
|
|
61
69
|
|
|
62
|
-
:type override_context: typing.Optional[typing.Union[
|
|
70
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
63
71
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
64
72
|
:type undo: typing.Optional[bool]
|
|
65
73
|
:param index: Index, Exporter index
|
|
@@ -69,14 +77,16 @@ def exporter_export(
|
|
|
69
77
|
...
|
|
70
78
|
|
|
71
79
|
def exporter_remove(
|
|
72
|
-
override_context: typing.Optional[
|
|
80
|
+
override_context: typing.Optional[
|
|
81
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
82
|
+
] = None,
|
|
73
83
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
74
84
|
undo: typing.Optional[bool] = None,
|
|
75
85
|
index: typing.Optional[typing.Any] = 0,
|
|
76
86
|
):
|
|
77
87
|
"""Remove Exporter
|
|
78
88
|
|
|
79
|
-
:type override_context: typing.Optional[typing.Union[
|
|
89
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
80
90
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
81
91
|
:type undo: typing.Optional[bool]
|
|
82
92
|
:param index: Index, Exporter index
|
|
@@ -86,14 +96,16 @@ def exporter_remove(
|
|
|
86
96
|
...
|
|
87
97
|
|
|
88
98
|
def objects_add_active(
|
|
89
|
-
override_context: typing.Optional[
|
|
99
|
+
override_context: typing.Optional[
|
|
100
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
101
|
+
] = None,
|
|
90
102
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
91
103
|
undo: typing.Optional[bool] = None,
|
|
92
104
|
collection: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
93
105
|
):
|
|
94
106
|
"""Add the object to an object collection that contains the active object
|
|
95
107
|
|
|
96
|
-
:type override_context: typing.Optional[typing.Union[
|
|
108
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
97
109
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
98
110
|
:type undo: typing.Optional[bool]
|
|
99
111
|
:param collection: Collection, The collection to add other selected objects to
|
|
@@ -103,14 +115,16 @@ def objects_add_active(
|
|
|
103
115
|
...
|
|
104
116
|
|
|
105
117
|
def objects_remove(
|
|
106
|
-
override_context: typing.Optional[
|
|
118
|
+
override_context: typing.Optional[
|
|
119
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
120
|
+
] = None,
|
|
107
121
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
108
122
|
undo: typing.Optional[bool] = None,
|
|
109
123
|
collection: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
110
124
|
):
|
|
111
125
|
"""Remove selected objects from a collection
|
|
112
126
|
|
|
113
|
-
:type override_context: typing.Optional[typing.Union[
|
|
127
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
114
128
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
115
129
|
:type undo: typing.Optional[bool]
|
|
116
130
|
:param collection: Collection, The collection to remove this object from
|
|
@@ -120,14 +134,16 @@ def objects_remove(
|
|
|
120
134
|
...
|
|
121
135
|
|
|
122
136
|
def objects_remove_active(
|
|
123
|
-
override_context: typing.Optional[
|
|
137
|
+
override_context: typing.Optional[
|
|
138
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
139
|
+
] = None,
|
|
124
140
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
125
141
|
undo: typing.Optional[bool] = None,
|
|
126
142
|
collection: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
127
143
|
):
|
|
128
144
|
"""Remove the object from an object collection that contains the active object
|
|
129
145
|
|
|
130
|
-
:type override_context: typing.Optional[typing.Union[
|
|
146
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
131
147
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
132
148
|
:type undo: typing.Optional[bool]
|
|
133
149
|
:param collection: Collection, The collection to remove other selected objects from
|
|
@@ -137,13 +153,15 @@ def objects_remove_active(
|
|
|
137
153
|
...
|
|
138
154
|
|
|
139
155
|
def objects_remove_all(
|
|
140
|
-
override_context: typing.Optional[
|
|
156
|
+
override_context: typing.Optional[
|
|
157
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
158
|
+
] = None,
|
|
141
159
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
142
160
|
undo: typing.Optional[bool] = None,
|
|
143
161
|
):
|
|
144
162
|
"""Remove selected objects from all collections
|
|
145
163
|
|
|
146
|
-
:type override_context: typing.Optional[typing.Union[
|
|
164
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
147
165
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
148
166
|
:type undo: typing.Optional[bool]
|
|
149
167
|
"""
|
bpy/ops/console/__init__.pyi
CHANGED
|
@@ -4,13 +4,15 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def autocomplete(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
):
|
|
11
13
|
"""Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one
|
|
12
14
|
|
|
13
|
-
:type override_context: typing.Optional[typing.Union[
|
|
15
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
14
16
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
17
|
:type undo: typing.Optional[bool]
|
|
16
18
|
"""
|
|
@@ -18,13 +20,15 @@ def autocomplete(
|
|
|
18
20
|
...
|
|
19
21
|
|
|
20
22
|
def banner(
|
|
21
|
-
override_context: typing.Optional[
|
|
23
|
+
override_context: typing.Optional[
|
|
24
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
25
|
+
] = None,
|
|
22
26
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
27
|
undo: typing.Optional[bool] = None,
|
|
24
28
|
):
|
|
25
29
|
"""Print a message when the terminal initializes
|
|
26
30
|
|
|
27
|
-
:type override_context: typing.Optional[typing.Union[
|
|
31
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
28
32
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
29
33
|
:type undo: typing.Optional[bool]
|
|
30
34
|
"""
|
|
@@ -32,7 +36,9 @@ def banner(
|
|
|
32
36
|
...
|
|
33
37
|
|
|
34
38
|
def clear(
|
|
35
|
-
override_context: typing.Optional[
|
|
39
|
+
override_context: typing.Optional[
|
|
40
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
41
|
+
] = None,
|
|
36
42
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
37
43
|
undo: typing.Optional[bool] = None,
|
|
38
44
|
scrollback: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
@@ -40,7 +46,7 @@ def clear(
|
|
|
40
46
|
):
|
|
41
47
|
"""Clear text by type
|
|
42
48
|
|
|
43
|
-
:type override_context: typing.Optional[typing.Union[
|
|
49
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
44
50
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
45
51
|
:type undo: typing.Optional[bool]
|
|
46
52
|
:param scrollback: Scrollback, Clear the scrollback history
|
|
@@ -52,13 +58,15 @@ def clear(
|
|
|
52
58
|
...
|
|
53
59
|
|
|
54
60
|
def clear_line(
|
|
55
|
-
override_context: typing.Optional[
|
|
61
|
+
override_context: typing.Optional[
|
|
62
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
63
|
+
] = None,
|
|
56
64
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
57
65
|
undo: typing.Optional[bool] = None,
|
|
58
66
|
):
|
|
59
67
|
"""Clear the line and store in history
|
|
60
68
|
|
|
61
|
-
:type override_context: typing.Optional[typing.Union[
|
|
69
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
62
70
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
63
71
|
:type undo: typing.Optional[bool]
|
|
64
72
|
"""
|
|
@@ -66,14 +74,16 @@ def clear_line(
|
|
|
66
74
|
...
|
|
67
75
|
|
|
68
76
|
def copy(
|
|
69
|
-
override_context: typing.Optional[
|
|
77
|
+
override_context: typing.Optional[
|
|
78
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
79
|
+
] = None,
|
|
70
80
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
71
81
|
undo: typing.Optional[bool] = None,
|
|
72
82
|
delete: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
73
83
|
):
|
|
74
84
|
"""Copy selected text to clipboard
|
|
75
85
|
|
|
76
|
-
:type override_context: typing.Optional[typing.Union[
|
|
86
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
77
87
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
78
88
|
:type undo: typing.Optional[bool]
|
|
79
89
|
:param delete: Delete Selection, Whether to delete the selection after copying
|
|
@@ -83,13 +93,15 @@ def copy(
|
|
|
83
93
|
...
|
|
84
94
|
|
|
85
95
|
def copy_as_script(
|
|
86
|
-
override_context: typing.Optional[
|
|
96
|
+
override_context: typing.Optional[
|
|
97
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
98
|
+
] = None,
|
|
87
99
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
88
100
|
undo: typing.Optional[bool] = None,
|
|
89
101
|
):
|
|
90
102
|
"""Copy the console contents for use in a script
|
|
91
103
|
|
|
92
|
-
:type override_context: typing.Optional[typing.Union[
|
|
104
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
93
105
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
94
106
|
:type undo: typing.Optional[bool]
|
|
95
107
|
"""
|
|
@@ -97,14 +109,16 @@ def copy_as_script(
|
|
|
97
109
|
...
|
|
98
110
|
|
|
99
111
|
def delete(
|
|
100
|
-
override_context: typing.Optional[
|
|
112
|
+
override_context: typing.Optional[
|
|
113
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
114
|
+
] = None,
|
|
101
115
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
102
116
|
undo: typing.Optional[bool] = None,
|
|
103
117
|
type: typing.Optional[typing.Any] = "NEXT_CHARACTER",
|
|
104
118
|
):
|
|
105
119
|
"""Delete text by cursor position
|
|
106
120
|
|
|
107
|
-
:type override_context: typing.Optional[typing.Union[
|
|
121
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
108
122
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
109
123
|
:type undo: typing.Optional[bool]
|
|
110
124
|
:param type: Type, Which part of the text to delete
|
|
@@ -114,14 +128,16 @@ def delete(
|
|
|
114
128
|
...
|
|
115
129
|
|
|
116
130
|
def execute(
|
|
117
|
-
override_context: typing.Optional[
|
|
131
|
+
override_context: typing.Optional[
|
|
132
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
133
|
+
] = None,
|
|
118
134
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
119
135
|
undo: typing.Optional[bool] = None,
|
|
120
136
|
interactive: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
121
137
|
):
|
|
122
138
|
"""Execute the current console line as a Python expression
|
|
123
139
|
|
|
124
|
-
:type override_context: typing.Optional[typing.Union[
|
|
140
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
125
141
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
126
142
|
:type undo: typing.Optional[bool]
|
|
127
143
|
:param interactive: interactive
|
|
@@ -131,7 +147,9 @@ def execute(
|
|
|
131
147
|
...
|
|
132
148
|
|
|
133
149
|
def history_append(
|
|
134
|
-
override_context: typing.Optional[
|
|
150
|
+
override_context: typing.Optional[
|
|
151
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
152
|
+
] = None,
|
|
135
153
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
136
154
|
undo: typing.Optional[bool] = None,
|
|
137
155
|
text: typing.Union[str, typing.Any] = "",
|
|
@@ -140,7 +158,7 @@ def history_append(
|
|
|
140
158
|
):
|
|
141
159
|
"""Append history at cursor position
|
|
142
160
|
|
|
143
|
-
:type override_context: typing.Optional[typing.Union[
|
|
161
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
144
162
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
145
163
|
:type undo: typing.Optional[bool]
|
|
146
164
|
:param text: Text, Text to insert at the cursor position
|
|
@@ -154,14 +172,16 @@ def history_append(
|
|
|
154
172
|
...
|
|
155
173
|
|
|
156
174
|
def history_cycle(
|
|
157
|
-
override_context: typing.Optional[
|
|
175
|
+
override_context: typing.Optional[
|
|
176
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
177
|
+
] = None,
|
|
158
178
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
159
179
|
undo: typing.Optional[bool] = None,
|
|
160
180
|
reverse: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
161
181
|
):
|
|
162
182
|
"""Cycle through history
|
|
163
183
|
|
|
164
|
-
:type override_context: typing.Optional[typing.Union[
|
|
184
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
165
185
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
166
186
|
:type undo: typing.Optional[bool]
|
|
167
187
|
:param reverse: Reverse, Reverse cycle history
|
|
@@ -171,13 +191,15 @@ def history_cycle(
|
|
|
171
191
|
...
|
|
172
192
|
|
|
173
193
|
def indent(
|
|
174
|
-
override_context: typing.Optional[
|
|
194
|
+
override_context: typing.Optional[
|
|
195
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
196
|
+
] = None,
|
|
175
197
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
176
198
|
undo: typing.Optional[bool] = None,
|
|
177
199
|
):
|
|
178
200
|
"""Add 4 spaces at line beginning
|
|
179
201
|
|
|
180
|
-
:type override_context: typing.Optional[typing.Union[
|
|
202
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
181
203
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
182
204
|
:type undo: typing.Optional[bool]
|
|
183
205
|
"""
|
|
@@ -185,13 +207,15 @@ def indent(
|
|
|
185
207
|
...
|
|
186
208
|
|
|
187
209
|
def indent_or_autocomplete(
|
|
188
|
-
override_context: typing.Optional[
|
|
210
|
+
override_context: typing.Optional[
|
|
211
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
212
|
+
] = None,
|
|
189
213
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
190
214
|
undo: typing.Optional[bool] = None,
|
|
191
215
|
):
|
|
192
216
|
"""Indent selected text or autocomplete
|
|
193
217
|
|
|
194
|
-
:type override_context: typing.Optional[typing.Union[
|
|
218
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
195
219
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
196
220
|
:type undo: typing.Optional[bool]
|
|
197
221
|
"""
|
|
@@ -199,14 +223,16 @@ def indent_or_autocomplete(
|
|
|
199
223
|
...
|
|
200
224
|
|
|
201
225
|
def insert(
|
|
202
|
-
override_context: typing.Optional[
|
|
226
|
+
override_context: typing.Optional[
|
|
227
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
228
|
+
] = None,
|
|
203
229
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
204
230
|
undo: typing.Optional[bool] = None,
|
|
205
231
|
text: typing.Union[str, typing.Any] = "",
|
|
206
232
|
):
|
|
207
233
|
"""Insert text at cursor position
|
|
208
234
|
|
|
209
|
-
:type override_context: typing.Optional[typing.Union[
|
|
235
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
210
236
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
211
237
|
:type undo: typing.Optional[bool]
|
|
212
238
|
:param text: Text, Text to insert at the cursor position
|
|
@@ -216,14 +242,16 @@ def insert(
|
|
|
216
242
|
...
|
|
217
243
|
|
|
218
244
|
def language(
|
|
219
|
-
override_context: typing.Optional[
|
|
245
|
+
override_context: typing.Optional[
|
|
246
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
247
|
+
] = None,
|
|
220
248
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
221
249
|
undo: typing.Optional[bool] = None,
|
|
222
250
|
language: typing.Union[str, typing.Any] = "",
|
|
223
251
|
):
|
|
224
252
|
"""Set the current language for this console
|
|
225
253
|
|
|
226
|
-
:type override_context: typing.Optional[typing.Union[
|
|
254
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
227
255
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
228
256
|
:type undo: typing.Optional[bool]
|
|
229
257
|
:param language: Language
|
|
@@ -233,7 +261,9 @@ def language(
|
|
|
233
261
|
...
|
|
234
262
|
|
|
235
263
|
def move(
|
|
236
|
-
override_context: typing.Optional[
|
|
264
|
+
override_context: typing.Optional[
|
|
265
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
266
|
+
] = None,
|
|
237
267
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
238
268
|
undo: typing.Optional[bool] = None,
|
|
239
269
|
type: typing.Optional[typing.Any] = "LINE_BEGIN",
|
|
@@ -241,7 +271,7 @@ def move(
|
|
|
241
271
|
):
|
|
242
272
|
"""Move cursor position
|
|
243
273
|
|
|
244
|
-
:type override_context: typing.Optional[typing.Union[
|
|
274
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
245
275
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
246
276
|
:type undo: typing.Optional[bool]
|
|
247
277
|
:param type: Type, Where to move cursor to
|
|
@@ -253,14 +283,16 @@ def move(
|
|
|
253
283
|
...
|
|
254
284
|
|
|
255
285
|
def paste(
|
|
256
|
-
override_context: typing.Optional[
|
|
286
|
+
override_context: typing.Optional[
|
|
287
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
288
|
+
] = None,
|
|
257
289
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
258
290
|
undo: typing.Optional[bool] = None,
|
|
259
291
|
selection: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
260
292
|
):
|
|
261
293
|
"""Paste text from clipboard
|
|
262
294
|
|
|
263
|
-
:type override_context: typing.Optional[typing.Union[
|
|
295
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
264
296
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
265
297
|
:type undo: typing.Optional[bool]
|
|
266
298
|
:param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
|
|
@@ -270,7 +302,9 @@ def paste(
|
|
|
270
302
|
...
|
|
271
303
|
|
|
272
304
|
def scrollback_append(
|
|
273
|
-
override_context: typing.Optional[
|
|
305
|
+
override_context: typing.Optional[
|
|
306
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
307
|
+
] = None,
|
|
274
308
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
275
309
|
undo: typing.Optional[bool] = None,
|
|
276
310
|
text: typing.Union[str, typing.Any] = "",
|
|
@@ -278,7 +312,7 @@ def scrollback_append(
|
|
|
278
312
|
):
|
|
279
313
|
"""Append scrollback text by type
|
|
280
314
|
|
|
281
|
-
:type override_context: typing.Optional[typing.Union[
|
|
315
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
282
316
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
283
317
|
:type undo: typing.Optional[bool]
|
|
284
318
|
:param text: Text, Text to insert at the cursor position
|
|
@@ -290,13 +324,15 @@ def scrollback_append(
|
|
|
290
324
|
...
|
|
291
325
|
|
|
292
326
|
def select_all(
|
|
293
|
-
override_context: typing.Optional[
|
|
327
|
+
override_context: typing.Optional[
|
|
328
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
329
|
+
] = None,
|
|
294
330
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
295
331
|
undo: typing.Optional[bool] = None,
|
|
296
332
|
):
|
|
297
333
|
"""Select all the text
|
|
298
334
|
|
|
299
|
-
:type override_context: typing.Optional[typing.Union[
|
|
335
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
300
336
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
301
337
|
:type undo: typing.Optional[bool]
|
|
302
338
|
"""
|
|
@@ -304,13 +340,15 @@ def select_all(
|
|
|
304
340
|
...
|
|
305
341
|
|
|
306
342
|
def select_set(
|
|
307
|
-
override_context: typing.Optional[
|
|
343
|
+
override_context: typing.Optional[
|
|
344
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
345
|
+
] = None,
|
|
308
346
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
309
347
|
undo: typing.Optional[bool] = None,
|
|
310
348
|
):
|
|
311
349
|
"""Set the console selection
|
|
312
350
|
|
|
313
|
-
:type override_context: typing.Optional[typing.Union[
|
|
351
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
314
352
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
315
353
|
:type undo: typing.Optional[bool]
|
|
316
354
|
"""
|
|
@@ -318,13 +356,15 @@ def select_set(
|
|
|
318
356
|
...
|
|
319
357
|
|
|
320
358
|
def select_word(
|
|
321
|
-
override_context: typing.Optional[
|
|
359
|
+
override_context: typing.Optional[
|
|
360
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
361
|
+
] = None,
|
|
322
362
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
323
363
|
undo: typing.Optional[bool] = None,
|
|
324
364
|
):
|
|
325
365
|
"""Select word at cursor position
|
|
326
366
|
|
|
327
|
-
:type override_context: typing.Optional[typing.Union[
|
|
367
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
328
368
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
329
369
|
:type undo: typing.Optional[bool]
|
|
330
370
|
"""
|
|
@@ -332,13 +372,15 @@ def select_word(
|
|
|
332
372
|
...
|
|
333
373
|
|
|
334
374
|
def unindent(
|
|
335
|
-
override_context: typing.Optional[
|
|
375
|
+
override_context: typing.Optional[
|
|
376
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
377
|
+
] = None,
|
|
336
378
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
337
379
|
undo: typing.Optional[bool] = None,
|
|
338
380
|
):
|
|
339
381
|
"""Delete 4 spaces from line beginning
|
|
340
382
|
|
|
341
|
-
:type override_context: typing.Optional[typing.Union[
|
|
383
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
342
384
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
343
385
|
:type undo: typing.Optional[bool]
|
|
344
386
|
"""
|