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