fake-bpy-module 20240518__py3-none-any.whl → 20240520__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_internal/__init__.pyi +3 -1
- _bpy_internal/freedesktop/__init__.pyi +3 -1
- addon_utils/__init__.pyi +3 -1
- animsys_refactor/__init__.pyi +3 -1
- aud/__init__.pyi +3 -1
- bgl/__init__.pyi +121 -146
- bl_app_override/__init__.pyi +3 -1
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +3 -1
- bl_console_utils/__init__.pyi +3 -1
- bl_console_utils/autocomplete/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
- bl_i18n_utils/__init__.pyi +3 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
- bl_i18n_utils/merge_po/__init__.pyi +3 -1
- bl_i18n_utils/settings/__init__.pyi +3 -1
- bl_i18n_utils/utils/__init__.pyi +3 -1
- bl_i18n_utils/utils_cli/__init__.pyi +3 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
- bl_keymap_utils/__init__.pyi +3 -1
- bl_keymap_utils/io/__init__.pyi +3 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
- bl_keymap_utils/versioning/__init__.pyi +3 -1
- bl_math/__init__.pyi +3 -1
- bl_operators/__init__.pyi +3 -1
- bl_operators/add_mesh_torus/__init__.pyi +3 -1
- bl_operators/anim/__init__.pyi +3 -1
- bl_operators/assets/__init__.pyi +3 -1
- bl_operators/bmesh/__init__.pyi +3 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
- bl_operators/clip/__init__.pyi +3 -1
- bl_operators/console/__init__.pyi +3 -1
- bl_operators/constraint/__init__.pyi +3 -1
- bl_operators/file/__init__.pyi +3 -1
- bl_operators/freestyle/__init__.pyi +3 -1
- bl_operators/geometry_nodes/__init__.pyi +3 -1
- bl_operators/image/__init__.pyi +3 -1
- bl_operators/mesh/__init__.pyi +3 -1
- bl_operators/node/__init__.pyi +3 -1
- bl_operators/object/__init__.pyi +3 -1
- bl_operators/object_align/__init__.pyi +3 -1
- bl_operators/object_quick_effects/__init__.pyi +3 -1
- bl_operators/object_randomize_transform/__init__.pyi +3 -1
- bl_operators/presets/__init__.pyi +3 -1
- bl_operators/rigidbody/__init__.pyi +3 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
- bl_operators/sequencer/__init__.pyi +3 -1
- bl_operators/spreadsheet/__init__.pyi +3 -1
- bl_operators/userpref/__init__.pyi +3 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
- bl_operators/uvcalc_transform/__init__.pyi +3 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
- bl_operators/view3d/__init__.pyi +3 -1
- bl_operators/wm/__init__.pyi +3 -1
- bl_operators/world/__init__.pyi +3 -1
- bl_previews_utils/__init__.pyi +3 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
- bl_rna_utils/__init__.pyi +3 -1
- bl_rna_utils/data_path/__init__.pyi +3 -1
- bl_text_utils/__init__.pyi +3 -1
- bl_text_utils/external_editor/__init__.pyi +3 -1
- bl_ui/__init__.pyi +3 -1
- bl_ui/anim/__init__.pyi +3 -1
- bl_ui/asset_shelf/__init__.pyi +3 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -1
- bl_ui/node_add_menu/__init__.pyi +3 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
- bl_ui/node_add_menu_shader/__init__.pyi +3 -1
- bl_ui/node_add_menu_texture/__init__.pyi +3 -1
- bl_ui/properties_animviz/__init__.pyi +3 -1
- bl_ui/properties_collection/__init__.pyi +3 -1
- bl_ui/properties_constraint/__init__.pyi +3 -1
- bl_ui/properties_data_armature/__init__.pyi +3 -1
- bl_ui/properties_data_bone/__init__.pyi +3 -1
- bl_ui/properties_data_camera/__init__.pyi +3 -1
- bl_ui/properties_data_curve/__init__.pyi +3 -1
- bl_ui/properties_data_curves/__init__.pyi +3 -1
- bl_ui/properties_data_empty/__init__.pyi +3 -1
- bl_ui/properties_data_gpencil/__init__.pyi +3 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
- bl_ui/properties_data_lattice/__init__.pyi +3 -1
- bl_ui/properties_data_light/__init__.pyi +3 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
- bl_ui/properties_data_mesh/__init__.pyi +3 -1
- bl_ui/properties_data_metaball/__init__.pyi +3 -1
- bl_ui/properties_data_modifier/__init__.pyi +3 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
- bl_ui/properties_data_speaker/__init__.pyi +3 -1
- bl_ui/properties_data_volume/__init__.pyi +3 -1
- bl_ui/properties_freestyle/__init__.pyi +3 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
- bl_ui/properties_mask_common/__init__.pyi +3 -1
- bl_ui/properties_material/__init__.pyi +3 -1
- bl_ui/properties_material_gpencil/__init__.pyi +3 -1
- bl_ui/properties_object/__init__.pyi +3 -1
- bl_ui/properties_output/__init__.pyi +3 -1
- bl_ui/properties_paint_common/__init__.pyi +3 -1
- bl_ui/properties_particle/__init__.pyi +3 -1
- bl_ui/properties_physics_cloth/__init__.pyi +3 -1
- bl_ui/properties_physics_common/__init__.pyi +3 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
- bl_ui/properties_physics_field/__init__.pyi +3 -1
- bl_ui/properties_physics_fluid/__init__.pyi +3 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
- bl_ui/properties_physics_softbody/__init__.pyi +3 -1
- bl_ui/properties_render/__init__.pyi +3 -1
- bl_ui/properties_scene/__init__.pyi +3 -1
- bl_ui/properties_texture/__init__.pyi +3 -1
- bl_ui/properties_view_layer/__init__.pyi +3 -1
- bl_ui/properties_workspace/__init__.pyi +3 -1
- bl_ui/properties_world/__init__.pyi +3 -1
- bl_ui/space_clip/__init__.pyi +3 -1
- bl_ui/space_console/__init__.pyi +3 -1
- bl_ui/space_dopesheet/__init__.pyi +3 -1
- bl_ui/space_filebrowser/__init__.pyi +3 -1
- bl_ui/space_graph/__init__.pyi +3 -1
- bl_ui/space_image/__init__.pyi +3 -1
- bl_ui/space_info/__init__.pyi +3 -1
- bl_ui/space_nla/__init__.pyi +3 -1
- bl_ui/space_node/__init__.pyi +3 -1
- bl_ui/space_outliner/__init__.pyi +3 -1
- bl_ui/space_properties/__init__.pyi +3 -1
- bl_ui/space_sequencer/__init__.pyi +3 -1
- bl_ui/space_spreadsheet/__init__.pyi +3 -1
- bl_ui/space_statusbar/__init__.pyi +3 -1
- bl_ui/space_text/__init__.pyi +3 -1
- bl_ui/space_time/__init__.pyi +3 -1
- bl_ui/space_toolsystem_common/__init__.pyi +3 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
- bl_ui/space_topbar/__init__.pyi +3 -1
- bl_ui/space_userpref/__init__.pyi +3 -1
- bl_ui/space_view3d/__init__.pyi +3 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
- bl_ui/temp_anim_layers/__init__.pyi +3 -1
- bl_ui/utils/__init__.pyi +3 -1
- bl_ui_utils/__init__.pyi +3 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -1
- bl_ui_utils/layout/__init__.pyi +3 -1
- blend_render_info/__init__.pyi +3 -1
- blf/__init__.pyi +3 -1
- bmesh/__init__.pyi +3 -1
- bmesh/geometry/__init__.pyi +3 -1
- bmesh/ops/__init__.pyi +39 -37
- bmesh/types/__init__.pyi +31 -28
- bmesh/utils/__init__.pyi +3 -1
- bpy/__init__.pyi +3 -1
- bpy/app/__init__.pyi +3 -1
- bpy/app/handlers/__init__.pyi +3 -1
- bpy/app/icons/__init__.pyi +3 -1
- bpy/app/timers/__init__.pyi +9 -15
- bpy/app/translations/__init__.pyi +3 -1
- bpy/msgbus/__init__.pyi +3 -1
- bpy/ops/__init__.pyi +3 -1
- bpy/ops/action/__init__.pyi +35 -33
- bpy/ops/anim/__init__.pyi +33 -31
- bpy/ops/armature/__init__.pyi +23 -21
- bpy/ops/asset/__init__.pyi +9 -7
- bpy/ops/bl_pkg/__init__.pyi +5 -3
- bpy/ops/boid/__init__.pyi +5 -3
- bpy/ops/brush/__init__.pyi +11 -9
- bpy/ops/buttons/__init__.pyi +11 -9
- bpy/ops/cachefile/__init__.pyi +13 -11
- bpy/ops/camera/__init__.pyi +3 -1
- bpy/ops/clip/__init__.pyi +41 -39
- bpy/ops/cloth/__init__.pyi +3 -1
- bpy/ops/collection/__init__.pyi +9 -7
- bpy/ops/console/__init__.pyi +9 -7
- bpy/ops/constraint/__init__.pyi +31 -29
- bpy/ops/curve/__init__.pyi +37 -35
- bpy/ops/curves/__init__.pyi +19 -17
- bpy/ops/cycles/__init__.pyi +3 -1
- bpy/ops/dpaint/__init__.pyi +7 -5
- bpy/ops/ed/__init__.pyi +7 -5
- bpy/ops/export_anim/__init__.pyi +5 -3
- bpy/ops/export_scene/__init__.pyi +41 -39
- bpy/ops/file/__init__.pyi +21 -19
- bpy/ops/fluid/__init__.pyi +3 -1
- bpy/ops/font/__init__.pyi +23 -21
- bpy/ops/geometry/__init__.pyi +23 -21
- bpy/ops/gizmogroup/__init__.pyi +3 -1
- bpy/ops/gpencil/__init__.pyi +135 -133
- bpy/ops/graph/__init__.pyi +57 -55
- bpy/ops/grease_pencil/__init__.pyi +45 -43
- bpy/ops/image/__init__.pyi +31 -29
- bpy/ops/import_anim/__init__.pyi +11 -9
- bpy/ops/import_curve/__init__.pyi +3 -1
- bpy/ops/import_scene/__init__.pyi +21 -19
- bpy/ops/info/__init__.pyi +7 -5
- bpy/ops/lattice/__init__.pyi +9 -7
- bpy/ops/marker/__init__.pyi +11 -9
- bpy/ops/mask/__init__.pyi +15 -13
- bpy/ops/material/__init__.pyi +3 -1
- bpy/ops/mball/__init__.pyi +9 -7
- bpy/ops/mesh/__init__.pyi +147 -145
- bpy/ops/nla/__init__.pyi +19 -17
- bpy/ops/node/__init__.pyi +35 -33
- bpy/ops/object/__init__.pyi +255 -253
- bpy/ops/outliner/__init__.pyi +43 -41
- bpy/ops/paint/__init__.pyi +75 -73
- bpy/ops/paintcurve/__init__.pyi +3 -1
- bpy/ops/palette/__init__.pyi +7 -5
- bpy/ops/particle/__init__.pyi +17 -15
- bpy/ops/pose/__init__.pyi +45 -43
- bpy/ops/poselib/__init__.pyi +3 -1
- bpy/ops/preferences/__init__.pyi +15 -13
- bpy/ops/ptcache/__init__.pyi +3 -1
- bpy/ops/render/__init__.pyi +5 -3
- bpy/ops/rigidbody/__init__.pyi +19 -17
- bpy/ops/scene/__init__.pyi +27 -25
- bpy/ops/screen/__init__.pyi +23 -21
- bpy/ops/script/__init__.pyi +3 -1
- bpy/ops/sculpt/__init__.pyi +69 -67
- bpy/ops/sculpt_curves/__init__.pyi +5 -3
- bpy/ops/sequencer/__init__.pyi +77 -75
- bpy/ops/sound/__init__.pyi +23 -21
- bpy/ops/spreadsheet/__init__.pyi +3 -1
- bpy/ops/surface/__init__.pyi +15 -13
- bpy/ops/text/__init__.pyi +25 -23
- bpy/ops/text_editor/__init__.pyi +3 -1
- bpy/ops/texture/__init__.pyi +5 -3
- bpy/ops/transform/__init__.pyi +91 -89
- bpy/ops/ui/__init__.pyi +9 -7
- bpy/ops/uilist/__init__.pyi +5 -3
- bpy/ops/uv/__init__.pyi +69 -67
- bpy/ops/view2d/__init__.pyi +3 -1
- bpy/ops/view3d/__init__.pyi +37 -35
- bpy/ops/wm/__init__.pyi +199 -197
- bpy/ops/workspace/__init__.pyi +3 -1
- bpy/ops/world/__init__.pyi +3 -1
- bpy/path/__init__.pyi +3 -1
- bpy/props/__init__.pyi +3 -1
- bpy/types/__init__.pyi +3448 -3370
- bpy/utils/__init__.pyi +3 -1
- bpy/utils/previews/__init__.pyi +3 -1
- bpy/utils/units/__init__.pyi +3 -1
- bpy_extras/__init__.pyi +3 -1
- bpy_extras/anim_utils/__init__.pyi +3 -1
- bpy_extras/asset_utils/__init__.pyi +3 -1
- bpy_extras/bmesh_utils/__init__.pyi +3 -1
- bpy_extras/extensions/__init__.pyi +3 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -1
- bpy_extras/image_utils/__init__.pyi +3 -1
- bpy_extras/io_utils/__init__.pyi +3 -1
- bpy_extras/keyconfig_utils/__init__.pyi +3 -1
- bpy_extras/mesh_utils/__init__.pyi +3 -1
- bpy_extras/node_shader_utils/__init__.pyi +3 -1
- bpy_extras/node_utils/__init__.pyi +3 -1
- bpy_extras/object_utils/__init__.pyi +3 -1
- bpy_extras/view3d_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
- bpy_restrict_state/__init__.pyi +3 -1
- bpy_types/__init__.pyi +3 -1
- console_python/__init__.pyi +3 -1
- console_shell/__init__.pyi +3 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
- fake_bpy_module-20240520.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +3 -1
- freestyle/chainingiterators/__init__.pyi +3 -1
- freestyle/functions/__init__.pyi +3 -1
- freestyle/predicates/__init__.pyi +3 -1
- freestyle/shaders/__init__.pyi +3 -1
- freestyle/types/__init__.pyi +3 -1
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +3 -1
- gpu/__init__.pyi +3 -1
- gpu/capabilities/__init__.pyi +3 -1
- gpu/matrix/__init__.pyi +3 -1
- gpu/platform/__init__.pyi +3 -1
- gpu/select/__init__.pyi +3 -1
- gpu/shader/__init__.pyi +3 -1
- gpu/state/__init__.pyi +3 -1
- gpu/texture/__init__.pyi +3 -1
- gpu/types/__init__.pyi +3 -1
- gpu_extras/__init__.pyi +3 -1
- gpu_extras/batch/__init__.pyi +3 -1
- gpu_extras/presets/__init__.pyi +3 -1
- graphviz_export/__init__.pyi +3 -1
- idprop/__init__.pyi +3 -1
- idprop/types/__init__.pyi +3 -1
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -1
- keyingsets_builtins/__init__.pyi +3 -1
- keyingsets_utils/__init__.pyi +3 -1
- mathutils/__init__.pyi +5 -2
- mathutils/bvhtree/__init__.pyi +3 -1
- mathutils/geometry/__init__.pyi +3 -1
- mathutils/interpolate/__init__.pyi +3 -1
- mathutils/kdtree/__init__.pyi +3 -1
- mathutils/noise/__init__.pyi +3 -1
- nodeitems_builtins/__init__.pyi +3 -1
- nodeitems_utils/__init__.pyi +3 -1
- rna_info/__init__.pyi +3 -1
- rna_keymap_ui/__init__.pyi +3 -1
- rna_prop_ui/__init__.pyi +3 -1
- rna_xml/__init__.pyi +3 -1
- sys_info/__init__.pyi +3 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
bpy/ops/scene/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def delete(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -49,7 +51,7 @@ def freestyle_alpha_modifier_add(
|
|
|
49
51
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
50
52
|
execution_context: str | int | None = None,
|
|
51
53
|
undo: bool | None = None,
|
|
52
|
-
type: str |
|
|
54
|
+
type: str | None = "ALONG_STROKE",
|
|
53
55
|
):
|
|
54
56
|
"""Add an alpha transparency modifier to the line style associated with the active lineset
|
|
55
57
|
|
|
@@ -57,7 +59,7 @@ def freestyle_alpha_modifier_add(
|
|
|
57
59
|
:type execution_context: str | int | None
|
|
58
60
|
:type undo: bool | None
|
|
59
61
|
:param type: Type
|
|
60
|
-
:type type: str |
|
|
62
|
+
:type type: str | None
|
|
61
63
|
"""
|
|
62
64
|
|
|
63
65
|
...
|
|
@@ -66,7 +68,7 @@ def freestyle_color_modifier_add(
|
|
|
66
68
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
67
69
|
execution_context: str | int | None = None,
|
|
68
70
|
undo: bool | None = None,
|
|
69
|
-
type: str |
|
|
71
|
+
type: str | None = "ALONG_STROKE",
|
|
70
72
|
):
|
|
71
73
|
"""Add a line color modifier to the line style associated with the active lineset
|
|
72
74
|
|
|
@@ -74,7 +76,7 @@ def freestyle_color_modifier_add(
|
|
|
74
76
|
:type execution_context: str | int | None
|
|
75
77
|
:type undo: bool | None
|
|
76
78
|
:param type: Type
|
|
77
|
-
:type type: str |
|
|
79
|
+
:type type: str | None
|
|
78
80
|
"""
|
|
79
81
|
|
|
80
82
|
...
|
|
@@ -83,7 +85,7 @@ def freestyle_fill_range_by_selection(
|
|
|
83
85
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
84
86
|
execution_context: str | int | None = None,
|
|
85
87
|
undo: bool | None = None,
|
|
86
|
-
type:
|
|
88
|
+
type: str | None = "COLOR",
|
|
87
89
|
name: str | typing.Any = "",
|
|
88
90
|
):
|
|
89
91
|
"""Fill the Range Min/Max entries by the min/max distance between selected mesh objects and the source object (either a user-specified object or the active camera)
|
|
@@ -101,7 +103,7 @@ def freestyle_fill_range_by_selection(
|
|
|
101
103
|
|
|
102
104
|
THICKNESS
|
|
103
105
|
Thickness -- Thickness modifier type.
|
|
104
|
-
:type type:
|
|
106
|
+
:type type: str | None
|
|
105
107
|
:param name: Name, Name of the modifier to work on
|
|
106
108
|
:type name: str | typing.Any
|
|
107
109
|
"""
|
|
@@ -112,7 +114,7 @@ def freestyle_geometry_modifier_add(
|
|
|
112
114
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
113
115
|
execution_context: str | int | None = None,
|
|
114
116
|
undo: bool | None = None,
|
|
115
|
-
type: str |
|
|
117
|
+
type: str | None = "2D_OFFSET",
|
|
116
118
|
):
|
|
117
119
|
"""Add a stroke geometry modifier to the line style associated with the active lineset
|
|
118
120
|
|
|
@@ -120,7 +122,7 @@ def freestyle_geometry_modifier_add(
|
|
|
120
122
|
:type execution_context: str | int | None
|
|
121
123
|
:type undo: bool | None
|
|
122
124
|
:param type: Type
|
|
123
|
-
:type type: str |
|
|
125
|
+
:type type: str | None
|
|
124
126
|
"""
|
|
125
127
|
|
|
126
128
|
...
|
|
@@ -157,7 +159,7 @@ def freestyle_lineset_move(
|
|
|
157
159
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
158
160
|
execution_context: str | int | None = None,
|
|
159
161
|
undo: bool | None = None,
|
|
160
|
-
direction:
|
|
162
|
+
direction: str | None = "UP",
|
|
161
163
|
):
|
|
162
164
|
"""Change the position of the active line set within the list of line sets
|
|
163
165
|
|
|
@@ -165,7 +167,7 @@ def freestyle_lineset_move(
|
|
|
165
167
|
:type execution_context: str | int | None
|
|
166
168
|
:type undo: bool | None
|
|
167
169
|
:param direction: Direction, Direction to move the active line set towards
|
|
168
|
-
:type direction:
|
|
170
|
+
:type direction: str | None
|
|
169
171
|
"""
|
|
170
172
|
|
|
171
173
|
...
|
|
@@ -230,7 +232,7 @@ def freestyle_modifier_move(
|
|
|
230
232
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
231
233
|
execution_context: str | int | None = None,
|
|
232
234
|
undo: bool | None = None,
|
|
233
|
-
direction:
|
|
235
|
+
direction: str | None = "UP",
|
|
234
236
|
):
|
|
235
237
|
"""Move the modifier within the list of modifiers
|
|
236
238
|
|
|
@@ -238,7 +240,7 @@ def freestyle_modifier_move(
|
|
|
238
240
|
:type execution_context: str | int | None
|
|
239
241
|
:type undo: bool | None
|
|
240
242
|
:param direction: Direction, Direction to move the chosen modifier towards
|
|
241
|
-
:type direction:
|
|
243
|
+
:type direction: str | None
|
|
242
244
|
"""
|
|
243
245
|
|
|
244
246
|
...
|
|
@@ -275,7 +277,7 @@ def freestyle_module_move(
|
|
|
275
277
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
276
278
|
execution_context: str | int | None = None,
|
|
277
279
|
undo: bool | None = None,
|
|
278
|
-
direction:
|
|
280
|
+
direction: str | None = "UP",
|
|
279
281
|
):
|
|
280
282
|
"""Change the position of the style module within in the list of style modules
|
|
281
283
|
|
|
@@ -283,7 +285,7 @@ def freestyle_module_move(
|
|
|
283
285
|
:type execution_context: str | int | None
|
|
284
286
|
:type undo: bool | None
|
|
285
287
|
:param direction: Direction, Direction to move the chosen style module towards
|
|
286
|
-
:type direction:
|
|
288
|
+
:type direction: str | None
|
|
287
289
|
"""
|
|
288
290
|
|
|
289
291
|
...
|
|
@@ -340,7 +342,7 @@ def freestyle_thickness_modifier_add(
|
|
|
340
342
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
341
343
|
execution_context: str | int | None = None,
|
|
342
344
|
undo: bool | None = None,
|
|
343
|
-
type: str |
|
|
345
|
+
type: str | None = "ALONG_STROKE",
|
|
344
346
|
):
|
|
345
347
|
"""Add a line thickness modifier to the line style associated with the active lineset
|
|
346
348
|
|
|
@@ -348,7 +350,7 @@ def freestyle_thickness_modifier_add(
|
|
|
348
350
|
:type execution_context: str | int | None
|
|
349
351
|
:type undo: bool | None
|
|
350
352
|
:param type: Type
|
|
351
|
-
:type type: str |
|
|
353
|
+
:type type: str | None
|
|
352
354
|
"""
|
|
353
355
|
|
|
354
356
|
...
|
|
@@ -418,7 +420,7 @@ def light_cache_bake(
|
|
|
418
420
|
execution_context: str | int | None = None,
|
|
419
421
|
undo: bool | None = None,
|
|
420
422
|
delay: typing.Any | None = 0,
|
|
421
|
-
subset:
|
|
423
|
+
subset: str | None = "ALL",
|
|
422
424
|
):
|
|
423
425
|
"""Bake the active view layer lighting
|
|
424
426
|
|
|
@@ -437,7 +439,7 @@ def light_cache_bake(
|
|
|
437
439
|
|
|
438
440
|
CUBEMAPS
|
|
439
441
|
Cubemaps Only -- Try to only bake reflection cubemaps if irradiance grids are up to date.
|
|
440
|
-
:type subset:
|
|
442
|
+
:type subset: str | None
|
|
441
443
|
"""
|
|
442
444
|
|
|
443
445
|
...
|
|
@@ -460,7 +462,7 @@ def new(
|
|
|
460
462
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
461
463
|
execution_context: str | int | None = None,
|
|
462
464
|
undo: bool | None = None,
|
|
463
|
-
type:
|
|
465
|
+
type: str | None = "NEW",
|
|
464
466
|
):
|
|
465
467
|
"""Add new scene by type
|
|
466
468
|
|
|
@@ -480,7 +482,7 @@ def new(
|
|
|
480
482
|
|
|
481
483
|
FULL_COPY
|
|
482
484
|
Full Copy -- Make a full copy of the current scene.
|
|
483
|
-
:type type:
|
|
485
|
+
:type type: str | None
|
|
484
486
|
"""
|
|
485
487
|
|
|
486
488
|
...
|
|
@@ -489,7 +491,7 @@ def new_sequencer(
|
|
|
489
491
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
490
492
|
execution_context: str | int | None = None,
|
|
491
493
|
undo: bool | None = None,
|
|
492
|
-
type:
|
|
494
|
+
type: str | None = "NEW",
|
|
493
495
|
):
|
|
494
496
|
"""Add new scene by type in the sequence editor and assign to active strip
|
|
495
497
|
|
|
@@ -509,7 +511,7 @@ def new_sequencer(
|
|
|
509
511
|
|
|
510
512
|
FULL_COPY
|
|
511
513
|
Full Copy -- Make a full copy of the current scene.
|
|
512
|
-
:type type:
|
|
514
|
+
:type type: str | None
|
|
513
515
|
"""
|
|
514
516
|
|
|
515
517
|
...
|
|
@@ -546,7 +548,7 @@ def view_layer_add(
|
|
|
546
548
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
547
549
|
execution_context: str | int | None = None,
|
|
548
550
|
undo: bool | None = None,
|
|
549
|
-
type:
|
|
551
|
+
type: str | None = "NEW",
|
|
550
552
|
):
|
|
551
553
|
"""Add a view layer
|
|
552
554
|
|
|
@@ -563,7 +565,7 @@ def view_layer_add(
|
|
|
563
565
|
|
|
564
566
|
EMPTY
|
|
565
567
|
Blank -- Add a new view layer with all collections disabled.
|
|
566
|
-
:type type:
|
|
568
|
+
:type type: str | None
|
|
567
569
|
"""
|
|
568
570
|
|
|
569
571
|
...
|
bpy/ops/screen/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def actionzone(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -157,7 +159,7 @@ def area_split(
|
|
|
157
159
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
158
160
|
execution_context: str | int | None = None,
|
|
159
161
|
undo: bool | None = None,
|
|
160
|
-
direction:
|
|
162
|
+
direction: str | None = "HORIZONTAL",
|
|
161
163
|
factor: typing.Any | None = 0.5,
|
|
162
164
|
cursor: typing.Any | None = (0, 0),
|
|
163
165
|
):
|
|
@@ -167,7 +169,7 @@ def area_split(
|
|
|
167
169
|
:type execution_context: str | int | None
|
|
168
170
|
:type undo: bool | None
|
|
169
171
|
:param direction: Direction
|
|
170
|
-
:type direction:
|
|
172
|
+
:type direction: str | None
|
|
171
173
|
:param factor: Factor
|
|
172
174
|
:type factor: typing.Any | None
|
|
173
175
|
:param cursor: Cursor
|
|
@@ -433,7 +435,7 @@ def region_toggle(
|
|
|
433
435
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
434
436
|
execution_context: str | int | None = None,
|
|
435
437
|
undo: bool | None = None,
|
|
436
|
-
region_type: str |
|
|
438
|
+
region_type: str | None = "WINDOW",
|
|
437
439
|
):
|
|
438
440
|
"""Hide or unhide the region
|
|
439
441
|
|
|
@@ -441,7 +443,7 @@ def region_toggle(
|
|
|
441
443
|
:type execution_context: str | int | None
|
|
442
444
|
:type undo: bool | None
|
|
443
445
|
:param region_type: Region Type, Type of the region to toggle
|
|
444
|
-
:type region_type: str |
|
|
446
|
+
:type region_type: str | None
|
|
445
447
|
"""
|
|
446
448
|
|
|
447
449
|
...
|
|
@@ -538,8 +540,8 @@ def screenshot(
|
|
|
538
540
|
filemode: typing.Any | None = 9,
|
|
539
541
|
show_multiview: bool | typing.Any | None = False,
|
|
540
542
|
use_multiview: bool | typing.Any | None = False,
|
|
541
|
-
display_type:
|
|
542
|
-
sort_method: str |
|
|
543
|
+
display_type: str | None = "DEFAULT",
|
|
544
|
+
sort_method: str | None = "",
|
|
543
545
|
):
|
|
544
546
|
"""Capture a picture of the whole Blender window
|
|
545
547
|
|
|
@@ -605,9 +607,9 @@ def screenshot(
|
|
|
605
607
|
|
|
606
608
|
THUMBNAIL
|
|
607
609
|
Thumbnails -- Display files as thumbnails.
|
|
608
|
-
:type display_type:
|
|
610
|
+
:type display_type: str | None
|
|
609
611
|
:param sort_method: File sorting mode
|
|
610
|
-
:type sort_method: str |
|
|
612
|
+
:type sort_method: str | None
|
|
611
613
|
"""
|
|
612
614
|
|
|
613
615
|
...
|
|
@@ -639,8 +641,8 @@ def screenshot_area(
|
|
|
639
641
|
filemode: typing.Any | None = 9,
|
|
640
642
|
show_multiview: bool | typing.Any | None = False,
|
|
641
643
|
use_multiview: bool | typing.Any | None = False,
|
|
642
|
-
display_type:
|
|
643
|
-
sort_method: str |
|
|
644
|
+
display_type: str | None = "DEFAULT",
|
|
645
|
+
sort_method: str | None = "",
|
|
644
646
|
):
|
|
645
647
|
"""Capture a picture of an editor
|
|
646
648
|
|
|
@@ -706,9 +708,9 @@ def screenshot_area(
|
|
|
706
708
|
|
|
707
709
|
THUMBNAIL
|
|
708
710
|
Thumbnails -- Display files as thumbnails.
|
|
709
|
-
:type display_type:
|
|
711
|
+
:type display_type: str | None
|
|
710
712
|
:param sort_method: File sorting mode
|
|
711
|
-
:type sort_method: str |
|
|
713
|
+
:type sort_method: str | None
|
|
712
714
|
"""
|
|
713
715
|
|
|
714
716
|
...
|
|
@@ -717,7 +719,7 @@ def space_context_cycle(
|
|
|
717
719
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
718
720
|
execution_context: str | int | None = None,
|
|
719
721
|
undo: bool | None = None,
|
|
720
|
-
direction:
|
|
722
|
+
direction: str | None = "NEXT",
|
|
721
723
|
):
|
|
722
724
|
"""Cycle through the editor context by activating the next/previous one
|
|
723
725
|
|
|
@@ -725,7 +727,7 @@ def space_context_cycle(
|
|
|
725
727
|
:type execution_context: str | int | None
|
|
726
728
|
:type undo: bool | None
|
|
727
729
|
:param direction: Direction, Direction to cycle through
|
|
728
|
-
:type direction:
|
|
730
|
+
:type direction: str | None
|
|
729
731
|
"""
|
|
730
732
|
|
|
731
733
|
...
|
|
@@ -734,7 +736,7 @@ def space_type_set_or_cycle(
|
|
|
734
736
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
735
737
|
execution_context: str | int | None = None,
|
|
736
738
|
undo: bool | None = None,
|
|
737
|
-
space_type: str |
|
|
739
|
+
space_type: str | None = "EMPTY",
|
|
738
740
|
):
|
|
739
741
|
"""Set the space type or cycle subtype
|
|
740
742
|
|
|
@@ -742,7 +744,7 @@ def space_type_set_or_cycle(
|
|
|
742
744
|
:type execution_context: str | int | None
|
|
743
745
|
:type undo: bool | None
|
|
744
746
|
:param space_type: Type
|
|
745
|
-
:type space_type: str |
|
|
747
|
+
:type space_type: str | None
|
|
746
748
|
"""
|
|
747
749
|
|
|
748
750
|
...
|
|
@@ -765,7 +767,7 @@ def userpref_show(
|
|
|
765
767
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
766
768
|
execution_context: str | int | None = None,
|
|
767
769
|
undo: bool | None = None,
|
|
768
|
-
section: str |
|
|
770
|
+
section: str | None = "INTERFACE",
|
|
769
771
|
):
|
|
770
772
|
"""Edit user preferences and system settings
|
|
771
773
|
|
|
@@ -773,7 +775,7 @@ def userpref_show(
|
|
|
773
775
|
:type execution_context: str | int | None
|
|
774
776
|
:type undo: bool | None
|
|
775
777
|
:param section: Section to activate in the Preferences
|
|
776
|
-
:type section: str |
|
|
778
|
+
:type section: str | None
|
|
777
779
|
"""
|
|
778
780
|
|
|
779
781
|
...
|
|
@@ -782,7 +784,7 @@ def workspace_cycle(
|
|
|
782
784
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
783
785
|
execution_context: str | int | None = None,
|
|
784
786
|
undo: bool | None = None,
|
|
785
|
-
direction:
|
|
787
|
+
direction: str | None = "NEXT",
|
|
786
788
|
):
|
|
787
789
|
"""Cycle through workspaces
|
|
788
790
|
|
|
@@ -790,7 +792,7 @@ def workspace_cycle(
|
|
|
790
792
|
:type execution_context: str | int | None
|
|
791
793
|
:type undo: bool | None
|
|
792
794
|
:param direction: Direction, Direction to cycle through
|
|
793
|
-
:type direction:
|
|
795
|
+
:type direction: str | None
|
|
794
796
|
"""
|
|
795
797
|
|
|
796
798
|
...
|
bpy/ops/script/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def execute_preset(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|