fake-bpy-module 20250612__py3-none-any.whl → 20260118__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.
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +0 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +0 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +0 -11
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +0 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/bl_extract_messages/__init__.pyi +1 -0
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +3 -1
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +4 -4
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +4 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -1
- _bpy_internal/filesystem/__init__.pyi +5 -0
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -2
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_types/__init__.pyi +1592 -0
- {keyingsets_utils → _keyingsets_utils}/__init__.pyi +2 -0
- {rna_info → _rna_info}/__init__.pyi +4 -2
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +122 -145
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +5 -0
- bl_app_templates_system/py.typed +0 -0
- bl_math/__init__.pyi +3 -13
- bl_operators/__init__.pyi +1 -0
- bl_operators/add_mesh_torus/__init__.pyi +2 -3
- bl_operators/anim/__init__.pyi +62 -38
- bl_operators/assets/__init__.pyi +4 -9
- bl_operators/bone_selection_sets/__init__.pyi +15 -42
- bl_operators/clip/__init__.pyi +12 -31
- bl_operators/connect_to_output/__init__.pyi +2 -3
- bl_operators/console/__init__.pyi +6 -15
- bl_operators/constraint/__init__.pyi +6 -13
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +6 -11
- bl_operators/freestyle/__init__.pyi +5 -12
- bl_operators/geometry_nodes/__init__.pyi +5 -12
- bl_operators/grease_pencil/__init__.pyi +2 -3
- bl_operators/image/__init__.pyi +6 -15
- bl_operators/image_as_planes/__init__.pyi +3 -10
- bl_operators/mesh/__init__.pyi +3 -49
- bl_operators/node/__init__.pyi +294 -73
- bl_operators/object/__init__.pyi +17 -53
- bl_operators/object_align/__init__.pyi +2 -3
- bl_operators/object_quick_effects/__init__.pyi +5 -12
- bl_operators/object_randomize_transform/__init__.pyi +2 -3
- bl_operators/presets/__init__.pyi +27 -76
- bl_operators/rigidbody/__init__.pyi +4 -9
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -3
- bl_operators/sequencer/__init__.pyi +12 -27
- bl_operators/spreadsheet/__init__.pyi +2 -3
- bl_operators/userpref/__init__.pyi +26 -75
- bl_operators/uvcalc_follow_active/__init__.pyi +3 -4
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -4
- bl_operators/uvcalc_transform/__init__.pyi +26 -16
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -3
- bl_operators/view3d/__init__.pyi +9 -24
- bl_operators/wm/__init__.pyi +48 -139
- bl_operators/world/__init__.pyi +3 -4
- bl_ui/__init__.pyi +7 -7
- bl_ui/anim/__init__.pyi +2 -3
- bl_ui/asset_shelf/__init__.pyi +2 -3
- bl_ui/generic_ui_list/__init__.pyi +4 -19
- bl_ui/node_add_menu/__init__.pyi +263 -7
- bl_ui/node_add_menu_compositor/__init__.pyi +96 -79
- bl_ui/node_add_menu_geometry/__init__.pyi +309 -270
- bl_ui/node_add_menu_shader/__init__.pyi +49 -49
- bl_ui/node_add_menu_texture/__init__.pyi +17 -62
- bl_ui/properties_collection/__init__.pyi +9 -22
- bl_ui/properties_constraint/__init__.pyi +129 -282
- bl_ui/properties_data_armature/__init__.pyi +22 -57
- bl_ui/properties_data_bone/__init__.pyi +12 -31
- bl_ui/properties_data_camera/__init__.pyi +18 -47
- bl_ui/properties_data_curve/__init__.pyi +18 -47
- bl_ui/properties_data_curves/__init__.pyi +11 -26
- bl_ui/properties_data_empty/__init__.pyi +3 -6
- bl_ui/properties_data_grease_pencil/__init__.pyi +23 -62
- bl_ui/properties_data_lattice/__init__.pyi +7 -14
- bl_ui/properties_data_light/__init__.pyi +13 -32
- bl_ui/properties_data_lightprobe/__init__.pyi +16 -43
- bl_ui/properties_data_mesh/__init__.pyi +47 -62
- bl_ui/properties_data_metaball/__init__.pyi +9 -20
- bl_ui/properties_data_modifier/__init__.pyi +22 -28
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -19
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -3
- bl_ui/properties_data_speaker/__init__.pyi +9 -20
- bl_ui/properties_data_volume/__init__.pyi +12 -29
- bl_ui/properties_freestyle/__init__.pyi +27 -76
- bl_ui/properties_grease_pencil_common/__init__.pyi +10 -168
- bl_ui/properties_mask_common/__init__.pyi +8 -21
- bl_ui/properties_material/__init__.pyi +26 -86
- bl_ui/properties_material_gpencil/__init__.pyi +36 -57
- bl_ui/properties_object/__init__.pyi +59 -65
- bl_ui/properties_output/__init__.pyi +21 -60
- bl_ui/properties_paint_common/__init__.pyi +30 -22
- bl_ui/properties_particle/__init__.pyi +58 -161
- bl_ui/properties_physics_cloth/__init__.pyi +15 -42
- bl_ui/properties_physics_common/__init__.pyi +2 -3
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +23 -66
- bl_ui/properties_physics_field/__init__.pyi +11 -30
- bl_ui/properties_physics_fluid/__init__.pyi +29 -84
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +9 -24
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +14 -39
- bl_ui/properties_physics_softbody/__init__.pyi +16 -45
- bl_ui/properties_render/__init__.pyi +139 -197
- bl_ui/properties_scene/__init__.pyi +46 -50
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +30 -83
- bl_ui/properties_view_layer/__init__.pyi +84 -39
- bl_ui/properties_workspace/__init__.pyi +6 -13
- bl_ui/properties_world/__init__.pyi +14 -35
- bl_ui/space_clip/__init__.pyi +150 -231
- bl_ui/space_console/__init__.pyi +7 -18
- bl_ui/space_dopesheet/__init__.pyi +143 -100
- bl_ui/space_filebrowser/__init__.pyi +33 -90
- bl_ui/space_graph/__init__.pyi +48 -85
- bl_ui/space_image/__init__.pyi +111 -229
- bl_ui/space_info/__init__.pyi +7 -18
- bl_ui/space_nla/__init__.pyi +44 -73
- bl_ui/space_node/__init__.pyi +161 -123
- bl_ui/space_outliner/__init__.pyi +16 -45
- bl_ui/space_properties/__init__.pyi +34 -10
- bl_ui/space_sequencer/__init__.pyi +164 -901
- bl_ui/space_spreadsheet/__init__.pyi +4 -9
- bl_ui/space_statusbar/__init__.pyi +2 -3
- bl_ui/space_text/__init__.pyi +17 -48
- bl_ui/space_time/__init__.pyi +25 -71
- bl_ui/space_toolsystem_common/__init__.pyi +2 -2
- bl_ui/space_toolsystem_toolbar/__init__.pyi +30 -7
- bl_ui/space_topbar/__init__.pyi +35 -79
- bl_ui/space_userpref/__init__.pyi +185 -321
- bl_ui/space_view3d/__init__.pyi +337 -817
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +110 -880
- bl_ui/utils/__init__.pyi +0 -17
- blend_render_info/__init__.pyi +1 -0
- blf/__init__.pyi +8 -54
- bmesh/__init__.pyi +2 -9
- bmesh/geometry/__init__.pyi +1 -4
- bmesh/ops/__init__.pyi +125 -508
- bmesh/types/__init__.pyi +318 -664
- bmesh/utils/__init__.pyi +17 -43
- bpy/__init__.pyi +1 -1
- bpy/app/__init__.pyi +93 -88
- bpy/app/handlers/__init__.pyi +19 -19
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +2 -7
- bpy/app/translations/__init__.pyi +8 -23
- bpy/msgbus/__init__.pyi +4 -6
- bpy/ops/action/__init__.pyi +68 -199
- bpy/ops/anim/__init__.pyi +142 -299
- bpy/ops/armature/__init__.pyi +78 -209
- bpy/ops/asset/__init__.pyi +46 -108
- bpy/ops/boid/__init__.pyi +28 -45
- bpy/ops/brush/__init__.pyi +13 -108
- bpy/ops/buttons/__init__.pyi +16 -75
- bpy/ops/cachefile/__init__.pyi +8 -65
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +173 -471
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +23 -36
- bpy/ops/console/__init__.pyi +40 -98
- bpy/ops/constraint/__init__.pyi +14 -85
- bpy/ops/curve/__init__.pyi +94 -277
- bpy/ops/curves/__init__.pyi +119 -166
- bpy/ops/cycles/__init__.pyi +4 -15
- bpy/ops/dpaint/__init__.pyi +14 -24
- bpy/ops/ed/__init__.pyi +44 -92
- bpy/ops/export_anim/__init__.pyi +2 -10
- bpy/ops/export_scene/__init__.pyi +16 -170
- bpy/ops/extensions/__init__.pyi +60 -165
- bpy/ops/file/__init__.pyi +110 -246
- bpy/ops/fluid/__init__.pyi +52 -83
- bpy/ops/font/__init__.pyi +40 -144
- bpy/ops/geometry/__init__.pyi +12 -127
- bpy/ops/gizmogroup/__init__.pyi +4 -13
- bpy/ops/gpencil/__init__.pyi +22 -54
- bpy/ops/graph/__init__.pyi +92 -343
- bpy/ops/grease_pencil/__init__.pyi +218 -550
- bpy/ops/image/__init__.pyi +85 -435
- bpy/ops/import_anim/__init__.pyi +3 -17
- bpy/ops/import_curve/__init__.pyi +2 -5
- bpy/ops/import_scene/__init__.pyi +15 -49
- bpy/ops/info/__init__.pyi +16 -39
- bpy/ops/lattice/__init__.pyi +12 -36
- bpy/ops/marker/__init__.pyi +12 -51
- bpy/ops/mask/__init__.pyi +68 -193
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +4 -31
- bpy/ops/mesh/__init__.pyi +140 -967
- bpy/ops/nla/__init__.pyi +87 -206
- bpy/ops/node/__init__.pyi +714 -744
- bpy/ops/object/__init__.pyi +461 -1341
- bpy/ops/outliner/__init__.pyi +192 -376
- bpy/ops/paint/__init__.pyi +94 -319
- bpy/ops/paintcurve/__init__.pyi +20 -40
- bpy/ops/palette/__init__.pyi +14 -30
- bpy/ops/particle/__init__.pyi +86 -184
- bpy/ops/pointcloud/__init__.pyi +12 -38
- bpy/ops/pose/__init__.pyi +108 -261
- bpy/ops/poselib/__init__.pyi +32 -67
- bpy/ops/preferences/__init__.pyi +37 -187
- bpy/ops/ptcache/__init__.pyi +22 -36
- bpy/ops/render/__init__.pyi +20 -72
- bpy/ops/rigidbody/__init__.pyi +25 -63
- bpy/ops/scene/__init__.pyi +122 -181
- bpy/ops/screen/__init__.pyi +93 -221
- bpy/ops/script/__init__.pyi +4 -13
- bpy/ops/sculpt/__init__.pyi +69 -324
- bpy/ops/sculpt_curves/__init__.pyi +10 -23
- bpy/ops/sequencer/__init__.pyi +410 -730
- bpy/ops/sound/__init__.pyi +16 -114
- bpy/ops/spreadsheet/__init__.pyi +20 -37
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +112 -250
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +14 -21
- bpy/ops/transform/__init__.pyi +18 -386
- bpy/ops/ui/__init__.pyi +117 -188
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +238 -305
- bpy/ops/view2d/__init__.pyi +16 -76
- bpy/ops/view3d/__init__.pyi +153 -377
- bpy/ops/wm/__init__.pyi +277 -1397
- bpy/ops/workspace/__init__.pyi +32 -39
- bpy/ops/world/__init__.pyi +10 -12
- bpy/path/__init__.pyi +1 -35
- bpy/props/__init__.pyi +347 -218
- bpy/stub_internal/rna_enums/__init__.pyi +142 -108
- bpy/types/__init__.pyi +77367 -101305
- bpy/utils/__init__.pyi +11 -82
- bpy/utils/previews/__init__.pyi +2 -11
- bpy/utils/units/__init__.pyi +5 -15
- bpy_extras/anim_utils/__init__.pyi +24 -16
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +14 -6
- bpy_extras/image_utils/__init__.pyi +2 -11
- bpy_extras/io_utils/__init__.pyi +8 -27
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +1 -9
- bpy_extras/object_utils/__init__.pyi +1 -15
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -1
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/METADATA +4 -1
- fake_bpy_module-20260118.dist-info/RECORD +385 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/top_level.txt +17 -16
- freestyle/chainingiterators/__init__.pyi +5 -27
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +2 -53
- freestyle/shaders/__init__.pyi +15 -81
- freestyle/types/__init__.pyi +159 -799
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +5 -11
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +1 -10
- gpu/platform/__init__.pyi +2 -7
- gpu/shader/__init__.pyi +26 -9
- gpu/state/__init__.pyi +60 -39
- gpu/texture/__init__.pyi +3 -5
- gpu/types/__init__.pyi +116 -184
- gpu_extras/batch/__init__.pyi +1 -5
- gpu_extras/presets/__init__.pyi +6 -8
- idprop/types/__init__.pyi +6 -6
- imbuf/__init__.pyi +3 -10
- imbuf/types/__init__.pyi +7 -21
- keyingsets_builtins/__init__.pyi +24 -67
- mathutils/__init__.pyi +241 -2207
- mathutils/bvhtree/__init__.pyi +18 -26
- mathutils/geometry/__init__.pyi +82 -132
- mathutils/interpolate/__init__.pyi +6 -5
- mathutils/kdtree/__init__.pyi +1 -11
- mathutils/noise/__init__.pyi +61 -106
- rna_prop_ui/__init__.pyi +1 -1
- bgl/__init__.pyi +0 -4256
- bpy_types/__init__.pyi +0 -30
- fake_bpy_module-20250612.dist-info/RECORD +0 -367
- {animsys_refactor → _animsys_refactor}/__init__.pyi +0 -0
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bl_console_utils → _bl_console_utils}/__init__.pyi +0 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_cli/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_languages_menu/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +0 -0
- {bl_previews_utils → _bl_previews_utils}/bl_previews_render/__init__.pyi +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +0 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_text_utils → _bl_text_utils}/__init__.pyi +0 -0
- {bl_text_utils → _bl_text_utils}/external_editor/__init__.pyi +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- /_bpy_internal/{freedesktop → platform/freedesktop}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/__init__.pyi +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/__init__.pyi +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/__init__.pyi +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
- {fake_bpy_module-20250612.dist-info → fake_bpy_module-20260118.dist-info}/WHEEL +0 -0
bpy/ops/object/__init__.pyi
CHANGED
|
@@ -30,14 +30,9 @@ def add(
|
|
|
30
30
|
) -> None:
|
|
31
31
|
"""Add an object to the scene
|
|
32
32
|
|
|
33
|
-
:type execution_context: int | str | None
|
|
34
|
-
:type undo: bool | None
|
|
35
33
|
:param radius: Radius
|
|
36
|
-
:type radius: float | None
|
|
37
34
|
:param type: Type
|
|
38
|
-
:type type: bpy.stub_internal.rna_enums.ObjectTypeItems | None
|
|
39
35
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
40
|
-
:type enter_editmode: bool | None
|
|
41
36
|
:param align: Align, The alignment of the new object
|
|
42
37
|
|
|
43
38
|
WORLD
|
|
@@ -48,23 +43,17 @@ def add(
|
|
|
48
43
|
|
|
49
44
|
CURSOR
|
|
50
45
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
51
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
52
46
|
:param location: Location, Location for the newly added object
|
|
53
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
54
47
|
:param rotation: Rotation, Rotation for the newly added object
|
|
55
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
56
48
|
:param scale: Scale, Scale for the newly added object
|
|
57
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
58
49
|
"""
|
|
59
50
|
|
|
60
51
|
def add_modifier_menu(
|
|
61
|
-
execution_context: int | str | None = None,
|
|
52
|
+
execution_context: int | str | None = None,
|
|
53
|
+
undo: bool | None = None,
|
|
54
|
+
/,
|
|
62
55
|
) -> None:
|
|
63
|
-
"""Undocumented, consider contributing.
|
|
64
|
-
|
|
65
|
-
:type execution_context: int | str | None
|
|
66
|
-
:type undo: bool | None
|
|
67
|
-
"""
|
|
56
|
+
"""Undocumented, consider contributing."""
|
|
68
57
|
|
|
69
58
|
def add_named(
|
|
70
59
|
execution_context: int | str | None = None,
|
|
@@ -87,20 +76,12 @@ def add_named(
|
|
|
87
76
|
) -> None:
|
|
88
77
|
"""Add named object
|
|
89
78
|
|
|
90
|
-
:type execution_context: int | str | None
|
|
91
|
-
:type undo: bool | None
|
|
92
79
|
:param linked: Linked, Duplicate object but not object data, linking to the original data
|
|
93
|
-
:type linked: bool | None
|
|
94
80
|
:param name: Name, Name of the data-block to use by the operator
|
|
95
|
-
:type name: str
|
|
96
81
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
97
|
-
:type session_uid: int | None
|
|
98
82
|
:param matrix: Matrix
|
|
99
|
-
:type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
|
|
100
83
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
101
|
-
:type drop_x: int | None
|
|
102
84
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
103
|
-
:type drop_y: int | None
|
|
104
85
|
"""
|
|
105
86
|
|
|
106
87
|
def align(
|
|
@@ -115,12 +96,8 @@ def align(
|
|
|
115
96
|
) -> None:
|
|
116
97
|
"""Align objects
|
|
117
98
|
|
|
118
|
-
:type execution_context: int | str | None
|
|
119
|
-
:type undo: bool | None
|
|
120
99
|
:param bb_quality: High Quality, Enables high quality but slow calculation of the bounding box for perfect results on complex shape meshes with rotation/scale
|
|
121
|
-
:type bb_quality: bool | None
|
|
122
100
|
:param align_mode: Align Mode, Side of object to use for alignment
|
|
123
|
-
:type align_mode: typing.Literal['OPT_1','OPT_2','OPT_3'] | None
|
|
124
101
|
:param relative_to: Relative To, Reference location to align to
|
|
125
102
|
|
|
126
103
|
OPT_1
|
|
@@ -134,19 +111,15 @@ def align(
|
|
|
134
111
|
|
|
135
112
|
OPT_4
|
|
136
113
|
Active -- Use the active object as the position for the selected objects to align to.
|
|
137
|
-
:type relative_to: typing.Literal['OPT_1','OPT_2','OPT_3','OPT_4'] | None
|
|
138
114
|
:param align_axis: Align, Align to axis
|
|
139
|
-
:type align_axis: set[typing.Literal['X','Y','Z']] | None
|
|
140
115
|
"""
|
|
141
116
|
|
|
142
117
|
def anim_transforms_to_deltas(
|
|
143
|
-
execution_context: int | str | None = None,
|
|
118
|
+
execution_context: int | str | None = None,
|
|
119
|
+
undo: bool | None = None,
|
|
120
|
+
/,
|
|
144
121
|
) -> None:
|
|
145
|
-
"""Convert object animation for normal transforms to delta transforms
|
|
146
|
-
|
|
147
|
-
:type execution_context: int | str | None
|
|
148
|
-
:type undo: bool | None
|
|
149
|
-
"""
|
|
122
|
+
"""Convert object animation for normal transforms to delta transforms"""
|
|
150
123
|
|
|
151
124
|
def armature_add(
|
|
152
125
|
execution_context: int | str | None = None,
|
|
@@ -170,12 +143,8 @@ def armature_add(
|
|
|
170
143
|
) -> None:
|
|
171
144
|
"""Add an armature object to the scene
|
|
172
145
|
|
|
173
|
-
:type execution_context: int | str | None
|
|
174
|
-
:type undo: bool | None
|
|
175
146
|
:param radius: Radius
|
|
176
|
-
:type radius: float | None
|
|
177
147
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
178
|
-
:type enter_editmode: bool | None
|
|
179
148
|
:param align: Align, The alignment of the new object
|
|
180
149
|
|
|
181
150
|
WORLD
|
|
@@ -186,13 +155,9 @@ def armature_add(
|
|
|
186
155
|
|
|
187
156
|
CURSOR
|
|
188
157
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
189
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
190
158
|
:param location: Location, Location for the newly added object
|
|
191
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
192
159
|
:param rotation: Rotation, Rotation for the newly added object
|
|
193
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
194
160
|
:param scale: Scale, Scale for the newly added object
|
|
195
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
196
161
|
"""
|
|
197
162
|
|
|
198
163
|
def assign_property_defaults(
|
|
@@ -205,12 +170,8 @@ def assign_property_defaults(
|
|
|
205
170
|
) -> None:
|
|
206
171
|
"""Assign the current values of custom properties as their defaults, for use as part of the rest pose state in NLA track mixing
|
|
207
172
|
|
|
208
|
-
:type execution_context: int | str | None
|
|
209
|
-
:type undo: bool | None
|
|
210
173
|
:param process_data: Process data properties
|
|
211
|
-
:type process_data: bool | None
|
|
212
174
|
:param process_bones: Process bone properties
|
|
213
|
-
:type process_bones: bool | None
|
|
214
175
|
"""
|
|
215
176
|
|
|
216
177
|
def bake(
|
|
@@ -243,62 +204,36 @@ def bake(
|
|
|
243
204
|
) -> None:
|
|
244
205
|
"""Bake image textures of selected objects
|
|
245
206
|
|
|
246
|
-
:type execution_context: int | str | None
|
|
247
|
-
:type undo: bool | None
|
|
248
207
|
:param type: Type, Type of pass to bake, some of them may not be supported by the current render engine
|
|
249
|
-
:type type: bpy.stub_internal.rna_enums.BakePassTypeItems | None
|
|
250
208
|
:param pass_filter: Pass Filter, Filter to combined, diffuse, glossy, transmission and subsurface passes
|
|
251
|
-
:type pass_filter: set[bpy.stub_internal.rna_enums.BakePassFilterTypeItems] | None
|
|
252
209
|
:param filepath: File Path, Image filepath to use when saving externally
|
|
253
|
-
:type filepath: str
|
|
254
210
|
:param width: Width, Horizontal dimension of the baking map (external only)
|
|
255
|
-
:type width: int | None
|
|
256
211
|
:param height: Height, Vertical dimension of the baking map (external only)
|
|
257
|
-
:type height: int | None
|
|
258
212
|
:param margin: Margin, Extends the baked result as a post process filter
|
|
259
|
-
:type margin: int | None
|
|
260
213
|
:param margin_type: Margin Type, Which algorithm to use to generate the margin
|
|
261
|
-
:type margin_type: bpy.stub_internal.rna_enums.BakeMarginTypeItems | None
|
|
262
214
|
:param use_selected_to_active: Selected to Active, Bake shading on the surface of selected objects to the active object
|
|
263
|
-
:type use_selected_to_active: bool | None
|
|
264
215
|
:param max_ray_distance: Max Ray Distance, The maximum ray distance for matching points between the active and selected objects. If zero, there is no limit
|
|
265
|
-
:type max_ray_distance: float | None
|
|
266
216
|
:param cage_extrusion: Cage Extrusion, Inflate the active object by the specified distance for baking. This helps matching to points nearer to the outside of the selected object meshes
|
|
267
|
-
:type cage_extrusion: float | None
|
|
268
217
|
:param cage_object: Cage Object, Object to use as cage, instead of calculating the cage from the active object with cage extrusion
|
|
269
|
-
:type cage_object: str
|
|
270
218
|
:param normal_space: Normal Space, Choose normal space for baking
|
|
271
|
-
:type normal_space: bpy.stub_internal.rna_enums.NormalSpaceItems | None
|
|
272
219
|
:param normal_r: R, Axis to bake in red channel
|
|
273
|
-
:type normal_r: bpy.stub_internal.rna_enums.NormalSwizzleItems | None
|
|
274
220
|
:param normal_g: G, Axis to bake in green channel
|
|
275
|
-
:type normal_g: bpy.stub_internal.rna_enums.NormalSwizzleItems | None
|
|
276
221
|
:param normal_b: B, Axis to bake in blue channel
|
|
277
|
-
:type normal_b: bpy.stub_internal.rna_enums.NormalSwizzleItems | None
|
|
278
222
|
:param target: Target, Where to output the baked map
|
|
279
|
-
:type target: bpy.stub_internal.rna_enums.BakeTargetItems | None
|
|
280
223
|
:param save_mode: Save Mode, Where to save baked image textures
|
|
281
|
-
:type save_mode: bpy.stub_internal.rna_enums.BakeSaveModeItems | None
|
|
282
224
|
:param use_clear: Clear, Clear images before baking (only for internal saving)
|
|
283
|
-
:type use_clear: bool | None
|
|
284
225
|
:param use_cage: Cage, Cast rays to active object from a cage
|
|
285
|
-
:type use_cage: bool | None
|
|
286
226
|
:param use_split_materials: Split Materials, Split baked maps per material, using material name in output file (external only)
|
|
287
|
-
:type use_split_materials: bool | None
|
|
288
227
|
:param use_automatic_name: Automatic Name, Automatically name the output file with the pass type
|
|
289
|
-
:type use_automatic_name: bool | None
|
|
290
228
|
:param uv_layer: UV Layer, UV layer to override active
|
|
291
|
-
:type uv_layer: str
|
|
292
229
|
"""
|
|
293
230
|
|
|
294
231
|
def bake_image(
|
|
295
|
-
execution_context: int | str | None = None,
|
|
232
|
+
execution_context: int | str | None = None,
|
|
233
|
+
undo: bool | None = None,
|
|
234
|
+
/,
|
|
296
235
|
) -> None:
|
|
297
|
-
"""Bake image textures of selected objects
|
|
298
|
-
|
|
299
|
-
:type execution_context: int | str | None
|
|
300
|
-
:type undo: bool | None
|
|
301
|
-
"""
|
|
236
|
+
"""Bake image textures of selected objects"""
|
|
302
237
|
|
|
303
238
|
def camera_add(
|
|
304
239
|
execution_context: int | str | None = None,
|
|
@@ -321,10 +256,7 @@ def camera_add(
|
|
|
321
256
|
) -> None:
|
|
322
257
|
"""Add a camera object to the scene
|
|
323
258
|
|
|
324
|
-
:type execution_context: int | str | None
|
|
325
|
-
:type undo: bool | None
|
|
326
259
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
327
|
-
:type enter_editmode: bool | None
|
|
328
260
|
:param align: Align, The alignment of the new object
|
|
329
261
|
|
|
330
262
|
WORLD
|
|
@@ -335,41 +267,31 @@ def camera_add(
|
|
|
335
267
|
|
|
336
268
|
CURSOR
|
|
337
269
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
338
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
339
270
|
:param location: Location, Location for the newly added object
|
|
340
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
341
271
|
:param rotation: Rotation, Rotation for the newly added object
|
|
342
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
343
272
|
:param scale: Scale, Scale for the newly added object
|
|
344
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
345
273
|
"""
|
|
346
274
|
|
|
347
275
|
def camera_custom_update(
|
|
348
|
-
execution_context: int | str | None = None,
|
|
276
|
+
execution_context: int | str | None = None,
|
|
277
|
+
undo: bool | None = None,
|
|
278
|
+
/,
|
|
349
279
|
) -> None:
|
|
350
|
-
"""Update custom camera with new parameters from the shader
|
|
351
|
-
|
|
352
|
-
:type execution_context: int | str | None
|
|
353
|
-
:type undo: bool | None
|
|
354
|
-
"""
|
|
280
|
+
"""Update custom camera with new parameters from the shader"""
|
|
355
281
|
|
|
356
282
|
def clear_override_library(
|
|
357
|
-
execution_context: int | str | None = None,
|
|
283
|
+
execution_context: int | str | None = None,
|
|
284
|
+
undo: bool | None = None,
|
|
285
|
+
/,
|
|
358
286
|
) -> None:
|
|
359
|
-
"""Delete the selected local overrides and relink their usages to the linked data-blocks if possible, else reset them and mark them as non editable
|
|
360
|
-
|
|
361
|
-
:type execution_context: int | str | None
|
|
362
|
-
:type undo: bool | None
|
|
363
|
-
"""
|
|
287
|
+
"""Delete the selected local overrides and relink their usages to the linked data-blocks if possible, else reset them and mark them as non editable"""
|
|
364
288
|
|
|
365
289
|
def collection_add(
|
|
366
|
-
execution_context: int | str | None = None,
|
|
290
|
+
execution_context: int | str | None = None,
|
|
291
|
+
undo: bool | None = None,
|
|
292
|
+
/,
|
|
367
293
|
) -> None:
|
|
368
|
-
"""Add an object to a new collection
|
|
369
|
-
|
|
370
|
-
:type execution_context: int | str | None
|
|
371
|
-
:type undo: bool | None
|
|
372
|
-
"""
|
|
294
|
+
"""Add an object to a new collection"""
|
|
373
295
|
|
|
374
296
|
def collection_external_asset_drop(
|
|
375
297
|
execution_context: int | str | None = None,
|
|
@@ -396,10 +318,7 @@ def collection_external_asset_drop(
|
|
|
396
318
|
) -> None:
|
|
397
319
|
"""Add the dragged collection to the scene
|
|
398
320
|
|
|
399
|
-
:type execution_context: int | str | None
|
|
400
|
-
:type undo: bool | None
|
|
401
321
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
402
|
-
:type session_uid: int | None
|
|
403
322
|
:param align: Align, The alignment of the new object
|
|
404
323
|
|
|
405
324
|
WORLD
|
|
@@ -410,21 +329,13 @@ def collection_external_asset_drop(
|
|
|
410
329
|
|
|
411
330
|
CURSOR
|
|
412
331
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
413
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
414
332
|
:param location: Location, Location for the newly added object
|
|
415
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
416
333
|
:param rotation: Rotation, Rotation for the newly added object
|
|
417
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
418
334
|
:param scale: Scale, Scale for the newly added object
|
|
419
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
420
335
|
:param use_instance: Instance, Add the dropped collection as collection instance
|
|
421
|
-
:type use_instance: bool | None
|
|
422
336
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
423
|
-
:type drop_x: int | None
|
|
424
337
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
425
|
-
:type drop_y: int | None
|
|
426
338
|
:param collection: Collection
|
|
427
|
-
:type collection: str | None
|
|
428
339
|
"""
|
|
429
340
|
|
|
430
341
|
def collection_instance_add(
|
|
@@ -452,12 +363,8 @@ def collection_instance_add(
|
|
|
452
363
|
) -> None:
|
|
453
364
|
"""Add a collection instance
|
|
454
365
|
|
|
455
|
-
:type execution_context: int | str | None
|
|
456
|
-
:type undo: bool | None
|
|
457
366
|
:param name: Name, Collection name to add
|
|
458
|
-
:type name: str
|
|
459
367
|
:param collection: Collection
|
|
460
|
-
:type collection: str | None
|
|
461
368
|
:param align: Align, The alignment of the new object
|
|
462
369
|
|
|
463
370
|
WORLD
|
|
@@ -468,19 +375,12 @@ def collection_instance_add(
|
|
|
468
375
|
|
|
469
376
|
CURSOR
|
|
470
377
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
471
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
472
378
|
:param location: Location, Location for the newly added object
|
|
473
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
474
379
|
:param rotation: Rotation, Rotation for the newly added object
|
|
475
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
476
380
|
:param scale: Scale, Scale for the newly added object
|
|
477
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
478
381
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
479
|
-
:type session_uid: int | None
|
|
480
382
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
481
|
-
:type drop_x: int | None
|
|
482
383
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
483
|
-
:type drop_y: int | None
|
|
484
384
|
"""
|
|
485
385
|
|
|
486
386
|
def collection_link(
|
|
@@ -492,38 +392,29 @@ def collection_link(
|
|
|
492
392
|
) -> None:
|
|
493
393
|
"""Add an object to an existing collection
|
|
494
394
|
|
|
495
|
-
:type execution_context: int | str | None
|
|
496
|
-
:type undo: bool | None
|
|
497
395
|
:param collection: Collection
|
|
498
|
-
:type collection: str | None
|
|
499
396
|
"""
|
|
500
397
|
|
|
501
398
|
def collection_objects_select(
|
|
502
|
-
execution_context: int | str | None = None,
|
|
399
|
+
execution_context: int | str | None = None,
|
|
400
|
+
undo: bool | None = None,
|
|
401
|
+
/,
|
|
503
402
|
) -> None:
|
|
504
|
-
"""Select all objects in collection
|
|
505
|
-
|
|
506
|
-
:type execution_context: int | str | None
|
|
507
|
-
:type undo: bool | None
|
|
508
|
-
"""
|
|
403
|
+
"""Select all objects in collection"""
|
|
509
404
|
|
|
510
405
|
def collection_remove(
|
|
511
|
-
execution_context: int | str | None = None,
|
|
406
|
+
execution_context: int | str | None = None,
|
|
407
|
+
undo: bool | None = None,
|
|
408
|
+
/,
|
|
512
409
|
) -> None:
|
|
513
|
-
"""Remove the active object from this collection
|
|
514
|
-
|
|
515
|
-
:type execution_context: int | str | None
|
|
516
|
-
:type undo: bool | None
|
|
517
|
-
"""
|
|
410
|
+
"""Remove the active object from this collection"""
|
|
518
411
|
|
|
519
412
|
def collection_unlink(
|
|
520
|
-
execution_context: int | str | None = None,
|
|
413
|
+
execution_context: int | str | None = None,
|
|
414
|
+
undo: bool | None = None,
|
|
415
|
+
/,
|
|
521
416
|
) -> None:
|
|
522
|
-
"""Unlink the collection from all objects
|
|
523
|
-
|
|
524
|
-
:type execution_context: int | str | None
|
|
525
|
-
:type undo: bool | None
|
|
526
|
-
"""
|
|
417
|
+
"""Unlink the collection from all objects"""
|
|
527
418
|
|
|
528
419
|
def constraint_add(
|
|
529
420
|
execution_context: int | str | None = None,
|
|
@@ -534,10 +425,7 @@ def constraint_add(
|
|
|
534
425
|
) -> None:
|
|
535
426
|
"""Add a constraint to the active object
|
|
536
427
|
|
|
537
|
-
:type execution_context: int | str | None
|
|
538
|
-
:type undo: bool | None
|
|
539
428
|
:param type: Type
|
|
540
|
-
:type type: str | None
|
|
541
429
|
"""
|
|
542
430
|
|
|
543
431
|
def constraint_add_with_targets(
|
|
@@ -549,29 +437,22 @@ def constraint_add_with_targets(
|
|
|
549
437
|
) -> None:
|
|
550
438
|
"""Add a constraint to the active object, with target (where applicable) set to the selected objects/bones
|
|
551
439
|
|
|
552
|
-
:type execution_context: int | str | None
|
|
553
|
-
:type undo: bool | None
|
|
554
440
|
:param type: Type
|
|
555
|
-
:type type: str | None
|
|
556
441
|
"""
|
|
557
442
|
|
|
558
443
|
def constraints_clear(
|
|
559
|
-
execution_context: int | str | None = None,
|
|
444
|
+
execution_context: int | str | None = None,
|
|
445
|
+
undo: bool | None = None,
|
|
446
|
+
/,
|
|
560
447
|
) -> None:
|
|
561
|
-
"""Clear all constraints from the selected objects
|
|
562
|
-
|
|
563
|
-
:type execution_context: int | str | None
|
|
564
|
-
:type undo: bool | None
|
|
565
|
-
"""
|
|
448
|
+
"""Clear all constraints from the selected objects"""
|
|
566
449
|
|
|
567
450
|
def constraints_copy(
|
|
568
|
-
execution_context: int | str | None = None,
|
|
451
|
+
execution_context: int | str | None = None,
|
|
452
|
+
undo: bool | None = None,
|
|
453
|
+
/,
|
|
569
454
|
) -> None:
|
|
570
|
-
"""Copy constraints to other selected objects
|
|
571
|
-
|
|
572
|
-
:type execution_context: int | str | None
|
|
573
|
-
:type undo: bool | None
|
|
574
|
-
"""
|
|
455
|
+
"""Copy constraints to other selected objects"""
|
|
575
456
|
|
|
576
457
|
def convert(
|
|
577
458
|
execution_context: int | str | None = None,
|
|
@@ -588,8 +469,6 @@ def convert(
|
|
|
588
469
|
) -> None:
|
|
589
470
|
"""Convert selected objects to another type
|
|
590
471
|
|
|
591
|
-
:type execution_context: int | str | None
|
|
592
|
-
:type undo: bool | None
|
|
593
472
|
:param target: Target, Type of object to convert to
|
|
594
473
|
|
|
595
474
|
CURVE
|
|
@@ -606,19 +485,27 @@ def convert(
|
|
|
606
485
|
|
|
607
486
|
GREASEPENCIL
|
|
608
487
|
Grease Pencil -- Grease Pencil from Curve or Mesh objects.
|
|
609
|
-
:type target: typing.Literal['CURVE','MESH','POINTCLOUD','CURVES','GREASEPENCIL'] | None
|
|
610
488
|
:param keep_original: Keep Original, Keep original objects instead of replacing them
|
|
611
|
-
:type keep_original: bool | None
|
|
612
489
|
:param merge_customdata: Merge UVs, Merge UV coordinates that share a vertex to account for imprecision in some modifiers
|
|
613
|
-
:type merge_customdata: bool | None
|
|
614
490
|
:param thickness: Thickness
|
|
615
|
-
:type thickness: int | None
|
|
616
491
|
:param faces: Export Faces, Export faces as filled strokes
|
|
617
|
-
:type faces: bool | None
|
|
618
492
|
:param offset: Stroke Offset, Offset strokes from fill
|
|
619
|
-
:type offset: float | None
|
|
620
493
|
"""
|
|
621
494
|
|
|
495
|
+
def copy_global_transform(
|
|
496
|
+
execution_context: int | str | None = None,
|
|
497
|
+
undo: bool | None = None,
|
|
498
|
+
/,
|
|
499
|
+
) -> None:
|
|
500
|
+
"""Copies the matrix of the currently active object or pose bone to the clipboard. Uses world-space matrices"""
|
|
501
|
+
|
|
502
|
+
def copy_relative_transform(
|
|
503
|
+
execution_context: int | str | None = None,
|
|
504
|
+
undo: bool | None = None,
|
|
505
|
+
/,
|
|
506
|
+
) -> None:
|
|
507
|
+
"""Copies the matrix of the currently active object or pose bone to the clipboard. Uses matrices relative to a specific object or the active scene camera"""
|
|
508
|
+
|
|
622
509
|
def correctivesmooth_bind(
|
|
623
510
|
execution_context: int | str | None = None,
|
|
624
511
|
undo: bool | None = None,
|
|
@@ -628,10 +515,7 @@ def correctivesmooth_bind(
|
|
|
628
515
|
) -> None:
|
|
629
516
|
"""Bind base pose in Corrective Smooth modifier
|
|
630
517
|
|
|
631
|
-
:type execution_context: int | str | None
|
|
632
|
-
:type undo: bool | None
|
|
633
518
|
:param modifier: Modifier, Name of the modifier to edit
|
|
634
|
-
:type modifier: str
|
|
635
519
|
"""
|
|
636
520
|
|
|
637
521
|
def curves_empty_hair_add(
|
|
@@ -654,8 +538,6 @@ def curves_empty_hair_add(
|
|
|
654
538
|
) -> None:
|
|
655
539
|
"""Add an empty curve object to the scene with the selected mesh as surface
|
|
656
540
|
|
|
657
|
-
:type execution_context: int | str | None
|
|
658
|
-
:type undo: bool | None
|
|
659
541
|
:param align: Align, The alignment of the new object
|
|
660
542
|
|
|
661
543
|
WORLD
|
|
@@ -666,13 +548,9 @@ def curves_empty_hair_add(
|
|
|
666
548
|
|
|
667
549
|
CURSOR
|
|
668
550
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
669
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
670
551
|
:param location: Location, Location for the newly added object
|
|
671
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
672
552
|
:param rotation: Rotation, Rotation for the newly added object
|
|
673
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
674
553
|
:param scale: Scale, Scale for the newly added object
|
|
675
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
676
554
|
"""
|
|
677
555
|
|
|
678
556
|
def curves_random_add(
|
|
@@ -695,8 +573,6 @@ def curves_random_add(
|
|
|
695
573
|
) -> None:
|
|
696
574
|
"""Add a curves object with random curves to the scene
|
|
697
575
|
|
|
698
|
-
:type execution_context: int | str | None
|
|
699
|
-
:type undo: bool | None
|
|
700
576
|
:param align: Align, The alignment of the new object
|
|
701
577
|
|
|
702
578
|
WORLD
|
|
@@ -707,13 +583,9 @@ def curves_random_add(
|
|
|
707
583
|
|
|
708
584
|
CURSOR
|
|
709
585
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
710
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
711
586
|
:param location: Location, Location for the newly added object
|
|
712
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
713
587
|
:param rotation: Rotation, Rotation for the newly added object
|
|
714
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
715
588
|
:param scale: Scale, Scale for the newly added object
|
|
716
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
717
589
|
"""
|
|
718
590
|
|
|
719
591
|
def data_instance_add(
|
|
@@ -741,14 +613,9 @@ def data_instance_add(
|
|
|
741
613
|
) -> None:
|
|
742
614
|
"""Add an object data instance
|
|
743
615
|
|
|
744
|
-
:type execution_context: int | str | None
|
|
745
|
-
:type undo: bool | None
|
|
746
616
|
:param name: Name, Name of the data-block to use by the operator
|
|
747
|
-
:type name: str
|
|
748
617
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
749
|
-
:type session_uid: int | None
|
|
750
618
|
:param type: Type
|
|
751
|
-
:type type: bpy.stub_internal.rna_enums.IdTypeItems | None
|
|
752
619
|
:param align: Align, The alignment of the new object
|
|
753
620
|
|
|
754
621
|
WORLD
|
|
@@ -759,17 +626,11 @@ def data_instance_add(
|
|
|
759
626
|
|
|
760
627
|
CURSOR
|
|
761
628
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
762
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
763
629
|
:param location: Location, Location for the newly added object
|
|
764
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
765
630
|
:param rotation: Rotation, Rotation for the newly added object
|
|
766
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
767
631
|
:param scale: Scale, Scale for the newly added object
|
|
768
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
769
632
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
770
|
-
:type drop_x: int | None
|
|
771
633
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
772
|
-
:type drop_y: int | None
|
|
773
634
|
"""
|
|
774
635
|
|
|
775
636
|
def data_transfer(
|
|
@@ -816,12 +677,8 @@ def data_transfer(
|
|
|
816
677
|
) -> None:
|
|
817
678
|
"""Transfer data layer(s) (weights, edge sharp, etc.) from active to selected meshes
|
|
818
679
|
|
|
819
|
-
:type execution_context: int | str | None
|
|
820
|
-
:type undo: bool | None
|
|
821
680
|
:param use_reverse_transfer: Reverse Transfer, Transfer from selected objects to active one
|
|
822
|
-
:type use_reverse_transfer: bool | None
|
|
823
681
|
:param use_freeze: Freeze Operator, Prevent changes to settings to re-run the operator, handy to change several things at once with heavy geometry
|
|
824
|
-
:type use_freeze: bool | None
|
|
825
682
|
:param data_type: Data Type, Which data to transfer
|
|
826
683
|
|
|
827
684
|
VGROUP_WEIGHTS
|
|
@@ -862,37 +719,21 @@ def data_transfer(
|
|
|
862
719
|
|
|
863
720
|
FREESTYLE_FACE
|
|
864
721
|
Freestyle Mark -- Transfer Freestyle face mark.
|
|
865
|
-
:type data_type: typing.Literal['VGROUP_WEIGHTS','BEVEL_WEIGHT_VERT','COLOR_VERTEX','SHARP_EDGE','SEAM','CREASE','BEVEL_WEIGHT_EDGE','FREESTYLE_EDGE','CUSTOM_NORMAL','COLOR_CORNER','UV','SMOOTH','FREESTYLE_FACE'] | None
|
|
866
722
|
:param use_create: Create Data, Add data layers on destination meshes if needed
|
|
867
|
-
:type use_create: bool | None
|
|
868
723
|
:param vert_mapping: Vertex Mapping, Method used to map source vertices to destination ones
|
|
869
|
-
:type vert_mapping: bpy.stub_internal.rna_enums.DtMethodVertexItems | None
|
|
870
724
|
:param edge_mapping: Edge Mapping, Method used to map source edges to destination ones
|
|
871
|
-
:
|
|
872
|
-
:param loop_mapping: Face Corner Mapping, Method used to map source faces' corners to destination ones
|
|
873
|
-
:type loop_mapping: bpy.stub_internal.rna_enums.DtMethodLoopItems | None
|
|
725
|
+
:param loop_mapping: Face Corner Mapping, Method used to map source faces corners to destination ones
|
|
874
726
|
:param poly_mapping: Face Mapping, Method used to map source faces to destination ones
|
|
875
|
-
:type poly_mapping: bpy.stub_internal.rna_enums.DtMethodPolyItems | None
|
|
876
727
|
:param use_auto_transform: Auto Transform, Automatically compute transformation to get the best possible match between source and destination meshes.Warning: Results will never be as good as manual matching of objects
|
|
877
|
-
:type use_auto_transform: bool | None
|
|
878
728
|
:param use_object_transform: Object Transform, Evaluate source and destination meshes in global space
|
|
879
|
-
:type use_object_transform: bool | None
|
|
880
729
|
:param use_max_distance: Only Neighbor Geometry, Source elements must be closer than given distance from destination one
|
|
881
|
-
:type use_max_distance: bool | None
|
|
882
730
|
:param max_distance: Max Distance, Maximum allowed distance between source and destination element, for non-topology mappings
|
|
883
|
-
:
|
|
884
|
-
:param ray_radius: Ray Radius, 'Width' of rays (especially useful when raycasting against vertices or edges)
|
|
885
|
-
:type ray_radius: float | None
|
|
731
|
+
:param ray_radius: Ray Radius, Width of rays (especially useful when raycasting against vertices or edges)
|
|
886
732
|
:param islands_precision: Islands Precision, Factor controlling precision of islands handling (the higher, the better the results)
|
|
887
|
-
:type islands_precision: float | None
|
|
888
733
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
889
|
-
:type layers_select_src: bpy.stub_internal.rna_enums.DtLayersSelectSrcItems | None
|
|
890
734
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
891
|
-
:type layers_select_dst: bpy.stub_internal.rna_enums.DtLayersSelectDstItems | None
|
|
892
735
|
:param mix_mode: Mix Mode, How to affect destination elements with source values
|
|
893
|
-
:type mix_mode: bpy.stub_internal.rna_enums.DtMixModeItems | None
|
|
894
736
|
:param mix_factor: Mix Factor, Factor to use when applying data to destination (exact behavior depends on mix mode)
|
|
895
|
-
:type mix_factor: float | None
|
|
896
737
|
"""
|
|
897
738
|
|
|
898
739
|
def datalayout_transfer(
|
|
@@ -925,10 +766,7 @@ def datalayout_transfer(
|
|
|
925
766
|
) -> None:
|
|
926
767
|
"""Transfer layout of data layer(s) from active to selected meshes
|
|
927
768
|
|
|
928
|
-
:type execution_context: int | str | None
|
|
929
|
-
:type undo: bool | None
|
|
930
769
|
:param modifier: Modifier, Name of the modifier to edit
|
|
931
|
-
:type modifier: str
|
|
932
770
|
:param data_type: Data Type, Which data to transfer
|
|
933
771
|
|
|
934
772
|
VGROUP_WEIGHTS
|
|
@@ -969,13 +807,9 @@ def datalayout_transfer(
|
|
|
969
807
|
|
|
970
808
|
FREESTYLE_FACE
|
|
971
809
|
Freestyle Mark -- Transfer Freestyle face mark.
|
|
972
|
-
:type data_type: typing.Literal['VGROUP_WEIGHTS','BEVEL_WEIGHT_VERT','COLOR_VERTEX','SHARP_EDGE','SEAM','CREASE','BEVEL_WEIGHT_EDGE','FREESTYLE_EDGE','CUSTOM_NORMAL','COLOR_CORNER','UV','SMOOTH','FREESTYLE_FACE'] | None
|
|
973
810
|
:param use_delete: Exact Match, Also delete some data layers from destination if necessary, so that it matches exactly source
|
|
974
|
-
:type use_delete: bool | None
|
|
975
811
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
976
|
-
:type layers_select_src: bpy.stub_internal.rna_enums.DtLayersSelectSrcItems | None
|
|
977
812
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
978
|
-
:type layers_select_dst: bpy.stub_internal.rna_enums.DtLayersSelectDstItems | None
|
|
979
813
|
"""
|
|
980
814
|
|
|
981
815
|
def delete(
|
|
@@ -988,14 +822,17 @@ def delete(
|
|
|
988
822
|
) -> None:
|
|
989
823
|
"""Delete selected objects
|
|
990
824
|
|
|
991
|
-
:type execution_context: int | str | None
|
|
992
|
-
:type undo: bool | None
|
|
993
825
|
:param use_global: Delete Globally, Remove object from all scenes
|
|
994
|
-
:type use_global: bool | None
|
|
995
826
|
:param confirm: Confirm, Prompt for confirmation
|
|
996
|
-
:type confirm: bool | None
|
|
997
827
|
"""
|
|
998
828
|
|
|
829
|
+
def delete_fix_to_camera_keys(
|
|
830
|
+
execution_context: int | str | None = None,
|
|
831
|
+
undo: bool | None = None,
|
|
832
|
+
/,
|
|
833
|
+
) -> None:
|
|
834
|
+
"""Delete all keys that were generated by the Fix to Scene Camera operator"""
|
|
835
|
+
|
|
999
836
|
def drop_geometry_nodes(
|
|
1000
837
|
execution_context: int | str | None = None,
|
|
1001
838
|
undo: bool | None = None,
|
|
@@ -1006,12 +843,8 @@ def drop_geometry_nodes(
|
|
|
1006
843
|
) -> None:
|
|
1007
844
|
"""Undocumented, consider contributing.
|
|
1008
845
|
|
|
1009
|
-
:type execution_context: int | str | None
|
|
1010
|
-
:type undo: bool | None
|
|
1011
846
|
:param session_uid: Session UID, Session UID of the geometry node group being dropped
|
|
1012
|
-
:
|
|
1013
|
-
:param show_datablock_in_modifier: Show the datablock selector in the modifier
|
|
1014
|
-
:type show_datablock_in_modifier: bool | None
|
|
847
|
+
:param show_datablock_in_modifier: Show the data-block selector in the modifier
|
|
1015
848
|
"""
|
|
1016
849
|
|
|
1017
850
|
def drop_named_material(
|
|
@@ -1024,12 +857,8 @@ def drop_named_material(
|
|
|
1024
857
|
) -> None:
|
|
1025
858
|
"""Undocumented, consider contributing.
|
|
1026
859
|
|
|
1027
|
-
:type execution_context: int | str | None
|
|
1028
|
-
:type undo: bool | None
|
|
1029
860
|
:param name: Name, Name of the data-block to use by the operator
|
|
1030
|
-
:type name: str
|
|
1031
861
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1032
|
-
:type session_uid: int | None
|
|
1033
862
|
"""
|
|
1034
863
|
|
|
1035
864
|
def duplicate(
|
|
@@ -1042,12 +871,8 @@ def duplicate(
|
|
|
1042
871
|
) -> None:
|
|
1043
872
|
"""Duplicate selected objects
|
|
1044
873
|
|
|
1045
|
-
:type execution_context: int | str | None
|
|
1046
|
-
:type undo: bool | None
|
|
1047
874
|
:param linked: Linked, Duplicate object but not object data, linking to the original data
|
|
1048
|
-
:type linked: bool | None
|
|
1049
875
|
:param mode: Mode
|
|
1050
|
-
:type mode: bpy.stub_internal.rna_enums.TransformModeTypeItems | None
|
|
1051
876
|
"""
|
|
1052
877
|
|
|
1053
878
|
def duplicate_move(
|
|
@@ -1060,12 +885,8 @@ def duplicate_move(
|
|
|
1060
885
|
) -> None:
|
|
1061
886
|
"""Duplicate the selected objects and move them
|
|
1062
887
|
|
|
1063
|
-
:type execution_context: int | str | None
|
|
1064
|
-
:type undo: bool | None
|
|
1065
888
|
:param OBJECT_OT_duplicate: Duplicate Objects, Duplicate selected objects
|
|
1066
|
-
:type OBJECT_OT_duplicate: duplicate | None
|
|
1067
889
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
1068
|
-
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
1069
890
|
"""
|
|
1070
891
|
|
|
1071
892
|
def duplicate_move_linked(
|
|
@@ -1078,12 +899,8 @@ def duplicate_move_linked(
|
|
|
1078
899
|
) -> None:
|
|
1079
900
|
"""Duplicate the selected objects, but not their object data, and move them
|
|
1080
901
|
|
|
1081
|
-
:type execution_context: int | str | None
|
|
1082
|
-
:type undo: bool | None
|
|
1083
902
|
:param OBJECT_OT_duplicate: Duplicate Objects, Duplicate selected objects
|
|
1084
|
-
:type OBJECT_OT_duplicate: duplicate | None
|
|
1085
903
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
1086
|
-
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
1087
904
|
"""
|
|
1088
905
|
|
|
1089
906
|
def duplicates_make_real(
|
|
@@ -1096,22 +913,16 @@ def duplicates_make_real(
|
|
|
1096
913
|
) -> None:
|
|
1097
914
|
"""Make instanced objects attached to this object real
|
|
1098
915
|
|
|
1099
|
-
:type execution_context: int | str | None
|
|
1100
|
-
:type undo: bool | None
|
|
1101
916
|
:param use_base_parent: Parent, Parent newly created objects to the original instancer
|
|
1102
|
-
:type use_base_parent: bool | None
|
|
1103
917
|
:param use_hierarchy: Keep Hierarchy, Maintain parent child relationships
|
|
1104
|
-
:type use_hierarchy: bool | None
|
|
1105
918
|
"""
|
|
1106
919
|
|
|
1107
920
|
def editmode_toggle(
|
|
1108
|
-
execution_context: int | str | None = None,
|
|
921
|
+
execution_context: int | str | None = None,
|
|
922
|
+
undo: bool | None = None,
|
|
923
|
+
/,
|
|
1109
924
|
) -> None:
|
|
1110
|
-
"""Toggle
|
|
1111
|
-
|
|
1112
|
-
:type execution_context: int | str | None
|
|
1113
|
-
:type undo: bool | None
|
|
1114
|
-
"""
|
|
925
|
+
"""Toggle objects edit mode"""
|
|
1115
926
|
|
|
1116
927
|
def effector_add(
|
|
1117
928
|
execution_context: int | str | None = None,
|
|
@@ -1151,14 +962,9 @@ def effector_add(
|
|
|
1151
962
|
) -> None:
|
|
1152
963
|
"""Add an empty object with a physics effector to the scene
|
|
1153
964
|
|
|
1154
|
-
:type execution_context: int | str | None
|
|
1155
|
-
:type undo: bool | None
|
|
1156
965
|
:param type: Type
|
|
1157
|
-
:type type: typing.Literal['FORCE','WIND','VORTEX','MAGNET','HARMONIC','CHARGE','LENNARDJ','TEXTURE','GUIDE','BOID','TURBULENCE','DRAG','FLUID'] | None
|
|
1158
966
|
:param radius: Radius
|
|
1159
|
-
:type radius: float | None
|
|
1160
967
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
1161
|
-
:type enter_editmode: bool | None
|
|
1162
968
|
:param align: Align, The alignment of the new object
|
|
1163
969
|
|
|
1164
970
|
WORLD
|
|
@@ -1169,13 +975,9 @@ def effector_add(
|
|
|
1169
975
|
|
|
1170
976
|
CURSOR
|
|
1171
977
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1172
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
1173
978
|
:param location: Location, Location for the newly added object
|
|
1174
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1175
979
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1176
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1177
980
|
:param scale: Scale, Scale for the newly added object
|
|
1178
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1179
981
|
"""
|
|
1180
982
|
|
|
1181
983
|
def empty_add(
|
|
@@ -1200,12 +1002,8 @@ def empty_add(
|
|
|
1200
1002
|
) -> None:
|
|
1201
1003
|
"""Add an empty object to the scene
|
|
1202
1004
|
|
|
1203
|
-
:type execution_context: int | str | None
|
|
1204
|
-
:type undo: bool | None
|
|
1205
1005
|
:param type: Type
|
|
1206
|
-
:type type: bpy.stub_internal.rna_enums.ObjectEmptyDrawtypeItems | None
|
|
1207
1006
|
:param radius: Radius
|
|
1208
|
-
:type radius: float | None
|
|
1209
1007
|
:param align: Align, The alignment of the new object
|
|
1210
1008
|
|
|
1211
1009
|
WORLD
|
|
@@ -1216,13 +1014,9 @@ def empty_add(
|
|
|
1216
1014
|
|
|
1217
1015
|
CURSOR
|
|
1218
1016
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1219
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
1220
1017
|
:param location: Location, Location for the newly added object
|
|
1221
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1222
1018
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1223
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1224
1019
|
:param scale: Scale, Scale for the newly added object
|
|
1225
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1226
1020
|
"""
|
|
1227
1021
|
|
|
1228
1022
|
def empty_image_add(
|
|
@@ -1284,54 +1078,29 @@ def empty_image_add(
|
|
|
1284
1078
|
) -> None:
|
|
1285
1079
|
"""Add an empty image type to scene with data
|
|
1286
1080
|
|
|
1287
|
-
:type execution_context: int | str | None
|
|
1288
|
-
:type undo: bool | None
|
|
1289
1081
|
:param filepath: File Path, Path to file
|
|
1290
|
-
:type filepath: str
|
|
1291
1082
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
1292
|
-
:type hide_props_region: bool | None
|
|
1293
1083
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
1294
|
-
:type check_existing: bool | None
|
|
1295
1084
|
:param filter_blender: Filter .blend files
|
|
1296
|
-
:type filter_blender: bool | None
|
|
1297
1085
|
:param filter_backup: Filter .blend files
|
|
1298
|
-
:type filter_backup: bool | None
|
|
1299
1086
|
:param filter_image: Filter image files
|
|
1300
|
-
:type filter_image: bool | None
|
|
1301
1087
|
:param filter_movie: Filter movie files
|
|
1302
|
-
:type filter_movie: bool | None
|
|
1303
1088
|
:param filter_python: Filter Python files
|
|
1304
|
-
:type filter_python: bool | None
|
|
1305
1089
|
:param filter_font: Filter font files
|
|
1306
|
-
:type filter_font: bool | None
|
|
1307
1090
|
:param filter_sound: Filter sound files
|
|
1308
|
-
:type filter_sound: bool | None
|
|
1309
1091
|
:param filter_text: Filter text files
|
|
1310
|
-
:type filter_text: bool | None
|
|
1311
1092
|
:param filter_archive: Filter archive files
|
|
1312
|
-
:type filter_archive: bool | None
|
|
1313
1093
|
:param filter_btx: Filter btx files
|
|
1314
|
-
:type filter_btx: bool | None
|
|
1315
1094
|
:param filter_alembic: Filter Alembic files
|
|
1316
|
-
:type filter_alembic: bool | None
|
|
1317
1095
|
:param filter_usd: Filter USD files
|
|
1318
|
-
:type filter_usd: bool | None
|
|
1319
1096
|
:param filter_obj: Filter OBJ files
|
|
1320
|
-
:type filter_obj: bool | None
|
|
1321
1097
|
:param filter_volume: Filter OpenVDB volume files
|
|
1322
|
-
:type filter_volume: bool | None
|
|
1323
1098
|
:param filter_folder: Filter folders
|
|
1324
|
-
:type filter_folder: bool | None
|
|
1325
1099
|
:param filter_blenlib: Filter Blender IDs
|
|
1326
|
-
:type filter_blenlib: bool | None
|
|
1327
1100
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
1328
|
-
:type filemode: int | None
|
|
1329
1101
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
1330
|
-
:type relative_path: bool | None
|
|
1331
1102
|
:param show_multiview: Enable Multi-View
|
|
1332
|
-
:type show_multiview: bool | None
|
|
1333
1103
|
:param use_multiview: Use Multi-View
|
|
1334
|
-
:type use_multiview: bool | None
|
|
1335
1104
|
:param display_type: Display Type
|
|
1336
1105
|
|
|
1337
1106
|
DEFAULT
|
|
@@ -1345,7 +1114,6 @@ def empty_image_add(
|
|
|
1345
1114
|
|
|
1346
1115
|
THUMBNAIL
|
|
1347
1116
|
Thumbnails -- Display files as thumbnails.
|
|
1348
|
-
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
1349
1117
|
:param sort_method: File sorting mode
|
|
1350
1118
|
|
|
1351
1119
|
DEFAULT
|
|
@@ -1365,11 +1133,8 @@ def empty_image_add(
|
|
|
1365
1133
|
|
|
1366
1134
|
ASSET_CATALOG
|
|
1367
1135
|
Asset Catalog -- Sort the asset list so that assets in the same catalog are kept together. Within a single catalog, assets are ordered by name. The catalogs are in order of the flattened catalog hierarchy..
|
|
1368
|
-
:type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE','ASSET_CATALOG'] | None
|
|
1369
1136
|
:param name: Name, Name of the data-block to use by the operator
|
|
1370
|
-
:type name: str
|
|
1371
1137
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1372
|
-
:type session_uid: int | None
|
|
1373
1138
|
:param align: Align, The alignment of the new object
|
|
1374
1139
|
|
|
1375
1140
|
WORLD
|
|
@@ -1380,15 +1145,10 @@ def empty_image_add(
|
|
|
1380
1145
|
|
|
1381
1146
|
CURSOR
|
|
1382
1147
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1383
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
1384
1148
|
:param location: Location, Location for the newly added object
|
|
1385
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1386
1149
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1387
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1388
1150
|
:param scale: Scale, Scale for the newly added object
|
|
1389
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1390
1151
|
:param background: Put in Background, Make the image render behind all objects
|
|
1391
|
-
:type background: bool | None
|
|
1392
1152
|
"""
|
|
1393
1153
|
|
|
1394
1154
|
def explode_refresh(
|
|
@@ -1400,21 +1160,32 @@ def explode_refresh(
|
|
|
1400
1160
|
) -> None:
|
|
1401
1161
|
"""Refresh data in the Explode modifier
|
|
1402
1162
|
|
|
1403
|
-
:type execution_context: int | str | None
|
|
1404
|
-
:type undo: bool | None
|
|
1405
1163
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1406
|
-
:type modifier: str
|
|
1407
1164
|
"""
|
|
1408
1165
|
|
|
1409
|
-
def
|
|
1410
|
-
execution_context: int | str | None = None,
|
|
1166
|
+
def fix_to_camera(
|
|
1167
|
+
execution_context: int | str | None = None,
|
|
1168
|
+
undo: bool | None = None,
|
|
1169
|
+
/,
|
|
1170
|
+
*,
|
|
1171
|
+
use_location: bool | None = True,
|
|
1172
|
+
use_rotation: bool | None = True,
|
|
1173
|
+
use_scale: bool | None = True,
|
|
1411
1174
|
) -> None:
|
|
1412
|
-
"""
|
|
1175
|
+
"""Generate new keys to fix the selected object/bone to the camera on unkeyed frames
|
|
1413
1176
|
|
|
1414
|
-
:
|
|
1415
|
-
:
|
|
1177
|
+
:param use_location: Location, Create Location keys when fixing to the scene camera
|
|
1178
|
+
:param use_rotation: Rotation, Create Rotation keys when fixing to the scene camera
|
|
1179
|
+
:param use_scale: Scale, Create Scale keys when fixing to the scene camera
|
|
1416
1180
|
"""
|
|
1417
1181
|
|
|
1182
|
+
def forcefield_toggle(
|
|
1183
|
+
execution_context: int | str | None = None,
|
|
1184
|
+
undo: bool | None = None,
|
|
1185
|
+
/,
|
|
1186
|
+
) -> None:
|
|
1187
|
+
"""Toggle objects force field"""
|
|
1188
|
+
|
|
1418
1189
|
def geometry_node_bake_delete_single(
|
|
1419
1190
|
execution_context: int | str | None = None,
|
|
1420
1191
|
undo: bool | None = None,
|
|
@@ -1426,14 +1197,9 @@ def geometry_node_bake_delete_single(
|
|
|
1426
1197
|
) -> None:
|
|
1427
1198
|
"""Delete baked data of a single bake node or simulation
|
|
1428
1199
|
|
|
1429
|
-
:type execution_context: int | str | None
|
|
1430
|
-
:type undo: bool | None
|
|
1431
1200
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1432
|
-
:type session_uid: int | None
|
|
1433
1201
|
:param modifier_name: Modifier Name, Name of the modifier that contains the node
|
|
1434
|
-
:type modifier_name: str
|
|
1435
1202
|
:param bake_id: Bake ID, Nested node id of the node
|
|
1436
|
-
:type bake_id: int | None
|
|
1437
1203
|
"""
|
|
1438
1204
|
|
|
1439
1205
|
def geometry_node_bake_pack_single(
|
|
@@ -1447,14 +1213,9 @@ def geometry_node_bake_pack_single(
|
|
|
1447
1213
|
) -> None:
|
|
1448
1214
|
"""Pack baked data from disk into the .blend file
|
|
1449
1215
|
|
|
1450
|
-
:type execution_context: int | str | None
|
|
1451
|
-
:type undo: bool | None
|
|
1452
1216
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1453
|
-
:type session_uid: int | None
|
|
1454
1217
|
:param modifier_name: Modifier Name, Name of the modifier that contains the node
|
|
1455
|
-
:type modifier_name: str
|
|
1456
1218
|
:param bake_id: Bake ID, Nested node id of the node
|
|
1457
|
-
:type bake_id: int | None
|
|
1458
1219
|
"""
|
|
1459
1220
|
|
|
1460
1221
|
def geometry_node_bake_single(
|
|
@@ -1468,14 +1229,9 @@ def geometry_node_bake_single(
|
|
|
1468
1229
|
) -> None:
|
|
1469
1230
|
"""Bake a single bake node or simulation
|
|
1470
1231
|
|
|
1471
|
-
:type execution_context: int | str | None
|
|
1472
|
-
:type undo: bool | None
|
|
1473
1232
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1474
|
-
:type session_uid: int | None
|
|
1475
1233
|
:param modifier_name: Modifier Name, Name of the modifier that contains the node
|
|
1476
|
-
:type modifier_name: str
|
|
1477
1234
|
:param bake_id: Bake ID, Nested node id of the node
|
|
1478
|
-
:type bake_id: int | None
|
|
1479
1235
|
"""
|
|
1480
1236
|
|
|
1481
1237
|
def geometry_node_bake_unpack_single(
|
|
@@ -1491,26 +1247,18 @@ def geometry_node_bake_unpack_single(
|
|
|
1491
1247
|
) -> None:
|
|
1492
1248
|
"""Unpack baked data from the .blend file to disk
|
|
1493
1249
|
|
|
1494
|
-
:type execution_context: int | str | None
|
|
1495
|
-
:type undo: bool | None
|
|
1496
1250
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1497
|
-
:type session_uid: int | None
|
|
1498
1251
|
:param modifier_name: Modifier Name, Name of the modifier that contains the node
|
|
1499
|
-
:type modifier_name: str
|
|
1500
1252
|
:param bake_id: Bake ID, Nested node id of the node
|
|
1501
|
-
:type bake_id: int | None
|
|
1502
1253
|
:param method: Method, How to unpack
|
|
1503
|
-
:type method: typing.Literal['USE_LOCAL','WRITE_LOCAL','USE_ORIGINAL','WRITE_ORIGINAL'] | None
|
|
1504
1254
|
"""
|
|
1505
1255
|
|
|
1506
1256
|
def geometry_node_tree_copy_assign(
|
|
1507
|
-
execution_context: int | str | None = None,
|
|
1257
|
+
execution_context: int | str | None = None,
|
|
1258
|
+
undo: bool | None = None,
|
|
1259
|
+
/,
|
|
1508
1260
|
) -> None:
|
|
1509
|
-
"""
|
|
1510
|
-
|
|
1511
|
-
:type execution_context: int | str | None
|
|
1512
|
-
:type undo: bool | None
|
|
1513
|
-
"""
|
|
1261
|
+
"""Duplicate the active geometry node group and assign it to the active modifier"""
|
|
1514
1262
|
|
|
1515
1263
|
def geometry_nodes_input_attribute_toggle(
|
|
1516
1264
|
execution_context: int | str | None = None,
|
|
@@ -1522,12 +1270,8 @@ def geometry_nodes_input_attribute_toggle(
|
|
|
1522
1270
|
) -> None:
|
|
1523
1271
|
"""Switch between an attribute and a single value to define the data for every element
|
|
1524
1272
|
|
|
1525
|
-
:type execution_context: int | str | None
|
|
1526
|
-
:type undo: bool | None
|
|
1527
1273
|
:param input_name: Input Name
|
|
1528
|
-
:type input_name: str
|
|
1529
1274
|
:param modifier_name: Modifier Name
|
|
1530
|
-
:type modifier_name: str
|
|
1531
1275
|
"""
|
|
1532
1276
|
|
|
1533
1277
|
def geometry_nodes_move_to_nodes(
|
|
@@ -1539,10 +1283,7 @@ def geometry_nodes_move_to_nodes(
|
|
|
1539
1283
|
) -> None:
|
|
1540
1284
|
"""Move inputs and outputs from in the modifier to a new node group
|
|
1541
1285
|
|
|
1542
|
-
:type execution_context: int | str | None
|
|
1543
|
-
:type undo: bool | None
|
|
1544
1286
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
1545
|
-
:type use_selected_objects: bool | None
|
|
1546
1287
|
"""
|
|
1547
1288
|
|
|
1548
1289
|
def grease_pencil_add(
|
|
@@ -1553,7 +1294,7 @@ def grease_pencil_add(
|
|
|
1553
1294
|
type: bpy.stub_internal.rna_enums.ObjectGpencilTypeItems | None = "EMPTY",
|
|
1554
1295
|
use_in_front: bool | None = True,
|
|
1555
1296
|
stroke_depth_offset: float | None = 0.05,
|
|
1556
|
-
use_lights: bool | None =
|
|
1297
|
+
use_lights: bool | None = True,
|
|
1557
1298
|
stroke_depth_order: typing.Literal["2D", "3D"] | None = "3D",
|
|
1558
1299
|
radius: float | None = 1.0,
|
|
1559
1300
|
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
@@ -1571,26 +1312,18 @@ def grease_pencil_add(
|
|
|
1571
1312
|
) -> None:
|
|
1572
1313
|
"""Add a Grease Pencil object to the scene
|
|
1573
1314
|
|
|
1574
|
-
:type execution_context: int | str | None
|
|
1575
|
-
:type undo: bool | None
|
|
1576
1315
|
:param type: Type
|
|
1577
|
-
:type type: bpy.stub_internal.rna_enums.ObjectGpencilTypeItems | None
|
|
1578
1316
|
:param use_in_front: Show In Front, Show Line Art Grease Pencil in front of everything
|
|
1579
|
-
:type use_in_front: bool | None
|
|
1580
1317
|
:param stroke_depth_offset: Stroke Offset, Stroke offset for the Line Art modifier
|
|
1581
|
-
:type stroke_depth_offset: float | None
|
|
1582
1318
|
:param use_lights: Use Lights, Use lights for this Grease Pencil object
|
|
1583
|
-
:
|
|
1584
|
-
:param stroke_depth_order: Stroke Depth Order, Defines how the strokes are ordered in 3D space (for objects not displayed 'In Front')
|
|
1319
|
+
:param stroke_depth_order: Stroke Depth Order, Defines how the strokes are ordered in 3D space (for objects not displayed In Front)
|
|
1585
1320
|
|
|
1586
1321
|
2D
|
|
1587
1322
|
2D Layers -- Display strokes using Grease Pencil layers to define order.
|
|
1588
1323
|
|
|
1589
1324
|
3D
|
|
1590
1325
|
3D Location -- Display strokes using real 3D position in 3D space.
|
|
1591
|
-
:type stroke_depth_order: typing.Literal['2D','3D'] | None
|
|
1592
1326
|
:param radius: Radius
|
|
1593
|
-
:type radius: float | None
|
|
1594
1327
|
:param align: Align, The alignment of the new object
|
|
1595
1328
|
|
|
1596
1329
|
WORLD
|
|
@@ -1601,13 +1334,9 @@ def grease_pencil_add(
|
|
|
1601
1334
|
|
|
1602
1335
|
CURSOR
|
|
1603
1336
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1604
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
1605
1337
|
:param location: Location, Location for the newly added object
|
|
1606
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1607
1338
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1608
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1609
1339
|
:param scale: Scale, Scale for the newly added object
|
|
1610
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1611
1340
|
"""
|
|
1612
1341
|
|
|
1613
1342
|
def grease_pencil_dash_modifier_segment_add(
|
|
@@ -1619,10 +1348,7 @@ def grease_pencil_dash_modifier_segment_add(
|
|
|
1619
1348
|
) -> None:
|
|
1620
1349
|
"""Add a segment to the dash modifier
|
|
1621
1350
|
|
|
1622
|
-
:type execution_context: int | str | None
|
|
1623
|
-
:type undo: bool | None
|
|
1624
1351
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1625
|
-
:type modifier: str
|
|
1626
1352
|
"""
|
|
1627
1353
|
|
|
1628
1354
|
def grease_pencil_dash_modifier_segment_move(
|
|
@@ -1635,12 +1361,8 @@ def grease_pencil_dash_modifier_segment_move(
|
|
|
1635
1361
|
) -> None:
|
|
1636
1362
|
"""Move the active dash segment up or down
|
|
1637
1363
|
|
|
1638
|
-
:type execution_context: int | str | None
|
|
1639
|
-
:type undo: bool | None
|
|
1640
1364
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1641
|
-
:type modifier: str
|
|
1642
1365
|
:param type: Type
|
|
1643
|
-
:type type: typing.Literal['UP','DOWN'] | None
|
|
1644
1366
|
"""
|
|
1645
1367
|
|
|
1646
1368
|
def grease_pencil_dash_modifier_segment_remove(
|
|
@@ -1653,12 +1375,8 @@ def grease_pencil_dash_modifier_segment_remove(
|
|
|
1653
1375
|
) -> None:
|
|
1654
1376
|
"""Remove the active segment from the dash modifier
|
|
1655
1377
|
|
|
1656
|
-
:type execution_context: int | str | None
|
|
1657
|
-
:type undo: bool | None
|
|
1658
1378
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1659
|
-
:type modifier: str
|
|
1660
1379
|
:param index: Index, Index of the segment to remove
|
|
1661
|
-
:type index: int | None
|
|
1662
1380
|
"""
|
|
1663
1381
|
|
|
1664
1382
|
def grease_pencil_time_modifier_segment_add(
|
|
@@ -1670,10 +1388,7 @@ def grease_pencil_time_modifier_segment_add(
|
|
|
1670
1388
|
) -> None:
|
|
1671
1389
|
"""Add a segment to the time modifier
|
|
1672
1390
|
|
|
1673
|
-
:type execution_context: int | str | None
|
|
1674
|
-
:type undo: bool | None
|
|
1675
1391
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1676
|
-
:type modifier: str
|
|
1677
1392
|
"""
|
|
1678
1393
|
|
|
1679
1394
|
def grease_pencil_time_modifier_segment_move(
|
|
@@ -1686,12 +1401,8 @@ def grease_pencil_time_modifier_segment_move(
|
|
|
1686
1401
|
) -> None:
|
|
1687
1402
|
"""Move the active time segment up or down
|
|
1688
1403
|
|
|
1689
|
-
:type execution_context: int | str | None
|
|
1690
|
-
:type undo: bool | None
|
|
1691
1404
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1692
|
-
:type modifier: str
|
|
1693
1405
|
:param type: Type
|
|
1694
|
-
:type type: typing.Literal['UP','DOWN'] | None
|
|
1695
1406
|
"""
|
|
1696
1407
|
|
|
1697
1408
|
def grease_pencil_time_modifier_segment_remove(
|
|
@@ -1704,12 +1415,8 @@ def grease_pencil_time_modifier_segment_remove(
|
|
|
1704
1415
|
) -> None:
|
|
1705
1416
|
"""Remove the active segment from the time modifier
|
|
1706
1417
|
|
|
1707
|
-
:type execution_context: int | str | None
|
|
1708
|
-
:type undo: bool | None
|
|
1709
1418
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1710
|
-
:type modifier: str
|
|
1711
1419
|
:param index: Index, Index of the segment to remove
|
|
1712
|
-
:type index: int | None
|
|
1713
1420
|
"""
|
|
1714
1421
|
|
|
1715
1422
|
def hide_collection(
|
|
@@ -1723,24 +1430,17 @@ def hide_collection(
|
|
|
1723
1430
|
) -> None:
|
|
1724
1431
|
"""Show only objects in collection (Shift to extend)
|
|
1725
1432
|
|
|
1726
|
-
:type execution_context: int | str | None
|
|
1727
|
-
:type undo: bool | None
|
|
1728
1433
|
:param collection_index: Collection Index, Index of the collection to change visibility
|
|
1729
|
-
:type collection_index: int | None
|
|
1730
1434
|
:param toggle: Toggle, Toggle visibility
|
|
1731
|
-
:type toggle: bool | None
|
|
1732
1435
|
:param extend: Extend, Extend visibility
|
|
1733
|
-
:type extend: bool | None
|
|
1734
1436
|
"""
|
|
1735
1437
|
|
|
1736
1438
|
def hide_render_clear_all(
|
|
1737
|
-
execution_context: int | str | None = None,
|
|
1439
|
+
execution_context: int | str | None = None,
|
|
1440
|
+
undo: bool | None = None,
|
|
1441
|
+
/,
|
|
1738
1442
|
) -> None:
|
|
1739
|
-
"""Reveal all render objects by setting the hide render flag
|
|
1740
|
-
|
|
1741
|
-
:type execution_context: int | str | None
|
|
1742
|
-
:type undo: bool | None
|
|
1743
|
-
"""
|
|
1443
|
+
"""Reveal all render objects by setting the hide render flag"""
|
|
1744
1444
|
|
|
1745
1445
|
def hide_view_clear(
|
|
1746
1446
|
execution_context: int | str | None = None,
|
|
@@ -1751,10 +1451,7 @@ def hide_view_clear(
|
|
|
1751
1451
|
) -> None:
|
|
1752
1452
|
"""Reveal temporarily hidden objects
|
|
1753
1453
|
|
|
1754
|
-
:type execution_context: int | str | None
|
|
1755
|
-
:type undo: bool | None
|
|
1756
1454
|
:param select: Select, Select revealed objects
|
|
1757
|
-
:type select: bool | None
|
|
1758
1455
|
"""
|
|
1759
1456
|
|
|
1760
1457
|
def hide_view_set(
|
|
@@ -1766,20 +1463,15 @@ def hide_view_set(
|
|
|
1766
1463
|
) -> None:
|
|
1767
1464
|
"""Temporarily hide objects from the viewport
|
|
1768
1465
|
|
|
1769
|
-
:type execution_context: int | str | None
|
|
1770
|
-
:type undo: bool | None
|
|
1771
1466
|
:param unselected: Unselected, Hide unselected rather than selected objects
|
|
1772
|
-
:type unselected: bool | None
|
|
1773
1467
|
"""
|
|
1774
1468
|
|
|
1775
1469
|
def hook_add_newob(
|
|
1776
|
-
execution_context: int | str | None = None,
|
|
1470
|
+
execution_context: int | str | None = None,
|
|
1471
|
+
undo: bool | None = None,
|
|
1472
|
+
/,
|
|
1777
1473
|
) -> None:
|
|
1778
|
-
"""Hook selected vertices to a newly created object
|
|
1779
|
-
|
|
1780
|
-
:type execution_context: int | str | None
|
|
1781
|
-
:type undo: bool | None
|
|
1782
|
-
"""
|
|
1474
|
+
"""Hook selected vertices to a newly created object"""
|
|
1783
1475
|
|
|
1784
1476
|
def hook_add_selob(
|
|
1785
1477
|
execution_context: int | str | None = None,
|
|
@@ -1790,10 +1482,7 @@ def hook_add_selob(
|
|
|
1790
1482
|
) -> None:
|
|
1791
1483
|
"""Hook selected vertices to the first selected object
|
|
1792
1484
|
|
|
1793
|
-
:
|
|
1794
|
-
:type undo: bool | None
|
|
1795
|
-
:param use_bone: Active Bone, Assign the hook to the hook object's active bone
|
|
1796
|
-
:type use_bone: bool | None
|
|
1485
|
+
:param use_bone: Active Bone, Assign the hook to the hook objects active bone
|
|
1797
1486
|
"""
|
|
1798
1487
|
|
|
1799
1488
|
def hook_assign(
|
|
@@ -1805,10 +1494,7 @@ def hook_assign(
|
|
|
1805
1494
|
) -> None:
|
|
1806
1495
|
"""Assign the selected vertices to a hook
|
|
1807
1496
|
|
|
1808
|
-
:type execution_context: int | str | None
|
|
1809
|
-
:type undo: bool | None
|
|
1810
1497
|
:param modifier: Modifier, Modifier number to assign to
|
|
1811
|
-
:type modifier: str | None
|
|
1812
1498
|
"""
|
|
1813
1499
|
|
|
1814
1500
|
def hook_recenter(
|
|
@@ -1820,10 +1506,7 @@ def hook_recenter(
|
|
|
1820
1506
|
) -> None:
|
|
1821
1507
|
"""Set hook center to cursor position
|
|
1822
1508
|
|
|
1823
|
-
:type execution_context: int | str | None
|
|
1824
|
-
:type undo: bool | None
|
|
1825
1509
|
:param modifier: Modifier, Modifier number to assign to
|
|
1826
|
-
:type modifier: str | None
|
|
1827
1510
|
"""
|
|
1828
1511
|
|
|
1829
1512
|
def hook_remove(
|
|
@@ -1835,10 +1518,7 @@ def hook_remove(
|
|
|
1835
1518
|
) -> None:
|
|
1836
1519
|
"""Remove a hook from the active object
|
|
1837
1520
|
|
|
1838
|
-
:type execution_context: int | str | None
|
|
1839
|
-
:type undo: bool | None
|
|
1840
1521
|
:param modifier: Modifier, Modifier number to remove
|
|
1841
|
-
:type modifier: str | None
|
|
1842
1522
|
"""
|
|
1843
1523
|
|
|
1844
1524
|
def hook_reset(
|
|
@@ -1850,10 +1530,7 @@ def hook_reset(
|
|
|
1850
1530
|
) -> None:
|
|
1851
1531
|
"""Recalculate and clear offset transformation
|
|
1852
1532
|
|
|
1853
|
-
:type execution_context: int | str | None
|
|
1854
|
-
:type undo: bool | None
|
|
1855
1533
|
:param modifier: Modifier, Modifier number to assign to
|
|
1856
|
-
:type modifier: str | None
|
|
1857
1534
|
"""
|
|
1858
1535
|
|
|
1859
1536
|
def hook_select(
|
|
@@ -1865,72 +1542,62 @@ def hook_select(
|
|
|
1865
1542
|
) -> None:
|
|
1866
1543
|
"""Select affected vertices on mesh
|
|
1867
1544
|
|
|
1868
|
-
:type execution_context: int | str | None
|
|
1869
|
-
:type undo: bool | None
|
|
1870
1545
|
:param modifier: Modifier, Modifier number to remove
|
|
1871
|
-
:type modifier: str | None
|
|
1872
1546
|
"""
|
|
1873
1547
|
|
|
1874
1548
|
def instance_offset_from_cursor(
|
|
1875
|
-
execution_context: int | str | None = None,
|
|
1549
|
+
execution_context: int | str | None = None,
|
|
1550
|
+
undo: bool | None = None,
|
|
1551
|
+
/,
|
|
1876
1552
|
) -> None:
|
|
1877
|
-
"""Set offset used for collection instances based on cursor position
|
|
1878
|
-
|
|
1879
|
-
:type execution_context: int | str | None
|
|
1880
|
-
:type undo: bool | None
|
|
1881
|
-
"""
|
|
1553
|
+
"""Set offset used for collection instances based on cursor position"""
|
|
1882
1554
|
|
|
1883
1555
|
def instance_offset_from_object(
|
|
1884
|
-
execution_context: int | str | None = None,
|
|
1556
|
+
execution_context: int | str | None = None,
|
|
1557
|
+
undo: bool | None = None,
|
|
1558
|
+
/,
|
|
1885
1559
|
) -> None:
|
|
1886
|
-
"""Set offset used for collection instances based on the active object position
|
|
1887
|
-
|
|
1888
|
-
:type execution_context: int | str | None
|
|
1889
|
-
:type undo: bool | None
|
|
1890
|
-
"""
|
|
1560
|
+
"""Set offset used for collection instances based on the active object position"""
|
|
1891
1561
|
|
|
1892
1562
|
def instance_offset_to_cursor(
|
|
1893
|
-
execution_context: int | str | None = None,
|
|
1563
|
+
execution_context: int | str | None = None,
|
|
1564
|
+
undo: bool | None = None,
|
|
1565
|
+
/,
|
|
1894
1566
|
) -> None:
|
|
1895
|
-
"""Set cursor position to the offset used for collection instances
|
|
1896
|
-
|
|
1897
|
-
:type execution_context: int | str | None
|
|
1898
|
-
:type undo: bool | None
|
|
1899
|
-
"""
|
|
1567
|
+
"""Set cursor position to the offset used for collection instances"""
|
|
1900
1568
|
|
|
1901
1569
|
def isolate_type_render(
|
|
1902
|
-
execution_context: int | str | None = None,
|
|
1570
|
+
execution_context: int | str | None = None,
|
|
1571
|
+
undo: bool | None = None,
|
|
1572
|
+
/,
|
|
1903
1573
|
) -> None:
|
|
1904
|
-
"""Hide unselected render objects of same type as active by setting the hide render flag
|
|
1905
|
-
|
|
1906
|
-
:type execution_context: int | str | None
|
|
1907
|
-
:type undo: bool | None
|
|
1908
|
-
"""
|
|
1909
|
-
|
|
1910
|
-
def join(execution_context: int | str | None = None, undo: bool | None = None) -> None:
|
|
1911
|
-
"""Join selected objects into active object
|
|
1574
|
+
"""Hide unselected render objects of same type as active by setting the hide render flag"""
|
|
1912
1575
|
|
|
1913
|
-
|
|
1914
|
-
:
|
|
1915
|
-
|
|
1576
|
+
def join(
|
|
1577
|
+
execution_context: int | str | None = None,
|
|
1578
|
+
undo: bool | None = None,
|
|
1579
|
+
/,
|
|
1580
|
+
) -> None:
|
|
1581
|
+
"""Join selected objects into active object"""
|
|
1916
1582
|
|
|
1917
1583
|
def join_shapes(
|
|
1918
|
-
execution_context: int | str | None = None,
|
|
1584
|
+
execution_context: int | str | None = None,
|
|
1585
|
+
undo: bool | None = None,
|
|
1586
|
+
/,
|
|
1587
|
+
*,
|
|
1588
|
+
use_mirror: bool | None = False,
|
|
1919
1589
|
) -> None:
|
|
1920
1590
|
"""Add the vertex positions of selected objects as shape keys or update existing shape keys with matching names
|
|
1921
1591
|
|
|
1922
|
-
:
|
|
1923
|
-
:type undo: bool | None
|
|
1592
|
+
:param use_mirror: Mirror, Mirror the new shape key values
|
|
1924
1593
|
"""
|
|
1925
1594
|
|
|
1926
1595
|
def join_uvs(
|
|
1927
|
-
execution_context: int | str | None = None,
|
|
1596
|
+
execution_context: int | str | None = None,
|
|
1597
|
+
undo: bool | None = None,
|
|
1598
|
+
/,
|
|
1928
1599
|
) -> None:
|
|
1929
|
-
"""Transfer UV Maps from active to selected objects (needs matching geometry)
|
|
1930
|
-
|
|
1931
|
-
:type execution_context: int | str | None
|
|
1932
|
-
:type undo: bool | None
|
|
1933
|
-
"""
|
|
1600
|
+
"""Transfer UV Maps from active to selected objects (needs matching geometry)"""
|
|
1934
1601
|
|
|
1935
1602
|
def laplaciandeform_bind(
|
|
1936
1603
|
execution_context: int | str | None = None,
|
|
@@ -1941,10 +1608,58 @@ def laplaciandeform_bind(
|
|
|
1941
1608
|
) -> None:
|
|
1942
1609
|
"""Bind mesh to system in laplacian deform modifier
|
|
1943
1610
|
|
|
1944
|
-
:type execution_context: int | str | None
|
|
1945
|
-
:type undo: bool | None
|
|
1946
1611
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1947
|
-
|
|
1612
|
+
"""
|
|
1613
|
+
|
|
1614
|
+
def lattice_add_to_selected(
|
|
1615
|
+
execution_context: int | str | None = None,
|
|
1616
|
+
undo: bool | None = None,
|
|
1617
|
+
/,
|
|
1618
|
+
*,
|
|
1619
|
+
fit_to_selected: bool | None = True,
|
|
1620
|
+
radius: float | None = 1.0,
|
|
1621
|
+
margin: float | None = 0.0,
|
|
1622
|
+
add_modifiers: bool | None = True,
|
|
1623
|
+
resolution_u: int | None = 2,
|
|
1624
|
+
resolution_v: int | None = 2,
|
|
1625
|
+
resolution_w: int | None = 2,
|
|
1626
|
+
enter_editmode: bool | None = False,
|
|
1627
|
+
align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
|
|
1628
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
1629
|
+
0.0,
|
|
1630
|
+
0.0,
|
|
1631
|
+
0.0,
|
|
1632
|
+
),
|
|
1633
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
1634
|
+
0.0,
|
|
1635
|
+
0.0,
|
|
1636
|
+
0.0,
|
|
1637
|
+
),
|
|
1638
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1639
|
+
) -> None:
|
|
1640
|
+
"""Add a lattice and use it to deform selected objects
|
|
1641
|
+
|
|
1642
|
+
:param fit_to_selected: Fit to Selected, Resize lattice to fit selected deformable objects
|
|
1643
|
+
:param radius: Radius
|
|
1644
|
+
:param margin: Margin, Add margin to lattice dimensions
|
|
1645
|
+
:param add_modifiers: Add Modifiers, Automatically add lattice modifiers to selected objects
|
|
1646
|
+
:param resolution_u: Resolution U, Lattice resolution in U direction
|
|
1647
|
+
:param resolution_v: V, Lattice resolution in V direction
|
|
1648
|
+
:param resolution_w: W, Lattice resolution in W direction
|
|
1649
|
+
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
1650
|
+
:param align: Align, The alignment of the new object
|
|
1651
|
+
|
|
1652
|
+
WORLD
|
|
1653
|
+
World -- Align the new object to the world.
|
|
1654
|
+
|
|
1655
|
+
VIEW
|
|
1656
|
+
View -- Align the new object to the view.
|
|
1657
|
+
|
|
1658
|
+
CURSOR
|
|
1659
|
+
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1660
|
+
:param location: Location, Location for the newly added object
|
|
1661
|
+
:param rotation: Rotation, Rotation for the newly added object
|
|
1662
|
+
:param scale: Scale, Scale for the newly added object
|
|
1948
1663
|
"""
|
|
1949
1664
|
|
|
1950
1665
|
def light_add(
|
|
@@ -1969,12 +1684,8 @@ def light_add(
|
|
|
1969
1684
|
) -> None:
|
|
1970
1685
|
"""Add a light object to the scene
|
|
1971
1686
|
|
|
1972
|
-
:type execution_context: int | str | None
|
|
1973
|
-
:type undo: bool | None
|
|
1974
1687
|
:param type: Type
|
|
1975
|
-
:type type: bpy.stub_internal.rna_enums.LightTypeItems | None
|
|
1976
1688
|
:param radius: Radius
|
|
1977
|
-
:type radius: float | None
|
|
1978
1689
|
:param align: Align, The alignment of the new object
|
|
1979
1690
|
|
|
1980
1691
|
WORLD
|
|
@@ -1985,23 +1696,17 @@ def light_add(
|
|
|
1985
1696
|
|
|
1986
1697
|
CURSOR
|
|
1987
1698
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1988
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
1989
1699
|
:param location: Location, Location for the newly added object
|
|
1990
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1991
1700
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1992
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1993
1701
|
:param scale: Scale, Scale for the newly added object
|
|
1994
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1995
1702
|
"""
|
|
1996
1703
|
|
|
1997
1704
|
def light_linking_blocker_collection_new(
|
|
1998
|
-
execution_context: int | str | None = None,
|
|
1705
|
+
execution_context: int | str | None = None,
|
|
1706
|
+
undo: bool | None = None,
|
|
1707
|
+
/,
|
|
1999
1708
|
) -> None:
|
|
2000
|
-
"""Create new light linking collection used by the active emitter
|
|
2001
|
-
|
|
2002
|
-
:type execution_context: int | str | None
|
|
2003
|
-
:type undo: bool | None
|
|
2004
|
-
"""
|
|
1709
|
+
"""Create new light linking collection used by the active emitter"""
|
|
2005
1710
|
|
|
2006
1711
|
def light_linking_blockers_link(
|
|
2007
1712
|
execution_context: int | str | None = None,
|
|
@@ -2012,8 +1717,6 @@ def light_linking_blockers_link(
|
|
|
2012
1717
|
) -> None:
|
|
2013
1718
|
"""Light link selected blockers to the active emitter object
|
|
2014
1719
|
|
|
2015
|
-
:type execution_context: int | str | None
|
|
2016
|
-
:type undo: bool | None
|
|
2017
1720
|
:param link_state: Link State, State of the shadow linking
|
|
2018
1721
|
|
|
2019
1722
|
INCLUDE
|
|
@@ -2021,26 +1724,21 @@ def light_linking_blockers_link(
|
|
|
2021
1724
|
|
|
2022
1725
|
EXCLUDE
|
|
2023
1726
|
Exclude -- Exclude selected blockers from casting shadows from the active emitter.
|
|
2024
|
-
:type link_state: typing.Literal['INCLUDE','EXCLUDE'] | None
|
|
2025
1727
|
"""
|
|
2026
1728
|
|
|
2027
1729
|
def light_linking_blockers_select(
|
|
2028
|
-
execution_context: int | str | None = None,
|
|
1730
|
+
execution_context: int | str | None = None,
|
|
1731
|
+
undo: bool | None = None,
|
|
1732
|
+
/,
|
|
2029
1733
|
) -> None:
|
|
2030
|
-
"""Select all objects which block light from this emitter
|
|
2031
|
-
|
|
2032
|
-
:type execution_context: int | str | None
|
|
2033
|
-
:type undo: bool | None
|
|
2034
|
-
"""
|
|
1734
|
+
"""Select all objects which block light from this emitter"""
|
|
2035
1735
|
|
|
2036
1736
|
def light_linking_receiver_collection_new(
|
|
2037
|
-
execution_context: int | str | None = None,
|
|
1737
|
+
execution_context: int | str | None = None,
|
|
1738
|
+
undo: bool | None = None,
|
|
1739
|
+
/,
|
|
2038
1740
|
) -> None:
|
|
2039
|
-
"""Create new light linking collection used by the active emitter
|
|
2040
|
-
|
|
2041
|
-
:type execution_context: int | str | None
|
|
2042
|
-
:type undo: bool | None
|
|
2043
|
-
"""
|
|
1741
|
+
"""Create new light linking collection used by the active emitter"""
|
|
2044
1742
|
|
|
2045
1743
|
def light_linking_receivers_link(
|
|
2046
1744
|
execution_context: int | str | None = None,
|
|
@@ -2051,8 +1749,6 @@ def light_linking_receivers_link(
|
|
|
2051
1749
|
) -> None:
|
|
2052
1750
|
"""Light link selected receivers to the active emitter object
|
|
2053
1751
|
|
|
2054
|
-
:type execution_context: int | str | None
|
|
2055
|
-
:type undo: bool | None
|
|
2056
1752
|
:param link_state: Link State, State of the light linking
|
|
2057
1753
|
|
|
2058
1754
|
INCLUDE
|
|
@@ -2060,26 +1756,21 @@ def light_linking_receivers_link(
|
|
|
2060
1756
|
|
|
2061
1757
|
EXCLUDE
|
|
2062
1758
|
Exclude -- Exclude selected receivers from receiving light from the active emitter.
|
|
2063
|
-
:type link_state: typing.Literal['INCLUDE','EXCLUDE'] | None
|
|
2064
1759
|
"""
|
|
2065
1760
|
|
|
2066
1761
|
def light_linking_receivers_select(
|
|
2067
|
-
execution_context: int | str | None = None,
|
|
1762
|
+
execution_context: int | str | None = None,
|
|
1763
|
+
undo: bool | None = None,
|
|
1764
|
+
/,
|
|
2068
1765
|
) -> None:
|
|
2069
|
-
"""Select all objects which receive light from this emitter
|
|
2070
|
-
|
|
2071
|
-
:type execution_context: int | str | None
|
|
2072
|
-
:type undo: bool | None
|
|
2073
|
-
"""
|
|
1766
|
+
"""Select all objects which receive light from this emitter"""
|
|
2074
1767
|
|
|
2075
1768
|
def light_linking_unlink_from_collection(
|
|
2076
|
-
execution_context: int | str | None = None,
|
|
1769
|
+
execution_context: int | str | None = None,
|
|
1770
|
+
undo: bool | None = None,
|
|
1771
|
+
/,
|
|
2077
1772
|
) -> None:
|
|
2078
|
-
"""Remove this object or collection from the light linking collection
|
|
2079
|
-
|
|
2080
|
-
:type execution_context: int | str | None
|
|
2081
|
-
:type undo: bool | None
|
|
2082
|
-
"""
|
|
1773
|
+
"""Remove this object or collection from the light linking collection"""
|
|
2083
1774
|
|
|
2084
1775
|
def lightprobe_add(
|
|
2085
1776
|
execution_context: int | str | None = None,
|
|
@@ -2104,8 +1795,6 @@ def lightprobe_add(
|
|
|
2104
1795
|
) -> None:
|
|
2105
1796
|
"""Add a light probe object
|
|
2106
1797
|
|
|
2107
|
-
:type execution_context: int | str | None
|
|
2108
|
-
:type undo: bool | None
|
|
2109
1798
|
:param type: Type
|
|
2110
1799
|
|
|
2111
1800
|
SPHERE
|
|
@@ -2116,11 +1805,8 @@ def lightprobe_add(
|
|
|
2116
1805
|
|
|
2117
1806
|
VOLUME
|
|
2118
1807
|
Volume -- Light probe that captures low frequency lighting inside a volume.
|
|
2119
|
-
:type type: typing.Literal['SPHERE','PLANE','VOLUME'] | None
|
|
2120
1808
|
:param radius: Radius
|
|
2121
|
-
:type radius: float | None
|
|
2122
1809
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2123
|
-
:type enter_editmode: bool | None
|
|
2124
1810
|
:param align: Align, The alignment of the new object
|
|
2125
1811
|
|
|
2126
1812
|
WORLD
|
|
@@ -2131,13 +1817,9 @@ def lightprobe_add(
|
|
|
2131
1817
|
|
|
2132
1818
|
CURSOR
|
|
2133
1819
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2134
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
2135
1820
|
:param location: Location, Location for the newly added object
|
|
2136
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2137
1821
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2138
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2139
1822
|
:param scale: Scale, Scale for the newly added object
|
|
2140
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2141
1823
|
"""
|
|
2142
1824
|
|
|
2143
1825
|
def lightprobe_cache_bake(
|
|
@@ -2149,8 +1831,6 @@ def lightprobe_cache_bake(
|
|
|
2149
1831
|
) -> None:
|
|
2150
1832
|
"""Bake irradiance volume light cache
|
|
2151
1833
|
|
|
2152
|
-
:type execution_context: int | str | None
|
|
2153
|
-
:type undo: bool | None
|
|
2154
1834
|
:param subset: Subset, Subset of probes to update
|
|
2155
1835
|
|
|
2156
1836
|
ALL
|
|
@@ -2161,7 +1841,6 @@ def lightprobe_cache_bake(
|
|
|
2161
1841
|
|
|
2162
1842
|
ACTIVE
|
|
2163
1843
|
Active Only -- Only bake the active light probe volume.
|
|
2164
|
-
:type subset: typing.Literal['ALL','SELECTED','ACTIVE'] | None
|
|
2165
1844
|
"""
|
|
2166
1845
|
|
|
2167
1846
|
def lightprobe_cache_free(
|
|
@@ -2173,19 +1852,16 @@ def lightprobe_cache_free(
|
|
|
2173
1852
|
) -> None:
|
|
2174
1853
|
"""Delete cached indirect lighting
|
|
2175
1854
|
|
|
2176
|
-
:type execution_context: int | str | None
|
|
2177
|
-
:type undo: bool | None
|
|
2178
1855
|
:param subset: Subset, Subset of probes to update
|
|
2179
1856
|
|
|
2180
1857
|
ALL
|
|
2181
|
-
All Light Probes -- Delete all light probes
|
|
1858
|
+
All Light Probes -- Delete all light probes baked lighting data.
|
|
2182
1859
|
|
|
2183
1860
|
SELECTED
|
|
2184
|
-
Selected Only -- Only delete selected light probes
|
|
1861
|
+
Selected Only -- Only delete selected light probes baked lighting data.
|
|
2185
1862
|
|
|
2186
1863
|
ACTIVE
|
|
2187
|
-
Active Only -- Only delete the active light
|
|
2188
|
-
:type subset: typing.Literal['ALL','SELECTED','ACTIVE'] | None
|
|
1864
|
+
Active Only -- Only delete the active light probes baked lighting data.
|
|
2189
1865
|
"""
|
|
2190
1866
|
|
|
2191
1867
|
def lineart_bake_strokes(
|
|
@@ -2197,10 +1873,7 @@ def lineart_bake_strokes(
|
|
|
2197
1873
|
) -> None:
|
|
2198
1874
|
"""Bake Line Art for current Grease Pencil object
|
|
2199
1875
|
|
|
2200
|
-
:type execution_context: int | str | None
|
|
2201
|
-
:type undo: bool | None
|
|
2202
1876
|
:param bake_all: Bake All, Bake all Line Art modifiers
|
|
2203
|
-
:type bake_all: bool | None
|
|
2204
1877
|
"""
|
|
2205
1878
|
|
|
2206
1879
|
def lineart_clear(
|
|
@@ -2212,10 +1885,7 @@ def lineart_clear(
|
|
|
2212
1885
|
) -> None:
|
|
2213
1886
|
"""Clear all strokes in current Grease Pencil object
|
|
2214
1887
|
|
|
2215
|
-
:type execution_context: int | str | None
|
|
2216
|
-
:type undo: bool | None
|
|
2217
1888
|
:param clear_all: Clear All, Clear all Line Art modifier bakes
|
|
2218
|
-
:type clear_all: bool | None
|
|
2219
1889
|
"""
|
|
2220
1890
|
|
|
2221
1891
|
def link_to_collection(
|
|
@@ -2223,20 +1893,15 @@ def link_to_collection(
|
|
|
2223
1893
|
undo: bool | None = None,
|
|
2224
1894
|
/,
|
|
2225
1895
|
*,
|
|
2226
|
-
|
|
1896
|
+
collection_uid: int | None = -1,
|
|
2227
1897
|
is_new: bool | None = False,
|
|
2228
1898
|
new_collection_name: str = "",
|
|
2229
1899
|
) -> None:
|
|
2230
1900
|
"""Link objects to a collection
|
|
2231
1901
|
|
|
2232
|
-
:
|
|
2233
|
-
:
|
|
2234
|
-
:param collection_index: Collection Index, Index of the collection to move to
|
|
2235
|
-
:type collection_index: int | None
|
|
2236
|
-
:param is_new: New, Move objects to a new collection
|
|
2237
|
-
:type is_new: bool | None
|
|
1902
|
+
:param collection_uid: Collection UID, Session UID of the collection to link to
|
|
1903
|
+
:param is_new: New, Link objects to a new collection
|
|
2238
1904
|
:param new_collection_name: Name, Name of the newly added collection
|
|
2239
|
-
:type new_collection_name: str
|
|
2240
1905
|
"""
|
|
2241
1906
|
|
|
2242
1907
|
def location_clear(
|
|
@@ -2246,22 +1911,17 @@ def location_clear(
|
|
|
2246
1911
|
*,
|
|
2247
1912
|
clear_delta: bool | None = False,
|
|
2248
1913
|
) -> None:
|
|
2249
|
-
"""Clear the
|
|
1914
|
+
"""Clear the objects location
|
|
2250
1915
|
|
|
2251
|
-
:type execution_context: int | str | None
|
|
2252
|
-
:type undo: bool | None
|
|
2253
1916
|
:param clear_delta: Clear Delta, Clear delta location in addition to clearing the normal location transform
|
|
2254
|
-
:type clear_delta: bool | None
|
|
2255
1917
|
"""
|
|
2256
1918
|
|
|
2257
1919
|
def make_dupli_face(
|
|
2258
|
-
execution_context: int | str | None = None,
|
|
1920
|
+
execution_context: int | str | None = None,
|
|
1921
|
+
undo: bool | None = None,
|
|
1922
|
+
/,
|
|
2259
1923
|
) -> None:
|
|
2260
|
-
"""Convert objects into instanced faces
|
|
2261
|
-
|
|
2262
|
-
:type execution_context: int | str | None
|
|
2263
|
-
:type undo: bool | None
|
|
2264
|
-
"""
|
|
1924
|
+
"""Convert objects into instanced faces"""
|
|
2265
1925
|
|
|
2266
1926
|
def make_links_data(
|
|
2267
1927
|
execution_context: int | str | None = None,
|
|
@@ -2282,8 +1942,6 @@ def make_links_data(
|
|
|
2282
1942
|
) -> None:
|
|
2283
1943
|
"""Transfer data from active object to selected objects
|
|
2284
1944
|
|
|
2285
|
-
:type execution_context: int | str | None
|
|
2286
|
-
:type undo: bool | None
|
|
2287
1945
|
:param type: Type
|
|
2288
1946
|
|
|
2289
1947
|
OBDATA
|
|
@@ -2309,7 +1967,6 @@ def make_links_data(
|
|
|
2309
1967
|
|
|
2310
1968
|
EFFECTS
|
|
2311
1969
|
Copy Grease Pencil Effects -- Replace Grease Pencil Effects.
|
|
2312
|
-
:type type: typing.Literal['OBDATA','MATERIAL','ANIMATION','GROUPS','DUPLICOLLECTION','FONTS','MODIFIERS','EFFECTS'] | None
|
|
2313
1970
|
"""
|
|
2314
1971
|
|
|
2315
1972
|
def make_links_scene(
|
|
@@ -2321,10 +1978,7 @@ def make_links_scene(
|
|
|
2321
1978
|
) -> None:
|
|
2322
1979
|
"""Link selection to another scene
|
|
2323
1980
|
|
|
2324
|
-
:type execution_context: int | str | None
|
|
2325
|
-
:type undo: bool | None
|
|
2326
1981
|
:param scene: Scene
|
|
2327
|
-
:type scene: str | None
|
|
2328
1982
|
"""
|
|
2329
1983
|
|
|
2330
1984
|
def make_local(
|
|
@@ -2339,10 +1993,7 @@ def make_local(
|
|
|
2339
1993
|
) -> None:
|
|
2340
1994
|
"""Make library linked data-blocks local to this file
|
|
2341
1995
|
|
|
2342
|
-
:type execution_context: int | str | None
|
|
2343
|
-
:type undo: bool | None
|
|
2344
1996
|
:param type: Type
|
|
2345
|
-
:type type: typing.Literal['SELECT_OBJECT','SELECT_OBDATA','SELECT_OBDATA_MATERIAL','ALL'] | None
|
|
2346
1997
|
"""
|
|
2347
1998
|
|
|
2348
1999
|
def make_override_library(
|
|
@@ -2354,10 +2005,7 @@ def make_override_library(
|
|
|
2354
2005
|
) -> None:
|
|
2355
2006
|
"""Create a local override of the selected linked objects, and their hierarchy of dependencies
|
|
2356
2007
|
|
|
2357
|
-
:type execution_context: int | str | None
|
|
2358
|
-
:type undo: bool | None
|
|
2359
2008
|
:param collection: Override Collection, Session UID of the directly linked collection containing the selected object, to make an override from
|
|
2360
|
-
:type collection: int | None
|
|
2361
2009
|
"""
|
|
2362
2010
|
|
|
2363
2011
|
def make_single_user(
|
|
@@ -2374,57 +2022,41 @@ def make_single_user(
|
|
|
2374
2022
|
) -> None:
|
|
2375
2023
|
"""Make linked data local to each object
|
|
2376
2024
|
|
|
2377
|
-
:type execution_context: int | str | None
|
|
2378
|
-
:type undo: bool | None
|
|
2379
2025
|
:param type: Type
|
|
2380
|
-
:type type: typing.Literal['SELECTED_OBJECTS','ALL'] | None
|
|
2381
2026
|
:param object: Object, Make single user objects
|
|
2382
|
-
:type object: bool | None
|
|
2383
2027
|
:param obdata: Object Data, Make single user object data
|
|
2384
|
-
:type obdata: bool | None
|
|
2385
2028
|
:param material: Materials, Make materials local to each data-block
|
|
2386
|
-
:type material: bool | None
|
|
2387
2029
|
:param animation: Object Animation, Make object animation data local to each object
|
|
2388
|
-
:type animation: bool | None
|
|
2389
2030
|
:param obdata_animation: Object Data Animation, Make object data (mesh, curve etc.) animation data local to each object
|
|
2390
|
-
:type obdata_animation: bool | None
|
|
2391
2031
|
"""
|
|
2392
2032
|
|
|
2393
2033
|
def material_slot_add(
|
|
2394
|
-
execution_context: int | str | None = None,
|
|
2034
|
+
execution_context: int | str | None = None,
|
|
2035
|
+
undo: bool | None = None,
|
|
2036
|
+
/,
|
|
2395
2037
|
) -> None:
|
|
2396
|
-
"""Add a new material slot
|
|
2397
|
-
|
|
2398
|
-
:type execution_context: int | str | None
|
|
2399
|
-
:type undo: bool | None
|
|
2400
|
-
"""
|
|
2038
|
+
"""Add a new material slot"""
|
|
2401
2039
|
|
|
2402
2040
|
def material_slot_assign(
|
|
2403
|
-
execution_context: int | str | None = None,
|
|
2041
|
+
execution_context: int | str | None = None,
|
|
2042
|
+
undo: bool | None = None,
|
|
2043
|
+
/,
|
|
2404
2044
|
) -> None:
|
|
2405
|
-
"""Assign active material slot to selection
|
|
2406
|
-
|
|
2407
|
-
:type execution_context: int | str | None
|
|
2408
|
-
:type undo: bool | None
|
|
2409
|
-
"""
|
|
2045
|
+
"""Assign active material slot to selection"""
|
|
2410
2046
|
|
|
2411
2047
|
def material_slot_copy(
|
|
2412
|
-
execution_context: int | str | None = None,
|
|
2048
|
+
execution_context: int | str | None = None,
|
|
2049
|
+
undo: bool | None = None,
|
|
2050
|
+
/,
|
|
2413
2051
|
) -> None:
|
|
2414
|
-
"""Copy material to selected objects
|
|
2415
|
-
|
|
2416
|
-
:type execution_context: int | str | None
|
|
2417
|
-
:type undo: bool | None
|
|
2418
|
-
"""
|
|
2052
|
+
"""Copy material to selected objects"""
|
|
2419
2053
|
|
|
2420
2054
|
def material_slot_deselect(
|
|
2421
|
-
execution_context: int | str | None = None,
|
|
2055
|
+
execution_context: int | str | None = None,
|
|
2056
|
+
undo: bool | None = None,
|
|
2057
|
+
/,
|
|
2422
2058
|
) -> None:
|
|
2423
|
-
"""Deselect by active material slot
|
|
2424
|
-
|
|
2425
|
-
:type execution_context: int | str | None
|
|
2426
|
-
:type undo: bool | None
|
|
2427
|
-
"""
|
|
2059
|
+
"""Deselect by active material slot"""
|
|
2428
2060
|
|
|
2429
2061
|
def material_slot_move(
|
|
2430
2062
|
execution_context: int | str | None = None,
|
|
@@ -2435,47 +2067,36 @@ def material_slot_move(
|
|
|
2435
2067
|
) -> None:
|
|
2436
2068
|
"""Move the active material up/down in the list
|
|
2437
2069
|
|
|
2438
|
-
:type execution_context: int | str | None
|
|
2439
|
-
:type undo: bool | None
|
|
2440
2070
|
:param direction: Direction, Direction to move the active material towards
|
|
2441
|
-
:type direction: typing.Literal['UP','DOWN'] | None
|
|
2442
2071
|
"""
|
|
2443
2072
|
|
|
2444
2073
|
def material_slot_remove(
|
|
2445
|
-
execution_context: int | str | None = None,
|
|
2074
|
+
execution_context: int | str | None = None,
|
|
2075
|
+
undo: bool | None = None,
|
|
2076
|
+
/,
|
|
2446
2077
|
) -> None:
|
|
2447
|
-
"""Remove the selected material slot
|
|
2448
|
-
|
|
2449
|
-
:type execution_context: int | str | None
|
|
2450
|
-
:type undo: bool | None
|
|
2451
|
-
"""
|
|
2078
|
+
"""Remove the selected material slot"""
|
|
2452
2079
|
|
|
2453
2080
|
def material_slot_remove_all(
|
|
2454
|
-
execution_context: int | str | None = None,
|
|
2081
|
+
execution_context: int | str | None = None,
|
|
2082
|
+
undo: bool | None = None,
|
|
2083
|
+
/,
|
|
2455
2084
|
) -> None:
|
|
2456
|
-
"""Remove all materials
|
|
2457
|
-
|
|
2458
|
-
:type execution_context: int | str | None
|
|
2459
|
-
:type undo: bool | None
|
|
2460
|
-
"""
|
|
2085
|
+
"""Remove all materials"""
|
|
2461
2086
|
|
|
2462
2087
|
def material_slot_remove_unused(
|
|
2463
|
-
execution_context: int | str | None = None,
|
|
2088
|
+
execution_context: int | str | None = None,
|
|
2089
|
+
undo: bool | None = None,
|
|
2090
|
+
/,
|
|
2464
2091
|
) -> None:
|
|
2465
|
-
"""Remove unused material slots
|
|
2466
|
-
|
|
2467
|
-
:type execution_context: int | str | None
|
|
2468
|
-
:type undo: bool | None
|
|
2469
|
-
"""
|
|
2092
|
+
"""Remove unused material slots"""
|
|
2470
2093
|
|
|
2471
2094
|
def material_slot_select(
|
|
2472
|
-
execution_context: int | str | None = None,
|
|
2095
|
+
execution_context: int | str | None = None,
|
|
2096
|
+
undo: bool | None = None,
|
|
2097
|
+
/,
|
|
2473
2098
|
) -> None:
|
|
2474
|
-
"""Select by active material slot
|
|
2475
|
-
|
|
2476
|
-
:type execution_context: int | str | None
|
|
2477
|
-
:type undo: bool | None
|
|
2478
|
-
"""
|
|
2099
|
+
"""Select by active material slot"""
|
|
2479
2100
|
|
|
2480
2101
|
def meshdeform_bind(
|
|
2481
2102
|
execution_context: int | str | None = None,
|
|
@@ -2486,10 +2107,7 @@ def meshdeform_bind(
|
|
|
2486
2107
|
) -> None:
|
|
2487
2108
|
"""Bind mesh to cage in mesh deform modifier
|
|
2488
2109
|
|
|
2489
|
-
:type execution_context: int | str | None
|
|
2490
|
-
:type undo: bool | None
|
|
2491
2110
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2492
|
-
:type modifier: str
|
|
2493
2111
|
"""
|
|
2494
2112
|
|
|
2495
2113
|
def metaball_add(
|
|
@@ -2515,14 +2133,9 @@ def metaball_add(
|
|
|
2515
2133
|
) -> None:
|
|
2516
2134
|
"""Add an metaball object to the scene
|
|
2517
2135
|
|
|
2518
|
-
:type execution_context: int | str | None
|
|
2519
|
-
:type undo: bool | None
|
|
2520
2136
|
:param type: Primitive
|
|
2521
|
-
:type type: bpy.stub_internal.rna_enums.MetaelemTypeItems | None
|
|
2522
2137
|
:param radius: Radius
|
|
2523
|
-
:type radius: float | None
|
|
2524
2138
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2525
|
-
:type enter_editmode: bool | None
|
|
2526
2139
|
:param align: Align, The alignment of the new object
|
|
2527
2140
|
|
|
2528
2141
|
WORLD
|
|
@@ -2533,13 +2146,9 @@ def metaball_add(
|
|
|
2533
2146
|
|
|
2534
2147
|
CURSOR
|
|
2535
2148
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2536
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
2537
2149
|
:param location: Location, Location for the newly added object
|
|
2538
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2539
2150
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2540
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2541
2151
|
:param scale: Scale, Scale for the newly added object
|
|
2542
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2543
2152
|
"""
|
|
2544
2153
|
|
|
2545
2154
|
def mode_set(
|
|
@@ -2552,12 +2161,8 @@ def mode_set(
|
|
|
2552
2161
|
) -> None:
|
|
2553
2162
|
"""Sets the object interaction mode
|
|
2554
2163
|
|
|
2555
|
-
:type execution_context: int | str | None
|
|
2556
|
-
:type undo: bool | None
|
|
2557
2164
|
:param mode: Mode
|
|
2558
|
-
:type mode: bpy.stub_internal.rna_enums.ObjectModeItems | None
|
|
2559
2165
|
:param toggle: Toggle
|
|
2560
|
-
:type toggle: bool | None
|
|
2561
2166
|
"""
|
|
2562
2167
|
|
|
2563
2168
|
def mode_set_with_submode(
|
|
@@ -2571,14 +2176,9 @@ def mode_set_with_submode(
|
|
|
2571
2176
|
) -> None:
|
|
2572
2177
|
"""Sets the object interaction mode
|
|
2573
2178
|
|
|
2574
|
-
:type execution_context: int | str | None
|
|
2575
|
-
:type undo: bool | None
|
|
2576
2179
|
:param mode: Mode
|
|
2577
|
-
:type mode: bpy.stub_internal.rna_enums.ObjectModeItems | None
|
|
2578
2180
|
:param toggle: Toggle
|
|
2579
|
-
:type toggle: bool | None
|
|
2580
2181
|
:param mesh_select_mode: Mesh Mode
|
|
2581
|
-
:type mesh_select_mode: set[bpy.stub_internal.rna_enums.MeshSelectModeItems] | None
|
|
2582
2182
|
"""
|
|
2583
2183
|
|
|
2584
2184
|
def modifier_add(
|
|
@@ -2591,12 +2191,8 @@ def modifier_add(
|
|
|
2591
2191
|
) -> None:
|
|
2592
2192
|
"""Add a procedural operation/effect to the active object
|
|
2593
2193
|
|
|
2594
|
-
:type execution_context: int | str | None
|
|
2595
|
-
:type undo: bool | None
|
|
2596
2194
|
:param type: Type
|
|
2597
|
-
:type type: bpy.stub_internal.rna_enums.ObjectModifierTypeItems | None
|
|
2598
2195
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2599
|
-
:type use_selected_objects: bool | None
|
|
2600
2196
|
"""
|
|
2601
2197
|
|
|
2602
2198
|
def modifier_add_node_group(
|
|
@@ -2613,18 +2209,11 @@ def modifier_add_node_group(
|
|
|
2613
2209
|
) -> None:
|
|
2614
2210
|
"""Add a procedural operation/effect to the active object
|
|
2615
2211
|
|
|
2616
|
-
:type execution_context: int | str | None
|
|
2617
|
-
:type undo: bool | None
|
|
2618
2212
|
:param asset_library_type: Asset Library Type
|
|
2619
|
-
:type asset_library_type: bpy.stub_internal.rna_enums.AssetLibraryTypeItems | None
|
|
2620
2213
|
:param asset_library_identifier: Asset Library Identifier
|
|
2621
|
-
:type asset_library_identifier: str
|
|
2622
2214
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
2623
|
-
:type relative_asset_identifier: str
|
|
2624
2215
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
2625
|
-
:type session_uid: int | None
|
|
2626
2216
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2627
|
-
:type use_selected_objects: bool | None
|
|
2628
2217
|
"""
|
|
2629
2218
|
|
|
2630
2219
|
def modifier_apply(
|
|
@@ -2641,20 +2230,12 @@ def modifier_apply(
|
|
|
2641
2230
|
) -> None:
|
|
2642
2231
|
"""Apply modifier and remove from the stack
|
|
2643
2232
|
|
|
2644
|
-
:type execution_context: int | str | None
|
|
2645
|
-
:type undo: bool | None
|
|
2646
2233
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2647
|
-
:type modifier: str
|
|
2648
2234
|
:param report: Report, Create a notification after the operation
|
|
2649
|
-
:type report: bool | None
|
|
2650
2235
|
:param merge_customdata: Merge UVs, For mesh objects, merge UV coordinates that share a vertex to account for imprecision in some modifiers
|
|
2651
|
-
:
|
|
2652
|
-
:param single_user: Make Data Single User, Make the object's data single user if needed
|
|
2653
|
-
:type single_user: bool | None
|
|
2236
|
+
:param single_user: Make Data Single User, Make the objects data single user if needed
|
|
2654
2237
|
:param all_keyframes: Apply to all keyframes, For Grease Pencil objects, apply the modifier to all the keyframes
|
|
2655
|
-
:type all_keyframes: bool | None
|
|
2656
2238
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2657
|
-
:type use_selected_objects: bool | None
|
|
2658
2239
|
"""
|
|
2659
2240
|
|
|
2660
2241
|
def modifier_apply_as_shapekey(
|
|
@@ -2669,16 +2250,10 @@ def modifier_apply_as_shapekey(
|
|
|
2669
2250
|
) -> None:
|
|
2670
2251
|
"""Apply modifier as a new shape key and remove from the stack
|
|
2671
2252
|
|
|
2672
|
-
:type execution_context: int | str | None
|
|
2673
|
-
:type undo: bool | None
|
|
2674
2253
|
:param keep_modifier: Keep Modifier, Do not remove the modifier from stack
|
|
2675
|
-
:type keep_modifier: bool | None
|
|
2676
2254
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2677
|
-
:type modifier: str
|
|
2678
2255
|
:param report: Report, Create a notification after the operation
|
|
2679
|
-
:type report: bool | None
|
|
2680
2256
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2681
|
-
:type use_selected_objects: bool | None
|
|
2682
2257
|
"""
|
|
2683
2258
|
|
|
2684
2259
|
def modifier_convert(
|
|
@@ -2690,10 +2265,7 @@ def modifier_convert(
|
|
|
2690
2265
|
) -> None:
|
|
2691
2266
|
"""Convert particles to a mesh object
|
|
2692
2267
|
|
|
2693
|
-
:type execution_context: int | str | None
|
|
2694
|
-
:type undo: bool | None
|
|
2695
2268
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2696
|
-
:type modifier: str
|
|
2697
2269
|
"""
|
|
2698
2270
|
|
|
2699
2271
|
def modifier_copy(
|
|
@@ -2706,12 +2278,8 @@ def modifier_copy(
|
|
|
2706
2278
|
) -> None:
|
|
2707
2279
|
"""Duplicate modifier at the same position in the stack
|
|
2708
2280
|
|
|
2709
|
-
:type execution_context: int | str | None
|
|
2710
|
-
:type undo: bool | None
|
|
2711
2281
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2712
|
-
:type modifier: str
|
|
2713
2282
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2714
|
-
:type use_selected_objects: bool | None
|
|
2715
2283
|
"""
|
|
2716
2284
|
|
|
2717
2285
|
def modifier_copy_to_selected(
|
|
@@ -2723,10 +2291,7 @@ def modifier_copy_to_selected(
|
|
|
2723
2291
|
) -> None:
|
|
2724
2292
|
"""Copy the modifier from the active object to all selected objects
|
|
2725
2293
|
|
|
2726
|
-
:type execution_context: int | str | None
|
|
2727
|
-
:type undo: bool | None
|
|
2728
2294
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2729
|
-
:type modifier: str
|
|
2730
2295
|
"""
|
|
2731
2296
|
|
|
2732
2297
|
def modifier_move_down(
|
|
@@ -2738,10 +2303,7 @@ def modifier_move_down(
|
|
|
2738
2303
|
) -> None:
|
|
2739
2304
|
"""Move modifier down in the stack
|
|
2740
2305
|
|
|
2741
|
-
:type execution_context: int | str | None
|
|
2742
|
-
:type undo: bool | None
|
|
2743
2306
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2744
|
-
:type modifier: str
|
|
2745
2307
|
"""
|
|
2746
2308
|
|
|
2747
2309
|
def modifier_move_to_index(
|
|
@@ -2753,16 +2315,11 @@ def modifier_move_to_index(
|
|
|
2753
2315
|
index: int | None = 0,
|
|
2754
2316
|
use_selected_objects: bool | None = False,
|
|
2755
2317
|
) -> None:
|
|
2756
|
-
"""Change the
|
|
2318
|
+
"""Change the modifiers index in the stack so it evaluates after the set number of others
|
|
2757
2319
|
|
|
2758
|
-
:type execution_context: int | str | None
|
|
2759
|
-
:type undo: bool | None
|
|
2760
2320
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2761
|
-
:type modifier: str
|
|
2762
2321
|
:param index: Index, The index to move the modifier to
|
|
2763
|
-
:type index: int | None
|
|
2764
2322
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2765
|
-
:type use_selected_objects: bool | None
|
|
2766
2323
|
"""
|
|
2767
2324
|
|
|
2768
2325
|
def modifier_move_up(
|
|
@@ -2774,10 +2331,7 @@ def modifier_move_up(
|
|
|
2774
2331
|
) -> None:
|
|
2775
2332
|
"""Move modifier up in the stack
|
|
2776
2333
|
|
|
2777
|
-
:type execution_context: int | str | None
|
|
2778
|
-
:type undo: bool | None
|
|
2779
2334
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2780
|
-
:type modifier: str
|
|
2781
2335
|
"""
|
|
2782
2336
|
|
|
2783
2337
|
def modifier_remove(
|
|
@@ -2791,14 +2345,9 @@ def modifier_remove(
|
|
|
2791
2345
|
) -> None:
|
|
2792
2346
|
"""Remove a modifier from the active object
|
|
2793
2347
|
|
|
2794
|
-
:type execution_context: int | str | None
|
|
2795
|
-
:type undo: bool | None
|
|
2796
2348
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2797
|
-
:type modifier: str
|
|
2798
2349
|
:param report: Report, Create a notification after the operation
|
|
2799
|
-
:type report: bool | None
|
|
2800
2350
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2801
|
-
:type use_selected_objects: bool | None
|
|
2802
2351
|
"""
|
|
2803
2352
|
|
|
2804
2353
|
def modifier_set_active(
|
|
@@ -2810,49 +2359,37 @@ def modifier_set_active(
|
|
|
2810
2359
|
) -> None:
|
|
2811
2360
|
"""Activate the modifier to use as the context
|
|
2812
2361
|
|
|
2813
|
-
:type execution_context: int | str | None
|
|
2814
|
-
:type undo: bool | None
|
|
2815
2362
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2816
|
-
:type modifier: str
|
|
2817
2363
|
"""
|
|
2818
2364
|
|
|
2819
2365
|
def modifiers_clear(
|
|
2820
|
-
execution_context: int | str | None = None,
|
|
2366
|
+
execution_context: int | str | None = None,
|
|
2367
|
+
undo: bool | None = None,
|
|
2368
|
+
/,
|
|
2821
2369
|
) -> None:
|
|
2822
|
-
"""Clear all modifiers from the selected objects
|
|
2823
|
-
|
|
2824
|
-
:type execution_context: int | str | None
|
|
2825
|
-
:type undo: bool | None
|
|
2826
|
-
"""
|
|
2370
|
+
"""Clear all modifiers from the selected objects"""
|
|
2827
2371
|
|
|
2828
2372
|
def modifiers_copy_to_selected(
|
|
2829
|
-
execution_context: int | str | None = None,
|
|
2373
|
+
execution_context: int | str | None = None,
|
|
2374
|
+
undo: bool | None = None,
|
|
2375
|
+
/,
|
|
2830
2376
|
) -> None:
|
|
2831
|
-
"""Copy modifiers to other selected objects
|
|
2832
|
-
|
|
2833
|
-
:type execution_context: int | str | None
|
|
2834
|
-
:type undo: bool | None
|
|
2835
|
-
"""
|
|
2377
|
+
"""Copy modifiers to other selected objects"""
|
|
2836
2378
|
|
|
2837
2379
|
def move_to_collection(
|
|
2838
2380
|
execution_context: int | str | None = None,
|
|
2839
2381
|
undo: bool | None = None,
|
|
2840
2382
|
/,
|
|
2841
2383
|
*,
|
|
2842
|
-
|
|
2384
|
+
collection_uid: int | None = -1,
|
|
2843
2385
|
is_new: bool | None = False,
|
|
2844
2386
|
new_collection_name: str = "",
|
|
2845
2387
|
) -> None:
|
|
2846
2388
|
"""Move objects to a collection
|
|
2847
2389
|
|
|
2848
|
-
:
|
|
2849
|
-
:type undo: bool | None
|
|
2850
|
-
:param collection_index: Collection Index, Index of the collection to move to
|
|
2851
|
-
:type collection_index: int | None
|
|
2390
|
+
:param collection_uid: Collection UID, Session UID of the collection to move to
|
|
2852
2391
|
:param is_new: New, Move objects to a new collection
|
|
2853
|
-
:type is_new: bool | None
|
|
2854
2392
|
:param new_collection_name: Name, Name of the newly added collection
|
|
2855
|
-
:type new_collection_name: str
|
|
2856
2393
|
"""
|
|
2857
2394
|
|
|
2858
2395
|
def multires_base_apply(
|
|
@@ -2861,23 +2398,20 @@ def multires_base_apply(
|
|
|
2861
2398
|
/,
|
|
2862
2399
|
*,
|
|
2863
2400
|
modifier: str = "",
|
|
2401
|
+
apply_heuristic: bool | None = True,
|
|
2864
2402
|
) -> None:
|
|
2865
2403
|
"""Modify the base mesh to conform to the displaced mesh
|
|
2866
2404
|
|
|
2867
|
-
:type execution_context: int | str | None
|
|
2868
|
-
:type undo: bool | None
|
|
2869
2405
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2870
|
-
:
|
|
2406
|
+
:param apply_heuristic: Apply Subdivision Heuristic, Whether or not the final base mesh positions will be slightly altered to account for a new subdivision modifier being added
|
|
2871
2407
|
"""
|
|
2872
2408
|
|
|
2873
2409
|
def multires_external_pack(
|
|
2874
|
-
execution_context: int | str | None = None,
|
|
2410
|
+
execution_context: int | str | None = None,
|
|
2411
|
+
undo: bool | None = None,
|
|
2412
|
+
/,
|
|
2875
2413
|
) -> None:
|
|
2876
|
-
"""Pack displacements from an external file
|
|
2877
|
-
|
|
2878
|
-
:type execution_context: int | str | None
|
|
2879
|
-
:type undo: bool | None
|
|
2880
|
-
"""
|
|
2414
|
+
"""Pack displacements from an external file"""
|
|
2881
2415
|
|
|
2882
2416
|
def multires_external_save(
|
|
2883
2417
|
execution_context: int | str | None = None,
|
|
@@ -2914,50 +2448,27 @@ def multires_external_save(
|
|
|
2914
2448
|
) -> None:
|
|
2915
2449
|
"""Save displacements to an external file
|
|
2916
2450
|
|
|
2917
|
-
:type execution_context: int | str | None
|
|
2918
|
-
:type undo: bool | None
|
|
2919
2451
|
:param filepath: File Path, Path to file
|
|
2920
|
-
:type filepath: str
|
|
2921
2452
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
2922
|
-
:type hide_props_region: bool | None
|
|
2923
2453
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
2924
|
-
:type check_existing: bool | None
|
|
2925
2454
|
:param filter_blender: Filter .blend files
|
|
2926
|
-
:type filter_blender: bool | None
|
|
2927
2455
|
:param filter_backup: Filter .blend files
|
|
2928
|
-
:type filter_backup: bool | None
|
|
2929
2456
|
:param filter_image: Filter image files
|
|
2930
|
-
:type filter_image: bool | None
|
|
2931
2457
|
:param filter_movie: Filter movie files
|
|
2932
|
-
:type filter_movie: bool | None
|
|
2933
2458
|
:param filter_python: Filter Python files
|
|
2934
|
-
:type filter_python: bool | None
|
|
2935
2459
|
:param filter_font: Filter font files
|
|
2936
|
-
:type filter_font: bool | None
|
|
2937
2460
|
:param filter_sound: Filter sound files
|
|
2938
|
-
:type filter_sound: bool | None
|
|
2939
2461
|
:param filter_text: Filter text files
|
|
2940
|
-
:type filter_text: bool | None
|
|
2941
2462
|
:param filter_archive: Filter archive files
|
|
2942
|
-
:type filter_archive: bool | None
|
|
2943
2463
|
:param filter_btx: Filter btx files
|
|
2944
|
-
:type filter_btx: bool | None
|
|
2945
2464
|
:param filter_alembic: Filter Alembic files
|
|
2946
|
-
:type filter_alembic: bool | None
|
|
2947
2465
|
:param filter_usd: Filter USD files
|
|
2948
|
-
:type filter_usd: bool | None
|
|
2949
2466
|
:param filter_obj: Filter OBJ files
|
|
2950
|
-
:type filter_obj: bool | None
|
|
2951
2467
|
:param filter_volume: Filter OpenVDB volume files
|
|
2952
|
-
:type filter_volume: bool | None
|
|
2953
2468
|
:param filter_folder: Filter folders
|
|
2954
|
-
:type filter_folder: bool | None
|
|
2955
2469
|
:param filter_blenlib: Filter Blender IDs
|
|
2956
|
-
:type filter_blenlib: bool | None
|
|
2957
2470
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
2958
|
-
:type filemode: int | None
|
|
2959
2471
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
2960
|
-
:type relative_path: bool | None
|
|
2961
2472
|
:param display_type: Display Type
|
|
2962
2473
|
|
|
2963
2474
|
DEFAULT
|
|
@@ -2971,11 +2482,8 @@ def multires_external_save(
|
|
|
2971
2482
|
|
|
2972
2483
|
THUMBNAIL
|
|
2973
2484
|
Thumbnails -- Display files as thumbnails.
|
|
2974
|
-
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
2975
2485
|
:param sort_method: File sorting mode
|
|
2976
|
-
:type sort_method: str | None
|
|
2977
2486
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2978
|
-
:type modifier: str
|
|
2979
2487
|
"""
|
|
2980
2488
|
|
|
2981
2489
|
def multires_higher_levels_delete(
|
|
@@ -2987,10 +2495,7 @@ def multires_higher_levels_delete(
|
|
|
2987
2495
|
) -> None:
|
|
2988
2496
|
"""Deletes the higher resolution mesh, potential loss of detail
|
|
2989
2497
|
|
|
2990
|
-
:type execution_context: int | str | None
|
|
2991
|
-
:type undo: bool | None
|
|
2992
2498
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2993
|
-
:type modifier: str
|
|
2994
2499
|
"""
|
|
2995
2500
|
|
|
2996
2501
|
def multires_rebuild_subdiv(
|
|
@@ -3002,10 +2507,7 @@ def multires_rebuild_subdiv(
|
|
|
3002
2507
|
) -> None:
|
|
3003
2508
|
"""Rebuilds all possible subdivisions levels to generate a lower resolution base mesh
|
|
3004
2509
|
|
|
3005
|
-
:type execution_context: int | str | None
|
|
3006
|
-
:type undo: bool | None
|
|
3007
2510
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3008
|
-
:type modifier: str
|
|
3009
2511
|
"""
|
|
3010
2512
|
|
|
3011
2513
|
def multires_reshape(
|
|
@@ -3017,10 +2519,7 @@ def multires_reshape(
|
|
|
3017
2519
|
) -> None:
|
|
3018
2520
|
"""Copy vertex coordinates from other object
|
|
3019
2521
|
|
|
3020
|
-
:type execution_context: int | str | None
|
|
3021
|
-
:type undo: bool | None
|
|
3022
2522
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3023
|
-
:type modifier: str
|
|
3024
2523
|
"""
|
|
3025
2524
|
|
|
3026
2525
|
def multires_subdivide(
|
|
@@ -3033,10 +2532,7 @@ def multires_subdivide(
|
|
|
3033
2532
|
) -> None:
|
|
3034
2533
|
"""Add a new level of subdivision
|
|
3035
2534
|
|
|
3036
|
-
:type execution_context: int | str | None
|
|
3037
|
-
:type undo: bool | None
|
|
3038
2535
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3039
|
-
:type modifier: str
|
|
3040
2536
|
:param mode: Subdivision Mode, How the mesh is going to be subdivided to create a new level
|
|
3041
2537
|
|
|
3042
2538
|
CATMULL_CLARK
|
|
@@ -3047,7 +2543,6 @@ def multires_subdivide(
|
|
|
3047
2543
|
|
|
3048
2544
|
LINEAR
|
|
3049
2545
|
Linear -- Create a new level using linear interpolation of the sculpted displacement.
|
|
3050
|
-
:type mode: typing.Literal['CATMULL_CLARK','SIMPLE','LINEAR'] | None
|
|
3051
2546
|
"""
|
|
3052
2547
|
|
|
3053
2548
|
def multires_unsubdivide(
|
|
@@ -3059,10 +2554,7 @@ def multires_unsubdivide(
|
|
|
3059
2554
|
) -> None:
|
|
3060
2555
|
"""Rebuild a lower subdivision level of the current base mesh
|
|
3061
2556
|
|
|
3062
|
-
:type execution_context: int | str | None
|
|
3063
|
-
:type undo: bool | None
|
|
3064
2557
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3065
|
-
:type modifier: str
|
|
3066
2558
|
"""
|
|
3067
2559
|
|
|
3068
2560
|
def ocean_bake(
|
|
@@ -3075,22 +2567,16 @@ def ocean_bake(
|
|
|
3075
2567
|
) -> None:
|
|
3076
2568
|
"""Bake an image sequence of ocean data
|
|
3077
2569
|
|
|
3078
|
-
:type execution_context: int | str | None
|
|
3079
|
-
:type undo: bool | None
|
|
3080
2570
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3081
|
-
:type modifier: str
|
|
3082
2571
|
:param free: Free, Free the bake, rather than generating it
|
|
3083
|
-
:type free: bool | None
|
|
3084
2572
|
"""
|
|
3085
2573
|
|
|
3086
2574
|
def origin_clear(
|
|
3087
|
-
execution_context: int | str | None = None,
|
|
2575
|
+
execution_context: int | str | None = None,
|
|
2576
|
+
undo: bool | None = None,
|
|
2577
|
+
/,
|
|
3088
2578
|
) -> None:
|
|
3089
|
-
"""Clear the
|
|
3090
|
-
|
|
3091
|
-
:type execution_context: int | str | None
|
|
3092
|
-
:type undo: bool | None
|
|
3093
|
-
"""
|
|
2579
|
+
"""Clear the objects origin"""
|
|
3094
2580
|
|
|
3095
2581
|
def origin_set(
|
|
3096
2582
|
execution_context: int | str | None = None,
|
|
@@ -3107,10 +2593,8 @@ def origin_set(
|
|
|
3107
2593
|
| None = "GEOMETRY_ORIGIN",
|
|
3108
2594
|
center: typing.Literal["MEDIAN", "BOUNDS"] | None = "MEDIAN",
|
|
3109
2595
|
) -> None:
|
|
3110
|
-
"""Set the
|
|
2596
|
+
"""Set the objects origin, by either moving the data, or set to center of data, or use 3D cursor
|
|
3111
2597
|
|
|
3112
|
-
:type execution_context: int | str | None
|
|
3113
|
-
:type undo: bool | None
|
|
3114
2598
|
:param type: Type
|
|
3115
2599
|
|
|
3116
2600
|
GEOMETRY_ORIGIN
|
|
@@ -3127,9 +2611,7 @@ def origin_set(
|
|
|
3127
2611
|
|
|
3128
2612
|
ORIGIN_CENTER_OF_VOLUME
|
|
3129
2613
|
Origin to Center of Mass (Volume) -- Calculate the center of mass from the volume (must be manifold geometry with consistent normals).
|
|
3130
|
-
:type type: typing.Literal['GEOMETRY_ORIGIN','ORIGIN_GEOMETRY','ORIGIN_CURSOR','ORIGIN_CENTER_OF_MASS','ORIGIN_CENTER_OF_VOLUME'] | None
|
|
3131
2614
|
:param center: Center
|
|
3132
|
-
:type center: typing.Literal['MEDIAN','BOUNDS'] | None
|
|
3133
2615
|
"""
|
|
3134
2616
|
|
|
3135
2617
|
def parent_clear(
|
|
@@ -3140,31 +2622,26 @@ def parent_clear(
|
|
|
3140
2622
|
type: typing.Literal["CLEAR", "CLEAR_KEEP_TRANSFORM", "CLEAR_INVERSE"]
|
|
3141
2623
|
| None = "CLEAR",
|
|
3142
2624
|
) -> None:
|
|
3143
|
-
"""Clear the
|
|
2625
|
+
"""Clear the objects parenting
|
|
3144
2626
|
|
|
3145
|
-
:type execution_context: int | str | None
|
|
3146
|
-
:type undo: bool | None
|
|
3147
2627
|
:param type: Type
|
|
3148
2628
|
|
|
3149
2629
|
CLEAR
|
|
3150
2630
|
Clear Parent -- Completely clear the parenting relationship, including involved modifiers if any.
|
|
3151
2631
|
|
|
3152
2632
|
CLEAR_KEEP_TRANSFORM
|
|
3153
|
-
Clear and Keep Transformation -- As
|
|
2633
|
+
Clear and Keep Transformation -- As Clear Parent, but keep the current visual transformations of the object.
|
|
3154
2634
|
|
|
3155
2635
|
CLEAR_INVERSE
|
|
3156
2636
|
Clear Parent Inverse -- Reset the transform corrections applied to the parenting relationship, does not remove parenting itself.
|
|
3157
|
-
:type type: typing.Literal['CLEAR','CLEAR_KEEP_TRANSFORM','CLEAR_INVERSE'] | None
|
|
3158
2637
|
"""
|
|
3159
2638
|
|
|
3160
2639
|
def parent_inverse_apply(
|
|
3161
|
-
execution_context: int | str | None = None,
|
|
2640
|
+
execution_context: int | str | None = None,
|
|
2641
|
+
undo: bool | None = None,
|
|
2642
|
+
/,
|
|
3162
2643
|
) -> None:
|
|
3163
|
-
"""Apply the
|
|
3164
|
-
|
|
3165
|
-
:type execution_context: int | str | None
|
|
3166
|
-
:type undo: bool | None
|
|
3167
|
-
"""
|
|
2644
|
+
"""Apply the objects parent inverse to its data"""
|
|
3168
2645
|
|
|
3169
2646
|
def parent_no_inverse_set(
|
|
3170
2647
|
execution_context: int | str | None = None,
|
|
@@ -3173,12 +2650,9 @@ def parent_no_inverse_set(
|
|
|
3173
2650
|
*,
|
|
3174
2651
|
keep_transform: bool | None = False,
|
|
3175
2652
|
) -> None:
|
|
3176
|
-
"""Set the
|
|
2653
|
+
"""Set the objects parenting without setting the inverse parent correction
|
|
3177
2654
|
|
|
3178
|
-
:type execution_context: int | str | None
|
|
3179
|
-
:type undo: bool | None
|
|
3180
2655
|
:param keep_transform: Keep Transform, Preserve the world transform throughout parenting
|
|
3181
|
-
:type keep_transform: bool | None
|
|
3182
2656
|
"""
|
|
3183
2657
|
|
|
3184
2658
|
def parent_set(
|
|
@@ -3205,34 +2679,56 @@ def parent_set(
|
|
|
3205
2679
|
xmirror: bool | None = False,
|
|
3206
2680
|
keep_transform: bool | None = False,
|
|
3207
2681
|
) -> None:
|
|
3208
|
-
"""Set the
|
|
2682
|
+
"""Set the objects parenting
|
|
3209
2683
|
|
|
3210
|
-
:type execution_context: int | str | None
|
|
3211
|
-
:type undo: bool | None
|
|
3212
2684
|
:param type: Type
|
|
3213
|
-
:type type: typing.Literal['OBJECT','ARMATURE','ARMATURE_NAME','ARMATURE_AUTO','ARMATURE_ENVELOPE','BONE','BONE_RELATIVE','CURVE','FOLLOW','PATH_CONST','LATTICE','VERTEX','VERTEX_TRI'] | None
|
|
3214
2685
|
:param xmirror: X Mirror, Apply weights symmetrically along X axis, for Envelope/Automatic vertex groups creation
|
|
3215
|
-
:type xmirror: bool | None
|
|
3216
2686
|
:param keep_transform: Keep Transform, Apply transformation before parenting
|
|
3217
|
-
:type keep_transform: bool | None
|
|
3218
2687
|
"""
|
|
3219
2688
|
|
|
3220
2689
|
def particle_system_add(
|
|
3221
|
-
execution_context: int | str | None = None,
|
|
2690
|
+
execution_context: int | str | None = None,
|
|
2691
|
+
undo: bool | None = None,
|
|
2692
|
+
/,
|
|
3222
2693
|
) -> None:
|
|
3223
|
-
"""Add a particle system
|
|
3224
|
-
|
|
3225
|
-
:type execution_context: int | str | None
|
|
3226
|
-
:type undo: bool | None
|
|
3227
|
-
"""
|
|
2694
|
+
"""Add a particle system"""
|
|
3228
2695
|
|
|
3229
2696
|
def particle_system_remove(
|
|
3230
|
-
execution_context: int | str | None = None,
|
|
2697
|
+
execution_context: int | str | None = None,
|
|
2698
|
+
undo: bool | None = None,
|
|
2699
|
+
/,
|
|
2700
|
+
) -> None:
|
|
2701
|
+
"""Remove the selected particle system"""
|
|
2702
|
+
|
|
2703
|
+
def paste_transform(
|
|
2704
|
+
execution_context: int | str | None = None,
|
|
2705
|
+
undo: bool | None = None,
|
|
2706
|
+
/,
|
|
2707
|
+
*,
|
|
2708
|
+
method: typing.Literal["CURRENT", "EXISTING_KEYS", "BAKE"] | None = "CURRENT",
|
|
2709
|
+
bake_step: int | None = 0,
|
|
2710
|
+
use_mirror: bool | None = False,
|
|
2711
|
+
mirror_axis_loc: typing.Literal["x", "y", "z"] | None = "x",
|
|
2712
|
+
mirror_axis_rot: typing.Literal["x", "y", "z"] | None = "z",
|
|
2713
|
+
use_relative: bool | None = False,
|
|
3231
2714
|
) -> None:
|
|
3232
|
-
"""
|
|
2715
|
+
"""Pastes the matrix from the clipboard to the currently active pose bone or object. Uses world-space matrices
|
|
2716
|
+
|
|
2717
|
+
:param method: Paste Method, Update the current transform, selected keyframes, or even create new keys
|
|
2718
|
+
|
|
2719
|
+
CURRENT
|
|
2720
|
+
Current Transform -- Paste onto the current values only, only manipulating the animation data if auto-keying is enabled.
|
|
3233
2721
|
|
|
3234
|
-
|
|
3235
|
-
|
|
2722
|
+
EXISTING_KEYS
|
|
2723
|
+
Selected Keys -- Paste onto frames that have a selected key, potentially creating new keys on those frames.
|
|
2724
|
+
|
|
2725
|
+
BAKE
|
|
2726
|
+
Bake on Key Range -- Paste onto all frames between the first and last selected key, creating new keyframes if necessary.
|
|
2727
|
+
:param bake_step: Frame Step, Only used for baking. Step=1 creates a key on every frame, step=2 bakes on 2s, etc
|
|
2728
|
+
:param use_mirror: Mirror Transform, When pasting, mirror the transform relative to a specific object or bone
|
|
2729
|
+
:param mirror_axis_loc: Location Axis, Coordinate axis used to mirror the location part of the transform
|
|
2730
|
+
:param mirror_axis_rot: Rotation Axis, Coordinate axis used to mirror the rotation part of the transform
|
|
2731
|
+
:param use_relative: Use Relative Paste, When pasting, assume the pasted matrix is relative to another object (set in the user interface)
|
|
3236
2732
|
"""
|
|
3237
2733
|
|
|
3238
2734
|
def paths_calculate(
|
|
@@ -3246,12 +2742,8 @@ def paths_calculate(
|
|
|
3246
2742
|
) -> None:
|
|
3247
2743
|
"""Generate motion paths for the selected objects
|
|
3248
2744
|
|
|
3249
|
-
:
|
|
3250
|
-
:type undo: bool | None
|
|
3251
|
-
:param display_type: Display type
|
|
3252
|
-
:type display_type: bpy.stub_internal.rna_enums.MotionpathDisplayTypeItems | None
|
|
2745
|
+
:param display_type: Display Type
|
|
3253
2746
|
:param range: Computation Range
|
|
3254
|
-
:type range: bpy.stub_internal.rna_enums.MotionpathRangeItems | None
|
|
3255
2747
|
"""
|
|
3256
2748
|
|
|
3257
2749
|
def paths_clear(
|
|
@@ -3263,29 +2755,22 @@ def paths_clear(
|
|
|
3263
2755
|
) -> None:
|
|
3264
2756
|
"""Undocumented, consider contributing.
|
|
3265
2757
|
|
|
3266
|
-
:type execution_context: int | str | None
|
|
3267
|
-
:type undo: bool | None
|
|
3268
2758
|
:param only_selected: Only Selected, Only clear motion paths of selected objects
|
|
3269
|
-
:type only_selected: bool | None
|
|
3270
2759
|
"""
|
|
3271
2760
|
|
|
3272
2761
|
def paths_update(
|
|
3273
|
-
execution_context: int | str | None = None,
|
|
2762
|
+
execution_context: int | str | None = None,
|
|
2763
|
+
undo: bool | None = None,
|
|
2764
|
+
/,
|
|
3274
2765
|
) -> None:
|
|
3275
|
-
"""Recalculate motion paths for selected objects
|
|
3276
|
-
|
|
3277
|
-
:type execution_context: int | str | None
|
|
3278
|
-
:type undo: bool | None
|
|
3279
|
-
"""
|
|
2766
|
+
"""Recalculate motion paths for selected objects"""
|
|
3280
2767
|
|
|
3281
2768
|
def paths_update_visible(
|
|
3282
|
-
execution_context: int | str | None = None,
|
|
2769
|
+
execution_context: int | str | None = None,
|
|
2770
|
+
undo: bool | None = None,
|
|
2771
|
+
/,
|
|
3283
2772
|
) -> None:
|
|
3284
|
-
"""Recalculate all visible motion paths for objects and poses
|
|
3285
|
-
|
|
3286
|
-
:type execution_context: int | str | None
|
|
3287
|
-
:type undo: bool | None
|
|
3288
|
-
"""
|
|
2773
|
+
"""Recalculate all visible motion paths for objects and poses"""
|
|
3289
2774
|
|
|
3290
2775
|
def pointcloud_random_add(
|
|
3291
2776
|
execution_context: int | str | None = None,
|
|
@@ -3307,8 +2792,6 @@ def pointcloud_random_add(
|
|
|
3307
2792
|
) -> None:
|
|
3308
2793
|
"""Add a point cloud object to the scene
|
|
3309
2794
|
|
|
3310
|
-
:type execution_context: int | str | None
|
|
3311
|
-
:type undo: bool | None
|
|
3312
2795
|
:param align: Align, The alignment of the new object
|
|
3313
2796
|
|
|
3314
2797
|
WORLD
|
|
@@ -3319,23 +2802,17 @@ def pointcloud_random_add(
|
|
|
3319
2802
|
|
|
3320
2803
|
CURSOR
|
|
3321
2804
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
3322
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
3323
2805
|
:param location: Location, Location for the newly added object
|
|
3324
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
3325
2806
|
:param rotation: Rotation, Rotation for the newly added object
|
|
3326
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
3327
2807
|
:param scale: Scale, Scale for the newly added object
|
|
3328
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
3329
2808
|
"""
|
|
3330
2809
|
|
|
3331
2810
|
def posemode_toggle(
|
|
3332
|
-
execution_context: int | str | None = None,
|
|
2811
|
+
execution_context: int | str | None = None,
|
|
2812
|
+
undo: bool | None = None,
|
|
2813
|
+
/,
|
|
3333
2814
|
) -> None:
|
|
3334
|
-
"""Enable or disable posing/selecting bones
|
|
3335
|
-
|
|
3336
|
-
:type execution_context: int | str | None
|
|
3337
|
-
:type undo: bool | None
|
|
3338
|
-
"""
|
|
2815
|
+
"""Enable or disable posing/selecting bones"""
|
|
3339
2816
|
|
|
3340
2817
|
def quadriflow_remesh(
|
|
3341
2818
|
execution_context: int | str | None = None,
|
|
@@ -3356,18 +2833,11 @@ def quadriflow_remesh(
|
|
|
3356
2833
|
) -> None:
|
|
3357
2834
|
"""Create a new quad based mesh using the surface data of the current mesh. All data layers will be lost
|
|
3358
2835
|
|
|
3359
|
-
:type execution_context: int | str | None
|
|
3360
|
-
:type undo: bool | None
|
|
3361
2836
|
:param use_mesh_symmetry: Use Mesh Symmetry, Generates a symmetrical mesh using the mesh symmetry configuration
|
|
3362
|
-
:type use_mesh_symmetry: bool | None
|
|
3363
2837
|
:param use_preserve_sharp: Preserve Sharp, Try to preserve sharp features on the mesh
|
|
3364
|
-
:type use_preserve_sharp: bool | None
|
|
3365
2838
|
:param use_preserve_boundary: Preserve Mesh Boundary, Try to preserve mesh boundary on the mesh
|
|
3366
|
-
:type use_preserve_boundary: bool | None
|
|
3367
2839
|
:param preserve_attributes: Preserve Attributes, Reproject attributes onto the new mesh
|
|
3368
|
-
:type preserve_attributes: bool | None
|
|
3369
2840
|
:param smooth_normals: Smooth Normals, Set the output mesh normals to smooth
|
|
3370
|
-
:type smooth_normals: bool | None
|
|
3371
2841
|
:param mode: Mode, How to specify the amount of detail for the new mesh
|
|
3372
2842
|
|
|
3373
2843
|
RATIO
|
|
@@ -3378,17 +2848,11 @@ def quadriflow_remesh(
|
|
|
3378
2848
|
|
|
3379
2849
|
FACES
|
|
3380
2850
|
Faces -- Input target number of faces in the new mesh.
|
|
3381
|
-
:type mode: typing.Literal['RATIO','EDGE','FACES'] | None
|
|
3382
2851
|
:param target_ratio: Ratio, Relative number of faces compared to the current mesh
|
|
3383
|
-
:type target_ratio: float | None
|
|
3384
2852
|
:param target_edge_length: Edge Length, Target edge length in the new mesh
|
|
3385
|
-
:type target_edge_length: float | None
|
|
3386
2853
|
:param target_faces: Number of Faces, Approximate number of faces (quads) in the new mesh
|
|
3387
|
-
:type target_faces: int | None
|
|
3388
2854
|
:param mesh_area: Old Object Face Area, This property is only used to cache the object area for later calculations
|
|
3389
|
-
:type mesh_area: float | None
|
|
3390
2855
|
:param seed: Seed, Random seed to use with the solver. Different seeds will cause the remesher to come up with different quad layouts on the mesh
|
|
3391
|
-
:type seed: int | None
|
|
3392
2856
|
"""
|
|
3393
2857
|
|
|
3394
2858
|
def quick_explode(
|
|
@@ -3406,22 +2870,13 @@ def quick_explode(
|
|
|
3406
2870
|
) -> None:
|
|
3407
2871
|
"""Make selected objects explode
|
|
3408
2872
|
|
|
3409
|
-
:type execution_context: int | str | None
|
|
3410
|
-
:type undo: bool | None
|
|
3411
2873
|
:param style: Explode Style
|
|
3412
|
-
:type style: typing.Literal['EXPLODE','BLEND'] | None
|
|
3413
2874
|
:param amount: Number of Pieces
|
|
3414
|
-
:type amount: int | None
|
|
3415
2875
|
:param frame_duration: Duration
|
|
3416
|
-
:type frame_duration: int | None
|
|
3417
2876
|
:param frame_start: Start Frame
|
|
3418
|
-
:type frame_start: int | None
|
|
3419
2877
|
:param frame_end: End Frame
|
|
3420
|
-
:type frame_end: int | None
|
|
3421
2878
|
:param velocity: Outwards Velocity
|
|
3422
|
-
:type velocity: float | None
|
|
3423
2879
|
:param fade: Fade, Fade the pieces over time
|
|
3424
|
-
:type fade: bool | None
|
|
3425
2880
|
"""
|
|
3426
2881
|
|
|
3427
2882
|
def quick_fur(
|
|
@@ -3439,22 +2894,13 @@ def quick_fur(
|
|
|
3439
2894
|
) -> None:
|
|
3440
2895
|
"""Add a fur setup to the selected objects
|
|
3441
2896
|
|
|
3442
|
-
:type execution_context: int | str | None
|
|
3443
|
-
:type undo: bool | None
|
|
3444
2897
|
:param density: Density
|
|
3445
|
-
:type density: typing.Literal['LOW','MEDIUM','HIGH'] | None
|
|
3446
2898
|
:param length: Length
|
|
3447
|
-
:type length: float | None
|
|
3448
2899
|
:param radius: Hair Radius
|
|
3449
|
-
:type radius: float | None
|
|
3450
2900
|
:param view_percentage: View Percentage
|
|
3451
|
-
:type view_percentage: float | None
|
|
3452
2901
|
:param apply_hair_guides: Apply Hair Guides
|
|
3453
|
-
:type apply_hair_guides: bool | None
|
|
3454
2902
|
:param use_noise: Noise
|
|
3455
|
-
:type use_noise: bool | None
|
|
3456
2903
|
:param use_frizz: Frizz
|
|
3457
|
-
:type use_frizz: bool | None
|
|
3458
2904
|
"""
|
|
3459
2905
|
|
|
3460
2906
|
def quick_liquid(
|
|
@@ -3466,10 +2912,7 @@ def quick_liquid(
|
|
|
3466
2912
|
) -> None:
|
|
3467
2913
|
"""Make selected objects liquid
|
|
3468
2914
|
|
|
3469
|
-
:type execution_context: int | str | None
|
|
3470
|
-
:type undo: bool | None
|
|
3471
2915
|
:param show_flows: Render Liquid Objects, Keep the liquid objects visible during rendering
|
|
3472
|
-
:type show_flows: bool | None
|
|
3473
2916
|
"""
|
|
3474
2917
|
|
|
3475
2918
|
def quick_smoke(
|
|
@@ -3482,12 +2925,8 @@ def quick_smoke(
|
|
|
3482
2925
|
) -> None:
|
|
3483
2926
|
"""Use selected objects as smoke emitters
|
|
3484
2927
|
|
|
3485
|
-
:type execution_context: int | str | None
|
|
3486
|
-
:type undo: bool | None
|
|
3487
2928
|
:param style: Smoke Style
|
|
3488
|
-
:type style: typing.Literal['SMOKE','FIRE','BOTH'] | None
|
|
3489
2929
|
:param show_flows: Render Smoke Objects, Keep the smoke objects visible during rendering
|
|
3490
|
-
:type show_flows: bool | None
|
|
3491
2930
|
"""
|
|
3492
2931
|
|
|
3493
2932
|
def randomize_transform(
|
|
@@ -3507,36 +2946,23 @@ def randomize_transform(
|
|
|
3507
2946
|
) -> None:
|
|
3508
2947
|
"""Randomize objects location, rotation, and scale
|
|
3509
2948
|
|
|
3510
|
-
:type execution_context: int | str | None
|
|
3511
|
-
:type undo: bool | None
|
|
3512
2949
|
:param random_seed: Random Seed, Seed value for the random generator
|
|
3513
|
-
:type random_seed: int | None
|
|
3514
2950
|
:param use_delta: Transform Delta, Randomize delta transform values instead of regular transform
|
|
3515
|
-
:type use_delta: bool | None
|
|
3516
2951
|
:param use_loc: Randomize Location, Randomize the location values
|
|
3517
|
-
:type use_loc: bool | None
|
|
3518
2952
|
:param loc: Location, Maximum distance the objects can spread over each axis
|
|
3519
|
-
:type loc: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
3520
2953
|
:param use_rot: Randomize Rotation, Randomize the rotation values
|
|
3521
|
-
:type use_rot: bool | None
|
|
3522
2954
|
:param rot: Rotation, Maximum rotation over each axis
|
|
3523
|
-
:type rot: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
3524
2955
|
:param use_scale: Randomize Scale, Randomize the scale values
|
|
3525
|
-
:type use_scale: bool | None
|
|
3526
2956
|
:param scale_even: Scale Even, Use the same scale value for all axis
|
|
3527
|
-
:type scale_even: bool | None
|
|
3528
2957
|
:param scale: Scale, Maximum scale randomization over each axis
|
|
3529
|
-
:type scale: collections.abc.Iterable[float] | None
|
|
3530
2958
|
"""
|
|
3531
2959
|
|
|
3532
2960
|
def reset_override_library(
|
|
3533
|
-
execution_context: int | str | None = None,
|
|
2961
|
+
execution_context: int | str | None = None,
|
|
2962
|
+
undo: bool | None = None,
|
|
2963
|
+
/,
|
|
3534
2964
|
) -> None:
|
|
3535
|
-
"""Reset the selected local overrides to their linked references values
|
|
3536
|
-
|
|
3537
|
-
:type execution_context: int | str | None
|
|
3538
|
-
:type undo: bool | None
|
|
3539
|
-
"""
|
|
2965
|
+
"""Reset the selected local overrides to their linked references values"""
|
|
3540
2966
|
|
|
3541
2967
|
def rotation_clear(
|
|
3542
2968
|
execution_context: int | str | None = None,
|
|
@@ -3545,12 +2971,9 @@ def rotation_clear(
|
|
|
3545
2971
|
*,
|
|
3546
2972
|
clear_delta: bool | None = False,
|
|
3547
2973
|
) -> None:
|
|
3548
|
-
"""Clear the
|
|
2974
|
+
"""Clear the objects rotation
|
|
3549
2975
|
|
|
3550
|
-
:type execution_context: int | str | None
|
|
3551
|
-
:type undo: bool | None
|
|
3552
2976
|
:param clear_delta: Clear Delta, Clear delta rotation in addition to clearing the normal rotation transform
|
|
3553
|
-
:type clear_delta: bool | None
|
|
3554
2977
|
"""
|
|
3555
2978
|
|
|
3556
2979
|
def scale_clear(
|
|
@@ -3560,12 +2983,9 @@ def scale_clear(
|
|
|
3560
2983
|
*,
|
|
3561
2984
|
clear_delta: bool | None = False,
|
|
3562
2985
|
) -> None:
|
|
3563
|
-
"""Clear the
|
|
2986
|
+
"""Clear the objects scale
|
|
3564
2987
|
|
|
3565
|
-
:type execution_context: int | str | None
|
|
3566
|
-
:type undo: bool | None
|
|
3567
2988
|
:param clear_delta: Clear Delta, Clear delta scale in addition to clearing the normal scale transform
|
|
3568
|
-
:type clear_delta: bool | None
|
|
3569
2989
|
"""
|
|
3570
2990
|
|
|
3571
2991
|
def select_all(
|
|
@@ -3577,8 +2997,6 @@ def select_all(
|
|
|
3577
2997
|
) -> None:
|
|
3578
2998
|
"""Change selection of all visible objects in scene
|
|
3579
2999
|
|
|
3580
|
-
:type execution_context: int | str | None
|
|
3581
|
-
:type undo: bool | None
|
|
3582
3000
|
:param action: Action, Selection action to execute
|
|
3583
3001
|
|
|
3584
3002
|
TOGGLE
|
|
@@ -3592,7 +3010,6 @@ def select_all(
|
|
|
3592
3010
|
|
|
3593
3011
|
INVERT
|
|
3594
3012
|
Invert -- Invert selection of all elements.
|
|
3595
|
-
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
3596
3013
|
"""
|
|
3597
3014
|
|
|
3598
3015
|
def select_by_type(
|
|
@@ -3605,12 +3022,8 @@ def select_by_type(
|
|
|
3605
3022
|
) -> None:
|
|
3606
3023
|
"""Select all visible objects that are of a type
|
|
3607
3024
|
|
|
3608
|
-
:type execution_context: int | str | None
|
|
3609
|
-
:type undo: bool | None
|
|
3610
3025
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
3611
|
-
:type extend: bool | None
|
|
3612
3026
|
:param type: Type
|
|
3613
|
-
:type type: bpy.stub_internal.rna_enums.ObjectTypeItems | None
|
|
3614
3027
|
"""
|
|
3615
3028
|
|
|
3616
3029
|
def select_camera(
|
|
@@ -3622,10 +3035,7 @@ def select_camera(
|
|
|
3622
3035
|
) -> None:
|
|
3623
3036
|
"""Select the active camera
|
|
3624
3037
|
|
|
3625
|
-
:type execution_context: int | str | None
|
|
3626
|
-
:type undo: bool | None
|
|
3627
3038
|
:param extend: Extend, Extend the selection
|
|
3628
|
-
:type extend: bool | None
|
|
3629
3039
|
"""
|
|
3630
3040
|
|
|
3631
3041
|
def select_grouped(
|
|
@@ -3651,10 +3061,7 @@ def select_grouped(
|
|
|
3651
3061
|
) -> None:
|
|
3652
3062
|
"""Select all visible objects grouped by various properties
|
|
3653
3063
|
|
|
3654
|
-
:type execution_context: int | str | None
|
|
3655
|
-
:type undo: bool | None
|
|
3656
3064
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
3657
|
-
:type extend: bool | None
|
|
3658
3065
|
:param type: Type
|
|
3659
3066
|
|
|
3660
3067
|
CHILDREN_RECURSIVE
|
|
@@ -3689,7 +3096,6 @@ def select_grouped(
|
|
|
3689
3096
|
|
|
3690
3097
|
LIGHT_TYPE
|
|
3691
3098
|
Light Type -- Matching light types.
|
|
3692
|
-
:type type: typing.Literal['CHILDREN_RECURSIVE','CHILDREN','PARENT','SIBLINGS','TYPE','COLLECTION','HOOK','PASS','COLOR','KEYINGSET','LIGHT_TYPE'] | None
|
|
3693
3099
|
"""
|
|
3694
3100
|
|
|
3695
3101
|
def select_hierarchy(
|
|
@@ -3700,24 +3106,18 @@ def select_hierarchy(
|
|
|
3700
3106
|
direction: typing.Literal["PARENT", "CHILD"] | None = "PARENT",
|
|
3701
3107
|
extend: bool | None = False,
|
|
3702
3108
|
) -> None:
|
|
3703
|
-
"""Select object relative to the active
|
|
3109
|
+
"""Select object relative to the active objects position in the hierarchy
|
|
3704
3110
|
|
|
3705
|
-
:type execution_context: int | str | None
|
|
3706
|
-
:type undo: bool | None
|
|
3707
3111
|
:param direction: Direction, Direction to select in the hierarchy
|
|
3708
|
-
:type direction: typing.Literal['PARENT','CHILD'] | None
|
|
3709
3112
|
:param extend: Extend, Extend the existing selection
|
|
3710
|
-
:type extend: bool | None
|
|
3711
3113
|
"""
|
|
3712
3114
|
|
|
3713
3115
|
def select_less(
|
|
3714
|
-
execution_context: int | str | None = None,
|
|
3116
|
+
execution_context: int | str | None = None,
|
|
3117
|
+
undo: bool | None = None,
|
|
3118
|
+
/,
|
|
3715
3119
|
) -> None:
|
|
3716
|
-
"""Deselect objects at the boundaries of parent/child relationships
|
|
3717
|
-
|
|
3718
|
-
:type execution_context: int | str | None
|
|
3719
|
-
:type undo: bool | None
|
|
3720
|
-
"""
|
|
3120
|
+
"""Deselect objects at the boundaries of parent/child relationships"""
|
|
3721
3121
|
|
|
3722
3122
|
def select_linked(
|
|
3723
3123
|
execution_context: int | str | None = None,
|
|
@@ -3732,12 +3132,8 @@ def select_linked(
|
|
|
3732
3132
|
) -> None:
|
|
3733
3133
|
"""Select all visible objects that are linked
|
|
3734
3134
|
|
|
3735
|
-
:type execution_context: int | str | None
|
|
3736
|
-
:type undo: bool | None
|
|
3737
3135
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
3738
|
-
:type extend: bool | None
|
|
3739
3136
|
:param type: Type
|
|
3740
|
-
:type type: typing.Literal['OBDATA','MATERIAL','DUPGROUP','PARTICLE','LIBRARY','LIBRARY_OBDATA'] | None
|
|
3741
3137
|
"""
|
|
3742
3138
|
|
|
3743
3139
|
def select_mirror(
|
|
@@ -3749,20 +3145,15 @@ def select_mirror(
|
|
|
3749
3145
|
) -> None:
|
|
3750
3146
|
"""Select the mirror objects of the selected object e.g. "L.sword" and "R.sword"
|
|
3751
3147
|
|
|
3752
|
-
:type execution_context: int | str | None
|
|
3753
|
-
:type undo: bool | None
|
|
3754
3148
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
3755
|
-
:type extend: bool | None
|
|
3756
3149
|
"""
|
|
3757
3150
|
|
|
3758
3151
|
def select_more(
|
|
3759
|
-
execution_context: int | str | None = None,
|
|
3152
|
+
execution_context: int | str | None = None,
|
|
3153
|
+
undo: bool | None = None,
|
|
3154
|
+
/,
|
|
3760
3155
|
) -> None:
|
|
3761
|
-
"""Select connected parent/child objects
|
|
3762
|
-
|
|
3763
|
-
:type execution_context: int | str | None
|
|
3764
|
-
:type undo: bool | None
|
|
3765
|
-
"""
|
|
3156
|
+
"""Select connected parent/child objects"""
|
|
3766
3157
|
|
|
3767
3158
|
def select_pattern(
|
|
3768
3159
|
execution_context: int | str | None = None,
|
|
@@ -3775,14 +3166,9 @@ def select_pattern(
|
|
|
3775
3166
|
) -> None:
|
|
3776
3167
|
"""Select objects matching a naming pattern
|
|
3777
3168
|
|
|
3778
|
-
:
|
|
3779
|
-
:type undo: bool | None
|
|
3780
|
-
:param pattern: Pattern, Name filter using '*', '?' and '[abc]' unix style wildcards
|
|
3781
|
-
:type pattern: str
|
|
3169
|
+
:param pattern: Pattern, Name filter using *, ? and [abc] unix style wildcards
|
|
3782
3170
|
:param case_sensitive: Case Sensitive, Do a case sensitive compare
|
|
3783
|
-
:type case_sensitive: bool | None
|
|
3784
3171
|
:param extend: Extend, Extend the existing selection
|
|
3785
|
-
:type extend: bool | None
|
|
3786
3172
|
"""
|
|
3787
3173
|
|
|
3788
3174
|
def select_random(
|
|
@@ -3796,12 +3182,8 @@ def select_random(
|
|
|
3796
3182
|
) -> None:
|
|
3797
3183
|
"""Select or deselect random visible objects
|
|
3798
3184
|
|
|
3799
|
-
:type execution_context: int | str | None
|
|
3800
|
-
:type undo: bool | None
|
|
3801
3185
|
:param ratio: Ratio, Portion of items to select randomly
|
|
3802
|
-
:type ratio: float | None
|
|
3803
3186
|
:param seed: Random Seed, Seed for the random number generator
|
|
3804
|
-
:type seed: int | None
|
|
3805
3187
|
:param action: Action, Selection action to execute
|
|
3806
3188
|
|
|
3807
3189
|
SELECT
|
|
@@ -3809,7 +3191,6 @@ def select_random(
|
|
|
3809
3191
|
|
|
3810
3192
|
DESELECT
|
|
3811
3193
|
Deselect -- Deselect all elements.
|
|
3812
|
-
:type action: typing.Literal['SELECT','DESELECT'] | None
|
|
3813
3194
|
"""
|
|
3814
3195
|
|
|
3815
3196
|
def select_same_collection(
|
|
@@ -3821,10 +3202,7 @@ def select_same_collection(
|
|
|
3821
3202
|
) -> None:
|
|
3822
3203
|
"""Select object in the same collection
|
|
3823
3204
|
|
|
3824
|
-
:type execution_context: int | str | None
|
|
3825
|
-
:type undo: bool | None
|
|
3826
3205
|
:param collection: Collection, Name of the collection to select
|
|
3827
|
-
:type collection: str
|
|
3828
3206
|
"""
|
|
3829
3207
|
|
|
3830
3208
|
def shade_auto_smooth(
|
|
@@ -3837,12 +3215,8 @@ def shade_auto_smooth(
|
|
|
3837
3215
|
) -> None:
|
|
3838
3216
|
"""Add modifier to automatically set the sharpness of mesh edges based on the angle between the neighboring faces
|
|
3839
3217
|
|
|
3840
|
-
:type execution_context: int | str | None
|
|
3841
|
-
:type undo: bool | None
|
|
3842
3218
|
:param use_auto_smooth: Auto Smooth, Add modifier to set edge sharpness automatically
|
|
3843
|
-
:type use_auto_smooth: bool | None
|
|
3844
3219
|
:param angle: Angle, Maximum angle between face normals that will be considered as smooth
|
|
3845
|
-
:type angle: float | None
|
|
3846
3220
|
"""
|
|
3847
3221
|
|
|
3848
3222
|
def shade_flat(
|
|
@@ -3854,10 +3228,7 @@ def shade_flat(
|
|
|
3854
3228
|
) -> None:
|
|
3855
3229
|
"""Render and display faces uniform, using face normals
|
|
3856
3230
|
|
|
3857
|
-
:
|
|
3858
|
-
:type undo: bool | None
|
|
3859
|
-
:param keep_sharp_edges: Keep Sharp Edges, Don't remove sharp edges, which are redundant with faces shaded smooth
|
|
3860
|
-
:type keep_sharp_edges: bool | None
|
|
3231
|
+
:param keep_sharp_edges: Keep Sharp Edges, Dont remove sharp edges, which are redundant with faces shaded smooth
|
|
3861
3232
|
"""
|
|
3862
3233
|
|
|
3863
3234
|
def shade_smooth(
|
|
@@ -3869,10 +3240,7 @@ def shade_smooth(
|
|
|
3869
3240
|
) -> None:
|
|
3870
3241
|
"""Render and display faces smooth, using interpolated vertex normals
|
|
3871
3242
|
|
|
3872
|
-
:
|
|
3873
|
-
:type undo: bool | None
|
|
3874
|
-
:param keep_sharp_edges: Keep Sharp Edges, Don't remove sharp edges. Tagged edges will remain sharp
|
|
3875
|
-
:type keep_sharp_edges: bool | None
|
|
3243
|
+
:param keep_sharp_edges: Keep Sharp Edges, Dont remove sharp edges. Tagged edges will remain sharp
|
|
3876
3244
|
"""
|
|
3877
3245
|
|
|
3878
3246
|
def shade_smooth_by_angle(
|
|
@@ -3885,12 +3253,8 @@ def shade_smooth_by_angle(
|
|
|
3885
3253
|
) -> None:
|
|
3886
3254
|
"""Set the sharpness of mesh edges based on the angle between the neighboring faces
|
|
3887
3255
|
|
|
3888
|
-
:type execution_context: int | str | None
|
|
3889
|
-
:type undo: bool | None
|
|
3890
3256
|
:param angle: Angle, Maximum angle between face normals that will be considered as smooth
|
|
3891
|
-
:type angle: float | None
|
|
3892
3257
|
:param keep_sharp_edges: Keep Sharp Edges, Only add sharp edges instead of clearing existing tags first
|
|
3893
|
-
:type keep_sharp_edges: bool | None
|
|
3894
3258
|
"""
|
|
3895
3259
|
|
|
3896
3260
|
def shaderfx_add(
|
|
@@ -3902,10 +3266,7 @@ def shaderfx_add(
|
|
|
3902
3266
|
) -> None:
|
|
3903
3267
|
"""Add a visual effect to the active object
|
|
3904
3268
|
|
|
3905
|
-
:type execution_context: int | str | None
|
|
3906
|
-
:type undo: bool | None
|
|
3907
3269
|
:param type: Type
|
|
3908
|
-
:type type: bpy.stub_internal.rna_enums.ObjectShaderfxTypeItems | None
|
|
3909
3270
|
"""
|
|
3910
3271
|
|
|
3911
3272
|
def shaderfx_copy(
|
|
@@ -3917,10 +3278,7 @@ def shaderfx_copy(
|
|
|
3917
3278
|
) -> None:
|
|
3918
3279
|
"""Duplicate effect at the same position in the stack
|
|
3919
3280
|
|
|
3920
|
-
:type execution_context: int | str | None
|
|
3921
|
-
:type undo: bool | None
|
|
3922
3281
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
3923
|
-
:type shaderfx: str
|
|
3924
3282
|
"""
|
|
3925
3283
|
|
|
3926
3284
|
def shaderfx_move_down(
|
|
@@ -3932,10 +3290,7 @@ def shaderfx_move_down(
|
|
|
3932
3290
|
) -> None:
|
|
3933
3291
|
"""Move effect down in the stack
|
|
3934
3292
|
|
|
3935
|
-
:type execution_context: int | str | None
|
|
3936
|
-
:type undo: bool | None
|
|
3937
3293
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
3938
|
-
:type shaderfx: str
|
|
3939
3294
|
"""
|
|
3940
3295
|
|
|
3941
3296
|
def shaderfx_move_to_index(
|
|
@@ -3946,14 +3301,10 @@ def shaderfx_move_to_index(
|
|
|
3946
3301
|
shaderfx: str = "",
|
|
3947
3302
|
index: int | None = 0,
|
|
3948
3303
|
) -> None:
|
|
3949
|
-
"""Change the
|
|
3304
|
+
"""Change the effects position in the list so it evaluates after the set number of others
|
|
3950
3305
|
|
|
3951
|
-
:type execution_context: int | str | None
|
|
3952
|
-
:type undo: bool | None
|
|
3953
3306
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
3954
|
-
:type shaderfx: str
|
|
3955
3307
|
:param index: Index, The index to move the effect to
|
|
3956
|
-
:type index: int | None
|
|
3957
3308
|
"""
|
|
3958
3309
|
|
|
3959
3310
|
def shaderfx_move_up(
|
|
@@ -3965,10 +3316,7 @@ def shaderfx_move_up(
|
|
|
3965
3316
|
) -> None:
|
|
3966
3317
|
"""Move effect up in the stack
|
|
3967
3318
|
|
|
3968
|
-
:type execution_context: int | str | None
|
|
3969
|
-
:type undo: bool | None
|
|
3970
3319
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
3971
|
-
:type shaderfx: str
|
|
3972
3320
|
"""
|
|
3973
3321
|
|
|
3974
3322
|
def shaderfx_remove(
|
|
@@ -3981,12 +3329,8 @@ def shaderfx_remove(
|
|
|
3981
3329
|
) -> None:
|
|
3982
3330
|
"""Remove a effect from the active Grease Pencil object
|
|
3983
3331
|
|
|
3984
|
-
:type execution_context: int | str | None
|
|
3985
|
-
:type undo: bool | None
|
|
3986
3332
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
3987
|
-
:type shaderfx: str
|
|
3988
3333
|
:param report: Report, Create a notification after the operation
|
|
3989
|
-
:type report: bool | None
|
|
3990
3334
|
"""
|
|
3991
3335
|
|
|
3992
3336
|
def shape_key_add(
|
|
@@ -3998,29 +3342,22 @@ def shape_key_add(
|
|
|
3998
3342
|
) -> None:
|
|
3999
3343
|
"""Add shape key to the object
|
|
4000
3344
|
|
|
4001
|
-
:type execution_context: int | str | None
|
|
4002
|
-
:type undo: bool | None
|
|
4003
3345
|
:param from_mix: From Mix, Create the new shape key from the existing mix of keys
|
|
4004
|
-
:type from_mix: bool | None
|
|
4005
3346
|
"""
|
|
4006
3347
|
|
|
4007
3348
|
def shape_key_clear(
|
|
4008
|
-
execution_context: int | str | None = None,
|
|
3349
|
+
execution_context: int | str | None = None,
|
|
3350
|
+
undo: bool | None = None,
|
|
3351
|
+
/,
|
|
4009
3352
|
) -> None:
|
|
4010
|
-
"""Reset the weights of all shape keys to 0 or to the closest value respecting the limits
|
|
4011
|
-
|
|
4012
|
-
:type execution_context: int | str | None
|
|
4013
|
-
:type undo: bool | None
|
|
4014
|
-
"""
|
|
3353
|
+
"""Reset the weights of all shape keys to 0 or to the closest value respecting the limits"""
|
|
4015
3354
|
|
|
4016
3355
|
def shape_key_copy(
|
|
4017
|
-
execution_context: int | str | None = None,
|
|
3356
|
+
execution_context: int | str | None = None,
|
|
3357
|
+
undo: bool | None = None,
|
|
3358
|
+
/,
|
|
4018
3359
|
) -> None:
|
|
4019
|
-
"""Duplicate the active shape key
|
|
4020
|
-
|
|
4021
|
-
:type execution_context: int | str | None
|
|
4022
|
-
:type undo: bool | None
|
|
4023
|
-
"""
|
|
3360
|
+
"""Duplicate the active shape key"""
|
|
4024
3361
|
|
|
4025
3362
|
def shape_key_lock(
|
|
4026
3363
|
execution_context: int | str | None = None,
|
|
@@ -4031,8 +3368,6 @@ def shape_key_lock(
|
|
|
4031
3368
|
) -> None:
|
|
4032
3369
|
"""Change the lock state of all shape keys of active object
|
|
4033
3370
|
|
|
4034
|
-
:type execution_context: int | str | None
|
|
4035
|
-
:type undo: bool | None
|
|
4036
3371
|
:param action: Action, Lock action to execute on vertex groups
|
|
4037
3372
|
|
|
4038
3373
|
LOCK
|
|
@@ -4040,9 +3375,15 @@ def shape_key_lock(
|
|
|
4040
3375
|
|
|
4041
3376
|
UNLOCK
|
|
4042
3377
|
Unlock -- Unlock all shape keys.
|
|
4043
|
-
:type action: typing.Literal['LOCK','UNLOCK'] | None
|
|
4044
3378
|
"""
|
|
4045
3379
|
|
|
3380
|
+
def shape_key_make_basis(
|
|
3381
|
+
execution_context: int | str | None = None,
|
|
3382
|
+
undo: bool | None = None,
|
|
3383
|
+
/,
|
|
3384
|
+
) -> None:
|
|
3385
|
+
"""Make this shape key the new basis key, effectively applying it to the mesh. Note that this applies the shape key at its 100% value"""
|
|
3386
|
+
|
|
4046
3387
|
def shape_key_mirror(
|
|
4047
3388
|
execution_context: int | str | None = None,
|
|
4048
3389
|
undo: bool | None = None,
|
|
@@ -4052,10 +3393,7 @@ def shape_key_mirror(
|
|
|
4052
3393
|
) -> None:
|
|
4053
3394
|
"""Mirror the current shape key along the local X axis
|
|
4054
3395
|
|
|
4055
|
-
:type execution_context: int | str | None
|
|
4056
|
-
:type undo: bool | None
|
|
4057
3396
|
:param use_topology: Topology Mirror, Use topology based mirroring (for when both sides of mesh have matching, unique topology)
|
|
4058
|
-
:type use_topology: bool | None
|
|
4059
3397
|
"""
|
|
4060
3398
|
|
|
4061
3399
|
def shape_key_move(
|
|
@@ -4065,10 +3403,8 @@ def shape_key_move(
|
|
|
4065
3403
|
*,
|
|
4066
3404
|
type: typing.Literal["TOP", "UP", "DOWN", "BOTTOM"] | None = "TOP",
|
|
4067
3405
|
) -> None:
|
|
4068
|
-
"""Move
|
|
3406
|
+
"""Move selected shape keys up/down in the list
|
|
4069
3407
|
|
|
4070
|
-
:type execution_context: int | str | None
|
|
4071
|
-
:type undo: bool | None
|
|
4072
3408
|
:param type: Type
|
|
4073
3409
|
|
|
4074
3410
|
TOP
|
|
@@ -4082,7 +3418,6 @@ def shape_key_move(
|
|
|
4082
3418
|
|
|
4083
3419
|
BOTTOM
|
|
4084
3420
|
Bottom -- Bottom of the list.
|
|
4085
|
-
:type type: typing.Literal['TOP','UP','DOWN','BOTTOM'] | None
|
|
4086
3421
|
"""
|
|
4087
3422
|
|
|
4088
3423
|
def shape_key_remove(
|
|
@@ -4095,22 +3430,16 @@ def shape_key_remove(
|
|
|
4095
3430
|
) -> None:
|
|
4096
3431
|
"""Remove shape key from the object
|
|
4097
3432
|
|
|
4098
|
-
:type execution_context: int | str | None
|
|
4099
|
-
:type undo: bool | None
|
|
4100
3433
|
:param all: All, Remove all shape keys
|
|
4101
|
-
:type all: bool | None
|
|
4102
3434
|
:param apply_mix: Apply Mix, Apply current mix of shape keys to the geometry before removing them
|
|
4103
|
-
:type apply_mix: bool | None
|
|
4104
3435
|
"""
|
|
4105
3436
|
|
|
4106
3437
|
def shape_key_retime(
|
|
4107
|
-
execution_context: int | str | None = None,
|
|
3438
|
+
execution_context: int | str | None = None,
|
|
3439
|
+
undo: bool | None = None,
|
|
3440
|
+
/,
|
|
4108
3441
|
) -> None:
|
|
4109
|
-
"""Resets the timing for absolute shape keys
|
|
4110
|
-
|
|
4111
|
-
:type execution_context: int | str | None
|
|
4112
|
-
:type undo: bool | None
|
|
4113
|
-
"""
|
|
3442
|
+
"""Resets the timing for absolute shape keys"""
|
|
4114
3443
|
|
|
4115
3444
|
def shape_key_transfer(
|
|
4116
3445
|
execution_context: int | str | None = None,
|
|
@@ -4122,8 +3451,6 @@ def shape_key_transfer(
|
|
|
4122
3451
|
) -> None:
|
|
4123
3452
|
"""Copy the active shape key of another selected object to this one
|
|
4124
3453
|
|
|
4125
|
-
:type execution_context: int | str | None
|
|
4126
|
-
:type undo: bool | None
|
|
4127
3454
|
:param mode: Transformation Mode, Relative shape positions to the new shape method
|
|
4128
3455
|
|
|
4129
3456
|
OFFSET
|
|
@@ -4134,9 +3461,7 @@ def shape_key_transfer(
|
|
|
4134
3461
|
|
|
4135
3462
|
RELATIVE_EDGE
|
|
4136
3463
|
Relative Edge -- Calculate relative position (using edges).
|
|
4137
|
-
:type mode: typing.Literal['OFFSET','RELATIVE_FACE','RELATIVE_EDGE'] | None
|
|
4138
3464
|
:param use_clamp: Clamp Offset, Clamp the transformation to the distance each vertex moves in the original shape
|
|
4139
|
-
:type use_clamp: bool | None
|
|
4140
3465
|
"""
|
|
4141
3466
|
|
|
4142
3467
|
def simulation_nodes_cache_bake(
|
|
@@ -4148,10 +3473,7 @@ def simulation_nodes_cache_bake(
|
|
|
4148
3473
|
) -> None:
|
|
4149
3474
|
"""Bake simulations in geometry nodes modifiers
|
|
4150
3475
|
|
|
4151
|
-
:type execution_context: int | str | None
|
|
4152
|
-
:type undo: bool | None
|
|
4153
3476
|
:param selected: Selected, Bake cache on all selected objects
|
|
4154
|
-
:type selected: bool | None
|
|
4155
3477
|
"""
|
|
4156
3478
|
|
|
4157
3479
|
def simulation_nodes_cache_calculate_to_frame(
|
|
@@ -4163,10 +3485,7 @@ def simulation_nodes_cache_calculate_to_frame(
|
|
|
4163
3485
|
) -> None:
|
|
4164
3486
|
"""Calculate simulations in geometry nodes modifiers from the start to current frame
|
|
4165
3487
|
|
|
4166
|
-
:type execution_context: int | str | None
|
|
4167
|
-
:type undo: bool | None
|
|
4168
3488
|
:param selected: Selected, Calculate all selected objects instead of just the active object
|
|
4169
|
-
:type selected: bool | None
|
|
4170
3489
|
"""
|
|
4171
3490
|
|
|
4172
3491
|
def simulation_nodes_cache_delete(
|
|
@@ -4178,10 +3497,7 @@ def simulation_nodes_cache_delete(
|
|
|
4178
3497
|
) -> None:
|
|
4179
3498
|
"""Delete cached/baked simulations in geometry nodes modifiers
|
|
4180
3499
|
|
|
4181
|
-
:type execution_context: int | str | None
|
|
4182
|
-
:type undo: bool | None
|
|
4183
3500
|
:param selected: Selected, Delete cache on all selected objects
|
|
4184
|
-
:type selected: bool | None
|
|
4185
3501
|
"""
|
|
4186
3502
|
|
|
4187
3503
|
def skin_armature_create(
|
|
@@ -4193,10 +3509,7 @@ def skin_armature_create(
|
|
|
4193
3509
|
) -> None:
|
|
4194
3510
|
"""Create an armature that parallels the skin layout
|
|
4195
3511
|
|
|
4196
|
-
:type execution_context: int | str | None
|
|
4197
|
-
:type undo: bool | None
|
|
4198
3512
|
:param modifier: Modifier, Name of the modifier to edit
|
|
4199
|
-
:type modifier: str
|
|
4200
3513
|
"""
|
|
4201
3514
|
|
|
4202
3515
|
def skin_loose_mark_clear(
|
|
@@ -4208,8 +3521,6 @@ def skin_loose_mark_clear(
|
|
|
4208
3521
|
) -> None:
|
|
4209
3522
|
"""Mark/clear selected vertices as loose
|
|
4210
3523
|
|
|
4211
|
-
:type execution_context: int | str | None
|
|
4212
|
-
:type undo: bool | None
|
|
4213
3524
|
:param action: Action
|
|
4214
3525
|
|
|
4215
3526
|
MARK
|
|
@@ -4217,26 +3528,21 @@ def skin_loose_mark_clear(
|
|
|
4217
3528
|
|
|
4218
3529
|
CLEAR
|
|
4219
3530
|
Clear -- Set selected vertices as not loose.
|
|
4220
|
-
:type action: typing.Literal['MARK','CLEAR'] | None
|
|
4221
3531
|
"""
|
|
4222
3532
|
|
|
4223
3533
|
def skin_radii_equalize(
|
|
4224
|
-
execution_context: int | str | None = None,
|
|
3534
|
+
execution_context: int | str | None = None,
|
|
3535
|
+
undo: bool | None = None,
|
|
3536
|
+
/,
|
|
4225
3537
|
) -> None:
|
|
4226
|
-
"""Make skin radii of selected vertices equal on each axis
|
|
4227
|
-
|
|
4228
|
-
:type execution_context: int | str | None
|
|
4229
|
-
:type undo: bool | None
|
|
4230
|
-
"""
|
|
3538
|
+
"""Make skin radii of selected vertices equal on each axis"""
|
|
4231
3539
|
|
|
4232
3540
|
def skin_root_mark(
|
|
4233
|
-
execution_context: int | str | None = None,
|
|
3541
|
+
execution_context: int | str | None = None,
|
|
3542
|
+
undo: bool | None = None,
|
|
3543
|
+
/,
|
|
4234
3544
|
) -> None:
|
|
4235
|
-
"""Mark selected vertices as roots
|
|
4236
|
-
|
|
4237
|
-
:type execution_context: int | str | None
|
|
4238
|
-
:type undo: bool | None
|
|
4239
|
-
"""
|
|
3545
|
+
"""Mark selected vertices as roots"""
|
|
4240
3546
|
|
|
4241
3547
|
def speaker_add(
|
|
4242
3548
|
execution_context: int | str | None = None,
|
|
@@ -4259,10 +3565,7 @@ def speaker_add(
|
|
|
4259
3565
|
) -> None:
|
|
4260
3566
|
"""Add a speaker object to the scene
|
|
4261
3567
|
|
|
4262
|
-
:type execution_context: int | str | None
|
|
4263
|
-
:type undo: bool | None
|
|
4264
3568
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
4265
|
-
:type enter_editmode: bool | None
|
|
4266
3569
|
:param align: Align, The alignment of the new object
|
|
4267
3570
|
|
|
4268
3571
|
WORLD
|
|
@@ -4273,13 +3576,9 @@ def speaker_add(
|
|
|
4273
3576
|
|
|
4274
3577
|
CURSOR
|
|
4275
3578
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
4276
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
4277
3579
|
:param location: Location, Location for the newly added object
|
|
4278
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
4279
3580
|
:param rotation: Rotation, Rotation for the newly added object
|
|
4280
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
4281
3581
|
:param scale: Scale, Scale for the newly added object
|
|
4282
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
4283
3582
|
"""
|
|
4284
3583
|
|
|
4285
3584
|
def subdivision_set(
|
|
@@ -4293,14 +3592,9 @@ def subdivision_set(
|
|
|
4293
3592
|
) -> None:
|
|
4294
3593
|
"""Sets a Subdivision Surface level (1 to 5)
|
|
4295
3594
|
|
|
4296
|
-
:type execution_context: int | str | None
|
|
4297
|
-
:type undo: bool | None
|
|
4298
3595
|
:param level: Level
|
|
4299
|
-
:type level: int | None
|
|
4300
3596
|
:param relative: Relative, Apply the subdivision surface level as an offset relative to the current level
|
|
4301
|
-
:type relative: bool | None
|
|
4302
3597
|
:param ensure_modifier: Ensure Modifier, Create the corresponding modifier if it does not exist
|
|
4303
|
-
:type ensure_modifier: bool | None
|
|
4304
3598
|
"""
|
|
4305
3599
|
|
|
4306
3600
|
def surfacedeform_bind(
|
|
@@ -4312,10 +3606,7 @@ def surfacedeform_bind(
|
|
|
4312
3606
|
) -> None:
|
|
4313
3607
|
"""Bind mesh to target in surface deform modifier
|
|
4314
3608
|
|
|
4315
|
-
:type execution_context: int | str | None
|
|
4316
|
-
:type undo: bool | None
|
|
4317
3609
|
:param modifier: Modifier, Name of the modifier to edit
|
|
4318
|
-
:type modifier: str
|
|
4319
3610
|
"""
|
|
4320
3611
|
|
|
4321
3612
|
def text_add(
|
|
@@ -4340,12 +3631,8 @@ def text_add(
|
|
|
4340
3631
|
) -> None:
|
|
4341
3632
|
"""Add a text object to the scene
|
|
4342
3633
|
|
|
4343
|
-
:type execution_context: int | str | None
|
|
4344
|
-
:type undo: bool | None
|
|
4345
3634
|
:param radius: Radius
|
|
4346
|
-
:type radius: float | None
|
|
4347
3635
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
4348
|
-
:type enter_editmode: bool | None
|
|
4349
3636
|
:param align: Align, The alignment of the new object
|
|
4350
3637
|
|
|
4351
3638
|
WORLD
|
|
@@ -4356,13 +3643,9 @@ def text_add(
|
|
|
4356
3643
|
|
|
4357
3644
|
CURSOR
|
|
4358
3645
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
4359
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
4360
3646
|
:param location: Location, Location for the newly added object
|
|
4361
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
4362
3647
|
:param rotation: Rotation, Rotation for the newly added object
|
|
4363
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
4364
3648
|
:param scale: Scale, Scale for the newly added object
|
|
4365
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
4366
3649
|
"""
|
|
4367
3650
|
|
|
4368
3651
|
def track_clear(
|
|
@@ -4374,10 +3657,7 @@ def track_clear(
|
|
|
4374
3657
|
) -> None:
|
|
4375
3658
|
"""Clear tracking constraint or flag from object
|
|
4376
3659
|
|
|
4377
|
-
:type execution_context: int | str | None
|
|
4378
|
-
:type undo: bool | None
|
|
4379
3660
|
:param type: Type
|
|
4380
|
-
:type type: typing.Literal['CLEAR','CLEAR_KEEP_TRANSFORM'] | None
|
|
4381
3661
|
"""
|
|
4382
3662
|
|
|
4383
3663
|
def track_set(
|
|
@@ -4389,10 +3669,7 @@ def track_set(
|
|
|
4389
3669
|
) -> None:
|
|
4390
3670
|
"""Make the object track another object, using various methods/constraints
|
|
4391
3671
|
|
|
4392
|
-
:type execution_context: int | str | None
|
|
4393
|
-
:type undo: bool | None
|
|
4394
3672
|
:param type: Type
|
|
4395
|
-
:type type: typing.Literal['DAMPTRACK','TRACKTO','LOCKTRACK'] | None
|
|
4396
3673
|
"""
|
|
4397
3674
|
|
|
4398
3675
|
def transfer_mode(
|
|
@@ -4404,10 +3681,7 @@ def transfer_mode(
|
|
|
4404
3681
|
) -> None:
|
|
4405
3682
|
"""Switches the active object and assigns the same mode to a new one under the mouse cursor, leaving the active mode in the current one
|
|
4406
3683
|
|
|
4407
|
-
:type execution_context: int | str | None
|
|
4408
|
-
:type undo: bool | None
|
|
4409
3684
|
:param use_flash_on_transfer: Flash On Transfer, Flash the target object when transferring the mode
|
|
4410
|
-
:type use_flash_on_transfer: bool | None
|
|
4411
3685
|
"""
|
|
4412
3686
|
|
|
4413
3687
|
def transform_apply(
|
|
@@ -4419,32 +3693,25 @@ def transform_apply(
|
|
|
4419
3693
|
rotation: bool | None = True,
|
|
4420
3694
|
scale: bool | None = True,
|
|
4421
3695
|
properties: bool | None = True,
|
|
3696
|
+
corrective_flip_normals: bool | None = True,
|
|
4422
3697
|
isolate_users: bool | None = False,
|
|
4423
3698
|
) -> None:
|
|
4424
|
-
"""Apply the
|
|
3699
|
+
"""Apply the objects transformation to its data
|
|
4425
3700
|
|
|
4426
|
-
:type execution_context: int | str | None
|
|
4427
|
-
:type undo: bool | None
|
|
4428
3701
|
:param location: Location
|
|
4429
|
-
:type location: bool | None
|
|
4430
3702
|
:param rotation: Rotation
|
|
4431
|
-
:type rotation: bool | None
|
|
4432
3703
|
:param scale: Scale
|
|
4433
|
-
:type scale: bool | None
|
|
4434
3704
|
:param properties: Apply Properties, Modify properties such as curve vertex radius, font size and bone envelope
|
|
4435
|
-
:
|
|
3705
|
+
:param corrective_flip_normals: Corrective Flip Normals, Invert normals for negative scaled objects.
|
|
4436
3706
|
:param isolate_users: Isolate Multi User Data, Create new object-data users if needed
|
|
4437
|
-
:type isolate_users: bool | None
|
|
4438
3707
|
"""
|
|
4439
3708
|
|
|
4440
3709
|
def transform_axis_target(
|
|
4441
|
-
execution_context: int | str | None = None,
|
|
3710
|
+
execution_context: int | str | None = None,
|
|
3711
|
+
undo: bool | None = None,
|
|
3712
|
+
/,
|
|
4442
3713
|
) -> None:
|
|
4443
|
-
"""Interactively point cameras and lights to a location (Ctrl translates)
|
|
4444
|
-
|
|
4445
|
-
:type execution_context: int | str | None
|
|
4446
|
-
:type undo: bool | None
|
|
4447
|
-
"""
|
|
3714
|
+
"""Interactively point cameras and lights to a location (Ctrl translates)"""
|
|
4448
3715
|
|
|
4449
3716
|
def transform_to_mouse(
|
|
4450
3717
|
execution_context: int | str | None = None,
|
|
@@ -4466,18 +3733,11 @@ def transform_to_mouse(
|
|
|
4466
3733
|
) -> None:
|
|
4467
3734
|
"""Snap selected item(s) to the mouse location
|
|
4468
3735
|
|
|
4469
|
-
:
|
|
4470
|
-
:
|
|
4471
|
-
:param name: Name, Object name to place (uses the active object when this and 'session_uid' are unset)
|
|
4472
|
-
:type name: str
|
|
4473
|
-
:param session_uid: Session UUID, Session UUID of the object to place (uses the active object when this and 'name' are unset)
|
|
4474
|
-
:type session_uid: int | None
|
|
3736
|
+
:param name: Name, Object name to place (uses the active object when this and session_uid are unset)
|
|
3737
|
+
:param session_uid: Session UUID, Session UUID of the object to place (uses the active object when this and name are unset)
|
|
4475
3738
|
:param matrix: Matrix
|
|
4476
|
-
:type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
|
|
4477
3739
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
4478
|
-
:type drop_x: int | None
|
|
4479
3740
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
4480
|
-
:type drop_y: int | None
|
|
4481
3741
|
"""
|
|
4482
3742
|
|
|
4483
3743
|
def transforms_to_deltas(
|
|
@@ -4490,8 +3750,6 @@ def transforms_to_deltas(
|
|
|
4490
3750
|
) -> None:
|
|
4491
3751
|
"""Convert normal object transforms to delta transforms, any existing delta transforms will be included as well
|
|
4492
3752
|
|
|
4493
|
-
:type execution_context: int | str | None
|
|
4494
|
-
:type undo: bool | None
|
|
4495
3753
|
:param mode: Mode, Which transforms to transfer
|
|
4496
3754
|
|
|
4497
3755
|
ALL
|
|
@@ -4505,55 +3763,48 @@ def transforms_to_deltas(
|
|
|
4505
3763
|
|
|
4506
3764
|
SCALE
|
|
4507
3765
|
Scale -- Transfer scale transforms only.
|
|
4508
|
-
:type mode: typing.Literal['ALL','LOC','ROT','SCALE'] | None
|
|
4509
3766
|
:param reset_values: Reset Values, Clear transform values after transferring to deltas
|
|
4510
|
-
:type reset_values: bool | None
|
|
4511
3767
|
"""
|
|
4512
3768
|
|
|
4513
3769
|
def unlink_data(
|
|
4514
|
-
execution_context: int | str | None = None,
|
|
3770
|
+
execution_context: int | str | None = None,
|
|
3771
|
+
undo: bool | None = None,
|
|
3772
|
+
/,
|
|
4515
3773
|
) -> None:
|
|
4516
|
-
"""Undocumented, consider contributing.
|
|
4517
|
-
|
|
4518
|
-
:type execution_context: int | str | None
|
|
4519
|
-
:type undo: bool | None
|
|
4520
|
-
"""
|
|
3774
|
+
"""Undocumented, consider contributing."""
|
|
4521
3775
|
|
|
4522
3776
|
def update_shapes(
|
|
4523
|
-
execution_context: int | str | None = None,
|
|
3777
|
+
execution_context: int | str | None = None,
|
|
3778
|
+
undo: bool | None = None,
|
|
3779
|
+
/,
|
|
3780
|
+
*,
|
|
3781
|
+
use_mirror: bool | None = False,
|
|
4524
3782
|
) -> None:
|
|
4525
3783
|
"""Update existing shape keys with the vertex positions of selected objects with matching names
|
|
4526
3784
|
|
|
4527
|
-
:
|
|
4528
|
-
:type undo: bool | None
|
|
3785
|
+
:param use_mirror: Mirror, Mirror the new shape key values
|
|
4529
3786
|
"""
|
|
4530
3787
|
|
|
4531
3788
|
def vertex_group_add(
|
|
4532
|
-
execution_context: int | str | None = None,
|
|
3789
|
+
execution_context: int | str | None = None,
|
|
3790
|
+
undo: bool | None = None,
|
|
3791
|
+
/,
|
|
4533
3792
|
) -> None:
|
|
4534
|
-
"""Add a new vertex group to the active object
|
|
4535
|
-
|
|
4536
|
-
:type execution_context: int | str | None
|
|
4537
|
-
:type undo: bool | None
|
|
4538
|
-
"""
|
|
3793
|
+
"""Add a new vertex group to the active object"""
|
|
4539
3794
|
|
|
4540
3795
|
def vertex_group_assign(
|
|
4541
|
-
execution_context: int | str | None = None,
|
|
3796
|
+
execution_context: int | str | None = None,
|
|
3797
|
+
undo: bool | None = None,
|
|
3798
|
+
/,
|
|
4542
3799
|
) -> None:
|
|
4543
|
-
"""Assign the selected vertices to the active vertex group
|
|
4544
|
-
|
|
4545
|
-
:type execution_context: int | str | None
|
|
4546
|
-
:type undo: bool | None
|
|
4547
|
-
"""
|
|
3800
|
+
"""Assign the selected vertices to the active vertex group"""
|
|
4548
3801
|
|
|
4549
3802
|
def vertex_group_assign_new(
|
|
4550
|
-
execution_context: int | str | None = None,
|
|
3803
|
+
execution_context: int | str | None = None,
|
|
3804
|
+
undo: bool | None = None,
|
|
3805
|
+
/,
|
|
4551
3806
|
) -> None:
|
|
4552
|
-
"""Assign the selected vertices to a new vertex group
|
|
4553
|
-
|
|
4554
|
-
:type execution_context: int | str | None
|
|
4555
|
-
:type undo: bool | None
|
|
4556
|
-
"""
|
|
3807
|
+
"""Assign the selected vertices to a new vertex group"""
|
|
4557
3808
|
|
|
4558
3809
|
def vertex_group_clean(
|
|
4559
3810
|
execution_context: int | str | None = None,
|
|
@@ -4566,42 +3817,31 @@ def vertex_group_clean(
|
|
|
4566
3817
|
) -> None:
|
|
4567
3818
|
"""Remove vertex group assignments which are not required
|
|
4568
3819
|
|
|
4569
|
-
:type execution_context: int | str | None
|
|
4570
|
-
:type undo: bool | None
|
|
4571
3820
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
4572
|
-
:type group_select_mode: str | None
|
|
4573
3821
|
:param limit: Limit, Remove vertices which weight is below or equal to this limit
|
|
4574
|
-
:type limit: float | None
|
|
4575
3822
|
:param keep_single: Keep Single, Keep verts assigned to at least one group when cleaning
|
|
4576
|
-
:type keep_single: bool | None
|
|
4577
3823
|
"""
|
|
4578
3824
|
|
|
4579
3825
|
def vertex_group_copy(
|
|
4580
|
-
execution_context: int | str | None = None,
|
|
3826
|
+
execution_context: int | str | None = None,
|
|
3827
|
+
undo: bool | None = None,
|
|
3828
|
+
/,
|
|
4581
3829
|
) -> None:
|
|
4582
|
-
"""Make a copy of the active vertex group
|
|
4583
|
-
|
|
4584
|
-
:type execution_context: int | str | None
|
|
4585
|
-
:type undo: bool | None
|
|
4586
|
-
"""
|
|
3830
|
+
"""Make a copy of the active vertex group"""
|
|
4587
3831
|
|
|
4588
3832
|
def vertex_group_copy_to_selected(
|
|
4589
|
-
execution_context: int | str | None = None,
|
|
3833
|
+
execution_context: int | str | None = None,
|
|
3834
|
+
undo: bool | None = None,
|
|
3835
|
+
/,
|
|
4590
3836
|
) -> None:
|
|
4591
|
-
"""Replace vertex groups of selected objects by vertex groups of active object
|
|
4592
|
-
|
|
4593
|
-
:type execution_context: int | str | None
|
|
4594
|
-
:type undo: bool | None
|
|
4595
|
-
"""
|
|
3837
|
+
"""Replace vertex groups of selected objects by vertex groups of active object"""
|
|
4596
3838
|
|
|
4597
3839
|
def vertex_group_deselect(
|
|
4598
|
-
execution_context: int | str | None = None,
|
|
3840
|
+
execution_context: int | str | None = None,
|
|
3841
|
+
undo: bool | None = None,
|
|
3842
|
+
/,
|
|
4599
3843
|
) -> None:
|
|
4600
|
-
"""Deselect all selected vertices assigned to the active vertex group
|
|
4601
|
-
|
|
4602
|
-
:type execution_context: int | str | None
|
|
4603
|
-
:type undo: bool | None
|
|
4604
|
-
"""
|
|
3844
|
+
"""Deselect all selected vertices assigned to the active vertex group"""
|
|
4605
3845
|
|
|
4606
3846
|
def vertex_group_invert(
|
|
4607
3847
|
execution_context: int | str | None = None,
|
|
@@ -4612,16 +3852,11 @@ def vertex_group_invert(
|
|
|
4612
3852
|
auto_assign: bool | None = True,
|
|
4613
3853
|
auto_remove: bool | None = True,
|
|
4614
3854
|
) -> None:
|
|
4615
|
-
"""Invert active vertex
|
|
3855
|
+
"""Invert active vertex groups weights
|
|
4616
3856
|
|
|
4617
|
-
:type execution_context: int | str | None
|
|
4618
|
-
:type undo: bool | None
|
|
4619
3857
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
4620
|
-
:type group_select_mode: str | None
|
|
4621
3858
|
:param auto_assign: Add Weights, Add vertices from groups that have zero weight before inverting
|
|
4622
|
-
:type auto_assign: bool | None
|
|
4623
3859
|
:param auto_remove: Remove Weights, Remove vertices from groups that have zero weight after inverting
|
|
4624
|
-
:type auto_remove: bool | None
|
|
4625
3860
|
"""
|
|
4626
3861
|
|
|
4627
3862
|
def vertex_group_levels(
|
|
@@ -4635,14 +3870,9 @@ def vertex_group_levels(
|
|
|
4635
3870
|
) -> None:
|
|
4636
3871
|
"""Add some offset and multiply with some gain the weights of the active vertex group
|
|
4637
3872
|
|
|
4638
|
-
:type execution_context: int | str | None
|
|
4639
|
-
:type undo: bool | None
|
|
4640
3873
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
4641
|
-
:type group_select_mode: str | None
|
|
4642
3874
|
:param offset: Offset, Value to add to weights
|
|
4643
|
-
:type offset: float | None
|
|
4644
3875
|
:param gain: Gain, Value to multiply weights by
|
|
4645
|
-
:type gain: float | None
|
|
4646
3876
|
"""
|
|
4647
3877
|
|
|
4648
3878
|
def vertex_group_limit_total(
|
|
@@ -4655,12 +3885,8 @@ def vertex_group_limit_total(
|
|
|
4655
3885
|
) -> None:
|
|
4656
3886
|
"""Limit deform weights associated with a vertex to a specified number by removing lowest weights
|
|
4657
3887
|
|
|
4658
|
-
:type execution_context: int | str | None
|
|
4659
|
-
:type undo: bool | None
|
|
4660
3888
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
4661
|
-
:type group_select_mode: str | None
|
|
4662
3889
|
:param limit: Limit, Maximum number of deform weights
|
|
4663
|
-
:type limit: int | None
|
|
4664
3890
|
"""
|
|
4665
3891
|
|
|
4666
3892
|
def vertex_group_lock(
|
|
@@ -4674,8 +3900,6 @@ def vertex_group_lock(
|
|
|
4674
3900
|
) -> None:
|
|
4675
3901
|
"""Change the lock state of all or some vertex groups of active object
|
|
4676
3902
|
|
|
4677
|
-
:type execution_context: int | str | None
|
|
4678
|
-
:type undo: bool | None
|
|
4679
3903
|
:param action: Action, Lock action to execute on vertex groups
|
|
4680
3904
|
|
|
4681
3905
|
TOGGLE
|
|
@@ -4689,7 +3913,6 @@ def vertex_group_lock(
|
|
|
4689
3913
|
|
|
4690
3914
|
INVERT
|
|
4691
3915
|
Invert -- Invert the lock state of all vertex groups.
|
|
4692
|
-
:type action: typing.Literal['TOGGLE','LOCK','UNLOCK','INVERT'] | None
|
|
4693
3916
|
:param mask: Mask, Apply the action based on vertex group selection
|
|
4694
3917
|
|
|
4695
3918
|
ALL
|
|
@@ -4703,7 +3926,6 @@ def vertex_group_lock(
|
|
|
4703
3926
|
|
|
4704
3927
|
INVERT_UNSELECTED
|
|
4705
3928
|
Invert Unselected -- Apply the opposite of Lock/Unlock to unselected vertex groups.
|
|
4706
|
-
:type mask: typing.Literal['ALL','SELECTED','UNSELECTED','INVERT_UNSELECTED'] | None
|
|
4707
3929
|
"""
|
|
4708
3930
|
|
|
4709
3931
|
def vertex_group_mirror(
|
|
@@ -4718,16 +3940,10 @@ def vertex_group_mirror(
|
|
|
4718
3940
|
) -> None:
|
|
4719
3941
|
"""Mirror vertex group, flip weights and/or names, editing only selected vertices, flipping when both sides are selected otherwise copy from unselected
|
|
4720
3942
|
|
|
4721
|
-
:type execution_context: int | str | None
|
|
4722
|
-
:type undo: bool | None
|
|
4723
3943
|
:param mirror_weights: Mirror Weights, Mirror weights
|
|
4724
|
-
:type mirror_weights: bool | None
|
|
4725
3944
|
:param flip_group_names: Flip Group Names, Flip vertex group names
|
|
4726
|
-
:type flip_group_names: bool | None
|
|
4727
3945
|
:param all_groups: All Groups, Mirror all vertex groups weights
|
|
4728
|
-
:type all_groups: bool | None
|
|
4729
3946
|
:param use_topology: Topology Mirror, Use topology based mirroring (for when both sides of mesh have matching, unique topology)
|
|
4730
|
-
:type use_topology: bool | None
|
|
4731
3947
|
"""
|
|
4732
3948
|
|
|
4733
3949
|
def vertex_group_move(
|
|
@@ -4739,20 +3955,15 @@ def vertex_group_move(
|
|
|
4739
3955
|
) -> None:
|
|
4740
3956
|
"""Move the active vertex group up/down in the list
|
|
4741
3957
|
|
|
4742
|
-
:type execution_context: int | str | None
|
|
4743
|
-
:type undo: bool | None
|
|
4744
3958
|
:param direction: Direction, Direction to move the active vertex group towards
|
|
4745
|
-
:type direction: typing.Literal['UP','DOWN'] | None
|
|
4746
3959
|
"""
|
|
4747
3960
|
|
|
4748
3961
|
def vertex_group_normalize(
|
|
4749
|
-
execution_context: int | str | None = None,
|
|
3962
|
+
execution_context: int | str | None = None,
|
|
3963
|
+
undo: bool | None = None,
|
|
3964
|
+
/,
|
|
4750
3965
|
) -> None:
|
|
4751
|
-
"""Normalize weights of the active vertex group, so that the highest ones are now 1.0
|
|
4752
|
-
|
|
4753
|
-
:type execution_context: int | str | None
|
|
4754
|
-
:type undo: bool | None
|
|
4755
|
-
"""
|
|
3966
|
+
"""Normalize weights of the active vertex group, so that the highest ones are now 1.0"""
|
|
4756
3967
|
|
|
4757
3968
|
def vertex_group_normalize_all(
|
|
4758
3969
|
execution_context: int | str | None = None,
|
|
@@ -4764,12 +3975,8 @@ def vertex_group_normalize_all(
|
|
|
4764
3975
|
) -> None:
|
|
4765
3976
|
"""Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
4766
3977
|
|
|
4767
|
-
:type execution_context: int | str | None
|
|
4768
|
-
:type undo: bool | None
|
|
4769
3978
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
4770
|
-
:type group_select_mode: str | None
|
|
4771
3979
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
4772
|
-
:type lock_active: bool | None
|
|
4773
3980
|
"""
|
|
4774
3981
|
|
|
4775
3982
|
def vertex_group_quantize(
|
|
@@ -4782,12 +3989,8 @@ def vertex_group_quantize(
|
|
|
4782
3989
|
) -> None:
|
|
4783
3990
|
"""Set weights to a fixed number of steps
|
|
4784
3991
|
|
|
4785
|
-
:type execution_context: int | str | None
|
|
4786
|
-
:type undo: bool | None
|
|
4787
3992
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
4788
|
-
:type group_select_mode: str | None
|
|
4789
3993
|
:param steps: Steps, Number of steps between 0 and 1
|
|
4790
|
-
:type steps: int | None
|
|
4791
3994
|
"""
|
|
4792
3995
|
|
|
4793
3996
|
def vertex_group_remove(
|
|
@@ -4800,12 +4003,8 @@ def vertex_group_remove(
|
|
|
4800
4003
|
) -> None:
|
|
4801
4004
|
"""Delete the active or all vertex groups from the active object
|
|
4802
4005
|
|
|
4803
|
-
:type execution_context: int | str | None
|
|
4804
|
-
:type undo: bool | None
|
|
4805
4006
|
:param all: All, Remove all vertex groups
|
|
4806
|
-
:type all: bool | None
|
|
4807
4007
|
:param all_unlocked: All Unlocked, Remove all unlocked vertex groups
|
|
4808
|
-
:type all_unlocked: bool | None
|
|
4809
4008
|
"""
|
|
4810
4009
|
|
|
4811
4010
|
def vertex_group_remove_from(
|
|
@@ -4818,22 +4017,16 @@ def vertex_group_remove_from(
|
|
|
4818
4017
|
) -> None:
|
|
4819
4018
|
"""Remove the selected vertices from active or all vertex group(s)
|
|
4820
4019
|
|
|
4821
|
-
:type execution_context: int | str | None
|
|
4822
|
-
:type undo: bool | None
|
|
4823
4020
|
:param use_all_groups: All Groups, Remove from all groups
|
|
4824
|
-
:type use_all_groups: bool | None
|
|
4825
4021
|
:param use_all_verts: All Vertices, Clear the active group
|
|
4826
|
-
:type use_all_verts: bool | None
|
|
4827
4022
|
"""
|
|
4828
4023
|
|
|
4829
4024
|
def vertex_group_select(
|
|
4830
|
-
execution_context: int | str | None = None,
|
|
4025
|
+
execution_context: int | str | None = None,
|
|
4026
|
+
undo: bool | None = None,
|
|
4027
|
+
/,
|
|
4831
4028
|
) -> None:
|
|
4832
|
-
"""Select all the vertices assigned to the active vertex group
|
|
4833
|
-
|
|
4834
|
-
:type execution_context: int | str | None
|
|
4835
|
-
:type undo: bool | None
|
|
4836
|
-
"""
|
|
4029
|
+
"""Select all the vertices assigned to the active vertex group"""
|
|
4837
4030
|
|
|
4838
4031
|
def vertex_group_set_active(
|
|
4839
4032
|
execution_context: int | str | None = None,
|
|
@@ -4844,10 +4037,7 @@ def vertex_group_set_active(
|
|
|
4844
4037
|
) -> None:
|
|
4845
4038
|
"""Set the active vertex group
|
|
4846
4039
|
|
|
4847
|
-
:type execution_context: int | str | None
|
|
4848
|
-
:type undo: bool | None
|
|
4849
4040
|
:param group: Group, Vertex group to set as active
|
|
4850
|
-
:type group: str | None
|
|
4851
4041
|
"""
|
|
4852
4042
|
|
|
4853
4043
|
def vertex_group_smooth(
|
|
@@ -4862,16 +4052,10 @@ def vertex_group_smooth(
|
|
|
4862
4052
|
) -> None:
|
|
4863
4053
|
"""Smooth weights for selected vertices
|
|
4864
4054
|
|
|
4865
|
-
:type execution_context: int | str | None
|
|
4866
|
-
:type undo: bool | None
|
|
4867
4055
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
4868
|
-
:type group_select_mode: str | None
|
|
4869
4056
|
:param factor: Factor
|
|
4870
|
-
:type factor: float | None
|
|
4871
4057
|
:param repeat: Iterations
|
|
4872
|
-
:type repeat: int | None
|
|
4873
4058
|
:param expand: Expand/Contract, Expand/contract weights
|
|
4874
|
-
:type expand: float | None
|
|
4875
4059
|
"""
|
|
4876
4060
|
|
|
4877
4061
|
def vertex_group_sort(
|
|
@@ -4883,29 +4067,22 @@ def vertex_group_sort(
|
|
|
4883
4067
|
) -> None:
|
|
4884
4068
|
"""Sort vertex groups
|
|
4885
4069
|
|
|
4886
|
-
:type execution_context: int | str | None
|
|
4887
|
-
:type undo: bool | None
|
|
4888
4070
|
:param sort_type: Sort Type, Sort type
|
|
4889
|
-
:type sort_type: typing.Literal['NAME','BONE_HIERARCHY'] | None
|
|
4890
4071
|
"""
|
|
4891
4072
|
|
|
4892
4073
|
def vertex_parent_set(
|
|
4893
|
-
execution_context: int | str | None = None,
|
|
4074
|
+
execution_context: int | str | None = None,
|
|
4075
|
+
undo: bool | None = None,
|
|
4076
|
+
/,
|
|
4894
4077
|
) -> None:
|
|
4895
|
-
"""Parent selected objects to the selected vertices
|
|
4896
|
-
|
|
4897
|
-
:type execution_context: int | str | None
|
|
4898
|
-
:type undo: bool | None
|
|
4899
|
-
"""
|
|
4078
|
+
"""Parent selected objects to the selected vertices"""
|
|
4900
4079
|
|
|
4901
4080
|
def vertex_weight_copy(
|
|
4902
|
-
execution_context: int | str | None = None,
|
|
4081
|
+
execution_context: int | str | None = None,
|
|
4082
|
+
undo: bool | None = None,
|
|
4083
|
+
/,
|
|
4903
4084
|
) -> None:
|
|
4904
|
-
"""Copy weights from active to selected
|
|
4905
|
-
|
|
4906
|
-
:type execution_context: int | str | None
|
|
4907
|
-
:type undo: bool | None
|
|
4908
|
-
"""
|
|
4085
|
+
"""Copy weights from active to selected"""
|
|
4909
4086
|
|
|
4910
4087
|
def vertex_weight_delete(
|
|
4911
4088
|
execution_context: int | str | None = None,
|
|
@@ -4916,20 +4093,15 @@ def vertex_weight_delete(
|
|
|
4916
4093
|
) -> None:
|
|
4917
4094
|
"""Delete this weight from the vertex (disabled if vertex group is locked)
|
|
4918
4095
|
|
|
4919
|
-
:type execution_context: int | str | None
|
|
4920
|
-
:type undo: bool | None
|
|
4921
4096
|
:param weight_group: Weight Index, Index of source weight in active vertex group
|
|
4922
|
-
:type weight_group: int | None
|
|
4923
4097
|
"""
|
|
4924
4098
|
|
|
4925
4099
|
def vertex_weight_normalize_active_vertex(
|
|
4926
|
-
execution_context: int | str | None = None,
|
|
4100
|
+
execution_context: int | str | None = None,
|
|
4101
|
+
undo: bool | None = None,
|
|
4102
|
+
/,
|
|
4927
4103
|
) -> None:
|
|
4928
|
-
"""Normalize active
|
|
4929
|
-
|
|
4930
|
-
:type execution_context: int | str | None
|
|
4931
|
-
:type undo: bool | None
|
|
4932
|
-
"""
|
|
4104
|
+
"""Normalize active vertexs weights"""
|
|
4933
4105
|
|
|
4934
4106
|
def vertex_weight_paste(
|
|
4935
4107
|
execution_context: int | str | None = None,
|
|
@@ -4938,12 +4110,9 @@ def vertex_weight_paste(
|
|
|
4938
4110
|
*,
|
|
4939
4111
|
weight_group: int | None = -1,
|
|
4940
4112
|
) -> None:
|
|
4941
|
-
"""Copy this
|
|
4113
|
+
"""Copy this groups weight to other selected vertices (disabled if vertex group is locked)
|
|
4942
4114
|
|
|
4943
|
-
:type execution_context: int | str | None
|
|
4944
|
-
:type undo: bool | None
|
|
4945
4115
|
:param weight_group: Weight Index, Index of source weight in active vertex group
|
|
4946
|
-
:type weight_group: int | None
|
|
4947
4116
|
"""
|
|
4948
4117
|
|
|
4949
4118
|
def vertex_weight_set_active(
|
|
@@ -4955,29 +4124,22 @@ def vertex_weight_set_active(
|
|
|
4955
4124
|
) -> None:
|
|
4956
4125
|
"""Set as active vertex group
|
|
4957
4126
|
|
|
4958
|
-
:type execution_context: int | str | None
|
|
4959
|
-
:type undo: bool | None
|
|
4960
4127
|
:param weight_group: Weight Index, Index of source weight in active vertex group
|
|
4961
|
-
:type weight_group: int | None
|
|
4962
4128
|
"""
|
|
4963
4129
|
|
|
4964
4130
|
def visual_geometry_to_objects(
|
|
4965
|
-
execution_context: int | str | None = None,
|
|
4131
|
+
execution_context: int | str | None = None,
|
|
4132
|
+
undo: bool | None = None,
|
|
4133
|
+
/,
|
|
4966
4134
|
) -> None:
|
|
4967
|
-
"""Convert geometry and instances into editable objects and collections
|
|
4968
|
-
|
|
4969
|
-
:type execution_context: int | str | None
|
|
4970
|
-
:type undo: bool | None
|
|
4971
|
-
"""
|
|
4135
|
+
"""Convert geometry and instances into editable objects and collections"""
|
|
4972
4136
|
|
|
4973
4137
|
def visual_transform_apply(
|
|
4974
|
-
execution_context: int | str | None = None,
|
|
4138
|
+
execution_context: int | str | None = None,
|
|
4139
|
+
undo: bool | None = None,
|
|
4140
|
+
/,
|
|
4975
4141
|
) -> None:
|
|
4976
|
-
"""Apply the
|
|
4977
|
-
|
|
4978
|
-
:type execution_context: int | str | None
|
|
4979
|
-
:type undo: bool | None
|
|
4980
|
-
"""
|
|
4142
|
+
"""Apply the objects visual transformation to its data"""
|
|
4981
4143
|
|
|
4982
4144
|
def volume_add(
|
|
4983
4145
|
execution_context: int | str | None = None,
|
|
@@ -4999,8 +4161,6 @@ def volume_add(
|
|
|
4999
4161
|
) -> None:
|
|
5000
4162
|
"""Add a volume object to the scene
|
|
5001
4163
|
|
|
5002
|
-
:type execution_context: int | str | None
|
|
5003
|
-
:type undo: bool | None
|
|
5004
4164
|
:param align: Align, The alignment of the new object
|
|
5005
4165
|
|
|
5006
4166
|
WORLD
|
|
@@ -5011,13 +4171,9 @@ def volume_add(
|
|
|
5011
4171
|
|
|
5012
4172
|
CURSOR
|
|
5013
4173
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
5014
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
5015
4174
|
:param location: Location, Location for the newly added object
|
|
5016
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5017
4175
|
:param rotation: Rotation, Rotation for the newly added object
|
|
5018
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
5019
4176
|
:param scale: Scale, Scale for the newly added object
|
|
5020
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5021
4177
|
"""
|
|
5022
4178
|
|
|
5023
4179
|
def volume_import(
|
|
@@ -5070,54 +4226,29 @@ def volume_import(
|
|
|
5070
4226
|
) -> None:
|
|
5071
4227
|
"""Import OpenVDB volume file
|
|
5072
4228
|
|
|
5073
|
-
:type execution_context: int | str | None
|
|
5074
|
-
:type undo: bool | None
|
|
5075
4229
|
:param filepath: File Path, Path to file
|
|
5076
|
-
:type filepath: str
|
|
5077
4230
|
:param directory: Directory, Directory of the file
|
|
5078
|
-
:type directory: str
|
|
5079
4231
|
:param files: Files
|
|
5080
|
-
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] | None
|
|
5081
4232
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
5082
|
-
:type hide_props_region: bool | None
|
|
5083
4233
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
5084
|
-
:type check_existing: bool | None
|
|
5085
4234
|
:param filter_blender: Filter .blend files
|
|
5086
|
-
:type filter_blender: bool | None
|
|
5087
4235
|
:param filter_backup: Filter .blend files
|
|
5088
|
-
:type filter_backup: bool | None
|
|
5089
4236
|
:param filter_image: Filter image files
|
|
5090
|
-
:type filter_image: bool | None
|
|
5091
4237
|
:param filter_movie: Filter movie files
|
|
5092
|
-
:type filter_movie: bool | None
|
|
5093
4238
|
:param filter_python: Filter Python files
|
|
5094
|
-
:type filter_python: bool | None
|
|
5095
4239
|
:param filter_font: Filter font files
|
|
5096
|
-
:type filter_font: bool | None
|
|
5097
4240
|
:param filter_sound: Filter sound files
|
|
5098
|
-
:type filter_sound: bool | None
|
|
5099
4241
|
:param filter_text: Filter text files
|
|
5100
|
-
:type filter_text: bool | None
|
|
5101
4242
|
:param filter_archive: Filter archive files
|
|
5102
|
-
:type filter_archive: bool | None
|
|
5103
4243
|
:param filter_btx: Filter btx files
|
|
5104
|
-
:type filter_btx: bool | None
|
|
5105
4244
|
:param filter_alembic: Filter Alembic files
|
|
5106
|
-
:type filter_alembic: bool | None
|
|
5107
4245
|
:param filter_usd: Filter USD files
|
|
5108
|
-
:type filter_usd: bool | None
|
|
5109
4246
|
:param filter_obj: Filter OBJ files
|
|
5110
|
-
:type filter_obj: bool | None
|
|
5111
4247
|
:param filter_volume: Filter OpenVDB volume files
|
|
5112
|
-
:type filter_volume: bool | None
|
|
5113
4248
|
:param filter_folder: Filter folders
|
|
5114
|
-
:type filter_folder: bool | None
|
|
5115
4249
|
:param filter_blenlib: Filter Blender IDs
|
|
5116
|
-
:type filter_blenlib: bool | None
|
|
5117
4250
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
5118
|
-
:type filemode: int | None
|
|
5119
4251
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
5120
|
-
:type relative_path: bool | None
|
|
5121
4252
|
:param display_type: Display Type
|
|
5122
4253
|
|
|
5123
4254
|
DEFAULT
|
|
@@ -5131,11 +4262,8 @@ def volume_import(
|
|
|
5131
4262
|
|
|
5132
4263
|
THUMBNAIL
|
|
5133
4264
|
Thumbnails -- Display files as thumbnails.
|
|
5134
|
-
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
5135
4265
|
:param sort_method: File sorting mode
|
|
5136
|
-
:type sort_method: str | None
|
|
5137
4266
|
:param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected volume files (based on file names)
|
|
5138
|
-
:type use_sequence_detection: bool | None
|
|
5139
4267
|
:param align: Align, The alignment of the new object
|
|
5140
4268
|
|
|
5141
4269
|
WORLD
|
|
@@ -5146,29 +4274,21 @@ def volume_import(
|
|
|
5146
4274
|
|
|
5147
4275
|
CURSOR
|
|
5148
4276
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
5149
|
-
:type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
|
|
5150
4277
|
:param location: Location, Location for the newly added object
|
|
5151
|
-
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5152
4278
|
:param rotation: Rotation, Rotation for the newly added object
|
|
5153
|
-
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
5154
4279
|
:param scale: Scale, Scale for the newly added object
|
|
5155
|
-
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5156
4280
|
"""
|
|
5157
4281
|
|
|
5158
4282
|
def voxel_remesh(
|
|
5159
|
-
execution_context: int | str | None = None,
|
|
4283
|
+
execution_context: int | str | None = None,
|
|
4284
|
+
undo: bool | None = None,
|
|
4285
|
+
/,
|
|
5160
4286
|
) -> None:
|
|
5161
|
-
"""Calculates a new manifold mesh based on the volume of the current mesh. All data layers will be lost
|
|
5162
|
-
|
|
5163
|
-
:type execution_context: int | str | None
|
|
5164
|
-
:type undo: bool | None
|
|
5165
|
-
"""
|
|
4287
|
+
"""Calculates a new manifold mesh based on the volume of the current mesh. All data layers will be lost"""
|
|
5166
4288
|
|
|
5167
4289
|
def voxel_size_edit(
|
|
5168
|
-
execution_context: int | str | None = None,
|
|
4290
|
+
execution_context: int | str | None = None,
|
|
4291
|
+
undo: bool | None = None,
|
|
4292
|
+
/,
|
|
5169
4293
|
) -> None:
|
|
5170
|
-
"""Modify the mesh voxel size interactively used in the voxel remesher
|
|
5171
|
-
|
|
5172
|
-
:type execution_context: int | str | None
|
|
5173
|
-
:type undo: bool | None
|
|
5174
|
-
"""
|
|
4294
|
+
"""Modify the mesh voxel size interactively used in the voxel remesher"""
|