fake-bpy-module 20240518__py3-none-any.whl → 20240519__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +2 -1
- _bpy_internal/freedesktop/__init__.pyi +2 -1
- addon_utils/__init__.pyi +2 -1
- animsys_refactor/__init__.pyi +2 -1
- aud/__init__.pyi +2 -1
- bgl/__init__.pyi +2 -1
- bl_app_override/__init__.pyi +2 -1
- bl_app_override/helpers/__init__.pyi +2 -1
- bl_app_template_utils/__init__.pyi +2 -1
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +2 -1
- bl_i18n_utils/merge_po/__init__.pyi +2 -1
- bl_i18n_utils/settings/__init__.pyi +2 -1
- bl_i18n_utils/utils/__init__.pyi +2 -1
- bl_i18n_utils/utils_cli/__init__.pyi +2 -1
- bl_i18n_utils/utils_languages_menu/__init__.pyi +2 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +2 -1
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -1
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +2 -1
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/anim/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +2 -1
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +2 -1
- bl_operators/clip/__init__.pyi +2 -1
- bl_operators/console/__init__.pyi +2 -1
- bl_operators/constraint/__init__.pyi +2 -1
- bl_operators/file/__init__.pyi +2 -1
- bl_operators/freestyle/__init__.pyi +2 -1
- bl_operators/geometry_nodes/__init__.pyi +2 -1
- bl_operators/image/__init__.pyi +2 -1
- bl_operators/mesh/__init__.pyi +2 -1
- bl_operators/node/__init__.pyi +2 -1
- bl_operators/object/__init__.pyi +2 -1
- bl_operators/object_align/__init__.pyi +2 -1
- bl_operators/object_quick_effects/__init__.pyi +2 -1
- bl_operators/object_randomize_transform/__init__.pyi +2 -1
- bl_operators/presets/__init__.pyi +2 -1
- bl_operators/rigidbody/__init__.pyi +2 -1
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -1
- bl_operators/sequencer/__init__.pyi +2 -1
- bl_operators/spreadsheet/__init__.pyi +2 -1
- bl_operators/userpref/__init__.pyi +2 -1
- bl_operators/uvcalc_follow_active/__init__.pyi +2 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +2 -1
- bl_operators/uvcalc_transform/__init__.pyi +2 -1
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -1
- bl_operators/view3d/__init__.pyi +2 -1
- bl_operators/wm/__init__.pyi +2 -1
- bl_operators/world/__init__.pyi +2 -1
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +2 -1
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -1
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +2 -1
- bl_ui/__init__.pyi +2 -1
- bl_ui/anim/__init__.pyi +2 -1
- bl_ui/asset_shelf/__init__.pyi +2 -1
- bl_ui/generic_ui_list/__init__.pyi +2 -1
- bl_ui/node_add_menu/__init__.pyi +2 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +2 -1
- bl_ui/node_add_menu_geometry/__init__.pyi +2 -1
- bl_ui/node_add_menu_shader/__init__.pyi +2 -1
- bl_ui/node_add_menu_texture/__init__.pyi +2 -1
- bl_ui/properties_animviz/__init__.pyi +2 -1
- bl_ui/properties_collection/__init__.pyi +2 -1
- bl_ui/properties_constraint/__init__.pyi +2 -1
- bl_ui/properties_data_armature/__init__.pyi +2 -1
- bl_ui/properties_data_bone/__init__.pyi +2 -1
- bl_ui/properties_data_camera/__init__.pyi +2 -1
- bl_ui/properties_data_curve/__init__.pyi +2 -1
- bl_ui/properties_data_curves/__init__.pyi +2 -1
- bl_ui/properties_data_empty/__init__.pyi +2 -1
- bl_ui/properties_data_gpencil/__init__.pyi +2 -1
- bl_ui/properties_data_grease_pencil/__init__.pyi +2 -1
- bl_ui/properties_data_lattice/__init__.pyi +2 -1
- bl_ui/properties_data_light/__init__.pyi +2 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +2 -1
- bl_ui/properties_data_mesh/__init__.pyi +2 -1
- bl_ui/properties_data_metaball/__init__.pyi +2 -1
- bl_ui/properties_data_modifier/__init__.pyi +2 -1
- bl_ui/properties_data_pointcloud/__init__.pyi +2 -1
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -1
- bl_ui/properties_data_speaker/__init__.pyi +2 -1
- bl_ui/properties_data_volume/__init__.pyi +2 -1
- bl_ui/properties_freestyle/__init__.pyi +2 -1
- bl_ui/properties_grease_pencil_common/__init__.pyi +2 -1
- bl_ui/properties_mask_common/__init__.pyi +2 -1
- bl_ui/properties_material/__init__.pyi +2 -1
- bl_ui/properties_material_gpencil/__init__.pyi +2 -1
- bl_ui/properties_object/__init__.pyi +2 -1
- bl_ui/properties_output/__init__.pyi +2 -1
- bl_ui/properties_paint_common/__init__.pyi +2 -1
- bl_ui/properties_particle/__init__.pyi +2 -1
- bl_ui/properties_physics_cloth/__init__.pyi +2 -1
- bl_ui/properties_physics_common/__init__.pyi +2 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2 -1
- bl_ui/properties_physics_field/__init__.pyi +2 -1
- bl_ui/properties_physics_fluid/__init__.pyi +2 -1
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2 -1
- bl_ui/properties_physics_softbody/__init__.pyi +2 -1
- bl_ui/properties_render/__init__.pyi +2 -1
- bl_ui/properties_scene/__init__.pyi +2 -1
- bl_ui/properties_texture/__init__.pyi +2 -1
- bl_ui/properties_view_layer/__init__.pyi +2 -1
- bl_ui/properties_workspace/__init__.pyi +2 -1
- bl_ui/properties_world/__init__.pyi +2 -1
- bl_ui/space_clip/__init__.pyi +2 -1
- bl_ui/space_console/__init__.pyi +2 -1
- bl_ui/space_dopesheet/__init__.pyi +2 -1
- bl_ui/space_filebrowser/__init__.pyi +2 -1
- bl_ui/space_graph/__init__.pyi +2 -1
- bl_ui/space_image/__init__.pyi +2 -1
- bl_ui/space_info/__init__.pyi +2 -1
- bl_ui/space_nla/__init__.pyi +2 -1
- bl_ui/space_node/__init__.pyi +2 -1
- bl_ui/space_outliner/__init__.pyi +2 -1
- bl_ui/space_properties/__init__.pyi +2 -1
- bl_ui/space_sequencer/__init__.pyi +2 -1
- bl_ui/space_spreadsheet/__init__.pyi +2 -1
- bl_ui/space_statusbar/__init__.pyi +2 -1
- bl_ui/space_text/__init__.pyi +2 -1
- bl_ui/space_time/__init__.pyi +2 -1
- bl_ui/space_toolsystem_common/__init__.pyi +2 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +2 -1
- bl_ui/space_topbar/__init__.pyi +2 -1
- bl_ui/space_userpref/__init__.pyi +2 -1
- bl_ui/space_view3d/__init__.pyi +2 -1
- bl_ui/space_view3d_toolbar/__init__.pyi +2 -1
- bl_ui/temp_anim_layers/__init__.pyi +2 -1
- bl_ui/utils/__init__.pyi +2 -1
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +2 -1
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +2 -1
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +28 -27
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +188 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +131 -79
- bpy/utils/__init__.pyi +2 -1
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -1
- bpy_extras/asset_utils/__init__.pyi +2 -1
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +2 -1
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/keyconfig_utils/__init__.pyi +2 -1
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +2 -1
- bpy_extras/node_utils/__init__.pyi +2 -1
- bpy_extras/object_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +2 -1
- bpy_restrict_state/__init__.pyi +2 -1
- bpy_types/__init__.pyi +2 -1
- console_python/__init__.pyi +2 -1
- console_shell/__init__.pyi +2 -1
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +2 -1
- freestyle/functions/__init__.pyi +2 -1
- freestyle/predicates/__init__.pyi +2 -1
- freestyle/shaders/__init__.pyi +2 -1
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +2 -1
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +2 -1
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +2 -1
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -1
- keyingsets_builtins/__init__.pyi +2 -1
- keyingsets_utils/__init__.pyi +2 -1
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -1
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +2 -1
- nodeitems_utils/__init__.pyi +2 -1
- rna_info/__init__.pyi +2 -1
- rna_keymap_ui/__init__.pyi +2 -1
- rna_prop_ui/__init__.pyi +2 -1
- rna_xml/__init__.pyi +2 -1
- sys_info/__init__.pyi +2 -1
- fake_bpy_module-20240518.dist-info/RECORD +0 -353
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/palette/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def color_add(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -35,7 +36,7 @@ def color_move(
|
|
|
35
36
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
36
37
|
execution_context: str | int | None = None,
|
|
37
38
|
undo: bool | None = None,
|
|
38
|
-
type:
|
|
39
|
+
type: str | int | None = "UP",
|
|
39
40
|
):
|
|
40
41
|
"""Move the active Color up/down in the list
|
|
41
42
|
|
|
@@ -43,7 +44,7 @@ def color_move(
|
|
|
43
44
|
:type execution_context: str | int | None
|
|
44
45
|
:type undo: bool | None
|
|
45
46
|
:param type: Type
|
|
46
|
-
:type type:
|
|
47
|
+
:type type: str | int | None
|
|
47
48
|
"""
|
|
48
49
|
|
|
49
50
|
...
|
|
@@ -100,7 +101,7 @@ def sort(
|
|
|
100
101
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
101
102
|
execution_context: str | int | None = None,
|
|
102
103
|
undo: bool | None = None,
|
|
103
|
-
type:
|
|
104
|
+
type: str | int | None = "HSV",
|
|
104
105
|
):
|
|
105
106
|
"""Sort Palette Colors
|
|
106
107
|
|
|
@@ -108,7 +109,7 @@ def sort(
|
|
|
108
109
|
:type execution_context: str | int | None
|
|
109
110
|
:type undo: bool | None
|
|
110
111
|
:param type: Type
|
|
111
|
-
:type type:
|
|
112
|
+
:type type: str | int | None
|
|
112
113
|
"""
|
|
113
114
|
|
|
114
115
|
...
|
bpy/ops/particle/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def brush_edit(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -42,7 +43,7 @@ def copy_particle_systems(
|
|
|
42
43
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
43
44
|
execution_context: str | int | None = None,
|
|
44
45
|
undo: bool | None = None,
|
|
45
|
-
space:
|
|
46
|
+
space: str | int | None = "OBJECT",
|
|
46
47
|
remove_target_particles: bool | typing.Any | None = True,
|
|
47
48
|
use_active: bool | typing.Any | None = False,
|
|
48
49
|
):
|
|
@@ -58,7 +59,7 @@ def copy_particle_systems(
|
|
|
58
59
|
|
|
59
60
|
WORLD
|
|
60
61
|
World -- Copy in world space.
|
|
61
|
-
:type space:
|
|
62
|
+
:type space: str | int | None
|
|
62
63
|
:param remove_target_particles: Remove Target Particles, Remove particle systems on the target objects
|
|
63
64
|
:type remove_target_particles: bool | typing.Any | None
|
|
64
65
|
:param use_active: Use Active, Use the active particle system from the context
|
|
@@ -71,7 +72,7 @@ def delete(
|
|
|
71
72
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
72
73
|
execution_context: str | int | None = None,
|
|
73
74
|
undo: bool | None = None,
|
|
74
|
-
type:
|
|
75
|
+
type: str | int | None = "PARTICLE",
|
|
75
76
|
):
|
|
76
77
|
"""Delete selected particles or keys
|
|
77
78
|
|
|
@@ -79,7 +80,7 @@ def delete(
|
|
|
79
80
|
:type execution_context: str | int | None
|
|
80
81
|
:type undo: bool | None
|
|
81
82
|
:param type: Type, Delete a full particle or only keys
|
|
82
|
-
:type type:
|
|
83
|
+
:type type: str | int | None
|
|
83
84
|
"""
|
|
84
85
|
|
|
85
86
|
...
|
|
@@ -353,7 +354,7 @@ def select_all(
|
|
|
353
354
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
354
355
|
execution_context: str | int | None = None,
|
|
355
356
|
undo: bool | None = None,
|
|
356
|
-
action:
|
|
357
|
+
action: str | int | None = "TOGGLE",
|
|
357
358
|
):
|
|
358
359
|
"""(De)select all particles' keys
|
|
359
360
|
|
|
@@ -373,7 +374,7 @@ def select_all(
|
|
|
373
374
|
|
|
374
375
|
INVERT
|
|
375
376
|
Invert -- Invert selection of all elements.
|
|
376
|
-
:type action:
|
|
377
|
+
:type action: str | int | None
|
|
377
378
|
"""
|
|
378
379
|
|
|
379
380
|
...
|
|
@@ -446,8 +447,8 @@ def select_random(
|
|
|
446
447
|
undo: bool | None = None,
|
|
447
448
|
ratio: typing.Any | None = 0.5,
|
|
448
449
|
seed: typing.Any | None = 0,
|
|
449
|
-
action:
|
|
450
|
-
type:
|
|
450
|
+
action: str | int | None = "SELECT",
|
|
451
|
+
type: str | int | None = "HAIR",
|
|
451
452
|
):
|
|
452
453
|
"""Select a randomly distributed set of hair or points
|
|
453
454
|
|
|
@@ -465,9 +466,9 @@ def select_random(
|
|
|
465
466
|
|
|
466
467
|
DESELECT
|
|
467
468
|
Deselect -- Deselect all elements.
|
|
468
|
-
:type action:
|
|
469
|
+
:type action: str | int | None
|
|
469
470
|
:param type: Type, Select either hair or points
|
|
470
|
-
:type type:
|
|
471
|
+
:type type: str | int | None
|
|
471
472
|
"""
|
|
472
473
|
|
|
473
474
|
...
|
|
@@ -476,7 +477,7 @@ def select_roots(
|
|
|
476
477
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
477
478
|
execution_context: str | int | None = None,
|
|
478
479
|
undo: bool | None = None,
|
|
479
|
-
action:
|
|
480
|
+
action: str | int | None = "SELECT",
|
|
480
481
|
):
|
|
481
482
|
"""Select roots of all visible particles
|
|
482
483
|
|
|
@@ -496,7 +497,7 @@ def select_roots(
|
|
|
496
497
|
|
|
497
498
|
INVERT
|
|
498
499
|
Invert -- Invert selection of all elements.
|
|
499
|
-
:type action:
|
|
500
|
+
:type action: str | int | None
|
|
500
501
|
"""
|
|
501
502
|
|
|
502
503
|
...
|
|
@@ -505,7 +506,7 @@ def select_tips(
|
|
|
505
506
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
506
507
|
execution_context: str | int | None = None,
|
|
507
508
|
undo: bool | None = None,
|
|
508
|
-
action:
|
|
509
|
+
action: str | int | None = "SELECT",
|
|
509
510
|
):
|
|
510
511
|
"""Select tips of all visible particles
|
|
511
512
|
|
|
@@ -525,7 +526,7 @@ def select_tips(
|
|
|
525
526
|
|
|
526
527
|
INVERT
|
|
527
528
|
Invert -- Invert selection of all elements.
|
|
528
|
-
:type action:
|
|
529
|
+
:type action: str | int | None
|
|
529
530
|
"""
|
|
530
531
|
|
|
531
532
|
...
|
bpy/ops/pose/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def armature_apply(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -24,7 +25,7 @@ def autoside_names(
|
|
|
24
25
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
25
26
|
execution_context: str | int | None = None,
|
|
26
27
|
undo: bool | None = None,
|
|
27
|
-
axis:
|
|
28
|
+
axis: str | int | None = "XAXIS",
|
|
28
29
|
):
|
|
29
30
|
"""Automatically renames the selected bones according to which side of the target axis they fall on
|
|
30
31
|
|
|
@@ -41,7 +42,7 @@ def autoside_names(
|
|
|
41
42
|
|
|
42
43
|
ZAXIS
|
|
43
44
|
Z-Axis -- Top/Bottom.
|
|
44
|
-
:type axis:
|
|
45
|
+
:type axis: str | int | None
|
|
45
46
|
"""
|
|
46
47
|
|
|
47
48
|
...
|
|
@@ -53,8 +54,8 @@ def blend_to_neighbor(
|
|
|
53
54
|
factor: typing.Any | None = 0.5,
|
|
54
55
|
prev_frame: typing.Any | None = 0,
|
|
55
56
|
next_frame: typing.Any | None = 0,
|
|
56
|
-
channels:
|
|
57
|
-
axis_lock:
|
|
57
|
+
channels: str | int | None = "ALL",
|
|
58
|
+
axis_lock: str | int | None = "FREE",
|
|
58
59
|
):
|
|
59
60
|
"""Blend from current position to previous or next keyframe
|
|
60
61
|
|
|
@@ -86,7 +87,7 @@ def blend_to_neighbor(
|
|
|
86
87
|
|
|
87
88
|
CUSTOM
|
|
88
89
|
Custom Properties -- Custom properties.
|
|
89
|
-
:type channels:
|
|
90
|
+
:type channels: str | int | None
|
|
90
91
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
91
92
|
|
|
92
93
|
FREE
|
|
@@ -100,7 +101,7 @@ def blend_to_neighbor(
|
|
|
100
101
|
|
|
101
102
|
Z
|
|
102
103
|
Z -- Only Z-axis transforms are affected.
|
|
103
|
-
:type axis_lock:
|
|
104
|
+
:type axis_lock: str | int | None
|
|
104
105
|
"""
|
|
105
106
|
|
|
106
107
|
...
|
|
@@ -112,8 +113,8 @@ def blend_with_rest(
|
|
|
112
113
|
factor: typing.Any | None = 0.5,
|
|
113
114
|
prev_frame: typing.Any | None = 0,
|
|
114
115
|
next_frame: typing.Any | None = 0,
|
|
115
|
-
channels:
|
|
116
|
-
axis_lock:
|
|
116
|
+
channels: str | int | None = "ALL",
|
|
117
|
+
axis_lock: str | int | None = "FREE",
|
|
117
118
|
):
|
|
118
119
|
"""Make the current pose more similar to, or further away from, the rest pose
|
|
119
120
|
|
|
@@ -145,7 +146,7 @@ def blend_with_rest(
|
|
|
145
146
|
|
|
146
147
|
CUSTOM
|
|
147
148
|
Custom Properties -- Custom properties.
|
|
148
|
-
:type channels:
|
|
149
|
+
:type channels: str | int | None
|
|
149
150
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
150
151
|
|
|
151
152
|
FREE
|
|
@@ -159,7 +160,7 @@ def blend_with_rest(
|
|
|
159
160
|
|
|
160
161
|
Z
|
|
161
162
|
Z -- Only Z-axis transforms are affected.
|
|
162
|
-
:type axis_lock:
|
|
163
|
+
:type axis_lock: str | int | None
|
|
163
164
|
"""
|
|
164
165
|
|
|
165
166
|
...
|
|
@@ -171,8 +172,8 @@ def breakdown(
|
|
|
171
172
|
factor: typing.Any | None = 0.5,
|
|
172
173
|
prev_frame: typing.Any | None = 0,
|
|
173
174
|
next_frame: typing.Any | None = 0,
|
|
174
|
-
channels:
|
|
175
|
-
axis_lock:
|
|
175
|
+
channels: str | int | None = "ALL",
|
|
176
|
+
axis_lock: str | int | None = "FREE",
|
|
176
177
|
):
|
|
177
178
|
"""Create a suitable breakdown pose on the current frame
|
|
178
179
|
|
|
@@ -204,7 +205,7 @@ def breakdown(
|
|
|
204
205
|
|
|
205
206
|
CUSTOM
|
|
206
207
|
Custom Properties -- Custom properties.
|
|
207
|
-
:type channels:
|
|
208
|
+
:type channels: str | int | None
|
|
208
209
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
209
210
|
|
|
210
211
|
FREE
|
|
@@ -218,7 +219,7 @@ def breakdown(
|
|
|
218
219
|
|
|
219
220
|
Z
|
|
220
221
|
Z -- Only Z-axis transforms are affected.
|
|
221
|
-
:type axis_lock:
|
|
222
|
+
:type axis_lock: str | int | None
|
|
222
223
|
"""
|
|
223
224
|
|
|
224
225
|
...
|
|
@@ -470,7 +471,7 @@ def propagate(
|
|
|
470
471
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
471
472
|
execution_context: str | int | None = None,
|
|
472
473
|
undo: bool | None = None,
|
|
473
|
-
mode:
|
|
474
|
+
mode: str | int | None = "NEXT_KEY",
|
|
474
475
|
end_frame: typing.Any | None = 250.0,
|
|
475
476
|
):
|
|
476
477
|
"""Copy selected aspects of the current pose to subsequent poses already keyframed
|
|
@@ -497,7 +498,7 @@ def propagate(
|
|
|
497
498
|
|
|
498
499
|
SELECTED_MARKERS
|
|
499
500
|
On Selected Markers -- Propagate pose to all keyframes occurring on frames with Scene Markers after the current frame.
|
|
500
|
-
:type mode:
|
|
501
|
+
:type mode: str | int | None
|
|
501
502
|
:param end_frame: End Frame, Frame to stop propagating frames to (for 'Before Frame' mode)
|
|
502
503
|
:type end_frame: typing.Any | None
|
|
503
504
|
"""
|
|
@@ -511,8 +512,8 @@ def push(
|
|
|
511
512
|
factor: typing.Any | None = 0.5,
|
|
512
513
|
prev_frame: typing.Any | None = 0,
|
|
513
514
|
next_frame: typing.Any | None = 0,
|
|
514
|
-
channels:
|
|
515
|
-
axis_lock:
|
|
515
|
+
channels: str | int | None = "ALL",
|
|
516
|
+
axis_lock: str | int | None = "FREE",
|
|
516
517
|
):
|
|
517
518
|
"""Exaggerate the current pose in regards to the breakdown pose
|
|
518
519
|
|
|
@@ -544,7 +545,7 @@ def push(
|
|
|
544
545
|
|
|
545
546
|
CUSTOM
|
|
546
547
|
Custom Properties -- Custom properties.
|
|
547
|
-
:type channels:
|
|
548
|
+
:type channels: str | int | None
|
|
548
549
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
549
550
|
|
|
550
551
|
FREE
|
|
@@ -558,7 +559,7 @@ def push(
|
|
|
558
559
|
|
|
559
560
|
Z
|
|
560
561
|
Z -- Only Z-axis transforms are affected.
|
|
561
|
-
:type axis_lock:
|
|
562
|
+
:type axis_lock: str | int | None
|
|
562
563
|
"""
|
|
563
564
|
|
|
564
565
|
...
|
|
@@ -584,8 +585,8 @@ def relax(
|
|
|
584
585
|
factor: typing.Any | None = 0.5,
|
|
585
586
|
prev_frame: typing.Any | None = 0,
|
|
586
587
|
next_frame: typing.Any | None = 0,
|
|
587
|
-
channels:
|
|
588
|
-
axis_lock:
|
|
588
|
+
channels: str | int | None = "ALL",
|
|
589
|
+
axis_lock: str | int | None = "FREE",
|
|
589
590
|
):
|
|
590
591
|
"""Make the current pose more similar to its breakdown pose
|
|
591
592
|
|
|
@@ -617,7 +618,7 @@ def relax(
|
|
|
617
618
|
|
|
618
619
|
CUSTOM
|
|
619
620
|
Custom Properties -- Custom properties.
|
|
620
|
-
:type channels:
|
|
621
|
+
:type channels: str | int | None
|
|
621
622
|
:param axis_lock: Axis Lock, Transform axis to restrict effects to
|
|
622
623
|
|
|
623
624
|
FREE
|
|
@@ -631,7 +632,7 @@ def relax(
|
|
|
631
632
|
|
|
632
633
|
Z
|
|
633
634
|
Z -- Only Z-axis transforms are affected.
|
|
634
|
-
:type axis_lock:
|
|
635
|
+
:type axis_lock: str | int | None
|
|
635
636
|
"""
|
|
636
637
|
|
|
637
638
|
...
|
|
@@ -702,7 +703,7 @@ def select_all(
|
|
|
702
703
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
703
704
|
execution_context: str | int | None = None,
|
|
704
705
|
undo: bool | None = None,
|
|
705
|
-
action:
|
|
706
|
+
action: str | int | None = "TOGGLE",
|
|
706
707
|
):
|
|
707
708
|
"""Toggle selection status of all bones
|
|
708
709
|
|
|
@@ -722,7 +723,7 @@ def select_all(
|
|
|
722
723
|
|
|
723
724
|
INVERT
|
|
724
725
|
Invert -- Invert selection of all elements.
|
|
725
|
-
:type action:
|
|
726
|
+
:type action: str | int | None
|
|
726
727
|
"""
|
|
727
728
|
|
|
728
729
|
...
|
|
@@ -746,7 +747,7 @@ def select_grouped(
|
|
|
746
747
|
execution_context: str | int | None = None,
|
|
747
748
|
undo: bool | None = None,
|
|
748
749
|
extend: bool | typing.Any | None = False,
|
|
749
|
-
type:
|
|
750
|
+
type: str | int | None = "COLLECTION",
|
|
750
751
|
):
|
|
751
752
|
"""Select all visible bones grouped by similar properties
|
|
752
753
|
|
|
@@ -765,7 +766,7 @@ def select_grouped(
|
|
|
765
766
|
|
|
766
767
|
KEYINGSET
|
|
767
768
|
Keying Set -- All bones affected by active Keying Set.
|
|
768
|
-
:type type:
|
|
769
|
+
:type type: str | int | None
|
|
769
770
|
"""
|
|
770
771
|
|
|
771
772
|
...
|
|
@@ -774,7 +775,7 @@ def select_hierarchy(
|
|
|
774
775
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
775
776
|
execution_context: str | int | None = None,
|
|
776
777
|
undo: bool | None = None,
|
|
777
|
-
direction:
|
|
778
|
+
direction: str | int | None = "PARENT",
|
|
778
779
|
extend: bool | typing.Any | None = False,
|
|
779
780
|
):
|
|
780
781
|
"""Select immediate parent/children of selected bones
|
|
@@ -783,7 +784,7 @@ def select_hierarchy(
|
|
|
783
784
|
:type execution_context: str | int | None
|
|
784
785
|
:type undo: bool | None
|
|
785
786
|
:param direction: Direction
|
|
786
|
-
:type direction:
|
|
787
|
+
:type direction: str | int | None
|
|
787
788
|
:param extend: Extend, Extend the selection
|
|
788
789
|
:type extend: bool | typing.Any | None
|
|
789
790
|
"""
|
bpy/ops/poselib/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def apply_pose_asset(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
bpy/ops/preferences/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def addon_disable(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -59,7 +60,7 @@ def addon_install(
|
|
|
59
60
|
execution_context: str | int | None = None,
|
|
60
61
|
undo: bool | None = None,
|
|
61
62
|
overwrite: bool | typing.Any | None = True,
|
|
62
|
-
target: str | int |
|
|
63
|
+
target: str | int | None = "",
|
|
63
64
|
filepath: str | typing.Any = "",
|
|
64
65
|
filter_folder: bool | typing.Any | None = True,
|
|
65
66
|
filter_python: bool | typing.Any | None = True,
|
|
@@ -73,7 +74,7 @@ def addon_install(
|
|
|
73
74
|
:param overwrite: Overwrite, Remove existing add-ons with the same ID
|
|
74
75
|
:type overwrite: bool | typing.Any | None
|
|
75
76
|
:param target: Target Path
|
|
76
|
-
:type target: str | int |
|
|
77
|
+
:type target: str | int | None
|
|
77
78
|
:param filepath: filepath
|
|
78
79
|
:type filepath: str | typing.Any
|
|
79
80
|
:param filter_folder: Filter folders
|
|
@@ -185,8 +186,8 @@ def asset_library_add(
|
|
|
185
186
|
filter_folder: bool | typing.Any | None = True,
|
|
186
187
|
filter_blenlib: bool | typing.Any | None = False,
|
|
187
188
|
filemode: typing.Any | None = 9,
|
|
188
|
-
display_type:
|
|
189
|
-
sort_method: str | int |
|
|
189
|
+
display_type: str | int | None = "DEFAULT",
|
|
190
|
+
sort_method: str | int | None = "",
|
|
190
191
|
):
|
|
191
192
|
"""Add a directory to be used by the Asset Browser as source of assets
|
|
192
193
|
|
|
@@ -248,9 +249,9 @@ def asset_library_add(
|
|
|
248
249
|
|
|
249
250
|
THUMBNAIL
|
|
250
251
|
Thumbnails -- Display files as thumbnails.
|
|
251
|
-
:type display_type:
|
|
252
|
+
:type display_type: str | int | None
|
|
252
253
|
:param sort_method: File sorting mode
|
|
253
|
-
:type sort_method: str | int |
|
|
254
|
+
:type sort_method: str | int | None
|
|
254
255
|
"""
|
|
255
256
|
|
|
256
257
|
...
|
|
@@ -340,7 +341,7 @@ def extension_repo_add(
|
|
|
340
341
|
use_sync_on_startup: bool | typing.Any | None = False,
|
|
341
342
|
use_custom_directory: bool | typing.Any | None = False,
|
|
342
343
|
custom_directory: str | typing.Any = "",
|
|
343
|
-
type:
|
|
344
|
+
type: str | int | None = "REMOTE",
|
|
344
345
|
):
|
|
345
346
|
"""Add a new repository used to store extensions
|
|
346
347
|
|
|
@@ -364,7 +365,7 @@ def extension_repo_add(
|
|
|
364
365
|
|
|
365
366
|
LOCAL
|
|
366
367
|
Add Local Repository -- Add a repository managed manually without referencing an external repository.
|
|
367
|
-
:type type:
|
|
368
|
+
:type type: str | int | None
|
|
368
369
|
"""
|
|
369
370
|
|
|
370
371
|
...
|
|
@@ -374,7 +375,7 @@ def extension_repo_remove(
|
|
|
374
375
|
execution_context: str | int | None = None,
|
|
375
376
|
undo: bool | None = None,
|
|
376
377
|
index: typing.Any | None = 0,
|
|
377
|
-
type:
|
|
378
|
+
type: str | int | None = "REPO_ONLY",
|
|
378
379
|
):
|
|
379
380
|
"""Remove an extension repository
|
|
380
381
|
|
|
@@ -390,7 +391,7 @@ def extension_repo_remove(
|
|
|
390
391
|
|
|
391
392
|
REPO_AND_DIRECTORY
|
|
392
393
|
Remove Repository & Files -- Delete all associated local files when removing.
|
|
393
|
-
:type type:
|
|
394
|
+
:type type: str | int | None
|
|
394
395
|
"""
|
|
395
396
|
|
|
396
397
|
...
|
|
@@ -685,7 +686,7 @@ def studiolight_install(
|
|
|
685
686
|
directory: str | typing.Any = "",
|
|
686
687
|
filter_folder: bool | typing.Any | None = True,
|
|
687
688
|
filter_glob: str | typing.Any = "*.png;*.jpg;*.hdr;*.exr",
|
|
688
|
-
type:
|
|
689
|
+
type: str | int | None = "MATCAP",
|
|
689
690
|
):
|
|
690
691
|
"""Install a user defined light
|
|
691
692
|
|
|
@@ -710,7 +711,7 @@ def studiolight_install(
|
|
|
710
711
|
|
|
711
712
|
STUDIO
|
|
712
713
|
Studio -- Install custom Studio Lights.
|
|
713
|
-
:type type:
|
|
714
|
+
:type type: str | int | None
|
|
714
715
|
"""
|
|
715
716
|
|
|
716
717
|
...
|
bpy/ops/ptcache/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def add(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
bpy/ops/render/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def cycles_integrator_preset_add(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -217,7 +218,7 @@ def shutter_curve_preset(
|
|
|
217
218
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
218
219
|
execution_context: str | int | None = None,
|
|
219
220
|
undo: bool | None = None,
|
|
220
|
-
shape:
|
|
221
|
+
shape: str | int | None = "SMOOTH",
|
|
221
222
|
):
|
|
222
223
|
"""Set shutter curve
|
|
223
224
|
|
|
@@ -225,7 +226,7 @@ def shutter_curve_preset(
|
|
|
225
226
|
:type execution_context: str | int | None
|
|
226
227
|
:type undo: bool | None
|
|
227
228
|
:param shape: Mode
|
|
228
|
-
:type shape:
|
|
229
|
+
:type shape: str | int | None
|
|
229
230
|
"""
|
|
230
231
|
|
|
231
232
|
...
|
bpy/ops/rigidbody/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def bake_to_keyframes(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -30,9 +31,9 @@ def connect(
|
|
|
30
31
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
31
32
|
execution_context: str | int | None = None,
|
|
32
33
|
undo: bool | None = None,
|
|
33
|
-
con_type:
|
|
34
|
-
pivot_type:
|
|
35
|
-
connection_pattern:
|
|
34
|
+
con_type: str | int | None = "FIXED",
|
|
35
|
+
pivot_type: str | int | None = "CENTER",
|
|
36
|
+
connection_pattern: str | int | None = "SELECTED_TO_ACTIVE",
|
|
36
37
|
):
|
|
37
38
|
"""Create rigid body constraints between selected rigid bodies
|
|
38
39
|
|
|
@@ -64,7 +65,7 @@ def connect(
|
|
|
64
65
|
|
|
65
66
|
MOTOR
|
|
66
67
|
Motor -- Drive rigid body around or along an axis.
|
|
67
|
-
:type con_type:
|
|
68
|
+
:type con_type: str | int | None
|
|
68
69
|
:param pivot_type: Location, Constraint pivot location
|
|
69
70
|
|
|
70
71
|
CENTER
|
|
@@ -75,7 +76,7 @@ def connect(
|
|
|
75
76
|
|
|
76
77
|
SELECTED
|
|
77
78
|
Selected -- Pivot location is at the selected object position.
|
|
78
|
-
:type pivot_type:
|
|
79
|
+
:type pivot_type: str | int | None
|
|
79
80
|
:param connection_pattern: Connection Pattern, Pattern used to connect objects
|
|
80
81
|
|
|
81
82
|
SELECTED_TO_ACTIVE
|
|
@@ -83,7 +84,7 @@ def connect(
|
|
|
83
84
|
|
|
84
85
|
CHAIN_DISTANCE
|
|
85
86
|
Chain by Distance -- Connect objects as a chain based on distance, starting at the active object.
|
|
86
|
-
:type connection_pattern:
|
|
87
|
+
:type connection_pattern: str | int | None
|
|
87
88
|
"""
|
|
88
89
|
|
|
89
90
|
...
|
|
@@ -123,7 +124,7 @@ def mass_calculate(
|
|
|
123
124
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
124
125
|
execution_context: str | int | None = None,
|
|
125
126
|
undo: bool | None = None,
|
|
126
|
-
material: str | int |
|
|
127
|
+
material: str | int | None = "DEFAULT",
|
|
127
128
|
density: typing.Any | None = 1.0,
|
|
128
129
|
):
|
|
129
130
|
"""Automatically calculate mass values for Rigid Body Objects based on volume
|
|
@@ -132,7 +133,7 @@ def mass_calculate(
|
|
|
132
133
|
:type execution_context: str | int | None
|
|
133
134
|
:type undo: bool | None
|
|
134
135
|
:param material: Material Preset, Type of material that objects are made of (determines material density)
|
|
135
|
-
:type material: str | int |
|
|
136
|
+
:type material: str | int | None
|
|
136
137
|
:param density: Density, Density value (kg/m^3), allows custom value if the 'Custom' preset is used
|
|
137
138
|
:type density: typing.Any | None
|
|
138
139
|
"""
|