fake-bpy-module 20240517__py3-none-any.whl → 20240519__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 +2 -1
- _bpy_internal/freedesktop/__init__.pyi +20 -86
- addon_utils/__init__.pyi +7 -31
- animsys_refactor/__init__.pyi +7 -26
- aud/__init__.pyi +3 -5
- bgl/__init__.pyi +2 -1630
- bl_app_override/__init__.pyi +5 -15
- bl_app_override/helpers/__init__.pyi +4 -23
- bl_app_template_utils/__init__.pyi +5 -16
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
- bl_i18n_utils/merge_po/__init__.pyi +3 -5
- bl_i18n_utils/settings/__init__.pyi +4 -23
- bl_i18n_utils/utils/__init__.pyi +10 -66
- bl_i18n_utils/utils_cli/__init__.pyi +9 -31
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +10 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
- bl_keymap_utils/versioning/__init__.pyi +3 -5
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +4 -10
- bl_operators/add_mesh_torus/__init__.pyi +4 -19
- bl_operators/anim/__init__.pyi +2 -71
- bl_operators/assets/__init__.pyi +2 -30
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
- bl_operators/clip/__init__.pyi +7 -115
- bl_operators/console/__init__.pyi +2 -38
- bl_operators/constraint/__init__.pyi +2 -37
- bl_operators/file/__init__.pyi +2 -28
- bl_operators/freestyle/__init__.pyi +2 -37
- bl_operators/geometry_nodes/__init__.pyi +15 -103
- bl_operators/image/__init__.pyi +2 -52
- bl_operators/mesh/__init__.pyi +2 -28
- bl_operators/node/__init__.pyi +2 -105
- bl_operators/object/__init__.pyi +2 -138
- bl_operators/object_align/__init__.pyi +5 -24
- bl_operators/object_quick_effects/__init__.pyi +4 -49
- bl_operators/object_randomize_transform/__init__.pyi +5 -14
- bl_operators/presets/__init__.pyi +4 -376
- bl_operators/rigidbody/__init__.pyi +2 -28
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
- bl_operators/sequencer/__init__.pyi +3 -104
- bl_operators/spreadsheet/__init__.pyi +2 -10
- bl_operators/userpref/__init__.pyi +3 -201
- bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
- bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
- bl_operators/uvcalc_transform/__init__.pyi +13 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
- bl_operators/view3d/__init__.pyi +2 -64
- bl_operators/wm/__init__.pyi +16 -451
- bl_operators/world/__init__.pyi +2 -10
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +3 -5
- bl_ui/__init__.pyi +32 -141
- bl_ui/anim/__init__.pyi +3 -12
- bl_ui/asset_shelf/__init__.pyi +3 -16
- bl_ui/generic_ui_list/__init__.pyi +4 -31
- bl_ui/node_add_menu/__init__.pyi +6 -28
- bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
- bl_ui/node_add_menu_shader/__init__.pyi +20 -170
- bl_ui/node_add_menu_texture/__init__.pyi +11 -118
- bl_ui/properties_animviz/__init__.pyi +2 -15
- bl_ui/properties_collection/__init__.pyi +9 -112
- bl_ui/properties_constraint/__init__.pyi +81 -1524
- bl_ui/properties_data_armature/__init__.pyi +14 -214
- bl_ui/properties_data_bone/__init__.pyi +12 -198
- bl_ui/properties_data_camera/__init__.pyi +17 -312
- bl_ui/properties_data_curve/__init__.pyi +17 -319
- bl_ui/properties_data_curves/__init__.pyi +8 -108
- bl_ui/properties_data_empty/__init__.pyi +4 -44
- bl_ui/properties_data_gpencil/__init__.pyi +20 -350
- bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
- bl_ui/properties_data_lattice/__init__.pyi +5 -65
- bl_ui/properties_data_light/__init__.pyi +14 -264
- bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
- bl_ui/properties_data_mesh/__init__.pyi +23 -325
- bl_ui/properties_data_metaball/__init__.pyi +7 -103
- bl_ui/properties_data_modifier/__init__.pyi +10 -178
- bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
- bl_ui/properties_data_speaker/__init__.pyi +7 -111
- bl_ui/properties_data_volume/__init__.pyi +10 -156
- bl_ui/properties_freestyle/__init__.pyi +31 -615
- bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
- bl_ui/properties_mask_common/__init__.pyi +10 -111
- bl_ui/properties_material/__init__.pyi +20 -331
- bl_ui/properties_material_gpencil/__init__.pyi +12 -182
- bl_ui/properties_object/__init__.pyi +16 -276
- bl_ui/properties_output/__init__.pyi +20 -370
- bl_ui/properties_paint_common/__init__.pyi +14 -106
- bl_ui/properties_particle/__init__.pyi +58 -1159
- bl_ui/properties_physics_cloth/__init__.pyi +17 -314
- bl_ui/properties_physics_common/__init__.pyi +9 -58
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
- bl_ui/properties_physics_field/__init__.pyi +13 -218
- bl_ui/properties_physics_fluid/__init__.pyi +30 -626
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
- bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
- bl_ui/properties_physics_softbody/__init__.pyi +18 -353
- bl_ui/properties_render/__init__.pyi +56 -1146
- bl_ui/properties_scene/__init__.pyi +17 -298
- bl_ui/properties_texture/__init__.pyi +30 -577
- bl_ui/properties_view_layer/__init__.pyi +20 -346
- bl_ui/properties_workspace/__init__.pyi +6 -80
- bl_ui/properties_world/__init__.pyi +12 -220
- bl_ui/space_clip/__init__.pyi +73 -1090
- bl_ui/space_console/__init__.pyi +9 -73
- bl_ui/space_dopesheet/__init__.pyi +33 -485
- bl_ui/space_filebrowser/__init__.pyi +36 -431
- bl_ui/space_graph/__init__.pyi +22 -237
- bl_ui/space_image/__init__.pyi +70 -1089
- bl_ui/space_info/__init__.pyi +8 -71
- bl_ui/space_nla/__init__.pyi +19 -210
- bl_ui/space_node/__init__.pyi +32 -436
- bl_ui/space_outliner/__init__.pyi +17 -165
- bl_ui/space_properties/__init__.pyi +5 -42
- bl_ui/space_sequencer/__init__.pyi +79 -1142
- bl_ui/space_spreadsheet/__init__.pyi +3 -12
- bl_ui/space_statusbar/__init__.pyi +3 -12
- bl_ui/space_text/__init__.pyi +18 -193
- bl_ui/space_time/__init__.pyi +10 -111
- bl_ui/space_toolsystem_common/__init__.pyi +42 -200
- bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
- bl_ui/space_topbar/__init__.pyi +29 -335
- bl_ui/space_userpref/__init__.pyi +94 -1576
- bl_ui/space_view3d/__init__.pyi +271 -3438
- bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
- bl_ui/temp_anim_layers/__init__.pyi +4 -22
- bl_ui/utils/__init__.pyi +2 -8
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -5
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +4 -10
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +29 -45
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +191 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +546 -4852
- bpy/utils/__init__.pyi +16 -71
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -2
- bpy_extras/asset_utils/__init__.pyi +2 -11
- bpy_extras/bmesh_utils/__init__.pyi +3 -5
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -7
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +6 -25
- bpy_extras/keyconfig_utils/__init__.pyi +4 -10
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +46 -286
- bpy_extras/node_utils/__init__.pyi +4 -10
- bpy_extras/object_utils/__init__.pyi +2 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
- bpy_restrict_state/__init__.pyi +3 -15
- bpy_types/__init__.pyi +10 -275
- console_python/__init__.pyi +8 -37
- console_shell/__init__.pyi +8 -26
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +12 -41
- freestyle/functions/__init__.pyi +9 -34
- freestyle/predicates/__init__.pyi +46 -218
- freestyle/shaders/__init__.pyi +2 -11
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +5 -16
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +4 -10
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +8 -34
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -3
- keyingsets_builtins/__init__.pyi +4 -157
- keyingsets_utils/__init__.pyi +17 -71
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -3
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +7 -31
- nodeitems_utils/__init__.pyi +10 -46
- rna_info/__init__.pyi +24 -201
- rna_keymap_ui/__init__.pyi +9 -31
- rna_prop_ui/__init__.pyi +11 -50
- rna_xml/__init__.pyi +8 -30
- sys_info/__init__.pyi +3 -5
- fake_bpy_module-20240517.dist-info/RECORD +0 -353
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/spreadsheet/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def add_row_filter_rule(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
bpy/ops/surface/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def primitive_nurbs_surface_circle_add(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -9,7 +10,7 @@ def primitive_nurbs_surface_circle_add(
|
|
|
9
10
|
undo: bool | None = None,
|
|
10
11
|
radius: typing.Any | None = 1.0,
|
|
11
12
|
enter_editmode: bool | typing.Any | None = False,
|
|
12
|
-
align:
|
|
13
|
+
align: str | int | None = "WORLD",
|
|
13
14
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
14
15
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
15
16
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -33,7 +34,7 @@ def primitive_nurbs_surface_circle_add(
|
|
|
33
34
|
|
|
34
35
|
CURSOR
|
|
35
36
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
36
|
-
:type align:
|
|
37
|
+
:type align: str | int | None
|
|
37
38
|
:param location: Location, Location for the newly added object
|
|
38
39
|
:type location: typing.Any | None
|
|
39
40
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -50,7 +51,7 @@ def primitive_nurbs_surface_curve_add(
|
|
|
50
51
|
undo: bool | None = None,
|
|
51
52
|
radius: typing.Any | None = 1.0,
|
|
52
53
|
enter_editmode: bool | typing.Any | None = False,
|
|
53
|
-
align:
|
|
54
|
+
align: str | int | None = "WORLD",
|
|
54
55
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
55
56
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
56
57
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -74,7 +75,7 @@ def primitive_nurbs_surface_curve_add(
|
|
|
74
75
|
|
|
75
76
|
CURSOR
|
|
76
77
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
77
|
-
:type align:
|
|
78
|
+
:type align: str | int | None
|
|
78
79
|
:param location: Location, Location for the newly added object
|
|
79
80
|
:type location: typing.Any | None
|
|
80
81
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -91,7 +92,7 @@ def primitive_nurbs_surface_cylinder_add(
|
|
|
91
92
|
undo: bool | None = None,
|
|
92
93
|
radius: typing.Any | None = 1.0,
|
|
93
94
|
enter_editmode: bool | typing.Any | None = False,
|
|
94
|
-
align:
|
|
95
|
+
align: str | int | None = "WORLD",
|
|
95
96
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
96
97
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
97
98
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -115,7 +116,7 @@ def primitive_nurbs_surface_cylinder_add(
|
|
|
115
116
|
|
|
116
117
|
CURSOR
|
|
117
118
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
118
|
-
:type align:
|
|
119
|
+
:type align: str | int | None
|
|
119
120
|
:param location: Location, Location for the newly added object
|
|
120
121
|
:type location: typing.Any | None
|
|
121
122
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -132,7 +133,7 @@ def primitive_nurbs_surface_sphere_add(
|
|
|
132
133
|
undo: bool | None = None,
|
|
133
134
|
radius: typing.Any | None = 1.0,
|
|
134
135
|
enter_editmode: bool | typing.Any | None = False,
|
|
135
|
-
align:
|
|
136
|
+
align: str | int | None = "WORLD",
|
|
136
137
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
137
138
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
138
139
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -156,7 +157,7 @@ def primitive_nurbs_surface_sphere_add(
|
|
|
156
157
|
|
|
157
158
|
CURSOR
|
|
158
159
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
159
|
-
:type align:
|
|
160
|
+
:type align: str | int | None
|
|
160
161
|
:param location: Location, Location for the newly added object
|
|
161
162
|
:type location: typing.Any | None
|
|
162
163
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -173,7 +174,7 @@ def primitive_nurbs_surface_surface_add(
|
|
|
173
174
|
undo: bool | None = None,
|
|
174
175
|
radius: typing.Any | None = 1.0,
|
|
175
176
|
enter_editmode: bool | typing.Any | None = False,
|
|
176
|
-
align:
|
|
177
|
+
align: str | int | None = "WORLD",
|
|
177
178
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
178
179
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
179
180
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -197,7 +198,7 @@ def primitive_nurbs_surface_surface_add(
|
|
|
197
198
|
|
|
198
199
|
CURSOR
|
|
199
200
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
200
|
-
:type align:
|
|
201
|
+
:type align: str | int | None
|
|
201
202
|
:param location: Location, Location for the newly added object
|
|
202
203
|
:type location: typing.Any | None
|
|
203
204
|
:param rotation: Rotation, Rotation for the newly added object
|
|
@@ -214,7 +215,7 @@ def primitive_nurbs_surface_torus_add(
|
|
|
214
215
|
undo: bool | None = None,
|
|
215
216
|
radius: typing.Any | None = 1.0,
|
|
216
217
|
enter_editmode: bool | typing.Any | None = False,
|
|
217
|
-
align:
|
|
218
|
+
align: str | int | None = "WORLD",
|
|
218
219
|
location: typing.Any | None = (0.0, 0.0, 0.0),
|
|
219
220
|
rotation: typing.Any | None = (0.0, 0.0, 0.0),
|
|
220
221
|
scale: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -238,7 +239,7 @@ def primitive_nurbs_surface_torus_add(
|
|
|
238
239
|
|
|
239
240
|
CURSOR
|
|
240
241
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
241
|
-
:type align:
|
|
242
|
+
:type align: str | int | None
|
|
242
243
|
:param location: Location, Location for the newly added object
|
|
243
244
|
:type location: typing.Any | None
|
|
244
245
|
:param rotation: Rotation, Rotation for the newly added object
|
bpy/ops/text/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def autocomplete(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -21,7 +22,7 @@ def comment_toggle(
|
|
|
21
22
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
22
23
|
execution_context: str | int | None = None,
|
|
23
24
|
undo: bool | None = None,
|
|
24
|
-
type:
|
|
25
|
+
type: str | int | None = "TOGGLE",
|
|
25
26
|
):
|
|
26
27
|
"""Undocumented, consider contributing.
|
|
27
28
|
|
|
@@ -29,7 +30,7 @@ def comment_toggle(
|
|
|
29
30
|
:type execution_context: str | int | None
|
|
30
31
|
:type undo: bool | None
|
|
31
32
|
:param type: Type, Add or remove comments
|
|
32
|
-
:type type:
|
|
33
|
+
:type type: str | int | None
|
|
33
34
|
"""
|
|
34
35
|
|
|
35
36
|
...
|
|
@@ -38,7 +39,7 @@ def convert_whitespace(
|
|
|
38
39
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
39
40
|
execution_context: str | int | None = None,
|
|
40
41
|
undo: bool | None = None,
|
|
41
|
-
type:
|
|
42
|
+
type: str | int | None = "SPACES",
|
|
42
43
|
):
|
|
43
44
|
"""Convert whitespaces by type
|
|
44
45
|
|
|
@@ -46,7 +47,7 @@ def convert_whitespace(
|
|
|
46
47
|
:type execution_context: str | int | None
|
|
47
48
|
:type undo: bool | None
|
|
48
49
|
:param type: Type, Type of whitespace to convert to
|
|
49
|
-
:type type:
|
|
50
|
+
:type type: str | int | None
|
|
50
51
|
"""
|
|
51
52
|
|
|
52
53
|
...
|
|
@@ -103,7 +104,7 @@ def delete(
|
|
|
103
104
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
104
105
|
execution_context: str | int | None = None,
|
|
105
106
|
undo: bool | None = None,
|
|
106
|
-
type:
|
|
107
|
+
type: str | int | None = "NEXT_CHARACTER",
|
|
107
108
|
):
|
|
108
109
|
"""Delete text by cursor position
|
|
109
110
|
|
|
@@ -111,7 +112,7 @@ def delete(
|
|
|
111
112
|
:type execution_context: str | int | None
|
|
112
113
|
:type undo: bool | None
|
|
113
114
|
:param type: Type, Which part of the text to delete
|
|
114
|
-
:type type:
|
|
115
|
+
:type type: str | int | None
|
|
115
116
|
"""
|
|
116
117
|
|
|
117
118
|
...
|
|
@@ -289,7 +290,7 @@ def move(
|
|
|
289
290
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
290
291
|
execution_context: str | int | None = None,
|
|
291
292
|
undo: bool | None = None,
|
|
292
|
-
type:
|
|
293
|
+
type: str | int | None = "LINE_BEGIN",
|
|
293
294
|
):
|
|
294
295
|
"""Move cursor to position type
|
|
295
296
|
|
|
@@ -297,7 +298,7 @@ def move(
|
|
|
297
298
|
:type execution_context: str | int | None
|
|
298
299
|
:type undo: bool | None
|
|
299
300
|
:param type: Type, Where to move cursor to
|
|
300
|
-
:type type:
|
|
301
|
+
:type type: str | int | None
|
|
301
302
|
"""
|
|
302
303
|
|
|
303
304
|
...
|
|
@@ -306,7 +307,7 @@ def move_lines(
|
|
|
306
307
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
307
308
|
execution_context: str | int | None = None,
|
|
308
309
|
undo: bool | None = None,
|
|
309
|
-
direction:
|
|
310
|
+
direction: str | int | None = "DOWN",
|
|
310
311
|
):
|
|
311
312
|
"""Move the currently selected line(s) up/down
|
|
312
313
|
|
|
@@ -314,7 +315,7 @@ def move_lines(
|
|
|
314
315
|
:type execution_context: str | int | None
|
|
315
316
|
:type undo: bool | None
|
|
316
317
|
:param direction: Direction
|
|
317
|
-
:type direction:
|
|
318
|
+
:type direction: str | int | None
|
|
318
319
|
"""
|
|
319
320
|
|
|
320
321
|
...
|
|
@@ -323,7 +324,7 @@ def move_select(
|
|
|
323
324
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
324
325
|
execution_context: str | int | None = None,
|
|
325
326
|
undo: bool | None = None,
|
|
326
|
-
type:
|
|
327
|
+
type: str | int | None = "LINE_BEGIN",
|
|
327
328
|
):
|
|
328
329
|
"""Move the cursor while selecting
|
|
329
330
|
|
|
@@ -331,7 +332,7 @@ def move_select(
|
|
|
331
332
|
:type execution_context: str | int | None
|
|
332
333
|
:type undo: bool | None
|
|
333
334
|
:param type: Type, Where to move cursor to, to make a selection
|
|
334
|
-
:type type:
|
|
335
|
+
:type type: str | int | None
|
|
335
336
|
"""
|
|
336
337
|
|
|
337
338
|
...
|
|
@@ -375,8 +376,8 @@ def open(
|
|
|
375
376
|
filter_folder: bool | typing.Any | None = True,
|
|
376
377
|
filter_blenlib: bool | typing.Any | None = False,
|
|
377
378
|
filemode: typing.Any | None = 9,
|
|
378
|
-
display_type:
|
|
379
|
-
sort_method:
|
|
379
|
+
display_type: str | int | None = "DEFAULT",
|
|
380
|
+
sort_method: str | int | None = "",
|
|
380
381
|
internal: bool | typing.Any | None = False,
|
|
381
382
|
):
|
|
382
383
|
"""Open a new text data-block
|
|
@@ -439,7 +440,7 @@ def open(
|
|
|
439
440
|
|
|
440
441
|
THUMBNAIL
|
|
441
442
|
Thumbnails -- Display files as thumbnails.
|
|
442
|
-
:type display_type:
|
|
443
|
+
:type display_type: str | int | None
|
|
443
444
|
:param sort_method: File sorting mode
|
|
444
445
|
|
|
445
446
|
DEFAULT
|
|
@@ -456,7 +457,7 @@ def open(
|
|
|
456
457
|
|
|
457
458
|
FILE_SORT_SIZE
|
|
458
459
|
Size -- Sort files by size.
|
|
459
|
-
:type sort_method:
|
|
460
|
+
:type sort_method: str | int | None
|
|
460
461
|
:param internal: Make Internal, Make text file internal after loading
|
|
461
462
|
:type internal: bool | typing.Any | None
|
|
462
463
|
"""
|
|
@@ -557,7 +558,7 @@ def resolve_conflict(
|
|
|
557
558
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
558
559
|
execution_context: str | int | None = None,
|
|
559
560
|
undo: bool | None = None,
|
|
560
|
-
resolution:
|
|
561
|
+
resolution: str | int | None = "IGNORE",
|
|
561
562
|
):
|
|
562
563
|
"""When external text is out of sync, resolve the conflict
|
|
563
564
|
|
|
@@ -565,7 +566,7 @@ def resolve_conflict(
|
|
|
565
566
|
:type execution_context: str | int | None
|
|
566
567
|
:type undo: bool | None
|
|
567
568
|
:param resolution: Resolution, How to solve conflict due to differences in internal and external text
|
|
568
|
-
:type resolution:
|
|
569
|
+
:type resolution: str | int | None
|
|
569
570
|
"""
|
|
570
571
|
|
|
571
572
|
...
|
|
@@ -623,8 +624,8 @@ def save_as(
|
|
|
623
624
|
filter_folder: bool | typing.Any | None = True,
|
|
624
625
|
filter_blenlib: bool | typing.Any | None = False,
|
|
625
626
|
filemode: typing.Any | None = 9,
|
|
626
|
-
display_type:
|
|
627
|
-
sort_method: str | int |
|
|
627
|
+
display_type: str | int | None = "DEFAULT",
|
|
628
|
+
sort_method: str | int | None = "",
|
|
628
629
|
):
|
|
629
630
|
"""Save active text file with options
|
|
630
631
|
|
|
@@ -686,9 +687,9 @@ def save_as(
|
|
|
686
687
|
|
|
687
688
|
THUMBNAIL
|
|
688
689
|
Thumbnails -- Display files as thumbnails.
|
|
689
|
-
:type display_type:
|
|
690
|
+
:type display_type: str | int | None
|
|
690
691
|
:param sort_method: File sorting mode
|
|
691
|
-
:type sort_method: str | int |
|
|
692
|
+
:type sort_method: str | int | None
|
|
692
693
|
"""
|
|
693
694
|
|
|
694
695
|
...
|
bpy/ops/text_editor/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def preset_add(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
bpy/ops/texture/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def new(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -35,7 +36,7 @@ def slot_move(
|
|
|
35
36
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
36
37
|
execution_context: str | int | None = None,
|
|
37
38
|
undo: bool | None = None,
|
|
38
|
-
type:
|
|
39
|
+
type: str | int | None = "UP",
|
|
39
40
|
):
|
|
40
41
|
"""Move texture slots up and down
|
|
41
42
|
|
|
@@ -43,7 +44,7 @@ def slot_move(
|
|
|
43
44
|
:type execution_context: str | int | None
|
|
44
45
|
:type undo: bool | None
|
|
45
46
|
:param type: Type
|
|
46
|
-
:type type:
|
|
47
|
+
:type type: str | int | None
|
|
47
48
|
"""
|
|
48
49
|
|
|
49
50
|
...
|
bpy/ops/transform/__init__.pyi
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def bbone_resize(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
8
9
|
execution_context: str | int | None = None,
|
|
9
10
|
undo: bool | None = None,
|
|
10
11
|
value: typing.Any | None = (1.0, 1.0, 1.0),
|
|
11
|
-
orient_type: str | int |
|
|
12
|
+
orient_type: str | int | None = "GLOBAL",
|
|
12
13
|
orient_matrix: typing.Any | None = (
|
|
13
14
|
(0.0, 0.0, 0.0),
|
|
14
15
|
(0.0, 0.0, 0.0),
|
|
15
16
|
(0.0, 0.0, 0.0),
|
|
16
17
|
),
|
|
17
|
-
orient_matrix_type: str | int |
|
|
18
|
+
orient_matrix_type: str | int | None = "GLOBAL",
|
|
18
19
|
constraint_axis: list[bool] | typing.Any | None = (False, False, False),
|
|
19
20
|
mirror: bool | typing.Any | None = False,
|
|
20
21
|
release_confirm: bool | typing.Any | None = False,
|
|
@@ -28,11 +29,11 @@ def bbone_resize(
|
|
|
28
29
|
:param value: Display Size
|
|
29
30
|
:type value: typing.Any | None
|
|
30
31
|
:param orient_type: Orientation, Transformation orientation
|
|
31
|
-
:type orient_type: str | int |
|
|
32
|
+
:type orient_type: str | int | None
|
|
32
33
|
:param orient_matrix: Matrix
|
|
33
34
|
:type orient_matrix: typing.Any | None
|
|
34
35
|
:param orient_matrix_type: Matrix Orientation
|
|
35
|
-
:type orient_matrix_type: str | int |
|
|
36
|
+
:type orient_matrix_type: str | int | None
|
|
36
37
|
:param constraint_axis: Constraint Axis
|
|
37
38
|
:type constraint_axis: list[bool] | typing.Any | None
|
|
38
39
|
:param mirror: Mirror Editing
|
|
@@ -273,13 +274,13 @@ def mirror(
|
|
|
273
274
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
274
275
|
execution_context: str | int | None = None,
|
|
275
276
|
undo: bool | None = None,
|
|
276
|
-
orient_type: str | int |
|
|
277
|
+
orient_type: str | int | None = "GLOBAL",
|
|
277
278
|
orient_matrix: typing.Any | None = (
|
|
278
279
|
(0.0, 0.0, 0.0),
|
|
279
280
|
(0.0, 0.0, 0.0),
|
|
280
281
|
(0.0, 0.0, 0.0),
|
|
281
282
|
),
|
|
282
|
-
orient_matrix_type: str | int |
|
|
283
|
+
orient_matrix_type: str | int | None = "GLOBAL",
|
|
283
284
|
constraint_axis: list[bool] | typing.Any | None = (False, False, False),
|
|
284
285
|
gpencil_strokes: bool | typing.Any | None = False,
|
|
285
286
|
center_override: typing.Any | None = (0.0, 0.0, 0.0),
|
|
@@ -292,11 +293,11 @@ def mirror(
|
|
|
292
293
|
:type execution_context: str | int | None
|
|
293
294
|
:type undo: bool | None
|
|
294
295
|
:param orient_type: Orientation, Transformation orientation
|
|
295
|
-
:type orient_type: str | int |
|
|
296
|
+
:type orient_type: str | int | None
|
|
296
297
|
:param orient_matrix: Matrix
|
|
297
298
|
:type orient_matrix: typing.Any | None
|
|
298
299
|
:param orient_matrix_type: Matrix Orientation
|
|
299
|
-
:type orient_matrix_type: str | int |
|
|
300
|
+
:type orient_matrix_type: str | int | None
|
|
300
301
|
:param constraint_axis: Constraint Axis
|
|
301
302
|
:type constraint_axis: list[bool] | typing.Any | None
|
|
302
303
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
@@ -364,13 +365,13 @@ def resize(
|
|
|
364
365
|
undo: bool | None = None,
|
|
365
366
|
value: typing.Any | None = (1.0, 1.0, 1.0),
|
|
366
367
|
mouse_dir_constraint: typing.Any | None = (0.0, 0.0, 0.0),
|
|
367
|
-
orient_type: str | int |
|
|
368
|
+
orient_type: str | int | None = "GLOBAL",
|
|
368
369
|
orient_matrix: typing.Any | None = (
|
|
369
370
|
(0.0, 0.0, 0.0),
|
|
370
371
|
(0.0, 0.0, 0.0),
|
|
371
372
|
(0.0, 0.0, 0.0),
|
|
372
373
|
),
|
|
373
|
-
orient_matrix_type: str | int |
|
|
374
|
+
orient_matrix_type: str | int | None = "GLOBAL",
|
|
374
375
|
constraint_axis: list[bool] | typing.Any | None = (False, False, False),
|
|
375
376
|
mirror: bool | typing.Any | None = False,
|
|
376
377
|
use_proportional_edit: bool | typing.Any | None = False,
|
|
@@ -405,11 +406,11 @@ def resize(
|
|
|
405
406
|
:param mouse_dir_constraint: Mouse Directional Constraint
|
|
406
407
|
:type mouse_dir_constraint: typing.Any | None
|
|
407
408
|
:param orient_type: Orientation, Transformation orientation
|
|
408
|
-
:type orient_type: str | int |
|
|
409
|
+
:type orient_type: str | int | None
|
|
409
410
|
:param orient_matrix: Matrix
|
|
410
411
|
:type orient_matrix: typing.Any | None
|
|
411
412
|
:param orient_matrix_type: Matrix Orientation
|
|
412
|
-
:type orient_matrix_type: str | int |
|
|
413
|
+
:type orient_matrix_type: str | int | None
|
|
413
414
|
:param constraint_axis: Constraint Axis
|
|
414
415
|
:type constraint_axis: list[bool] | typing.Any | None
|
|
415
416
|
:param mirror: Mirror Editing
|
|
@@ -466,13 +467,13 @@ def rotate(
|
|
|
466
467
|
undo: bool | None = None,
|
|
467
468
|
value: typing.Any | None = 0.0,
|
|
468
469
|
orient_axis: str | int | None = "Z",
|
|
469
|
-
orient_type: str | int |
|
|
470
|
+
orient_type: str | int | None = "GLOBAL",
|
|
470
471
|
orient_matrix: typing.Any | None = (
|
|
471
472
|
(0.0, 0.0, 0.0),
|
|
472
473
|
(0.0, 0.0, 0.0),
|
|
473
474
|
(0.0, 0.0, 0.0),
|
|
474
475
|
),
|
|
475
|
-
orient_matrix_type: str | int |
|
|
476
|
+
orient_matrix_type: str | int | None = "GLOBAL",
|
|
476
477
|
constraint_axis: list[bool] | typing.Any | None = (False, False, False),
|
|
477
478
|
mirror: bool | typing.Any | None = False,
|
|
478
479
|
use_proportional_edit: bool | typing.Any | None = False,
|
|
@@ -504,11 +505,11 @@ def rotate(
|
|
|
504
505
|
:param orient_axis: Axis
|
|
505
506
|
:type orient_axis: str | int | None
|
|
506
507
|
:param orient_type: Orientation, Transformation orientation
|
|
507
|
-
:type orient_type: str | int |
|
|
508
|
+
:type orient_type: str | int | None
|
|
508
509
|
:param orient_matrix: Matrix
|
|
509
510
|
:type orient_matrix: typing.Any | None
|
|
510
511
|
:param orient_matrix_type: Matrix Orientation
|
|
511
|
-
:type orient_matrix_type: str | int |
|
|
512
|
+
:type orient_matrix_type: str | int | None
|
|
512
513
|
:param constraint_axis: Constraint Axis
|
|
513
514
|
:type constraint_axis: list[bool] | typing.Any | None
|
|
514
515
|
:param mirror: Mirror Editing
|
|
@@ -559,13 +560,13 @@ def rotate_normal(
|
|
|
559
560
|
undo: bool | None = None,
|
|
560
561
|
value: typing.Any | None = 0.0,
|
|
561
562
|
orient_axis: str | int | None = "Z",
|
|
562
|
-
orient_type: str | int |
|
|
563
|
+
orient_type: str | int | None = "GLOBAL",
|
|
563
564
|
orient_matrix: typing.Any | None = (
|
|
564
565
|
(0.0, 0.0, 0.0),
|
|
565
566
|
(0.0, 0.0, 0.0),
|
|
566
567
|
(0.0, 0.0, 0.0),
|
|
567
568
|
),
|
|
568
|
-
orient_matrix_type: str | int |
|
|
569
|
+
orient_matrix_type: str | int | None = "GLOBAL",
|
|
569
570
|
constraint_axis: list[bool] | typing.Any | None = (False, False, False),
|
|
570
571
|
mirror: bool | typing.Any | None = False,
|
|
571
572
|
release_confirm: bool | typing.Any | None = False,
|
|
@@ -581,11 +582,11 @@ def rotate_normal(
|
|
|
581
582
|
:param orient_axis: Axis
|
|
582
583
|
:type orient_axis: str | int | None
|
|
583
584
|
:param orient_type: Orientation, Transformation orientation
|
|
584
|
-
:type orient_type: str | int |
|
|
585
|
+
:type orient_type: str | int | None
|
|
585
586
|
:param orient_matrix: Matrix
|
|
586
587
|
:type orient_matrix: typing.Any | None
|
|
587
588
|
:param orient_matrix_type: Matrix Orientation
|
|
588
|
-
:type orient_matrix_type: str | int |
|
|
589
|
+
:type orient_matrix_type: str | int | None
|
|
589
590
|
:param constraint_axis: Constraint Axis
|
|
590
591
|
:type constraint_axis: list[bool] | typing.Any | None
|
|
591
592
|
:param mirror: Mirror Editing
|
|
@@ -602,7 +603,7 @@ def select_orientation(
|
|
|
602
603
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
603
604
|
execution_context: str | int | None = None,
|
|
604
605
|
undo: bool | None = None,
|
|
605
|
-
orientation: str | int |
|
|
606
|
+
orientation: str | int | None = "GLOBAL",
|
|
606
607
|
):
|
|
607
608
|
"""Select transformation orientation
|
|
608
609
|
|
|
@@ -610,7 +611,7 @@ def select_orientation(
|
|
|
610
611
|
:type execution_context: str | int | None
|
|
611
612
|
:type undo: bool | None
|
|
612
613
|
:param orientation: Orientation, Transformation orientation
|
|
613
|
-
:type orientation: str | int |
|
|
614
|
+
:type orientation: str | int | None
|
|
614
615
|
"""
|
|
615
616
|
|
|
616
617
|
...
|
|
@@ -651,13 +652,13 @@ def shear(
|
|
|
651
652
|
value: typing.Any | None = 0.0,
|
|
652
653
|
orient_axis: str | int | None = "Z",
|
|
653
654
|
orient_axis_ortho: str | int | None = "X",
|
|
654
|
-
orient_type: str | int |
|
|
655
|
+
orient_type: str | int | None = "GLOBAL",
|
|
655
656
|
orient_matrix: typing.Any | None = (
|
|
656
657
|
(0.0, 0.0, 0.0),
|
|
657
658
|
(0.0, 0.0, 0.0),
|
|
658
659
|
(0.0, 0.0, 0.0),
|
|
659
660
|
),
|
|
660
|
-
orient_matrix_type: str | int |
|
|
661
|
+
orient_matrix_type: str | int | None = "GLOBAL",
|
|
661
662
|
mirror: bool | typing.Any | None = False,
|
|
662
663
|
use_proportional_edit: bool | typing.Any | None = False,
|
|
663
664
|
proportional_edit_falloff: str | int | None = "SMOOTH",
|
|
@@ -681,11 +682,11 @@ def shear(
|
|
|
681
682
|
:param orient_axis_ortho: Axis Ortho
|
|
682
683
|
:type orient_axis_ortho: str | int | None
|
|
683
684
|
:param orient_type: Orientation, Transformation orientation
|
|
684
|
-
:type orient_type: str | int |
|
|
685
|
+
:type orient_type: str | int | None
|
|
685
686
|
:param orient_matrix: Matrix
|
|
686
687
|
:type orient_matrix: typing.Any | None
|
|
687
688
|
:param orient_matrix_type: Matrix Orientation
|
|
688
|
-
:type orient_matrix_type: str | int |
|
|
689
|
+
:type orient_matrix_type: str | int | None
|
|
689
690
|
:param mirror: Mirror Editing
|
|
690
691
|
:type mirror: bool | typing.Any | None
|
|
691
692
|
:param use_proportional_edit: Proportional Editing
|
|
@@ -762,13 +763,13 @@ def skin_resize(
|
|
|
762
763
|
execution_context: str | int | None = None,
|
|
763
764
|
undo: bool | None = None,
|
|
764
765
|
value: typing.Any | None = (1.0, 1.0, 1.0),
|
|
765
|
-
orient_type: str | int |
|
|
766
|
+
orient_type: str | int | None = "GLOBAL",
|
|
766
767
|
orient_matrix: typing.Any | None = (
|
|
767
768
|
(0.0, 0.0, 0.0),
|
|
768
769
|
(0.0, 0.0, 0.0),
|
|
769
770
|
(0.0, 0.0, 0.0),
|
|
770
771
|
),
|
|
771
|
-
orient_matrix_type: str | int |
|
|
772
|
+
orient_matrix_type: str | int | None = "GLOBAL",
|
|
772
773
|
constraint_axis: list[bool] | typing.Any | None = (False, False, False),
|
|
773
774
|
mirror: bool | typing.Any | None = False,
|
|
774
775
|
use_proportional_edit: bool | typing.Any | None = False,
|
|
@@ -796,11 +797,11 @@ def skin_resize(
|
|
|
796
797
|
:param value: Scale
|
|
797
798
|
:type value: typing.Any | None
|
|
798
799
|
:param orient_type: Orientation, Transformation orientation
|
|
799
|
-
:type orient_type: str | int |
|
|
800
|
+
:type orient_type: str | int | None
|
|
800
801
|
:param orient_matrix: Matrix
|
|
801
802
|
:type orient_matrix: typing.Any | None
|
|
802
803
|
:param orient_matrix_type: Matrix Orientation
|
|
803
|
-
:type orient_matrix_type: str | int |
|
|
804
|
+
:type orient_matrix_type: str | int | None
|
|
804
805
|
:param constraint_axis: Constraint Axis
|
|
805
806
|
:type constraint_axis: list[bool] | typing.Any | None
|
|
806
807
|
:param mirror: Mirror Editing
|
bpy/ops/ui/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def assign_default_button(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -272,7 +273,7 @@ def eyedropper_driver(
|
|
|
272
273
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
273
274
|
execution_context: str | int | None = None,
|
|
274
275
|
undo: bool | None = None,
|
|
275
|
-
mapping_type:
|
|
276
|
+
mapping_type: str | int | None = "SINGLE_MANY",
|
|
276
277
|
):
|
|
277
278
|
"""Pick a property to use as a driver target
|
|
278
279
|
|
|
@@ -295,7 +296,7 @@ def eyedropper_driver(
|
|
|
295
296
|
|
|
296
297
|
NONE_SINGLE
|
|
297
298
|
Manually Create Later (Single) -- Create driver for this property only and without assigning any targets yet.
|
|
298
|
-
:type mapping_type:
|
|
299
|
+
:type mapping_type: str | int | None
|
|
299
300
|
"""
|
|
300
301
|
|
|
301
302
|
...
|
|
@@ -304,7 +305,7 @@ def eyedropper_gpencil_color(
|
|
|
304
305
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
305
306
|
execution_context: str | int | None = None,
|
|
306
307
|
undo: bool | None = None,
|
|
307
|
-
mode:
|
|
308
|
+
mode: str | int | None = "MATERIAL",
|
|
308
309
|
):
|
|
309
310
|
"""Sample a color from the Blender Window and create Grease Pencil material
|
|
310
311
|
|
|
@@ -312,7 +313,7 @@ def eyedropper_gpencil_color(
|
|
|
312
313
|
:type execution_context: str | int | None
|
|
313
314
|
:type undo: bool | None
|
|
314
315
|
:param mode: Mode
|
|
315
|
-
:type mode:
|
|
316
|
+
:type mode: str | int | None
|
|
316
317
|
"""
|
|
317
318
|
|
|
318
319
|
...
|
|
@@ -423,7 +424,7 @@ def override_type_set_button(
|
|
|
423
424
|
execution_context: str | int | None = None,
|
|
424
425
|
undo: bool | None = None,
|
|
425
426
|
all: bool | typing.Any | None = True,
|
|
426
|
-
type:
|
|
427
|
+
type: str | int | None = "REPLACE",
|
|
427
428
|
):
|
|
428
429
|
"""Create an override operation, or set the type of an existing one
|
|
429
430
|
|
|
@@ -445,7 +446,7 @@ def override_type_set_button(
|
|
|
445
446
|
|
|
446
447
|
FACTOR
|
|
447
448
|
Factor -- Store factor to linked data value (useful e.g. for scale).
|
|
448
|
-
:type type:
|
|
449
|
+
:type type: str | int | None
|
|
449
450
|
"""
|
|
450
451
|
|
|
451
452
|
...
|
bpy/ops/uilist/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def entry_add(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -29,7 +30,7 @@ def entry_move(
|
|
|
29
30
|
undo: bool | None = None,
|
|
30
31
|
list_path: str | typing.Any = "",
|
|
31
32
|
active_index_path: str | typing.Any = "",
|
|
32
|
-
direction:
|
|
33
|
+
direction: str | int | None = "UP",
|
|
33
34
|
):
|
|
34
35
|
"""Move an entry in the list up or down
|
|
35
36
|
|
|
@@ -47,7 +48,7 @@ def entry_move(
|
|
|
47
48
|
|
|
48
49
|
DOWN
|
|
49
50
|
DOWN -- DOWN.
|
|
50
|
-
:type direction:
|
|
51
|
+
:type direction: str | int | None
|
|
51
52
|
"""
|
|
52
53
|
|
|
53
54
|
...
|