fake-bpy-module 20240420__py3-none-any.whl → 20240422__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.
- 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 +21 -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 +336 -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 +441 -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 +2412 -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 +103670 -100517
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +20 -17
- 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-20240420.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.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-20240420.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
bpy/ops/view2d/__init__.pyi
CHANGED
|
@@ -4,305 +4,305 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def edge_pan(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
10
|
-
inside_padding: typing.Any = 1.0,
|
|
11
|
-
outside_padding: typing.Any = 0.0,
|
|
12
|
-
speed_ramp: typing.Any = 1.0,
|
|
13
|
-
max_speed: typing.Any = 500.0,
|
|
14
|
-
delay: typing.Any = 1.0,
|
|
15
|
-
zoom_influence: typing.Any = 0.0,
|
|
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
|
+
inside_padding: typing.Optional[typing.Any] = 1.0,
|
|
11
|
+
outside_padding: typing.Optional[typing.Any] = 0.0,
|
|
12
|
+
speed_ramp: typing.Optional[typing.Any] = 1.0,
|
|
13
|
+
max_speed: typing.Optional[typing.Any] = 500.0,
|
|
14
|
+
delay: typing.Optional[typing.Any] = 1.0,
|
|
15
|
+
zoom_influence: typing.Optional[typing.Any] = 0.0,
|
|
16
16
|
):
|
|
17
17
|
"""Pan the view when the mouse is held at an edge
|
|
18
18
|
|
|
19
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
20
|
-
:type execution_context: typing.Union[str, int]
|
|
21
|
-
:type undo: bool
|
|
19
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
20
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
21
|
+
:type undo: typing.Optional[bool]
|
|
22
22
|
:param inside_padding: Inside Padding, Inside distance in UI units from the edge of the region within which to start panning
|
|
23
|
-
:type inside_padding: typing.Any
|
|
23
|
+
:type inside_padding: typing.Optional[typing.Any]
|
|
24
24
|
:param outside_padding: Outside Padding, Outside distance in UI units from the edge of the region at which to stop panning
|
|
25
|
-
:type outside_padding: typing.Any
|
|
25
|
+
:type outside_padding: typing.Optional[typing.Any]
|
|
26
26
|
:param speed_ramp: Speed Ramp, Width of the zone in UI units where speed increases with distance from the edge
|
|
27
|
-
:type speed_ramp: typing.Any
|
|
27
|
+
:type speed_ramp: typing.Optional[typing.Any]
|
|
28
28
|
:param max_speed: Max Speed, Maximum speed in UI units per second
|
|
29
|
-
:type max_speed: typing.Any
|
|
29
|
+
:type max_speed: typing.Optional[typing.Any]
|
|
30
30
|
:param delay: Delay, Delay in seconds before maximum speed is reached
|
|
31
|
-
:type delay: typing.Any
|
|
31
|
+
:type delay: typing.Optional[typing.Any]
|
|
32
32
|
:param zoom_influence: Zoom Influence, Influence of the zoom factor on scroll speed
|
|
33
|
-
:type zoom_influence: typing.Any
|
|
33
|
+
:type zoom_influence: typing.Optional[typing.Any]
|
|
34
34
|
"""
|
|
35
35
|
|
|
36
36
|
...
|
|
37
37
|
|
|
38
38
|
def ndof(
|
|
39
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
40
|
-
execution_context: typing.Union[str, int] = None,
|
|
41
|
-
undo: bool = None,
|
|
39
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
40
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
41
|
+
undo: typing.Optional[bool] = None,
|
|
42
42
|
):
|
|
43
43
|
"""Use a 3D mouse device to pan/zoom the view
|
|
44
44
|
|
|
45
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
-
:type execution_context: typing.Union[str, int]
|
|
47
|
-
:type undo: bool
|
|
45
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
46
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
47
|
+
:type undo: typing.Optional[bool]
|
|
48
48
|
"""
|
|
49
49
|
|
|
50
50
|
...
|
|
51
51
|
|
|
52
52
|
def pan(
|
|
53
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
54
|
-
execution_context: typing.Union[str, int] = None,
|
|
55
|
-
undo: bool = None,
|
|
56
|
-
deltax: typing.Any = 0,
|
|
57
|
-
deltay: typing.Any = 0,
|
|
53
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
54
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
55
|
+
undo: typing.Optional[bool] = None,
|
|
56
|
+
deltax: typing.Optional[typing.Any] = 0,
|
|
57
|
+
deltay: typing.Optional[typing.Any] = 0,
|
|
58
58
|
):
|
|
59
59
|
"""Pan the view
|
|
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
|
:param deltax: Delta X
|
|
65
|
-
:type deltax: typing.Any
|
|
65
|
+
:type deltax: typing.Optional[typing.Any]
|
|
66
66
|
:param deltay: Delta Y
|
|
67
|
-
:type deltay: typing.Any
|
|
67
|
+
:type deltay: typing.Optional[typing.Any]
|
|
68
68
|
"""
|
|
69
69
|
|
|
70
70
|
...
|
|
71
71
|
|
|
72
72
|
def reset(
|
|
73
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
74
|
-
execution_context: typing.Union[str, int] = None,
|
|
75
|
-
undo: bool = None,
|
|
73
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
74
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
75
|
+
undo: typing.Optional[bool] = None,
|
|
76
76
|
):
|
|
77
77
|
"""Reset the view
|
|
78
78
|
|
|
79
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
80
|
-
:type execution_context: typing.Union[str, int]
|
|
81
|
-
:type undo: bool
|
|
79
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
80
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
81
|
+
:type undo: typing.Optional[bool]
|
|
82
82
|
"""
|
|
83
83
|
|
|
84
84
|
...
|
|
85
85
|
|
|
86
86
|
def scroll_down(
|
|
87
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
88
|
-
execution_context: typing.Union[str, int] = None,
|
|
89
|
-
undo: bool = None,
|
|
90
|
-
deltax: typing.Any = 0,
|
|
91
|
-
deltay: typing.Any = 0,
|
|
92
|
-
page: typing.Union[bool, typing.Any] = False,
|
|
87
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
88
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
89
|
+
undo: typing.Optional[bool] = None,
|
|
90
|
+
deltax: typing.Optional[typing.Any] = 0,
|
|
91
|
+
deltay: typing.Optional[typing.Any] = 0,
|
|
92
|
+
page: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
93
93
|
):
|
|
94
94
|
"""Scroll the view down
|
|
95
95
|
|
|
96
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
97
|
-
:type execution_context: typing.Union[str, int]
|
|
98
|
-
:type undo: bool
|
|
96
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
97
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
98
|
+
:type undo: typing.Optional[bool]
|
|
99
99
|
:param deltax: Delta X
|
|
100
|
-
:type deltax: typing.Any
|
|
100
|
+
:type deltax: typing.Optional[typing.Any]
|
|
101
101
|
:param deltay: Delta Y
|
|
102
|
-
:type deltay: typing.Any
|
|
102
|
+
:type deltay: typing.Optional[typing.Any]
|
|
103
103
|
:param page: Page, Scroll down one page
|
|
104
|
-
:type page: typing.Union[bool, typing.Any]
|
|
104
|
+
:type page: typing.Optional[typing.Union[bool, typing.Any]]
|
|
105
105
|
"""
|
|
106
106
|
|
|
107
107
|
...
|
|
108
108
|
|
|
109
109
|
def scroll_left(
|
|
110
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
111
|
-
execution_context: typing.Union[str, int] = None,
|
|
112
|
-
undo: bool = None,
|
|
113
|
-
deltax: typing.Any = 0,
|
|
114
|
-
deltay: typing.Any = 0,
|
|
110
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
111
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
112
|
+
undo: typing.Optional[bool] = None,
|
|
113
|
+
deltax: typing.Optional[typing.Any] = 0,
|
|
114
|
+
deltay: typing.Optional[typing.Any] = 0,
|
|
115
115
|
):
|
|
116
116
|
"""Scroll the view left
|
|
117
117
|
|
|
118
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
119
|
-
:type execution_context: typing.Union[str, int]
|
|
120
|
-
:type undo: bool
|
|
118
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
119
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
120
|
+
:type undo: typing.Optional[bool]
|
|
121
121
|
:param deltax: Delta X
|
|
122
|
-
:type deltax: typing.Any
|
|
122
|
+
:type deltax: typing.Optional[typing.Any]
|
|
123
123
|
:param deltay: Delta Y
|
|
124
|
-
:type deltay: typing.Any
|
|
124
|
+
:type deltay: typing.Optional[typing.Any]
|
|
125
125
|
"""
|
|
126
126
|
|
|
127
127
|
...
|
|
128
128
|
|
|
129
129
|
def scroll_right(
|
|
130
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
131
|
-
execution_context: typing.Union[str, int] = None,
|
|
132
|
-
undo: bool = None,
|
|
133
|
-
deltax: typing.Any = 0,
|
|
134
|
-
deltay: typing.Any = 0,
|
|
130
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
131
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
132
|
+
undo: typing.Optional[bool] = None,
|
|
133
|
+
deltax: typing.Optional[typing.Any] = 0,
|
|
134
|
+
deltay: typing.Optional[typing.Any] = 0,
|
|
135
135
|
):
|
|
136
136
|
"""Scroll the view right
|
|
137
137
|
|
|
138
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
139
|
-
:type execution_context: typing.Union[str, int]
|
|
140
|
-
:type undo: bool
|
|
138
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
139
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
140
|
+
:type undo: typing.Optional[bool]
|
|
141
141
|
:param deltax: Delta X
|
|
142
|
-
:type deltax: typing.Any
|
|
142
|
+
:type deltax: typing.Optional[typing.Any]
|
|
143
143
|
:param deltay: Delta Y
|
|
144
|
-
:type deltay: typing.Any
|
|
144
|
+
:type deltay: typing.Optional[typing.Any]
|
|
145
145
|
"""
|
|
146
146
|
|
|
147
147
|
...
|
|
148
148
|
|
|
149
149
|
def scroll_up(
|
|
150
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
151
|
-
execution_context: typing.Union[str, int] = None,
|
|
152
|
-
undo: bool = None,
|
|
153
|
-
deltax: typing.Any = 0,
|
|
154
|
-
deltay: typing.Any = 0,
|
|
155
|
-
page: typing.Union[bool, typing.Any] = False,
|
|
150
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
151
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
152
|
+
undo: typing.Optional[bool] = None,
|
|
153
|
+
deltax: typing.Optional[typing.Any] = 0,
|
|
154
|
+
deltay: typing.Optional[typing.Any] = 0,
|
|
155
|
+
page: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
156
156
|
):
|
|
157
157
|
"""Scroll the view up
|
|
158
158
|
|
|
159
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
160
|
-
:type execution_context: typing.Union[str, int]
|
|
161
|
-
:type undo: bool
|
|
159
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
160
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
161
|
+
:type undo: typing.Optional[bool]
|
|
162
162
|
:param deltax: Delta X
|
|
163
|
-
:type deltax: typing.Any
|
|
163
|
+
:type deltax: typing.Optional[typing.Any]
|
|
164
164
|
:param deltay: Delta Y
|
|
165
|
-
:type deltay: typing.Any
|
|
165
|
+
:type deltay: typing.Optional[typing.Any]
|
|
166
166
|
:param page: Page, Scroll up one page
|
|
167
|
-
:type page: typing.Union[bool, typing.Any]
|
|
167
|
+
:type page: typing.Optional[typing.Union[bool, typing.Any]]
|
|
168
168
|
"""
|
|
169
169
|
|
|
170
170
|
...
|
|
171
171
|
|
|
172
172
|
def scroller_activate(
|
|
173
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
174
|
-
execution_context: typing.Union[str, int] = None,
|
|
175
|
-
undo: bool = None,
|
|
173
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
174
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
175
|
+
undo: typing.Optional[bool] = None,
|
|
176
176
|
):
|
|
177
177
|
"""Scroll view by mouse click and drag
|
|
178
178
|
|
|
179
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
180
|
-
:type execution_context: typing.Union[str, int]
|
|
181
|
-
:type undo: bool
|
|
179
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
180
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
181
|
+
:type undo: typing.Optional[bool]
|
|
182
182
|
"""
|
|
183
183
|
|
|
184
184
|
...
|
|
185
185
|
|
|
186
186
|
def smoothview(
|
|
187
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
188
|
-
execution_context: typing.Union[str, int] = None,
|
|
189
|
-
undo: bool = None,
|
|
190
|
-
xmin: typing.Any = 0,
|
|
191
|
-
xmax: typing.Any = 0,
|
|
192
|
-
ymin: typing.Any = 0,
|
|
193
|
-
ymax: typing.Any = 0,
|
|
194
|
-
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
187
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
188
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
189
|
+
undo: typing.Optional[bool] = None,
|
|
190
|
+
xmin: typing.Optional[typing.Any] = 0,
|
|
191
|
+
xmax: typing.Optional[typing.Any] = 0,
|
|
192
|
+
ymin: typing.Optional[typing.Any] = 0,
|
|
193
|
+
ymax: typing.Optional[typing.Any] = 0,
|
|
194
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
195
195
|
):
|
|
196
196
|
"""Undocumented, consider contributing.
|
|
197
197
|
|
|
198
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
199
|
-
:type execution_context: typing.Union[str, int]
|
|
200
|
-
:type undo: bool
|
|
198
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
199
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
200
|
+
:type undo: typing.Optional[bool]
|
|
201
201
|
:param xmin: X Min
|
|
202
|
-
:type xmin: typing.Any
|
|
202
|
+
:type xmin: typing.Optional[typing.Any]
|
|
203
203
|
:param xmax: X Max
|
|
204
|
-
:type xmax: typing.Any
|
|
204
|
+
:type xmax: typing.Optional[typing.Any]
|
|
205
205
|
:param ymin: Y Min
|
|
206
|
-
:type ymin: typing.Any
|
|
206
|
+
:type ymin: typing.Optional[typing.Any]
|
|
207
207
|
:param ymax: Y Max
|
|
208
|
-
:type ymax: typing.Any
|
|
208
|
+
:type ymax: typing.Optional[typing.Any]
|
|
209
209
|
:param wait_for_input: Wait for Input
|
|
210
|
-
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
210
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
211
211
|
"""
|
|
212
212
|
|
|
213
213
|
...
|
|
214
214
|
|
|
215
215
|
def zoom(
|
|
216
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
217
|
-
execution_context: typing.Union[str, int] = None,
|
|
218
|
-
undo: bool = None,
|
|
219
|
-
deltax: typing.Any = 0.0,
|
|
220
|
-
deltay: typing.Any = 0.0,
|
|
221
|
-
use_cursor_init: typing.Union[bool, typing.Any] = True,
|
|
216
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
217
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
218
|
+
undo: typing.Optional[bool] = None,
|
|
219
|
+
deltax: typing.Optional[typing.Any] = 0.0,
|
|
220
|
+
deltay: typing.Optional[typing.Any] = 0.0,
|
|
221
|
+
use_cursor_init: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
222
222
|
):
|
|
223
223
|
"""Zoom in/out the view
|
|
224
224
|
|
|
225
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
226
|
-
:type execution_context: typing.Union[str, int]
|
|
227
|
-
:type undo: bool
|
|
225
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
226
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
227
|
+
:type undo: typing.Optional[bool]
|
|
228
228
|
:param deltax: Delta X
|
|
229
|
-
:type deltax: typing.Any
|
|
229
|
+
:type deltax: typing.Optional[typing.Any]
|
|
230
230
|
:param deltay: Delta Y
|
|
231
|
-
:type deltay: typing.Any
|
|
231
|
+
:type deltay: typing.Optional[typing.Any]
|
|
232
232
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
233
|
-
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
233
|
+
:type use_cursor_init: typing.Optional[typing.Union[bool, typing.Any]]
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
...
|
|
237
237
|
|
|
238
238
|
def zoom_border(
|
|
239
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
240
|
-
execution_context: typing.Union[str, int] = None,
|
|
241
|
-
undo: bool = None,
|
|
242
|
-
xmin: typing.Any = 0,
|
|
243
|
-
xmax: typing.Any = 0,
|
|
244
|
-
ymin: typing.Any = 0,
|
|
245
|
-
ymax: typing.Any = 0,
|
|
246
|
-
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
247
|
-
zoom_out: typing.Union[bool, typing.Any] = False,
|
|
239
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
240
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
241
|
+
undo: typing.Optional[bool] = None,
|
|
242
|
+
xmin: typing.Optional[typing.Any] = 0,
|
|
243
|
+
xmax: typing.Optional[typing.Any] = 0,
|
|
244
|
+
ymin: typing.Optional[typing.Any] = 0,
|
|
245
|
+
ymax: typing.Optional[typing.Any] = 0,
|
|
246
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
247
|
+
zoom_out: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
248
248
|
):
|
|
249
249
|
"""Zoom in the view to the nearest item contained in the border
|
|
250
250
|
|
|
251
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
252
|
-
:type execution_context: typing.Union[str, int]
|
|
253
|
-
:type undo: bool
|
|
251
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
252
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
253
|
+
:type undo: typing.Optional[bool]
|
|
254
254
|
:param xmin: X Min
|
|
255
|
-
:type xmin: typing.Any
|
|
255
|
+
:type xmin: typing.Optional[typing.Any]
|
|
256
256
|
:param xmax: X Max
|
|
257
|
-
:type xmax: typing.Any
|
|
257
|
+
:type xmax: typing.Optional[typing.Any]
|
|
258
258
|
:param ymin: Y Min
|
|
259
|
-
:type ymin: typing.Any
|
|
259
|
+
:type ymin: typing.Optional[typing.Any]
|
|
260
260
|
:param ymax: Y Max
|
|
261
|
-
:type ymax: typing.Any
|
|
261
|
+
:type ymax: typing.Optional[typing.Any]
|
|
262
262
|
:param wait_for_input: Wait for Input
|
|
263
|
-
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
263
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
264
264
|
:param zoom_out: Zoom Out
|
|
265
|
-
:type zoom_out: typing.Union[bool, typing.Any]
|
|
265
|
+
:type zoom_out: typing.Optional[typing.Union[bool, typing.Any]]
|
|
266
266
|
"""
|
|
267
267
|
|
|
268
268
|
...
|
|
269
269
|
|
|
270
270
|
def zoom_in(
|
|
271
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
272
|
-
execution_context: typing.Union[str, int] = None,
|
|
273
|
-
undo: bool = None,
|
|
274
|
-
zoomfacx: typing.Any = 0.0,
|
|
275
|
-
zoomfacy: typing.Any = 0.0,
|
|
271
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
272
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
273
|
+
undo: typing.Optional[bool] = None,
|
|
274
|
+
zoomfacx: typing.Optional[typing.Any] = 0.0,
|
|
275
|
+
zoomfacy: typing.Optional[typing.Any] = 0.0,
|
|
276
276
|
):
|
|
277
277
|
"""Zoom in the view
|
|
278
278
|
|
|
279
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
280
|
-
:type execution_context: typing.Union[str, int]
|
|
281
|
-
:type undo: bool
|
|
279
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
280
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
281
|
+
:type undo: typing.Optional[bool]
|
|
282
282
|
:param zoomfacx: Zoom Factor X
|
|
283
|
-
:type zoomfacx: typing.Any
|
|
283
|
+
:type zoomfacx: typing.Optional[typing.Any]
|
|
284
284
|
:param zoomfacy: Zoom Factor Y
|
|
285
|
-
:type zoomfacy: typing.Any
|
|
285
|
+
:type zoomfacy: typing.Optional[typing.Any]
|
|
286
286
|
"""
|
|
287
287
|
|
|
288
288
|
...
|
|
289
289
|
|
|
290
290
|
def zoom_out(
|
|
291
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
292
|
-
execution_context: typing.Union[str, int] = None,
|
|
293
|
-
undo: bool = None,
|
|
294
|
-
zoomfacx: typing.Any = 0.0,
|
|
295
|
-
zoomfacy: typing.Any = 0.0,
|
|
291
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
292
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
293
|
+
undo: typing.Optional[bool] = None,
|
|
294
|
+
zoomfacx: typing.Optional[typing.Any] = 0.0,
|
|
295
|
+
zoomfacy: typing.Optional[typing.Any] = 0.0,
|
|
296
296
|
):
|
|
297
297
|
"""Zoom out the view
|
|
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
|
:param zoomfacx: Zoom Factor X
|
|
303
|
-
:type zoomfacx: typing.Any
|
|
303
|
+
:type zoomfacx: typing.Optional[typing.Any]
|
|
304
304
|
:param zoomfacy: Zoom Factor Y
|
|
305
|
-
:type zoomfacy: typing.Any
|
|
305
|
+
:type zoomfacy: typing.Optional[typing.Any]
|
|
306
306
|
"""
|
|
307
307
|
|
|
308
308
|
...
|