fake-bpy-module 20240518__py3-none-any.whl → 20240520__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +3 -1
- _bpy_internal/freedesktop/__init__.pyi +3 -1
- addon_utils/__init__.pyi +3 -1
- animsys_refactor/__init__.pyi +3 -1
- aud/__init__.pyi +3 -1
- bgl/__init__.pyi +121 -146
- bl_app_override/__init__.pyi +3 -1
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +3 -1
- bl_console_utils/__init__.pyi +3 -1
- bl_console_utils/autocomplete/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
- bl_i18n_utils/__init__.pyi +3 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
- bl_i18n_utils/merge_po/__init__.pyi +3 -1
- bl_i18n_utils/settings/__init__.pyi +3 -1
- bl_i18n_utils/utils/__init__.pyi +3 -1
- bl_i18n_utils/utils_cli/__init__.pyi +3 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
- bl_keymap_utils/__init__.pyi +3 -1
- bl_keymap_utils/io/__init__.pyi +3 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
- bl_keymap_utils/versioning/__init__.pyi +3 -1
- bl_math/__init__.pyi +3 -1
- bl_operators/__init__.pyi +3 -1
- bl_operators/add_mesh_torus/__init__.pyi +3 -1
- bl_operators/anim/__init__.pyi +3 -1
- bl_operators/assets/__init__.pyi +3 -1
- bl_operators/bmesh/__init__.pyi +3 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
- bl_operators/clip/__init__.pyi +3 -1
- bl_operators/console/__init__.pyi +3 -1
- bl_operators/constraint/__init__.pyi +3 -1
- bl_operators/file/__init__.pyi +3 -1
- bl_operators/freestyle/__init__.pyi +3 -1
- bl_operators/geometry_nodes/__init__.pyi +3 -1
- bl_operators/image/__init__.pyi +3 -1
- bl_operators/mesh/__init__.pyi +3 -1
- bl_operators/node/__init__.pyi +3 -1
- bl_operators/object/__init__.pyi +3 -1
- bl_operators/object_align/__init__.pyi +3 -1
- bl_operators/object_quick_effects/__init__.pyi +3 -1
- bl_operators/object_randomize_transform/__init__.pyi +3 -1
- bl_operators/presets/__init__.pyi +3 -1
- bl_operators/rigidbody/__init__.pyi +3 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
- bl_operators/sequencer/__init__.pyi +3 -1
- bl_operators/spreadsheet/__init__.pyi +3 -1
- bl_operators/userpref/__init__.pyi +3 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
- bl_operators/uvcalc_transform/__init__.pyi +3 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
- bl_operators/view3d/__init__.pyi +3 -1
- bl_operators/wm/__init__.pyi +3 -1
- bl_operators/world/__init__.pyi +3 -1
- bl_previews_utils/__init__.pyi +3 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
- bl_rna_utils/__init__.pyi +3 -1
- bl_rna_utils/data_path/__init__.pyi +3 -1
- bl_text_utils/__init__.pyi +3 -1
- bl_text_utils/external_editor/__init__.pyi +3 -1
- bl_ui/__init__.pyi +3 -1
- bl_ui/anim/__init__.pyi +3 -1
- bl_ui/asset_shelf/__init__.pyi +3 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -1
- bl_ui/node_add_menu/__init__.pyi +3 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
- bl_ui/node_add_menu_shader/__init__.pyi +3 -1
- bl_ui/node_add_menu_texture/__init__.pyi +3 -1
- bl_ui/properties_animviz/__init__.pyi +3 -1
- bl_ui/properties_collection/__init__.pyi +3 -1
- bl_ui/properties_constraint/__init__.pyi +3 -1
- bl_ui/properties_data_armature/__init__.pyi +3 -1
- bl_ui/properties_data_bone/__init__.pyi +3 -1
- bl_ui/properties_data_camera/__init__.pyi +3 -1
- bl_ui/properties_data_curve/__init__.pyi +3 -1
- bl_ui/properties_data_curves/__init__.pyi +3 -1
- bl_ui/properties_data_empty/__init__.pyi +3 -1
- bl_ui/properties_data_gpencil/__init__.pyi +3 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
- bl_ui/properties_data_lattice/__init__.pyi +3 -1
- bl_ui/properties_data_light/__init__.pyi +3 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
- bl_ui/properties_data_mesh/__init__.pyi +3 -1
- bl_ui/properties_data_metaball/__init__.pyi +3 -1
- bl_ui/properties_data_modifier/__init__.pyi +3 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
- bl_ui/properties_data_speaker/__init__.pyi +3 -1
- bl_ui/properties_data_volume/__init__.pyi +3 -1
- bl_ui/properties_freestyle/__init__.pyi +3 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
- bl_ui/properties_mask_common/__init__.pyi +3 -1
- bl_ui/properties_material/__init__.pyi +3 -1
- bl_ui/properties_material_gpencil/__init__.pyi +3 -1
- bl_ui/properties_object/__init__.pyi +3 -1
- bl_ui/properties_output/__init__.pyi +3 -1
- bl_ui/properties_paint_common/__init__.pyi +3 -1
- bl_ui/properties_particle/__init__.pyi +3 -1
- bl_ui/properties_physics_cloth/__init__.pyi +3 -1
- bl_ui/properties_physics_common/__init__.pyi +3 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
- bl_ui/properties_physics_field/__init__.pyi +3 -1
- bl_ui/properties_physics_fluid/__init__.pyi +3 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
- bl_ui/properties_physics_softbody/__init__.pyi +3 -1
- bl_ui/properties_render/__init__.pyi +3 -1
- bl_ui/properties_scene/__init__.pyi +3 -1
- bl_ui/properties_texture/__init__.pyi +3 -1
- bl_ui/properties_view_layer/__init__.pyi +3 -1
- bl_ui/properties_workspace/__init__.pyi +3 -1
- bl_ui/properties_world/__init__.pyi +3 -1
- bl_ui/space_clip/__init__.pyi +3 -1
- bl_ui/space_console/__init__.pyi +3 -1
- bl_ui/space_dopesheet/__init__.pyi +3 -1
- bl_ui/space_filebrowser/__init__.pyi +3 -1
- bl_ui/space_graph/__init__.pyi +3 -1
- bl_ui/space_image/__init__.pyi +3 -1
- bl_ui/space_info/__init__.pyi +3 -1
- bl_ui/space_nla/__init__.pyi +3 -1
- bl_ui/space_node/__init__.pyi +3 -1
- bl_ui/space_outliner/__init__.pyi +3 -1
- bl_ui/space_properties/__init__.pyi +3 -1
- bl_ui/space_sequencer/__init__.pyi +3 -1
- bl_ui/space_spreadsheet/__init__.pyi +3 -1
- bl_ui/space_statusbar/__init__.pyi +3 -1
- bl_ui/space_text/__init__.pyi +3 -1
- bl_ui/space_time/__init__.pyi +3 -1
- bl_ui/space_toolsystem_common/__init__.pyi +3 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
- bl_ui/space_topbar/__init__.pyi +3 -1
- bl_ui/space_userpref/__init__.pyi +3 -1
- bl_ui/space_view3d/__init__.pyi +3 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
- bl_ui/temp_anim_layers/__init__.pyi +3 -1
- bl_ui/utils/__init__.pyi +3 -1
- bl_ui_utils/__init__.pyi +3 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -1
- bl_ui_utils/layout/__init__.pyi +3 -1
- blend_render_info/__init__.pyi +3 -1
- blf/__init__.pyi +3 -1
- bmesh/__init__.pyi +3 -1
- bmesh/geometry/__init__.pyi +3 -1
- bmesh/ops/__init__.pyi +39 -37
- bmesh/types/__init__.pyi +31 -28
- bmesh/utils/__init__.pyi +3 -1
- bpy/__init__.pyi +3 -1
- bpy/app/__init__.pyi +3 -1
- bpy/app/handlers/__init__.pyi +3 -1
- bpy/app/icons/__init__.pyi +3 -1
- bpy/app/timers/__init__.pyi +9 -15
- bpy/app/translations/__init__.pyi +3 -1
- bpy/msgbus/__init__.pyi +3 -1
- bpy/ops/__init__.pyi +3 -1
- bpy/ops/action/__init__.pyi +35 -33
- bpy/ops/anim/__init__.pyi +33 -31
- bpy/ops/armature/__init__.pyi +23 -21
- bpy/ops/asset/__init__.pyi +9 -7
- bpy/ops/bl_pkg/__init__.pyi +5 -3
- bpy/ops/boid/__init__.pyi +5 -3
- bpy/ops/brush/__init__.pyi +11 -9
- bpy/ops/buttons/__init__.pyi +11 -9
- bpy/ops/cachefile/__init__.pyi +13 -11
- bpy/ops/camera/__init__.pyi +3 -1
- bpy/ops/clip/__init__.pyi +41 -39
- bpy/ops/cloth/__init__.pyi +3 -1
- bpy/ops/collection/__init__.pyi +9 -7
- bpy/ops/console/__init__.pyi +9 -7
- bpy/ops/constraint/__init__.pyi +31 -29
- bpy/ops/curve/__init__.pyi +37 -35
- bpy/ops/curves/__init__.pyi +19 -17
- bpy/ops/cycles/__init__.pyi +3 -1
- bpy/ops/dpaint/__init__.pyi +7 -5
- bpy/ops/ed/__init__.pyi +7 -5
- bpy/ops/export_anim/__init__.pyi +5 -3
- bpy/ops/export_scene/__init__.pyi +41 -39
- bpy/ops/file/__init__.pyi +21 -19
- bpy/ops/fluid/__init__.pyi +3 -1
- bpy/ops/font/__init__.pyi +23 -21
- bpy/ops/geometry/__init__.pyi +23 -21
- bpy/ops/gizmogroup/__init__.pyi +3 -1
- bpy/ops/gpencil/__init__.pyi +135 -133
- bpy/ops/graph/__init__.pyi +57 -55
- bpy/ops/grease_pencil/__init__.pyi +45 -43
- bpy/ops/image/__init__.pyi +31 -29
- bpy/ops/import_anim/__init__.pyi +11 -9
- bpy/ops/import_curve/__init__.pyi +3 -1
- bpy/ops/import_scene/__init__.pyi +21 -19
- bpy/ops/info/__init__.pyi +7 -5
- bpy/ops/lattice/__init__.pyi +9 -7
- bpy/ops/marker/__init__.pyi +11 -9
- bpy/ops/mask/__init__.pyi +15 -13
- bpy/ops/material/__init__.pyi +3 -1
- bpy/ops/mball/__init__.pyi +9 -7
- bpy/ops/mesh/__init__.pyi +147 -145
- bpy/ops/nla/__init__.pyi +19 -17
- bpy/ops/node/__init__.pyi +35 -33
- bpy/ops/object/__init__.pyi +255 -253
- bpy/ops/outliner/__init__.pyi +43 -41
- bpy/ops/paint/__init__.pyi +75 -73
- bpy/ops/paintcurve/__init__.pyi +3 -1
- bpy/ops/palette/__init__.pyi +7 -5
- bpy/ops/particle/__init__.pyi +17 -15
- bpy/ops/pose/__init__.pyi +45 -43
- bpy/ops/poselib/__init__.pyi +3 -1
- bpy/ops/preferences/__init__.pyi +15 -13
- bpy/ops/ptcache/__init__.pyi +3 -1
- bpy/ops/render/__init__.pyi +5 -3
- bpy/ops/rigidbody/__init__.pyi +19 -17
- bpy/ops/scene/__init__.pyi +27 -25
- bpy/ops/screen/__init__.pyi +23 -21
- bpy/ops/script/__init__.pyi +3 -1
- bpy/ops/sculpt/__init__.pyi +69 -67
- bpy/ops/sculpt_curves/__init__.pyi +5 -3
- bpy/ops/sequencer/__init__.pyi +77 -75
- bpy/ops/sound/__init__.pyi +23 -21
- bpy/ops/spreadsheet/__init__.pyi +3 -1
- bpy/ops/surface/__init__.pyi +15 -13
- bpy/ops/text/__init__.pyi +25 -23
- bpy/ops/text_editor/__init__.pyi +3 -1
- bpy/ops/texture/__init__.pyi +5 -3
- bpy/ops/transform/__init__.pyi +91 -89
- bpy/ops/ui/__init__.pyi +9 -7
- bpy/ops/uilist/__init__.pyi +5 -3
- bpy/ops/uv/__init__.pyi +69 -67
- bpy/ops/view2d/__init__.pyi +3 -1
- bpy/ops/view3d/__init__.pyi +37 -35
- bpy/ops/wm/__init__.pyi +199 -197
- bpy/ops/workspace/__init__.pyi +3 -1
- bpy/ops/world/__init__.pyi +3 -1
- bpy/path/__init__.pyi +3 -1
- bpy/props/__init__.pyi +3 -1
- bpy/types/__init__.pyi +3448 -3370
- bpy/utils/__init__.pyi +3 -1
- bpy/utils/previews/__init__.pyi +3 -1
- bpy/utils/units/__init__.pyi +3 -1
- bpy_extras/__init__.pyi +3 -1
- bpy_extras/anim_utils/__init__.pyi +3 -1
- bpy_extras/asset_utils/__init__.pyi +3 -1
- bpy_extras/bmesh_utils/__init__.pyi +3 -1
- bpy_extras/extensions/__init__.pyi +3 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -1
- bpy_extras/image_utils/__init__.pyi +3 -1
- bpy_extras/io_utils/__init__.pyi +3 -1
- bpy_extras/keyconfig_utils/__init__.pyi +3 -1
- bpy_extras/mesh_utils/__init__.pyi +3 -1
- bpy_extras/node_shader_utils/__init__.pyi +3 -1
- bpy_extras/node_utils/__init__.pyi +3 -1
- bpy_extras/object_utils/__init__.pyi +3 -1
- bpy_extras/view3d_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/__init__.pyi +3 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
- bpy_restrict_state/__init__.pyi +3 -1
- bpy_types/__init__.pyi +3 -1
- console_python/__init__.pyi +3 -1
- console_shell/__init__.pyi +3 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
- fake_bpy_module-20240520.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +3 -1
- freestyle/chainingiterators/__init__.pyi +3 -1
- freestyle/functions/__init__.pyi +3 -1
- freestyle/predicates/__init__.pyi +3 -1
- freestyle/shaders/__init__.pyi +3 -1
- freestyle/types/__init__.pyi +3 -1
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +3 -1
- gpu/__init__.pyi +3 -1
- gpu/capabilities/__init__.pyi +3 -1
- gpu/matrix/__init__.pyi +3 -1
- gpu/platform/__init__.pyi +3 -1
- gpu/select/__init__.pyi +3 -1
- gpu/shader/__init__.pyi +3 -1
- gpu/state/__init__.pyi +3 -1
- gpu/texture/__init__.pyi +3 -1
- gpu/types/__init__.pyi +3 -1
- gpu_extras/__init__.pyi +3 -1
- gpu_extras/batch/__init__.pyi +3 -1
- gpu_extras/presets/__init__.pyi +3 -1
- graphviz_export/__init__.pyi +3 -1
- idprop/__init__.pyi +3 -1
- idprop/types/__init__.pyi +3 -1
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -1
- keyingsets_builtins/__init__.pyi +3 -1
- keyingsets_utils/__init__.pyi +3 -1
- mathutils/__init__.pyi +5 -2
- mathutils/bvhtree/__init__.pyi +3 -1
- mathutils/geometry/__init__.pyi +3 -1
- mathutils/interpolate/__init__.pyi +3 -1
- mathutils/kdtree/__init__.pyi +3 -1
- mathutils/noise/__init__.pyi +3 -1
- nodeitems_builtins/__init__.pyi +3 -1
- nodeitems_utils/__init__.pyi +3 -1
- rna_info/__init__.pyi +3 -1
- rna_keymap_ui/__init__.pyi +3 -1
- rna_prop_ui/__init__.pyi +3 -1
- rna_xml/__init__.pyi +3 -1
- sys_info/__init__.pyi +3 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.ops.transform
|
|
3
4
|
import bpy.types
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
6
8
|
|
|
7
9
|
def brush_stroke(
|
|
8
10
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -10,7 +12,7 @@ def brush_stroke(
|
|
|
10
12
|
undo: bool | None = None,
|
|
11
13
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
12
14
|
| None = None,
|
|
13
|
-
mode:
|
|
15
|
+
mode: str | None = "NORMAL",
|
|
14
16
|
):
|
|
15
17
|
"""Draw a new stroke in the active Grease Pencil object
|
|
16
18
|
|
|
@@ -29,7 +31,7 @@ def brush_stroke(
|
|
|
29
31
|
|
|
30
32
|
SMOOTH
|
|
31
33
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
32
|
-
:type mode:
|
|
34
|
+
:type mode: str | None
|
|
33
35
|
"""
|
|
34
36
|
|
|
35
37
|
...
|
|
@@ -38,7 +40,7 @@ def caps_set(
|
|
|
38
40
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
39
41
|
execution_context: str | int | None = None,
|
|
40
42
|
undo: bool | None = None,
|
|
41
|
-
type:
|
|
43
|
+
type: str | None = "ROUND",
|
|
42
44
|
):
|
|
43
45
|
"""Change curve caps mode (rounded or flat)
|
|
44
46
|
|
|
@@ -58,7 +60,7 @@ def caps_set(
|
|
|
58
60
|
|
|
59
61
|
END
|
|
60
62
|
Toggle End.
|
|
61
|
-
:type type:
|
|
63
|
+
:type type: str | None
|
|
62
64
|
"""
|
|
63
65
|
|
|
64
66
|
...
|
|
@@ -98,7 +100,7 @@ def cyclical_set(
|
|
|
98
100
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
99
101
|
execution_context: str | int | None = None,
|
|
100
102
|
undo: bool | None = None,
|
|
101
|
-
type:
|
|
103
|
+
type: str | None = "TOGGLE",
|
|
102
104
|
):
|
|
103
105
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
104
106
|
|
|
@@ -106,7 +108,7 @@ def cyclical_set(
|
|
|
106
108
|
:type execution_context: str | int | None
|
|
107
109
|
:type undo: bool | None
|
|
108
110
|
:param type: Type
|
|
109
|
-
:type type:
|
|
111
|
+
:type type: str | None
|
|
110
112
|
"""
|
|
111
113
|
|
|
112
114
|
...
|
|
@@ -129,7 +131,7 @@ def delete_frame(
|
|
|
129
131
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
130
132
|
execution_context: str | int | None = None,
|
|
131
133
|
undo: bool | None = None,
|
|
132
|
-
type:
|
|
134
|
+
type: str | None = "ACTIVE_FRAME",
|
|
133
135
|
):
|
|
134
136
|
"""Delete Grease Pencil Frame(s)
|
|
135
137
|
|
|
@@ -143,7 +145,7 @@ def delete_frame(
|
|
|
143
145
|
|
|
144
146
|
ALL_FRAMES
|
|
145
147
|
All Active Frames -- Delete active frames for all layers.
|
|
146
|
-
:type type:
|
|
148
|
+
:type type: str | None
|
|
147
149
|
"""
|
|
148
150
|
|
|
149
151
|
...
|
|
@@ -152,7 +154,7 @@ def dissolve(
|
|
|
152
154
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
153
155
|
execution_context: str | int | None = None,
|
|
154
156
|
undo: bool | None = None,
|
|
155
|
-
type:
|
|
157
|
+
type: str | None = "POINTS",
|
|
156
158
|
):
|
|
157
159
|
"""Delete selected points without splitting strokes
|
|
158
160
|
|
|
@@ -169,7 +171,7 @@ def dissolve(
|
|
|
169
171
|
|
|
170
172
|
UNSELECT
|
|
171
173
|
Dissolve Unselect -- Dissolve all unselected points.
|
|
172
|
-
:type type:
|
|
174
|
+
:type type: str | None
|
|
173
175
|
"""
|
|
174
176
|
|
|
175
177
|
...
|
|
@@ -450,7 +452,7 @@ def layer_mask_reorder(
|
|
|
450
452
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
451
453
|
execution_context: str | int | None = None,
|
|
452
454
|
undo: bool | None = None,
|
|
453
|
-
direction:
|
|
455
|
+
direction: str | None = "UP",
|
|
454
456
|
):
|
|
455
457
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
456
458
|
|
|
@@ -458,7 +460,7 @@ def layer_mask_reorder(
|
|
|
458
460
|
:type execution_context: str | int | None
|
|
459
461
|
:type undo: bool | None
|
|
460
462
|
:param direction: Direction
|
|
461
|
-
:type direction:
|
|
463
|
+
:type direction: str | None
|
|
462
464
|
"""
|
|
463
465
|
|
|
464
466
|
...
|
|
@@ -482,7 +484,7 @@ def layer_reorder(
|
|
|
482
484
|
execution_context: str | int | None = None,
|
|
483
485
|
undo: bool | None = None,
|
|
484
486
|
target_layer_name: str | typing.Any = "Layer",
|
|
485
|
-
location:
|
|
487
|
+
location: str | None = "ABOVE",
|
|
486
488
|
):
|
|
487
489
|
"""Reorder the active Grease Pencil layer
|
|
488
490
|
|
|
@@ -492,7 +494,7 @@ def layer_reorder(
|
|
|
492
494
|
:param target_layer_name: Target Name, Name of the target layer
|
|
493
495
|
:type target_layer_name: str | typing.Any
|
|
494
496
|
:param location: Location
|
|
495
|
-
:type location:
|
|
497
|
+
:type location: str | None
|
|
496
498
|
"""
|
|
497
499
|
|
|
498
500
|
...
|
|
@@ -674,7 +676,7 @@ def primitive_arc(
|
|
|
674
676
|
execution_context: str | int | None = None,
|
|
675
677
|
undo: bool | None = None,
|
|
676
678
|
subdivision: typing.Any | None = 62,
|
|
677
|
-
type:
|
|
679
|
+
type: str | None = "ARC",
|
|
678
680
|
):
|
|
679
681
|
"""Create predefined grease pencil stroke arcs
|
|
680
682
|
|
|
@@ -684,7 +686,7 @@ def primitive_arc(
|
|
|
684
686
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
685
687
|
:type subdivision: typing.Any | None
|
|
686
688
|
:param type: Type, Type of shape
|
|
687
|
-
:type type:
|
|
689
|
+
:type type: str | None
|
|
688
690
|
"""
|
|
689
691
|
|
|
690
692
|
...
|
|
@@ -694,7 +696,7 @@ def primitive_box(
|
|
|
694
696
|
execution_context: str | int | None = None,
|
|
695
697
|
undo: bool | None = None,
|
|
696
698
|
subdivision: typing.Any | None = 3,
|
|
697
|
-
type:
|
|
699
|
+
type: str | None = "BOX",
|
|
698
700
|
):
|
|
699
701
|
"""Create predefined grease pencil stroke boxes
|
|
700
702
|
|
|
@@ -704,7 +706,7 @@ def primitive_box(
|
|
|
704
706
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
705
707
|
:type subdivision: typing.Any | None
|
|
706
708
|
:param type: Type, Type of shape
|
|
707
|
-
:type type:
|
|
709
|
+
:type type: str | None
|
|
708
710
|
"""
|
|
709
711
|
|
|
710
712
|
...
|
|
@@ -714,7 +716,7 @@ def primitive_circle(
|
|
|
714
716
|
execution_context: str | int | None = None,
|
|
715
717
|
undo: bool | None = None,
|
|
716
718
|
subdivision: typing.Any | None = 94,
|
|
717
|
-
type:
|
|
719
|
+
type: str | None = "CIRCLE",
|
|
718
720
|
):
|
|
719
721
|
"""Create predefined grease pencil stroke circles
|
|
720
722
|
|
|
@@ -724,7 +726,7 @@ def primitive_circle(
|
|
|
724
726
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
725
727
|
:type subdivision: typing.Any | None
|
|
726
728
|
:param type: Type, Type of shape
|
|
727
|
-
:type type:
|
|
729
|
+
:type type: str | None
|
|
728
730
|
"""
|
|
729
731
|
|
|
730
732
|
...
|
|
@@ -734,7 +736,7 @@ def primitive_curve(
|
|
|
734
736
|
execution_context: str | int | None = None,
|
|
735
737
|
undo: bool | None = None,
|
|
736
738
|
subdivision: typing.Any | None = 62,
|
|
737
|
-
type:
|
|
739
|
+
type: str | None = "CURVE",
|
|
738
740
|
):
|
|
739
741
|
"""Create predefined grease pencil stroke curve shapes
|
|
740
742
|
|
|
@@ -744,7 +746,7 @@ def primitive_curve(
|
|
|
744
746
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
745
747
|
:type subdivision: typing.Any | None
|
|
746
748
|
:param type: Type, Type of shape
|
|
747
|
-
:type type:
|
|
749
|
+
:type type: str | None
|
|
748
750
|
"""
|
|
749
751
|
|
|
750
752
|
...
|
|
@@ -754,7 +756,7 @@ def primitive_line(
|
|
|
754
756
|
execution_context: str | int | None = None,
|
|
755
757
|
undo: bool | None = None,
|
|
756
758
|
subdivision: typing.Any | None = 6,
|
|
757
|
-
type:
|
|
759
|
+
type: str | None = "LINE",
|
|
758
760
|
):
|
|
759
761
|
"""Create predefined grease pencil stroke lines
|
|
760
762
|
|
|
@@ -764,7 +766,7 @@ def primitive_line(
|
|
|
764
766
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
765
767
|
:type subdivision: typing.Any | None
|
|
766
768
|
:param type: Type, Type of shape
|
|
767
|
-
:type type:
|
|
769
|
+
:type type: str | None
|
|
768
770
|
"""
|
|
769
771
|
|
|
770
772
|
...
|
|
@@ -774,7 +776,7 @@ def primitive_polyline(
|
|
|
774
776
|
execution_context: str | int | None = None,
|
|
775
777
|
undo: bool | None = None,
|
|
776
778
|
subdivision: typing.Any | None = 6,
|
|
777
|
-
type:
|
|
779
|
+
type: str | None = "POLYLINE",
|
|
778
780
|
):
|
|
779
781
|
"""Create predefined grease pencil stroke polylines
|
|
780
782
|
|
|
@@ -784,7 +786,7 @@ def primitive_polyline(
|
|
|
784
786
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
785
787
|
:type subdivision: typing.Any | None
|
|
786
788
|
:param type: Type, Type of shape
|
|
787
|
-
:type type:
|
|
789
|
+
:type type: str | None
|
|
788
790
|
"""
|
|
789
791
|
|
|
790
792
|
...
|
|
@@ -793,7 +795,7 @@ def reorder(
|
|
|
793
795
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
794
796
|
execution_context: str | int | None = None,
|
|
795
797
|
undo: bool | None = None,
|
|
796
|
-
direction:
|
|
798
|
+
direction: str | None = "TOP",
|
|
797
799
|
):
|
|
798
800
|
"""Change the display order of the selected strokes
|
|
799
801
|
|
|
@@ -801,7 +803,7 @@ def reorder(
|
|
|
801
803
|
:type execution_context: str | int | None
|
|
802
804
|
:type undo: bool | None
|
|
803
805
|
:param direction: Direction
|
|
804
|
-
:type direction:
|
|
806
|
+
:type direction: str | None
|
|
805
807
|
"""
|
|
806
808
|
|
|
807
809
|
...
|
|
@@ -812,7 +814,7 @@ def sculpt_paint(
|
|
|
812
814
|
undo: bool | None = None,
|
|
813
815
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
814
816
|
| None = None,
|
|
815
|
-
mode:
|
|
817
|
+
mode: str | None = "NORMAL",
|
|
816
818
|
):
|
|
817
819
|
"""Draw a new stroke in the active Grease Pencil object
|
|
818
820
|
|
|
@@ -831,7 +833,7 @@ def sculpt_paint(
|
|
|
831
833
|
|
|
832
834
|
SMOOTH
|
|
833
835
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
834
|
-
:type mode:
|
|
836
|
+
:type mode: str | None
|
|
835
837
|
"""
|
|
836
838
|
|
|
837
839
|
...
|
|
@@ -840,7 +842,7 @@ def select_all(
|
|
|
840
842
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
841
843
|
execution_context: str | int | None = None,
|
|
842
844
|
undo: bool | None = None,
|
|
843
|
-
action:
|
|
845
|
+
action: str | None = "TOGGLE",
|
|
844
846
|
):
|
|
845
847
|
"""(De)select all visible strokes
|
|
846
848
|
|
|
@@ -860,7 +862,7 @@ def select_all(
|
|
|
860
862
|
|
|
861
863
|
INVERT
|
|
862
864
|
Invert -- Invert selection of all elements.
|
|
863
|
-
:type action:
|
|
865
|
+
:type action: str | None
|
|
864
866
|
"""
|
|
865
867
|
|
|
866
868
|
...
|
|
@@ -950,7 +952,7 @@ def select_random(
|
|
|
950
952
|
undo: bool | None = None,
|
|
951
953
|
ratio: typing.Any | None = 0.5,
|
|
952
954
|
seed: typing.Any | None = 0,
|
|
953
|
-
action:
|
|
955
|
+
action: str | None = "SELECT",
|
|
954
956
|
):
|
|
955
957
|
"""Selects random points from the current strokes selection
|
|
956
958
|
|
|
@@ -968,7 +970,7 @@ def select_random(
|
|
|
968
970
|
|
|
969
971
|
DESELECT
|
|
970
972
|
Deselect -- Deselect all elements.
|
|
971
|
-
:type action:
|
|
973
|
+
:type action: str | None
|
|
972
974
|
"""
|
|
973
975
|
|
|
974
976
|
...
|
|
@@ -977,7 +979,7 @@ def separate(
|
|
|
977
979
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
978
980
|
execution_context: str | int | None = None,
|
|
979
981
|
undo: bool | None = None,
|
|
980
|
-
mode:
|
|
982
|
+
mode: str | None = "SELECTED",
|
|
981
983
|
):
|
|
982
984
|
"""Separate the selected geometry into a new grease pencil object
|
|
983
985
|
|
|
@@ -994,7 +996,7 @@ def separate(
|
|
|
994
996
|
|
|
995
997
|
LAYER
|
|
996
998
|
By Layer -- Separate by layer.
|
|
997
|
-
:type mode:
|
|
999
|
+
:type mode: str | None
|
|
998
1000
|
"""
|
|
999
1001
|
|
|
1000
1002
|
...
|
|
@@ -1017,7 +1019,7 @@ def set_material(
|
|
|
1017
1019
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1018
1020
|
execution_context: str | int | None = None,
|
|
1019
1021
|
undo: bool | None = None,
|
|
1020
|
-
slot: str |
|
|
1022
|
+
slot: str | None = "DEFAULT",
|
|
1021
1023
|
):
|
|
1022
1024
|
"""Set active material
|
|
1023
1025
|
|
|
@@ -1025,7 +1027,7 @@ def set_material(
|
|
|
1025
1027
|
:type execution_context: str | int | None
|
|
1026
1028
|
:type undo: bool | None
|
|
1027
1029
|
:param slot: Material Slot
|
|
1028
|
-
:type slot: str |
|
|
1030
|
+
:type slot: str | None
|
|
1029
1031
|
"""
|
|
1030
1032
|
|
|
1031
1033
|
...
|
|
@@ -1034,7 +1036,7 @@ def set_selection_mode(
|
|
|
1034
1036
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1035
1037
|
execution_context: str | int | None = None,
|
|
1036
1038
|
undo: bool | None = None,
|
|
1037
|
-
mode: str |
|
|
1039
|
+
mode: str | None = "POINT",
|
|
1038
1040
|
):
|
|
1039
1041
|
"""Change the selection mode for Grease Pencil strokes
|
|
1040
1042
|
|
|
@@ -1042,7 +1044,7 @@ def set_selection_mode(
|
|
|
1042
1044
|
:type execution_context: str | int | None
|
|
1043
1045
|
:type undo: bool | None
|
|
1044
1046
|
:param mode: Mode
|
|
1045
|
-
:type mode: str |
|
|
1047
|
+
:type mode: str | None
|
|
1046
1048
|
"""
|
|
1047
1049
|
|
|
1048
1050
|
...
|
|
@@ -1292,7 +1294,7 @@ def weight_brush_stroke(
|
|
|
1292
1294
|
undo: bool | None = None,
|
|
1293
1295
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1294
1296
|
| None = None,
|
|
1295
|
-
mode:
|
|
1297
|
+
mode: str | None = "NORMAL",
|
|
1296
1298
|
):
|
|
1297
1299
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
1298
1300
|
|
|
@@ -1311,7 +1313,7 @@ def weight_brush_stroke(
|
|
|
1311
1313
|
|
|
1312
1314
|
SMOOTH
|
|
1313
1315
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
1314
|
-
:type mode:
|
|
1316
|
+
:type mode: str | None
|
|
1315
1317
|
"""
|
|
1316
1318
|
|
|
1317
1319
|
...
|
bpy/ops/image/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def add_render_slot(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -94,7 +96,7 @@ def curves_point_set(
|
|
|
94
96
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
95
97
|
execution_context: str | int | None = None,
|
|
96
98
|
undo: bool | None = None,
|
|
97
|
-
point:
|
|
99
|
+
point: str | None = "BLACK_POINT",
|
|
98
100
|
size: typing.Any | None = 1,
|
|
99
101
|
):
|
|
100
102
|
"""Set black point or white point for curves
|
|
@@ -103,7 +105,7 @@ def curves_point_set(
|
|
|
103
105
|
:type execution_context: str | int | None
|
|
104
106
|
:type undo: bool | None
|
|
105
107
|
:param point: Point, Set black point or white point for curves
|
|
106
|
-
:type point:
|
|
108
|
+
:type point: str | None
|
|
107
109
|
:param size: Sample Size
|
|
108
110
|
:type size: typing.Any | None
|
|
109
111
|
"""
|
|
@@ -172,8 +174,8 @@ def file_browse(
|
|
|
172
174
|
relative_path: bool | typing.Any | None = True,
|
|
173
175
|
show_multiview: bool | typing.Any | None = False,
|
|
174
176
|
use_multiview: bool | typing.Any | None = False,
|
|
175
|
-
display_type:
|
|
176
|
-
sort_method: str |
|
|
177
|
+
display_type: str | None = "DEFAULT",
|
|
178
|
+
sort_method: str | None = "",
|
|
177
179
|
):
|
|
178
180
|
"""Open an image file browser, hold Shift to open the file, Alt to browse containing directory
|
|
179
181
|
|
|
@@ -241,9 +243,9 @@ def file_browse(
|
|
|
241
243
|
|
|
242
244
|
THUMBNAIL
|
|
243
245
|
Thumbnails -- Display files as thumbnails.
|
|
244
|
-
:type display_type:
|
|
246
|
+
:type display_type: str | None
|
|
245
247
|
:param sort_method: File sorting mode
|
|
246
|
-
:type sort_method: str |
|
|
248
|
+
:type sort_method: str | None
|
|
247
249
|
"""
|
|
248
250
|
|
|
249
251
|
...
|
|
@@ -317,7 +319,7 @@ def new(
|
|
|
317
319
|
height: typing.Any | None = 1024,
|
|
318
320
|
color: typing.Any | None = (0.0, 0.0, 0.0, 1.0),
|
|
319
321
|
alpha: bool | typing.Any | None = True,
|
|
320
|
-
generated_type: str |
|
|
322
|
+
generated_type: str | None = "BLANK",
|
|
321
323
|
float: bool | typing.Any | None = False,
|
|
322
324
|
use_stereo_3d: bool | typing.Any | None = False,
|
|
323
325
|
tiled: bool | typing.Any | None = False,
|
|
@@ -338,7 +340,7 @@ def new(
|
|
|
338
340
|
:param alpha: Alpha, Create an image with an alpha channel
|
|
339
341
|
:type alpha: bool | typing.Any | None
|
|
340
342
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
341
|
-
:type generated_type: str |
|
|
343
|
+
:type generated_type: str | None
|
|
342
344
|
:param float: 32-bit Float, Create image with 32-bit floating-point bit depth
|
|
343
345
|
:type float: bool | typing.Any | None
|
|
344
346
|
:param use_stereo_3d: Stereo 3D, Create an image with left and right views
|
|
@@ -381,8 +383,8 @@ def open(
|
|
|
381
383
|
relative_path: bool | typing.Any | None = True,
|
|
382
384
|
show_multiview: bool | typing.Any | None = False,
|
|
383
385
|
use_multiview: bool | typing.Any | None = False,
|
|
384
|
-
display_type:
|
|
385
|
-
sort_method: str |
|
|
386
|
+
display_type: str | None = "DEFAULT",
|
|
387
|
+
sort_method: str | None = "",
|
|
386
388
|
use_sequence_detection: bool | typing.Any | None = True,
|
|
387
389
|
use_udim_detecting: bool | typing.Any | None = True,
|
|
388
390
|
):
|
|
@@ -458,9 +460,9 @@ def open(
|
|
|
458
460
|
|
|
459
461
|
THUMBNAIL
|
|
460
462
|
Thumbnails -- Display files as thumbnails.
|
|
461
|
-
:type display_type:
|
|
463
|
+
:type display_type: str | None
|
|
462
464
|
:param sort_method: File sorting mode
|
|
463
|
-
:type sort_method: str |
|
|
465
|
+
:type sort_method: str | None
|
|
464
466
|
:param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected images (based on file names)
|
|
465
467
|
:type use_sequence_detection: bool | typing.Any | None
|
|
466
468
|
:param use_udim_detecting: Detect UDIMs, Detect selected UDIM files and load all matching tiles
|
|
@@ -640,8 +642,8 @@ def replace(
|
|
|
640
642
|
relative_path: bool | typing.Any | None = True,
|
|
641
643
|
show_multiview: bool | typing.Any | None = False,
|
|
642
644
|
use_multiview: bool | typing.Any | None = False,
|
|
643
|
-
display_type:
|
|
644
|
-
sort_method: str |
|
|
645
|
+
display_type: str | None = "DEFAULT",
|
|
646
|
+
sort_method: str | None = "",
|
|
645
647
|
):
|
|
646
648
|
"""Replace current image by another one from disk
|
|
647
649
|
|
|
@@ -709,9 +711,9 @@ def replace(
|
|
|
709
711
|
|
|
710
712
|
THUMBNAIL
|
|
711
713
|
Thumbnails -- Display files as thumbnails.
|
|
712
|
-
:type display_type:
|
|
714
|
+
:type display_type: str | None
|
|
713
715
|
:param sort_method: File sorting mode
|
|
714
|
-
:type sort_method: str |
|
|
716
|
+
:type sort_method: str | None
|
|
715
717
|
"""
|
|
716
718
|
|
|
717
719
|
...
|
|
@@ -737,7 +739,7 @@ def rotate_orthogonal(
|
|
|
737
739
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
738
740
|
execution_context: str | int | None = None,
|
|
739
741
|
undo: bool | None = None,
|
|
740
|
-
degrees:
|
|
742
|
+
degrees: str | None = "90",
|
|
741
743
|
):
|
|
742
744
|
"""Rotate the image
|
|
743
745
|
|
|
@@ -754,7 +756,7 @@ def rotate_orthogonal(
|
|
|
754
756
|
|
|
755
757
|
270
|
|
756
758
|
270 Degrees -- Rotate 270 degrees clockwise.
|
|
757
|
-
:type degrees:
|
|
759
|
+
:type degrees: str | None
|
|
758
760
|
"""
|
|
759
761
|
|
|
760
762
|
...
|
|
@@ -866,8 +868,8 @@ def save_as(
|
|
|
866
868
|
relative_path: bool | typing.Any | None = True,
|
|
867
869
|
show_multiview: bool | typing.Any | None = False,
|
|
868
870
|
use_multiview: bool | typing.Any | None = False,
|
|
869
|
-
display_type:
|
|
870
|
-
sort_method: str |
|
|
871
|
+
display_type: str | None = "DEFAULT",
|
|
872
|
+
sort_method: str | None = "",
|
|
871
873
|
):
|
|
872
874
|
"""Save the image with another name and/or settings
|
|
873
875
|
|
|
@@ -939,9 +941,9 @@ def save_as(
|
|
|
939
941
|
|
|
940
942
|
THUMBNAIL
|
|
941
943
|
Thumbnails -- Display files as thumbnails.
|
|
942
|
-
:type display_type:
|
|
944
|
+
:type display_type: str | None
|
|
943
945
|
:param sort_method: File sorting mode
|
|
944
|
-
:type sort_method: str |
|
|
946
|
+
:type sort_method: str | None
|
|
945
947
|
"""
|
|
946
948
|
|
|
947
949
|
...
|
|
@@ -969,7 +971,7 @@ def tile_add(
|
|
|
969
971
|
label: str | typing.Any = "",
|
|
970
972
|
fill: bool | typing.Any | None = True,
|
|
971
973
|
color: typing.Any | None = (0.0, 0.0, 0.0, 1.0),
|
|
972
|
-
generated_type: str |
|
|
974
|
+
generated_type: str | None = "BLANK",
|
|
973
975
|
width: typing.Any | None = 1024,
|
|
974
976
|
height: typing.Any | None = 1024,
|
|
975
977
|
float: bool | typing.Any | None = False,
|
|
@@ -991,7 +993,7 @@ def tile_add(
|
|
|
991
993
|
:param color: Color, Default fill color
|
|
992
994
|
:type color: typing.Any | None
|
|
993
995
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
994
|
-
:type generated_type: str |
|
|
996
|
+
:type generated_type: str | None
|
|
995
997
|
:param width: Width, Image width
|
|
996
998
|
:type width: typing.Any | None
|
|
997
999
|
:param height: Height, Image height
|
|
@@ -1009,7 +1011,7 @@ def tile_fill(
|
|
|
1009
1011
|
execution_context: str | int | None = None,
|
|
1010
1012
|
undo: bool | None = None,
|
|
1011
1013
|
color: typing.Any | None = (0.0, 0.0, 0.0, 1.0),
|
|
1012
|
-
generated_type: str |
|
|
1014
|
+
generated_type: str | None = "BLANK",
|
|
1013
1015
|
width: typing.Any | None = 1024,
|
|
1014
1016
|
height: typing.Any | None = 1024,
|
|
1015
1017
|
float: bool | typing.Any | None = False,
|
|
@@ -1023,7 +1025,7 @@ def tile_fill(
|
|
|
1023
1025
|
:param color: Color, Default fill color
|
|
1024
1026
|
:type color: typing.Any | None
|
|
1025
1027
|
:param generated_type: Generated Type, Fill the image with a grid for UV map testing
|
|
1026
|
-
:type generated_type: str |
|
|
1028
|
+
:type generated_type: str | None
|
|
1027
1029
|
:param width: Width, Image width
|
|
1028
1030
|
:type width: typing.Any | None
|
|
1029
1031
|
:param height: Height, Image height
|
|
@@ -1054,7 +1056,7 @@ def unpack(
|
|
|
1054
1056
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1055
1057
|
execution_context: str | int | None = None,
|
|
1056
1058
|
undo: bool | None = None,
|
|
1057
|
-
method: str |
|
|
1059
|
+
method: str | None = "USE_LOCAL",
|
|
1058
1060
|
id: str | typing.Any = "",
|
|
1059
1061
|
):
|
|
1060
1062
|
"""Save an image packed in the .blend file to disk
|
|
@@ -1063,7 +1065,7 @@ def unpack(
|
|
|
1063
1065
|
:type execution_context: str | int | None
|
|
1064
1066
|
:type undo: bool | None
|
|
1065
1067
|
:param method: Method, How to unpack
|
|
1066
|
-
:type method: str |
|
|
1068
|
+
:type method: str | None
|
|
1067
1069
|
:param id: Image Name, Image data-block name to unpack
|
|
1068
1070
|
:type id: str | typing.Any
|
|
1069
1071
|
"""
|
bpy/ops/import_anim/__init__.pyi
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def bvh(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -9,16 +11,16 @@ def bvh(
|
|
|
9
11
|
undo: bool | None = None,
|
|
10
12
|
filepath: str | typing.Any = "",
|
|
11
13
|
filter_glob: str | typing.Any = "*.bvh",
|
|
12
|
-
target:
|
|
14
|
+
target: str | None = "ARMATURE",
|
|
13
15
|
global_scale: typing.Any | None = 1.0,
|
|
14
16
|
frame_start: typing.Any | None = 1,
|
|
15
17
|
use_fps_scale: bool | typing.Any | None = False,
|
|
16
18
|
update_scene_fps: bool | typing.Any | None = False,
|
|
17
19
|
update_scene_duration: bool | typing.Any | None = False,
|
|
18
20
|
use_cyclic: bool | typing.Any | None = False,
|
|
19
|
-
rotate_mode:
|
|
20
|
-
axis_forward:
|
|
21
|
-
axis_up:
|
|
21
|
+
rotate_mode: str | None = "NATIVE",
|
|
22
|
+
axis_forward: str | None = "-Z",
|
|
23
|
+
axis_up: str | None = "Y",
|
|
22
24
|
):
|
|
23
25
|
"""Load a BVH motion capture file
|
|
24
26
|
|
|
@@ -30,7 +32,7 @@ def bvh(
|
|
|
30
32
|
:param filter_glob: filter_glob
|
|
31
33
|
:type filter_glob: str | typing.Any
|
|
32
34
|
:param target: Target, Import target type
|
|
33
|
-
:type target:
|
|
35
|
+
:type target: str | None
|
|
34
36
|
:param global_scale: Scale, Scale the BVH by this value
|
|
35
37
|
:type global_scale: typing.Any | None
|
|
36
38
|
:param frame_start: Start Frame, Starting frame for the animation
|
|
@@ -68,11 +70,11 @@ def bvh(
|
|
|
68
70
|
|
|
69
71
|
ZYX
|
|
70
72
|
Euler (ZYX) -- Convert rotations to euler ZYX.
|
|
71
|
-
:type rotate_mode:
|
|
73
|
+
:type rotate_mode: str | None
|
|
72
74
|
:param axis_forward: Forward
|
|
73
|
-
:type axis_forward:
|
|
75
|
+
:type axis_forward: str | None
|
|
74
76
|
:param axis_up: Up
|
|
75
|
-
:type axis_up:
|
|
77
|
+
:type axis_up: str | None
|
|
76
78
|
"""
|
|
77
79
|
|
|
78
80
|
...
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import collections.abc
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
6
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
7
|
|
|
6
8
|
def svg(
|
|
7
9
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|