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