fake-bpy-module 20240518__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 +2 -1
- addon_utils/__init__.pyi +2 -1
- animsys_refactor/__init__.pyi +2 -1
- aud/__init__.pyi +2 -1
- bgl/__init__.pyi +2 -1
- bl_app_override/__init__.pyi +2 -1
- bl_app_override/helpers/__init__.pyi +2 -1
- bl_app_template_utils/__init__.pyi +2 -1
- 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 +2 -1
- bl_i18n_utils/merge_po/__init__.pyi +2 -1
- bl_i18n_utils/settings/__init__.pyi +2 -1
- bl_i18n_utils/utils/__init__.pyi +2 -1
- bl_i18n_utils/utils_cli/__init__.pyi +2 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +2 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -1
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +2 -1
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/anim/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +2 -1
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +2 -1
- bl_operators/clip/__init__.pyi +2 -1
- bl_operators/console/__init__.pyi +2 -1
- bl_operators/constraint/__init__.pyi +2 -1
- bl_operators/file/__init__.pyi +2 -1
- bl_operators/freestyle/__init__.pyi +2 -1
- bl_operators/geometry_nodes/__init__.pyi +2 -1
- bl_operators/image/__init__.pyi +2 -1
- bl_operators/mesh/__init__.pyi +2 -1
- bl_operators/node/__init__.pyi +2 -1
- bl_operators/object/__init__.pyi +2 -1
- bl_operators/object_align/__init__.pyi +2 -1
- bl_operators/object_quick_effects/__init__.pyi +2 -1
- bl_operators/object_randomize_transform/__init__.pyi +2 -1
- bl_operators/presets/__init__.pyi +2 -1
- bl_operators/rigidbody/__init__.pyi +2 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -1
- bl_operators/sequencer/__init__.pyi +2 -1
- bl_operators/spreadsheet/__init__.pyi +2 -1
- bl_operators/userpref/__init__.pyi +2 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +2 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +2 -1
- bl_operators/uvcalc_transform/__init__.pyi +2 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -1
- bl_operators/view3d/__init__.pyi +2 -1
- bl_operators/wm/__init__.pyi +2 -1
- bl_operators/world/__init__.pyi +2 -1
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +2 -1
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -1
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +2 -1
- bl_ui/__init__.pyi +2 -1
- bl_ui/anim/__init__.pyi +2 -1
- bl_ui/asset_shelf/__init__.pyi +2 -1
- bl_ui/generic_ui_list/__init__.pyi +2 -1
- bl_ui/node_add_menu/__init__.pyi +2 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +2 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +2 -1
- bl_ui/node_add_menu_shader/__init__.pyi +2 -1
- bl_ui/node_add_menu_texture/__init__.pyi +2 -1
- bl_ui/properties_animviz/__init__.pyi +2 -1
- bl_ui/properties_collection/__init__.pyi +2 -1
- bl_ui/properties_constraint/__init__.pyi +2 -1
- bl_ui/properties_data_armature/__init__.pyi +2 -1
- bl_ui/properties_data_bone/__init__.pyi +2 -1
- bl_ui/properties_data_camera/__init__.pyi +2 -1
- bl_ui/properties_data_curve/__init__.pyi +2 -1
- bl_ui/properties_data_curves/__init__.pyi +2 -1
- bl_ui/properties_data_empty/__init__.pyi +2 -1
- bl_ui/properties_data_gpencil/__init__.pyi +2 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +2 -1
- bl_ui/properties_data_lattice/__init__.pyi +2 -1
- bl_ui/properties_data_light/__init__.pyi +2 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +2 -1
- bl_ui/properties_data_mesh/__init__.pyi +2 -1
- bl_ui/properties_data_metaball/__init__.pyi +2 -1
- bl_ui/properties_data_modifier/__init__.pyi +2 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +2 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -1
- bl_ui/properties_data_speaker/__init__.pyi +2 -1
- bl_ui/properties_data_volume/__init__.pyi +2 -1
- bl_ui/properties_freestyle/__init__.pyi +2 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +2 -1
- bl_ui/properties_mask_common/__init__.pyi +2 -1
- bl_ui/properties_material/__init__.pyi +2 -1
- bl_ui/properties_material_gpencil/__init__.pyi +2 -1
- bl_ui/properties_object/__init__.pyi +2 -1
- bl_ui/properties_output/__init__.pyi +2 -1
- bl_ui/properties_paint_common/__init__.pyi +2 -1
- bl_ui/properties_particle/__init__.pyi +2 -1
- bl_ui/properties_physics_cloth/__init__.pyi +2 -1
- bl_ui/properties_physics_common/__init__.pyi +2 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -1
- bl_ui/properties_physics_field/__init__.pyi +2 -1
- bl_ui/properties_physics_fluid/__init__.pyi +2 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -1
- bl_ui/properties_physics_softbody/__init__.pyi +2 -1
- bl_ui/properties_render/__init__.pyi +2 -1
- bl_ui/properties_scene/__init__.pyi +2 -1
- bl_ui/properties_texture/__init__.pyi +2 -1
- bl_ui/properties_view_layer/__init__.pyi +2 -1
- bl_ui/properties_workspace/__init__.pyi +2 -1
- bl_ui/properties_world/__init__.pyi +2 -1
- bl_ui/space_clip/__init__.pyi +2 -1
- bl_ui/space_console/__init__.pyi +2 -1
- bl_ui/space_dopesheet/__init__.pyi +2 -1
- bl_ui/space_filebrowser/__init__.pyi +2 -1
- bl_ui/space_graph/__init__.pyi +2 -1
- bl_ui/space_image/__init__.pyi +2 -1
- bl_ui/space_info/__init__.pyi +2 -1
- bl_ui/space_nla/__init__.pyi +2 -1
- bl_ui/space_node/__init__.pyi +2 -1
- bl_ui/space_outliner/__init__.pyi +2 -1
- bl_ui/space_properties/__init__.pyi +2 -1
- bl_ui/space_sequencer/__init__.pyi +2 -1
- bl_ui/space_spreadsheet/__init__.pyi +2 -1
- bl_ui/space_statusbar/__init__.pyi +2 -1
- bl_ui/space_text/__init__.pyi +2 -1
- bl_ui/space_time/__init__.pyi +2 -1
- bl_ui/space_toolsystem_common/__init__.pyi +2 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -1
- bl_ui/space_topbar/__init__.pyi +2 -1
- bl_ui/space_userpref/__init__.pyi +2 -1
- bl_ui/space_view3d/__init__.pyi +2 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +2 -1
- bl_ui/temp_anim_layers/__init__.pyi +2 -1
- bl_ui/utils/__init__.pyi +2 -1
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +2 -1
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +2 -1
- 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 +28 -27
- 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 +188 -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 +131 -79
- bpy/utils/__init__.pyi +2 -1
- 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 -1
- bpy_extras/asset_utils/__init__.pyi +2 -1
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +2 -1
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/keyconfig_utils/__init__.pyi +2 -1
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +2 -1
- bpy_extras/node_utils/__init__.pyi +2 -1
- bpy_extras/object_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +2 -1
- bpy_restrict_state/__init__.pyi +2 -1
- bpy_types/__init__.pyi +2 -1
- console_python/__init__.pyi +2 -1
- console_shell/__init__.pyi +2 -1
- {fake_bpy_module-20240518.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 +2 -1
- freestyle/functions/__init__.pyi +2 -1
- freestyle/predicates/__init__.pyi +2 -1
- freestyle/shaders/__init__.pyi +2 -1
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +2 -1
- 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 +2 -1
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +2 -1
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -1
- keyingsets_builtins/__init__.pyi +2 -1
- keyingsets_utils/__init__.pyi +2 -1
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -1
- 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 +2 -1
- nodeitems_utils/__init__.pyi +2 -1
- rna_info/__init__.pyi +2 -1
- rna_keymap_ui/__init__.pyi +2 -1
- rna_prop_ui/__init__.pyi +2 -1
- rna_xml/__init__.pyi +2 -1
- sys_info/__init__.pyi +2 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/ed/__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 flush_edits(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -86,8 +87,8 @@ def lib_id_load_custom_preview(
|
|
|
86
87
|
filemode: typing.Any | None = 9,
|
|
87
88
|
show_multiview: bool | typing.Any | None = False,
|
|
88
89
|
use_multiview: bool | typing.Any | None = False,
|
|
89
|
-
display_type:
|
|
90
|
-
sort_method: str | int |
|
|
90
|
+
display_type: str | int | None = "DEFAULT",
|
|
91
|
+
sort_method: str | int | None = "",
|
|
91
92
|
):
|
|
92
93
|
"""Choose an image to help identify the data-block visually
|
|
93
94
|
|
|
@@ -153,9 +154,9 @@ def lib_id_load_custom_preview(
|
|
|
153
154
|
|
|
154
155
|
THUMBNAIL
|
|
155
156
|
Thumbnails -- Display files as thumbnails.
|
|
156
|
-
:type display_type:
|
|
157
|
+
:type display_type: str | int | None
|
|
157
158
|
:param sort_method: File sorting mode
|
|
158
|
-
:type sort_method: str | int |
|
|
159
|
+
:type sort_method: str | int | None
|
|
159
160
|
"""
|
|
160
161
|
|
|
161
162
|
...
|
bpy/ops/export_anim/__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 bvh(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -13,7 +14,7 @@ def bvh(
|
|
|
13
14
|
global_scale: typing.Any | None = 1.0,
|
|
14
15
|
frame_start: typing.Any | None = 0,
|
|
15
16
|
frame_end: typing.Any | None = 0,
|
|
16
|
-
rotate_mode:
|
|
17
|
+
rotate_mode: str | int | None = "NATIVE",
|
|
17
18
|
root_transform_only: bool | typing.Any | None = False,
|
|
18
19
|
):
|
|
19
20
|
"""Save a BVH motion capture file from an armature
|
|
@@ -55,7 +56,7 @@ def bvh(
|
|
|
55
56
|
|
|
56
57
|
ZYX
|
|
57
58
|
Euler (ZYX) -- Convert rotations to euler ZYX.
|
|
58
|
-
:type rotate_mode:
|
|
59
|
+
:type rotate_mode: str | int | None
|
|
59
60
|
:param root_transform_only: Root Translation Only, Only write out translation channels for the root bone
|
|
60
61
|
:type root_transform_only: bool | typing.Any | None
|
|
61
62
|
"""
|
|
@@ -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 fbx(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -16,10 +17,10 @@ def fbx(
|
|
|
16
17
|
collection: str | typing.Any = "",
|
|
17
18
|
global_scale: typing.Any | None = 1.0,
|
|
18
19
|
apply_unit_scale: bool | typing.Any | None = True,
|
|
19
|
-
apply_scale_options:
|
|
20
|
+
apply_scale_options: str | int | None = "FBX_SCALE_NONE",
|
|
20
21
|
use_space_transform: bool | typing.Any | None = True,
|
|
21
22
|
bake_space_transform: bool | typing.Any | None = False,
|
|
22
|
-
object_types:
|
|
23
|
+
object_types: set[str] | set[int] | None = {
|
|
23
24
|
"ARMATURE",
|
|
24
25
|
"CAMERA",
|
|
25
26
|
"EMPTY",
|
|
@@ -29,8 +30,8 @@ def fbx(
|
|
|
29
30
|
},
|
|
30
31
|
use_mesh_modifiers: bool | typing.Any | None = True,
|
|
31
32
|
use_mesh_modifiers_render: bool | typing.Any | None = True,
|
|
32
|
-
mesh_smooth_type:
|
|
33
|
-
colors_type:
|
|
33
|
+
mesh_smooth_type: str | int | None = "OFF",
|
|
34
|
+
colors_type: str | int | None = "SRGB",
|
|
34
35
|
prioritize_active_color: bool | typing.Any | None = False,
|
|
35
36
|
use_subsurf: bool | typing.Any | None = False,
|
|
36
37
|
use_mesh_edges: bool | typing.Any | None = False,
|
|
@@ -38,10 +39,10 @@ def fbx(
|
|
|
38
39
|
use_triangles: bool | typing.Any | None = False,
|
|
39
40
|
use_custom_props: bool | typing.Any | None = False,
|
|
40
41
|
add_leaf_bones: bool | typing.Any | None = True,
|
|
41
|
-
primary_bone_axis:
|
|
42
|
-
secondary_bone_axis:
|
|
42
|
+
primary_bone_axis: str | int | None = "Y",
|
|
43
|
+
secondary_bone_axis: str | int | None = "X",
|
|
43
44
|
use_armature_deform_only: bool | typing.Any | None = False,
|
|
44
|
-
armature_nodetype:
|
|
45
|
+
armature_nodetype: str | int | None = "NULL",
|
|
45
46
|
bake_anim: bool | typing.Any | None = True,
|
|
46
47
|
bake_anim_use_all_bones: bool | typing.Any | None = True,
|
|
47
48
|
bake_anim_use_nla_strips: bool | typing.Any | None = True,
|
|
@@ -49,13 +50,13 @@ def fbx(
|
|
|
49
50
|
bake_anim_force_startend_keying: bool | typing.Any | None = True,
|
|
50
51
|
bake_anim_step: typing.Any | None = 1.0,
|
|
51
52
|
bake_anim_simplify_factor: typing.Any | None = 1.0,
|
|
52
|
-
path_mode:
|
|
53
|
+
path_mode: str | int | None = "AUTO",
|
|
53
54
|
embed_textures: bool | typing.Any | None = False,
|
|
54
|
-
batch_mode:
|
|
55
|
+
batch_mode: str | int | None = "OFF",
|
|
55
56
|
use_batch_own_dir: bool | typing.Any | None = True,
|
|
56
57
|
use_metadata: bool | typing.Any | None = True,
|
|
57
|
-
axis_forward:
|
|
58
|
-
axis_up:
|
|
58
|
+
axis_forward: str | int | None = "-Z",
|
|
59
|
+
axis_up: str | int | None = "Y",
|
|
59
60
|
):
|
|
60
61
|
"""Write a FBX file
|
|
61
62
|
|
|
@@ -93,7 +94,7 @@ def fbx(
|
|
|
93
94
|
|
|
94
95
|
FBX_SCALE_ALL
|
|
95
96
|
FBX All -- Apply custom scaling and units scaling to FBX scale.
|
|
96
|
-
:type apply_scale_options:
|
|
97
|
+
:type apply_scale_options: str | int | None
|
|
97
98
|
:param use_space_transform: Use Space Transform, Apply global space transform to the object rotations. When disabled only the axis space is written to the file and all object transforms are left as-is
|
|
98
99
|
:type use_space_transform: bool | typing.Any | None
|
|
99
100
|
:param bake_space_transform: Apply Transform, Bake space transform into object data, avoids getting unwanted rotations to objects when target space is not aligned with Blender's space (WARNING! experimental option, use at own risk, known to be broken with armatures/animations)
|
|
@@ -117,7 +118,7 @@ def fbx(
|
|
|
117
118
|
|
|
118
119
|
OTHER
|
|
119
120
|
Other -- Other geometry types, like curve, metaball, etc. (converted to meshes).
|
|
120
|
-
:type object_types:
|
|
121
|
+
:type object_types: set[str] | set[int] | None
|
|
121
122
|
:param use_mesh_modifiers: Apply Modifiers, Apply modifiers to mesh objects (except Armature ones) - WARNING: prevents exporting shape keys
|
|
122
123
|
:type use_mesh_modifiers: bool | typing.Any | None
|
|
123
124
|
:param use_mesh_modifiers_render: Use Modifiers Render Setting, Use render settings when applying modifiers to mesh objects (DISABLED in Blender 2.8)
|
|
@@ -132,7 +133,7 @@ def fbx(
|
|
|
132
133
|
|
|
133
134
|
EDGE
|
|
134
135
|
Edge -- Write edge smoothing.
|
|
135
|
-
:type mesh_smooth_type:
|
|
136
|
+
:type mesh_smooth_type: str | int | None
|
|
136
137
|
:param colors_type: Vertex Colors, Export vertex color attributes
|
|
137
138
|
|
|
138
139
|
NONE
|
|
@@ -143,7 +144,7 @@ def fbx(
|
|
|
143
144
|
|
|
144
145
|
LINEAR
|
|
145
146
|
Linear -- Export colors in linear color space.
|
|
146
|
-
:type colors_type:
|
|
147
|
+
:type colors_type: str | int | None
|
|
147
148
|
:param prioritize_active_color: Prioritize Active Color, Make sure active color will be exported first. Could be important since some other software can discard other color attributes besides the first one
|
|
148
149
|
:type prioritize_active_color: bool | typing.Any | None
|
|
149
150
|
:param use_subsurf: Export Subdivision Surface, Export the last Catmull-Rom subdivision modifier as FBX subdivision (does not apply the modifier even if 'Apply Modifiers' is enabled)
|
|
@@ -159,9 +160,9 @@ def fbx(
|
|
|
159
160
|
:param add_leaf_bones: Add Leaf Bones, Append a final bone to the end of each chain to specify last bone length (use this when you intend to edit the armature from exported data)
|
|
160
161
|
:type add_leaf_bones: bool | typing.Any | None
|
|
161
162
|
:param primary_bone_axis: Primary Bone Axis
|
|
162
|
-
:type primary_bone_axis:
|
|
163
|
+
:type primary_bone_axis: str | int | None
|
|
163
164
|
:param secondary_bone_axis: Secondary Bone Axis
|
|
164
|
-
:type secondary_bone_axis:
|
|
165
|
+
:type secondary_bone_axis: str | int | None
|
|
165
166
|
:param use_armature_deform_only: Only Deform Bones, Only write deforming bones (and non-deforming ones when they have deforming children)
|
|
166
167
|
:type use_armature_deform_only: bool | typing.Any | None
|
|
167
168
|
:param armature_nodetype: Armature FBXNode Type, FBX type of node (object) used to represent Blender's armatures (use the Null type unless you experience issues with the other app, as other choices may not import back perfectly into Blender...)
|
|
@@ -174,7 +175,7 @@ def fbx(
|
|
|
174
175
|
|
|
175
176
|
LIMBNODE
|
|
176
177
|
LimbNode -- 'LimbNode' FBX node, a regular joint between two bones....
|
|
177
|
-
:type armature_nodetype:
|
|
178
|
+
:type armature_nodetype: str | int | None
|
|
178
179
|
:param bake_anim: Baked Animation, Export baked keyframe animation
|
|
179
180
|
:type bake_anim: bool | typing.Any | None
|
|
180
181
|
:param bake_anim_use_all_bones: Key All Bones, Force exporting at least one key of animation for all bones (needed with some target applications, like UE4)
|
|
@@ -208,7 +209,7 @@ def fbx(
|
|
|
208
209
|
|
|
209
210
|
COPY
|
|
210
211
|
Copy -- Copy the file to the destination path (or subdirectory).
|
|
211
|
-
:type path_mode:
|
|
212
|
+
:type path_mode: str | int | None
|
|
212
213
|
:param embed_textures: Embed Textures, Embed textures in FBX binary file (only for "Copy" path mode!)
|
|
213
214
|
:type embed_textures: bool | typing.Any | None
|
|
214
215
|
:param batch_mode: Batch Mode
|
|
@@ -227,15 +228,15 @@ def fbx(
|
|
|
227
228
|
|
|
228
229
|
ACTIVE_SCENE_COLLECTION
|
|
229
230
|
Active Scene Collections -- Each collection (including master, non-data-block one) of the active scene as a file, including content from children collections.
|
|
230
|
-
:type batch_mode:
|
|
231
|
+
:type batch_mode: str | int | None
|
|
231
232
|
:param use_batch_own_dir: Batch Own Dir, Create a dir for each exported file
|
|
232
233
|
:type use_batch_own_dir: bool | typing.Any | None
|
|
233
234
|
:param use_metadata: Use Metadata
|
|
234
235
|
:type use_metadata: bool | typing.Any | None
|
|
235
236
|
:param axis_forward: Forward
|
|
236
|
-
:type axis_forward:
|
|
237
|
+
:type axis_forward: str | int | None
|
|
237
238
|
:param axis_up: Up
|
|
238
|
-
:type axis_up:
|
|
239
|
+
:type axis_up: str | int | None
|
|
239
240
|
"""
|
|
240
241
|
|
|
241
242
|
...
|
|
@@ -246,7 +247,7 @@ def gltf(
|
|
|
246
247
|
undo: bool | None = None,
|
|
247
248
|
filepath: str | typing.Any = "",
|
|
248
249
|
check_existing: bool | typing.Any | None = True,
|
|
249
|
-
export_import_convert_lighting_mode:
|
|
250
|
+
export_import_convert_lighting_mode: str | int | None = "SPEC",
|
|
250
251
|
gltf_export_id: str | typing.Any = "",
|
|
251
252
|
export_use_gltfpack: bool | typing.Any | None = False,
|
|
252
253
|
export_gltfpack_tc: bool | typing.Any | None = True,
|
|
@@ -258,12 +259,12 @@ def gltf(
|
|
|
258
259
|
export_gltfpack_vt: typing.Any | None = 12,
|
|
259
260
|
export_gltfpack_vn: typing.Any | None = 8,
|
|
260
261
|
export_gltfpack_vc: typing.Any | None = 8,
|
|
261
|
-
export_gltfpack_vpi:
|
|
262
|
+
export_gltfpack_vpi: str | int | None = "Integer",
|
|
262
263
|
export_gltfpack_noq: bool | typing.Any | None = True,
|
|
263
|
-
export_format: str | int |
|
|
264
|
-
ui_tab:
|
|
264
|
+
export_format: str | int | None = "",
|
|
265
|
+
ui_tab: str | int | None = "GENERAL",
|
|
265
266
|
export_copyright: str | typing.Any = "",
|
|
266
|
-
export_image_format:
|
|
267
|
+
export_image_format: str | int | None = "AUTO",
|
|
267
268
|
export_image_add_webp: bool | typing.Any | None = False,
|
|
268
269
|
export_image_webp_fallback: bool | typing.Any | None = False,
|
|
269
270
|
export_texture_dir: str | typing.Any = "",
|
|
@@ -281,7 +282,7 @@ def gltf(
|
|
|
281
282
|
export_draco_color_quantization: typing.Any | None = 10,
|
|
282
283
|
export_draco_generic_quantization: typing.Any | None = 12,
|
|
283
284
|
export_tangents: bool | typing.Any | None = False,
|
|
284
|
-
export_materials:
|
|
285
|
+
export_materials: str | int | None = "EXPORT",
|
|
285
286
|
export_unused_images: bool | typing.Any | None = False,
|
|
286
287
|
export_unused_textures: bool | typing.Any | None = False,
|
|
287
288
|
export_colors: bool | typing.Any | None = True,
|
|
@@ -305,7 +306,7 @@ def gltf(
|
|
|
305
306
|
export_frame_step: typing.Any | None = 1,
|
|
306
307
|
export_force_sampling: bool | typing.Any | None = True,
|
|
307
308
|
export_pointer_animation: bool | typing.Any | None = False,
|
|
308
|
-
export_animation_mode:
|
|
309
|
+
export_animation_mode: str | int | None = "ACTIONS",
|
|
309
310
|
export_nla_strips_merged_animation_name: str | typing.Any = "Animation",
|
|
310
311
|
export_def_bones: bool | typing.Any | None = False,
|
|
311
312
|
export_hierarchy_flatten_bones: bool | typing.Any | None = False,
|
|
@@ -316,7 +317,7 @@ def gltf(
|
|
|
316
317
|
export_optimize_animation_keep_anim_armature: bool | typing.Any | None = True,
|
|
317
318
|
export_optimize_animation_keep_anim_object: bool | typing.Any | None = False,
|
|
318
319
|
export_optimize_armature_disable_viewport: bool | typing.Any | None = False,
|
|
319
|
-
export_negative_frame:
|
|
320
|
+
export_negative_frame: str | int | None = "SLIDE",
|
|
320
321
|
export_anim_slide_to_zero: bool | typing.Any | None = False,
|
|
321
322
|
export_bake_animation: bool | typing.Any | None = False,
|
|
322
323
|
export_anim_single_armature: bool | typing.Any | None = True,
|
|
@@ -364,7 +365,7 @@ def gltf(
|
|
|
364
365
|
|
|
365
366
|
RAW
|
|
366
367
|
Raw (Deprecated) -- Blender lighting strengths with no conversion.
|
|
367
|
-
:type export_import_convert_lighting_mode:
|
|
368
|
+
:type export_import_convert_lighting_mode: str | int | None
|
|
368
369
|
:param gltf_export_id: Identifier, Identifier of caller (in case of add-on calling this exporter). Can be useful in case of Extension added by other add-ons
|
|
369
370
|
:type gltf_export_id: str | typing.Any
|
|
370
371
|
:param export_use_gltfpack: Use Gltfpack, Use gltfpack to simplify the mesh and/or compress its textures
|
|
@@ -397,11 +398,11 @@ def gltf(
|
|
|
397
398
|
|
|
398
399
|
Floating-point
|
|
399
400
|
Floating-point -- Use floating-point attributes for positions.
|
|
400
|
-
:type export_gltfpack_vpi:
|
|
401
|
+
:type export_gltfpack_vpi: str | int | None
|
|
401
402
|
:param export_gltfpack_noq: Disable Quantization, Disable quantization; produces much larger glTF files with no extensions
|
|
402
403
|
:type export_gltfpack_noq: bool | typing.Any | None
|
|
403
404
|
:param export_format: Format, Output format. Binary is most efficient, but JSON may be easier to edit later
|
|
404
|
-
:type export_format: str | int |
|
|
405
|
+
:type export_format: str | int | None
|
|
405
406
|
:param ui_tab: ui_tab, Export setting categories
|
|
406
407
|
|
|
407
408
|
GENERAL
|
|
@@ -415,7 +416,7 @@ def gltf(
|
|
|
415
416
|
|
|
416
417
|
ANIMATION
|
|
417
418
|
Animation -- Animation settings.
|
|
418
|
-
:type ui_tab:
|
|
419
|
+
:type ui_tab: str | int | None
|
|
419
420
|
:param export_copyright: Copyright, Legal rights and conditions for the model
|
|
420
421
|
:type export_copyright: str | typing.Any
|
|
421
422
|
:param export_image_format: Images, Output format for images. PNG is lossless and generally preferred, but JPEG might be preferable for web applications due to the smaller file size. Alternatively they can be omitted if they are not needed
|
|
@@ -431,7 +432,7 @@ def gltf(
|
|
|
431
432
|
|
|
432
433
|
NONE
|
|
433
434
|
None -- Don't export images.
|
|
434
|
-
:type export_image_format:
|
|
435
|
+
:type export_image_format: str | int | None
|
|
435
436
|
:param export_image_add_webp: Create WebP, Creates WebP textures for every texture. For already WebP textures, nothing happens
|
|
436
437
|
:type export_image_add_webp: bool | typing.Any | None
|
|
437
438
|
:param export_image_webp_fallback: WebP fallback, For all WebP textures, create a PNG fallback texture
|
|
@@ -476,7 +477,7 @@ def gltf(
|
|
|
476
477
|
|
|
477
478
|
NONE
|
|
478
479
|
No export -- Do not export materials, and combine mesh primitive groups, losing material slot information.
|
|
479
|
-
:type export_materials:
|
|
480
|
+
:type export_materials: str | int | None
|
|
480
481
|
:param export_unused_images: Unused images, Export images not assigned to any material
|
|
481
482
|
:type export_unused_images: bool | typing.Any | None
|
|
482
483
|
:param export_unused_textures: Prepare Unused textures, Export image texture nodes not assigned to any material. This feature is not standard and needs an external extension to be included in the glTF file
|
|
@@ -539,7 +540,7 @@ def gltf(
|
|
|
539
540
|
|
|
540
541
|
SCENE
|
|
541
542
|
Scene -- Export baked scene as a single animation.
|
|
542
|
-
:type export_animation_mode:
|
|
543
|
+
:type export_animation_mode: str | int | None
|
|
543
544
|
:param export_nla_strips_merged_animation_name: Merged Animation Name, Name of single glTF animation to be exported
|
|
544
545
|
:type export_nla_strips_merged_animation_name: str | typing.Any
|
|
545
546
|
:param export_def_bones: Export Deformation Bones Only, Export Deformation bones only
|
|
@@ -567,7 +568,7 @@ def gltf(
|
|
|
567
568
|
|
|
568
569
|
CROP
|
|
569
570
|
Crop -- Keep only frames above frame 0.
|
|
570
|
-
:type export_negative_frame:
|
|
571
|
+
:type export_negative_frame: str | int | None
|
|
571
572
|
:param export_anim_slide_to_zero: Set all glTF Animation starting at 0, Set all glTF animation starting at 0.0s. Can be useful for looping animations
|
|
572
573
|
:type export_anim_slide_to_zero: bool | typing.Any | None
|
|
573
574
|
:param export_bake_animation: Bake All Objects Animations, Force exporting animation on every object. Can be useful when using constraints or driver. Also useful when exporting only selection
|
bpy/ops/file/__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 autopack_toggle(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -66,7 +67,7 @@ def bookmark_move(
|
|
|
66
67
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
67
68
|
execution_context: str | int | None = None,
|
|
68
69
|
undo: bool | None = None,
|
|
69
|
-
direction:
|
|
70
|
+
direction: str | int | None = "TOP",
|
|
70
71
|
):
|
|
71
72
|
"""Move the active bookmark up/down in the list
|
|
72
73
|
|
|
@@ -86,7 +87,7 @@ def bookmark_move(
|
|
|
86
87
|
|
|
87
88
|
BOTTOM
|
|
88
89
|
Bottom -- Bottom of the list.
|
|
89
|
-
:type direction:
|
|
90
|
+
:type direction: str | int | None
|
|
90
91
|
"""
|
|
91
92
|
|
|
92
93
|
...
|
|
@@ -172,7 +173,7 @@ def external_operation(
|
|
|
172
173
|
execution_context: str | int | None = None,
|
|
173
174
|
undo: bool | None = None,
|
|
174
175
|
filepath: str | typing.Any = "",
|
|
175
|
-
operation:
|
|
176
|
+
operation: str | int | None = "OPEN",
|
|
176
177
|
):
|
|
177
178
|
"""Perform external operation on a file or folder
|
|
178
179
|
|
|
@@ -227,7 +228,7 @@ def external_operation(
|
|
|
227
228
|
|
|
228
229
|
CMD
|
|
229
230
|
Command Prompt Here -- Open a command prompt here.
|
|
230
|
-
:type operation:
|
|
231
|
+
:type operation: str | int | None
|
|
231
232
|
"""
|
|
232
233
|
|
|
233
234
|
...
|
|
@@ -291,8 +292,8 @@ def find_missing_files(
|
|
|
291
292
|
filter_folder: bool | typing.Any | None = False,
|
|
292
293
|
filter_blenlib: bool | typing.Any | None = False,
|
|
293
294
|
filemode: typing.Any | None = 9,
|
|
294
|
-
display_type:
|
|
295
|
-
sort_method: str | int |
|
|
295
|
+
display_type: str | int | None = "DEFAULT",
|
|
296
|
+
sort_method: str | int | None = "",
|
|
296
297
|
):
|
|
297
298
|
"""Try to find missing external files
|
|
298
299
|
|
|
@@ -356,9 +357,9 @@ def find_missing_files(
|
|
|
356
357
|
|
|
357
358
|
THUMBNAIL
|
|
358
359
|
Thumbnails -- Display files as thumbnails.
|
|
359
|
-
:type display_type:
|
|
360
|
+
:type display_type: str | int | None
|
|
360
361
|
:param sort_method: File sorting mode
|
|
361
|
-
:type sort_method: str | int |
|
|
362
|
+
:type sort_method: str | int | None
|
|
362
363
|
"""
|
|
363
364
|
|
|
364
365
|
...
|
|
@@ -604,7 +605,7 @@ def select_all(
|
|
|
604
605
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
605
606
|
execution_context: str | int | None = None,
|
|
606
607
|
undo: bool | None = None,
|
|
607
|
-
action:
|
|
608
|
+
action: str | int | None = "TOGGLE",
|
|
608
609
|
):
|
|
609
610
|
"""Select or deselect all files
|
|
610
611
|
|
|
@@ -624,7 +625,7 @@ def select_all(
|
|
|
624
625
|
|
|
625
626
|
INVERT
|
|
626
627
|
Invert -- Invert selection of all elements.
|
|
627
|
-
:type action:
|
|
628
|
+
:type action: str | int | None
|
|
628
629
|
"""
|
|
629
630
|
|
|
630
631
|
...
|
|
@@ -655,7 +656,7 @@ def select_box(
|
|
|
655
656
|
ymin: typing.Any | None = 0,
|
|
656
657
|
ymax: typing.Any | None = 0,
|
|
657
658
|
wait_for_input: bool | typing.Any | None = True,
|
|
658
|
-
mode:
|
|
659
|
+
mode: str | int | None = "SET",
|
|
659
660
|
):
|
|
660
661
|
"""Activate/select the file(s) contained in the border
|
|
661
662
|
|
|
@@ -682,7 +683,7 @@ def select_box(
|
|
|
682
683
|
|
|
683
684
|
SUB
|
|
684
685
|
Subtract -- Subtract existing selection.
|
|
685
|
-
:type mode:
|
|
686
|
+
:type mode: str | int | None
|
|
686
687
|
"""
|
|
687
688
|
|
|
688
689
|
...
|
|
@@ -691,7 +692,7 @@ def select_walk(
|
|
|
691
692
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
692
693
|
execution_context: str | int | None = None,
|
|
693
694
|
undo: bool | None = None,
|
|
694
|
-
direction:
|
|
695
|
+
direction: str | int | None = "UP",
|
|
695
696
|
extend: bool | typing.Any | None = False,
|
|
696
697
|
fill: bool | typing.Any | None = False,
|
|
697
698
|
):
|
|
@@ -701,7 +702,7 @@ def select_walk(
|
|
|
701
702
|
:type execution_context: str | int | None
|
|
702
703
|
:type undo: bool | None
|
|
703
704
|
:param direction: Walk Direction, Select/Deselect element in this direction
|
|
704
|
-
:type direction:
|
|
705
|
+
:type direction: str | int | None
|
|
705
706
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
706
707
|
:type extend: bool | typing.Any | None
|
|
707
708
|
:param fill: Fill, Select everything beginning with the last selection
|
|
@@ -756,7 +757,7 @@ def unpack_all(
|
|
|
756
757
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
757
758
|
execution_context: str | int | None = None,
|
|
758
759
|
undo: bool | None = None,
|
|
759
|
-
method:
|
|
760
|
+
method: str | int | None = "USE_LOCAL",
|
|
760
761
|
):
|
|
761
762
|
"""Unpack all files packed into this .blend to external ones
|
|
762
763
|
|
|
@@ -764,7 +765,7 @@ def unpack_all(
|
|
|
764
765
|
:type execution_context: str | int | None
|
|
765
766
|
:type undo: bool | None
|
|
766
767
|
:param method: Method, How to unpack
|
|
767
|
-
:type method:
|
|
768
|
+
:type method: str | int | None
|
|
768
769
|
"""
|
|
769
770
|
|
|
770
771
|
...
|
|
@@ -773,7 +774,7 @@ def unpack_item(
|
|
|
773
774
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
774
775
|
execution_context: str | int | None = None,
|
|
775
776
|
undo: bool | None = None,
|
|
776
|
-
method:
|
|
777
|
+
method: str | int | None = "USE_LOCAL",
|
|
777
778
|
id_name: str | typing.Any = "",
|
|
778
779
|
id_type: typing.Any | None = 19785,
|
|
779
780
|
):
|
|
@@ -783,7 +784,7 @@ def unpack_item(
|
|
|
783
784
|
:type execution_context: str | int | None
|
|
784
785
|
:type undo: bool | None
|
|
785
786
|
:param method: Method, How to unpack
|
|
786
|
-
:type method:
|
|
787
|
+
:type method: str | int | None
|
|
787
788
|
:param id_name: ID Name, Name of ID block to unpack
|
|
788
789
|
:type id_name: str | typing.Any
|
|
789
790
|
:param id_type: ID Type, Identifier type of ID block
|
bpy/ops/fluid/__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 bake_all(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
bpy/ops/font/__init__.pyi
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
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 case_set(
|
|
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
|
-
case:
|
|
11
|
+
case: str | int | None = "LOWER",
|
|
11
12
|
):
|
|
12
13
|
"""Set font case
|
|
13
14
|
|
|
@@ -15,7 +16,7 @@ def case_set(
|
|
|
15
16
|
:type execution_context: str | int | None
|
|
16
17
|
:type undo: bool | None
|
|
17
18
|
:param case: Case, Lower or upper case
|
|
18
|
-
:type case:
|
|
19
|
+
:type case: str | int | None
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
22
|
...
|
|
@@ -72,7 +73,7 @@ def delete(
|
|
|
72
73
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
73
74
|
execution_context: str | int | None = None,
|
|
74
75
|
undo: bool | None = None,
|
|
75
|
-
type:
|
|
76
|
+
type: str | int | None = "PREVIOUS_CHARACTER",
|
|
76
77
|
):
|
|
77
78
|
"""Delete text by cursor position
|
|
78
79
|
|
|
@@ -80,7 +81,7 @@ def delete(
|
|
|
80
81
|
:type execution_context: str | int | None
|
|
81
82
|
:type undo: bool | None
|
|
82
83
|
:param type: Type, Which part of the text to delete
|
|
83
|
-
:type type:
|
|
84
|
+
:type type: str | int | None
|
|
84
85
|
"""
|
|
85
86
|
|
|
86
87
|
...
|
|
@@ -103,7 +104,7 @@ def move(
|
|
|
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 = "LINE_BEGIN",
|
|
107
108
|
):
|
|
108
109
|
"""Move cursor to position type
|
|
109
110
|
|
|
@@ -111,7 +112,7 @@ def move(
|
|
|
111
112
|
:type execution_context: str | int | None
|
|
112
113
|
:type undo: bool | None
|
|
113
114
|
:param type: Type, Where to move cursor to
|
|
114
|
-
:type type:
|
|
115
|
+
:type type: str | int | None
|
|
115
116
|
"""
|
|
116
117
|
|
|
117
118
|
...
|
|
@@ -120,7 +121,7 @@ def move_select(
|
|
|
120
121
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
121
122
|
execution_context: str | int | None = None,
|
|
122
123
|
undo: bool | None = None,
|
|
123
|
-
type:
|
|
124
|
+
type: str | int | None = "LINE_BEGIN",
|
|
124
125
|
):
|
|
125
126
|
"""Move the cursor while selecting
|
|
126
127
|
|
|
@@ -128,7 +129,7 @@ def move_select(
|
|
|
128
129
|
:type execution_context: str | int | None
|
|
129
130
|
:type undo: bool | None
|
|
130
131
|
:param type: Type, Where to move cursor to, to make a selection
|
|
131
|
-
:type type:
|
|
132
|
+
:type type: str | int | None
|
|
132
133
|
"""
|
|
133
134
|
|
|
134
135
|
...
|
|
@@ -159,8 +160,8 @@ def open(
|
|
|
159
160
|
filter_blenlib: bool | typing.Any | None = False,
|
|
160
161
|
filemode: typing.Any | None = 9,
|
|
161
162
|
relative_path: bool | typing.Any | None = True,
|
|
162
|
-
display_type:
|
|
163
|
-
sort_method: str | int |
|
|
163
|
+
display_type: str | int | None = "THUMBNAIL",
|
|
164
|
+
sort_method: str | int | None = "",
|
|
164
165
|
):
|
|
165
166
|
"""Load a new font from a file
|
|
166
167
|
|
|
@@ -224,9 +225,9 @@ def open(
|
|
|
224
225
|
|
|
225
226
|
THUMBNAIL
|
|
226
227
|
Thumbnails -- Display files as thumbnails.
|
|
227
|
-
:type display_type:
|
|
228
|
+
:type display_type: str | int | None
|
|
228
229
|
:param sort_method: File sorting mode
|
|
229
|
-
:type sort_method: str | int |
|
|
230
|
+
:type sort_method: str | int | None
|
|
230
231
|
"""
|
|
231
232
|
|
|
232
233
|
...
|
|
@@ -277,7 +278,7 @@ def style_set(
|
|
|
277
278
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
278
279
|
execution_context: str | int | None = None,
|
|
279
280
|
undo: bool | None = None,
|
|
280
|
-
style:
|
|
281
|
+
style: str | int | None = "BOLD",
|
|
281
282
|
clear: bool | typing.Any | None = False,
|
|
282
283
|
):
|
|
283
284
|
"""Set font style
|
|
@@ -286,7 +287,7 @@ def style_set(
|
|
|
286
287
|
:type execution_context: str | int | None
|
|
287
288
|
:type undo: bool | None
|
|
288
289
|
:param style: Style, Style to set selection to
|
|
289
|
-
:type style:
|
|
290
|
+
:type style: str | int | None
|
|
290
291
|
:param clear: Clear, Clear style rather than setting it
|
|
291
292
|
:type clear: bool | typing.Any | None
|
|
292
293
|
"""
|
|
@@ -297,7 +298,7 @@ def style_toggle(
|
|
|
297
298
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
298
299
|
execution_context: str | int | None = None,
|
|
299
300
|
undo: bool | None = None,
|
|
300
|
-
style:
|
|
301
|
+
style: str | int | None = "BOLD",
|
|
301
302
|
):
|
|
302
303
|
"""Toggle font style
|
|
303
304
|
|
|
@@ -305,7 +306,7 @@ def style_toggle(
|
|
|
305
306
|
:type execution_context: str | int | None
|
|
306
307
|
:type undo: bool | None
|
|
307
308
|
:param style: Style, Style to set selection to
|
|
308
|
-
:type style:
|
|
309
|
+
:type style: str | int | None
|
|
309
310
|
"""
|
|
310
311
|
|
|
311
312
|
...
|
|
@@ -414,8 +415,8 @@ def text_paste_from_file(
|
|
|
414
415
|
filter_folder: bool | typing.Any | None = True,
|
|
415
416
|
filter_blenlib: bool | typing.Any | None = False,
|
|
416
417
|
filemode: typing.Any | None = 9,
|
|
417
|
-
display_type:
|
|
418
|
-
sort_method: str | int |
|
|
418
|
+
display_type: str | int | None = "DEFAULT",
|
|
419
|
+
sort_method: str | int | None = "",
|
|
419
420
|
):
|
|
420
421
|
"""Paste contents from file
|
|
421
422
|
|
|
@@ -477,9 +478,9 @@ def text_paste_from_file(
|
|
|
477
478
|
|
|
478
479
|
THUMBNAIL
|
|
479
480
|
Thumbnails -- Display files as thumbnails.
|
|
480
|
-
:type display_type:
|
|
481
|
+
:type display_type: str | int | None
|
|
481
482
|
:param sort_method: File sorting mode
|
|
482
|
-
:type sort_method: str | int |
|
|
483
|
+
:type sort_method: str | int | None
|
|
483
484
|
"""
|
|
484
485
|
|
|
485
486
|
...
|
bpy/ops/geometry/__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 attribute_add(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -30,7 +31,7 @@ def attribute_convert(
|
|
|
30
31
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
31
32
|
execution_context: str | int | None = None,
|
|
32
33
|
undo: bool | None = None,
|
|
33
|
-
mode:
|
|
34
|
+
mode: str | int | None = "GENERIC",
|
|
34
35
|
domain: str | int | None = "POINT",
|
|
35
36
|
data_type: str | int | None = "FLOAT",
|
|
36
37
|
):
|
|
@@ -40,7 +41,7 @@ def attribute_convert(
|
|
|
40
41
|
:type execution_context: str | int | None
|
|
41
42
|
:type undo: bool | None
|
|
42
43
|
:param mode: Mode
|
|
43
|
-
:type mode:
|
|
44
|
+
:type mode: str | int | None
|
|
44
45
|
:param domain: Domain, Which geometry element to move the attribute to
|
|
45
46
|
:type domain: str | int | None
|
|
46
47
|
:param data_type: Data Type
|