fake-bpy-module 20250604__py3-none-any.whl → 20250607__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/addons/cli/__init__.pyi +1 -1
- _bpy_internal/extensions/junction_module/__init__.pyi +7 -7
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +8 -8
- _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -3
- _bpy_internal/freedesktop/__init__.pyi +16 -16
- _bpy_internal/grease_pencil/stroke/__init__.pyi +4 -4
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +1 -1
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +1 -1
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
- addon_utils/__init__.pyi +12 -12
- animsys_refactor/__init__.pyi +6 -6
- aud/__init__.pyi +11 -11
- bgl/__init__.pyi +272 -252
- bl_app_override/__init__.pyi +3 -3
- bl_app_override/helpers/__init__.pyi +2 -2
- bl_app_template_utils/__init__.pyi +4 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +18 -16
- bl_i18n_utils/merge_po/__init__.pyi +1 -1
- bl_i18n_utils/settings/__init__.pyi +6 -6
- bl_i18n_utils/utils/__init__.pyi +48 -46
- bl_i18n_utils/utils_cli/__init__.pyi +6 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -2
- bl_keymap_utils/io/__init__.pyi +9 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_keymap_utils/versioning/__init__.pyi +1 -1
- bl_operators/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +6 -6
- bl_operators/anim/__init__.pyi +24 -24
- bl_operators/assets/__init__.pyi +9 -9
- bl_operators/bmesh/find_adjacent/__init__.pyi +11 -9
- bl_operators/bone_selection_sets/__init__.pyi +18 -18
- bl_operators/clip/__init__.pyi +26 -26
- bl_operators/connect_to_output/__init__.pyi +17 -15
- bl_operators/console/__init__.pyi +10 -10
- bl_operators/constraint/__init__.pyi +8 -8
- bl_operators/file/__init__.pyi +6 -6
- bl_operators/freestyle/__init__.pyi +9 -9
- bl_operators/geometry_nodes/__init__.pyi +24 -24
- bl_operators/grease_pencil/__init__.pyi +2 -2
- bl_operators/image/__init__.pyi +7 -7
- bl_operators/image_as_planes/__init__.pyi +32 -32
- bl_operators/mesh/__init__.pyi +7 -7
- bl_operators/node/__init__.pyi +31 -31
- bl_operators/node_editor/node_functions/__init__.pyi +9 -9
- bl_operators/object/__init__.pyi +31 -31
- bl_operators/object_align/__init__.pyi +5 -5
- bl_operators/object_quick_effects/__init__.pyi +9 -9
- bl_operators/object_randomize_transform/__init__.pyi +3 -3
- bl_operators/presets/__init__.pyi +18 -18
- bl_operators/rigidbody/__init__.pyi +7 -7
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -2
- bl_operators/sequencer/__init__.pyi +19 -19
- bl_operators/spreadsheet/__init__.pyi +4 -4
- bl_operators/userpref/__init__.pyi +42 -42
- bl_operators/uvcalc_follow_active/__init__.pyi +5 -5
- bl_operators/uvcalc_lightmap/__init__.pyi +8 -8
- bl_operators/uvcalc_transform/__init__.pyi +20 -20
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -4
- bl_operators/view3d/__init__.pyi +21 -19
- bl_operators/wm/__init__.pyi +88 -88
- bl_operators/world/__init__.pyi +2 -2
- bl_previews_utils/bl_previews_render/__init__.pyi +9 -7
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/external_editor/__init__.pyi +1 -1
- bl_ui/__init__.pyi +10 -10
- bl_ui/anim/__init__.pyi +2 -2
- bl_ui/asset_shelf/__init__.pyi +2 -2
- bl_ui/generic_ui_list/__init__.pyi +6 -6
- bl_ui/node_add_menu/__init__.pyi +15 -13
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +54 -54
- bl_ui/node_add_menu_shader/__init__.pyi +16 -16
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +10 -8
- bl_ui/properties_constraint/__init__.pyi +125 -125
- bl_ui/properties_data_armature/__init__.pyi +22 -22
- bl_ui/properties_data_bone/__init__.pyi +20 -20
- bl_ui/properties_data_camera/__init__.pyi +19 -19
- bl_ui/properties_data_curve/__init__.pyi +23 -23
- bl_ui/properties_data_curves/__init__.pyi +9 -9
- bl_ui/properties_data_empty/__init__.pyi +4 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +25 -25
- bl_ui/properties_data_lattice/__init__.pyi +4 -4
- bl_ui/properties_data_light/__init__.pyi +14 -14
- bl_ui/properties_data_lightprobe/__init__.pyi +18 -18
- bl_ui/properties_data_mesh/__init__.pyi +25 -58
- bl_ui/properties_data_metaball/__init__.pyi +6 -6
- bl_ui/properties_data_modifier/__init__.pyi +12 -12
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -8
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -1
- bl_ui/properties_data_speaker/__init__.pyi +5 -5
- bl_ui/properties_data_volume/__init__.pyi +9 -9
- bl_ui/properties_freestyle/__init__.pyi +51 -51
- bl_ui/properties_grease_pencil_common/__init__.pyi +30 -30
- bl_ui/properties_mask_common/__init__.pyi +24 -24
- bl_ui/properties_material/__init__.pyi +27 -27
- bl_ui/properties_material_gpencil/__init__.pyi +12 -12
- bl_ui/properties_object/__init__.pyi +29 -29
- bl_ui/properties_output/__init__.pyi +29 -29
- bl_ui/properties_paint_common/__init__.pyi +59 -50
- bl_ui/properties_particle/__init__.pyi +101 -101
- bl_ui/properties_physics_cloth/__init__.pyi +20 -20
- bl_ui/properties_physics_common/__init__.pyi +8 -8
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +57 -57
- bl_ui/properties_physics_field/__init__.pyi +23 -23
- bl_ui/properties_physics_fluid/__init__.pyi +76 -76
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +18 -18
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +29 -29
- bl_ui/properties_physics_softbody/__init__.pyi +21 -21
- bl_ui/properties_render/__init__.pyi +81 -81
- bl_ui/properties_scene/__init__.pyi +22 -22
- bl_ui/properties_texture/__init__.pyi +39 -39
- bl_ui/properties_view_layer/__init__.pyi +12 -12
- bl_ui/properties_workspace/__init__.pyi +5 -5
- bl_ui/properties_world/__init__.pyi +18 -18
- bl_ui/space_clip/__init__.pyi +81 -81
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +32 -32
- bl_ui/space_filebrowser/__init__.pyi +45 -45
- bl_ui/space_graph/__init__.pyi +21 -21
- bl_ui/space_image/__init__.pyi +73 -75
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +18 -18
- bl_ui/space_node/__init__.pyi +42 -42
- bl_ui/space_outliner/__init__.pyi +21 -21
- bl_ui/space_properties/__init__.pyi +6 -6
- bl_ui/space_sequencer/__init__.pyi +133 -133
- bl_ui/space_spreadsheet/__init__.pyi +4 -4
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +17 -17
- bl_ui/space_time/__init__.pyi +12 -12
- bl_ui/space_toolsystem_common/__init__.pyi +28 -26
- bl_ui/space_toolsystem_toolbar/__init__.pyi +36 -36
- bl_ui/space_topbar/__init__.pyi +32 -32
- bl_ui/space_userpref/__init__.pyi +132 -132
- bl_ui/space_view3d/__init__.pyi +297 -307
- bl_ui/space_view3d_toolbar/__init__.pyi +148 -149
- bl_ui/utils/__init__.pyi +5 -5
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +2 -2
- blf/__init__.pyi +15 -15
- bmesh/__init__.pyi +1 -1
- bmesh/ops/__init__.pyi +366 -357
- bmesh/types/__init__.pyi +59 -57
- bmesh/utils/__init__.pyi +2 -2
- bpy/app/__init__.pyi +3 -3
- bpy/app/icons/__init__.pyi +1 -1
- bpy/app/timers/__init__.pyi +2 -2
- bpy/app/translations/__init__.pyi +9 -9
- bpy/msgbus/__init__.pyi +15 -3
- bpy/ops/action/__init__.pyi +62 -38
- bpy/ops/anim/__init__.pyi +63 -61
- bpy/ops/armature/__init__.pyi +58 -48
- bpy/ops/asset/__init__.pyi +31 -20
- bpy/ops/boid/__init__.pyi +18 -8
- bpy/ops/brush/__init__.pyi +19 -16
- bpy/ops/buttons/__init__.pyi +14 -12
- bpy/ops/cachefile/__init__.pyi +9 -11
- bpy/ops/camera/__init__.pyi +2 -2
- bpy/ops/clip/__init__.pyi +112 -95
- bpy/ops/cloth/__init__.pyi +1 -1
- bpy/ops/collection/__init__.pyi +11 -9
- bpy/ops/console/__init__.pyi +37 -21
- bpy/ops/constraint/__init__.pyi +20 -18
- bpy/ops/curve/__init__.pyi +81 -51
- bpy/ops/curves/__init__.pyi +50 -30
- bpy/ops/cycles/__init__.pyi +3 -3
- bpy/ops/dpaint/__init__.pyi +5 -5
- bpy/ops/ed/__init__.pyi +19 -16
- bpy/ops/export_anim/__init__.pyi +1 -1
- bpy/ops/export_scene/__init__.pyi +2 -2
- bpy/ops/extensions/__init__.pyi +38 -32
- bpy/ops/file/__init__.pyi +72 -43
- bpy/ops/fluid/__init__.pyi +36 -14
- bpy/ops/font/__init__.pyi +41 -29
- bpy/ops/geometry/__init__.pyi +10 -10
- bpy/ops/gizmogroup/__init__.pyi +4 -2
- bpy/ops/gpencil/__init__.pyi +12 -8
- bpy/ops/graph/__init__.pyi +81 -68
- bpy/ops/grease_pencil/__init__.pyi +159 -115
- bpy/ops/image/__init__.pyi +63 -61
- bpy/ops/import_anim/__init__.pyi +1 -1
- bpy/ops/import_curve/__init__.pyi +1 -1
- bpy/ops/import_scene/__init__.pyi +2 -2
- bpy/ops/info/__init__.pyi +13 -7
- bpy/ops/lattice/__init__.pyi +14 -8
- bpy/ops/marker/__init__.pyi +13 -11
- bpy/ops/mask/__init__.pyi +59 -39
- bpy/ops/material/__init__.pyi +3 -3
- bpy/ops/mball/__init__.pyi +8 -8
- bpy/ops/mesh/__init__.pyi +182 -164
- bpy/ops/nla/__init__.pyi +65 -39
- bpy/ops/node/__init__.pyi +181 -150
- bpy/ops/object/__init__.pyi +262 -251
- bpy/ops/outliner/__init__.pyi +98 -72
- bpy/ops/paint/__init__.pyi +58 -54
- bpy/ops/paintcurve/__init__.pyi +12 -8
- bpy/ops/palette/__init__.pyi +11 -7
- bpy/ops/particle/__init__.pyi +58 -36
- bpy/ops/pointcloud/__init__.pyi +13 -7
- bpy/ops/pose/__init__.pyi +65 -51
- bpy/ops/poselib/__init__.pyi +17 -11
- bpy/ops/preferences/__init__.pyi +41 -38
- bpy/ops/ptcache/__init__.pyi +13 -7
- bpy/ops/render/__init__.pyi +17 -13
- bpy/ops/rigidbody/__init__.pyi +19 -13
- bpy/ops/scene/__init__.pyi +39 -37
- bpy/ops/screen/__init__.pyi +59 -45
- bpy/ops/script/__init__.pyi +5 -3
- bpy/ops/sculpt/__init__.pyi +44 -40
- bpy/ops/sculpt_curves/__init__.pyi +4 -4
- bpy/ops/sequencer/__init__.pyi +142 -115
- bpy/ops/sound/__init__.pyi +7 -16
- bpy/ops/spreadsheet/__init__.pyi +13 -7
- bpy/ops/surface/__init__.pyi +6 -6
- bpy/ops/text/__init__.pyi +73 -49
- bpy/ops/text_editor/__init__.pyi +1 -1
- bpy/ops/texture/__init__.pyi +8 -4
- bpy/ops/transform/__init__.pyi +29 -27
- bpy/ops/ui/__init__.pyi +42 -34
- bpy/ops/uilist/__init__.pyi +3 -3
- bpy/ops/uv/__init__.pyi +59 -49
- bpy/ops/view2d/__init__.pyi +14 -14
- bpy/ops/view3d/__init__.pyi +87 -67
- bpy/ops/wm/__init__.pyi +136 -574
- bpy/ops/workspace/__init__.pyi +11 -7
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +16 -13
- bpy/types/__init__.pyi +1237 -1281
- bpy/utils/__init__.pyi +23 -23
- bpy/utils/previews/__init__.pyi +3 -3
- bpy_extras/anim_utils/__init__.pyi +7 -7
- bpy_extras/bmesh_utils/__init__.pyi +1 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/io_utils/__init__.pyi +14 -12
- bpy_extras/keyconfig_utils/__init__.pyi +3 -3
- bpy_extras/mesh_utils/__init__.pyi +2 -2
- bpy_extras/node_shader_utils/__init__.pyi +63 -63
- bpy_extras/node_utils/__init__.pyi +3 -3
- bpy_extras/object_utils/__init__.pyi +4 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +10 -10
- bpy_types/__init__.pyi +4 -4
- console_python/__init__.pyi +7 -7
- console_shell/__init__.pyi +5 -5
- {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250607.dist-info}/METADATA +1 -1
- fake_bpy_module-20250607.dist-info/RECORD +367 -0
- freestyle/chainingiterators/__init__.pyi +35 -33
- freestyle/functions/__init__.pyi +55 -55
- freestyle/predicates/__init__.pyi +8 -8
- freestyle/shaders/__init__.pyi +79 -75
- freestyle/types/__init__.pyi +146 -142
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +25 -25
- gpu/matrix/__init__.pyi +14 -14
- gpu/select/__init__.pyi +1 -1
- gpu/shader/__init__.pyi +1 -1
- gpu/state/__init__.pyi +19 -19
- gpu/types/__init__.pyi +50 -44
- gpu_extras/presets/__init__.pyi +2 -2
- graphviz_export/__init__.pyi +2 -2
- idprop/types/__init__.pyi +9 -9
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -3
- keyingsets_builtins/__init__.pyi +26 -26
- keyingsets_utils/__init__.pyi +14 -14
- mathutils/__init__.pyi +61 -53
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/kdtree/__init__.pyi +3 -3
- mathutils/noise/__init__.pyi +1 -1
- nodeitems_builtins/__init__.pyi +4 -4
- nodeitems_utils/__init__.pyi +9 -9
- rna_info/__init__.pyi +25 -25
- rna_keymap_ui/__init__.pyi +6 -6
- rna_prop_ui/__init__.pyi +12 -12
- rna_xml/__init__.pyi +6 -6
- fake_bpy_module-20250604.dist-info/RECORD +0 -367
- {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250607.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250607.dist-info}/top_level.txt +0 -0
keyingsets_builtins/__init__.pyi
CHANGED
|
@@ -26,7 +26,7 @@ class BUILTIN_KSI_Available(bpy.types.KeyingSetInfo):
|
|
|
26
26
|
:rtype: typing.Any
|
|
27
27
|
"""
|
|
28
28
|
|
|
29
|
-
def poll(self, context):
|
|
29
|
+
def poll(self, context) -> None:
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
:param context:
|
|
@@ -74,7 +74,7 @@ class BUILTIN_KSI_DeltaLocation(bpy.types.KeyingSetInfo):
|
|
|
74
74
|
:rtype: typing.Any
|
|
75
75
|
"""
|
|
76
76
|
|
|
77
|
-
def generate(self, _context, ks, data):
|
|
77
|
+
def generate(self, _context, ks, data) -> None:
|
|
78
78
|
"""
|
|
79
79
|
|
|
80
80
|
:param _context:
|
|
@@ -103,7 +103,7 @@ class BUILTIN_KSI_DeltaRotation(bpy.types.KeyingSetInfo):
|
|
|
103
103
|
:rtype: typing.Any
|
|
104
104
|
"""
|
|
105
105
|
|
|
106
|
-
def generate(self, _context, ks, data):
|
|
106
|
+
def generate(self, _context, ks, data) -> None:
|
|
107
107
|
"""
|
|
108
108
|
|
|
109
109
|
:param _context:
|
|
@@ -132,7 +132,7 @@ class BUILTIN_KSI_DeltaScale(bpy.types.KeyingSetInfo):
|
|
|
132
132
|
:rtype: typing.Any
|
|
133
133
|
"""
|
|
134
134
|
|
|
135
|
-
def generate(self, _context, ks, data):
|
|
135
|
+
def generate(self, _context, ks, data) -> None:
|
|
136
136
|
"""
|
|
137
137
|
|
|
138
138
|
:param _context:
|
|
@@ -161,7 +161,7 @@ class BUILTIN_KSI_LocRot(bpy.types.KeyingSetInfo):
|
|
|
161
161
|
:rtype: typing.Any
|
|
162
162
|
"""
|
|
163
163
|
|
|
164
|
-
def generate(self, context, ks, data):
|
|
164
|
+
def generate(self, context, ks, data) -> None:
|
|
165
165
|
"""
|
|
166
166
|
|
|
167
167
|
:param context:
|
|
@@ -191,7 +191,7 @@ class BUILTIN_KSI_LocRotScale(bpy.types.KeyingSetInfo):
|
|
|
191
191
|
:rtype: typing.Any
|
|
192
192
|
"""
|
|
193
193
|
|
|
194
|
-
def generate(self, context, ks, data):
|
|
194
|
+
def generate(self, context, ks, data) -> None:
|
|
195
195
|
"""
|
|
196
196
|
|
|
197
197
|
:param context:
|
|
@@ -221,7 +221,7 @@ class BUILTIN_KSI_LocRotScaleCProp(bpy.types.KeyingSetInfo):
|
|
|
221
221
|
:rtype: typing.Any
|
|
222
222
|
"""
|
|
223
223
|
|
|
224
|
-
def generate(self, context, ks, data):
|
|
224
|
+
def generate(self, context, ks, data) -> None:
|
|
225
225
|
"""
|
|
226
226
|
|
|
227
227
|
:param context:
|
|
@@ -250,7 +250,7 @@ class BUILTIN_KSI_LocScale(bpy.types.KeyingSetInfo):
|
|
|
250
250
|
:rtype: typing.Any
|
|
251
251
|
"""
|
|
252
252
|
|
|
253
|
-
def generate(self, context, ks, data):
|
|
253
|
+
def generate(self, context, ks, data) -> None:
|
|
254
254
|
"""
|
|
255
255
|
|
|
256
256
|
:param context:
|
|
@@ -301,7 +301,7 @@ class BUILTIN_KSI_RotScale(bpy.types.KeyingSetInfo):
|
|
|
301
301
|
:rtype: typing.Any
|
|
302
302
|
"""
|
|
303
303
|
|
|
304
|
-
def generate(self, context, ks, data):
|
|
304
|
+
def generate(self, context, ks, data) -> None:
|
|
305
305
|
"""
|
|
306
306
|
|
|
307
307
|
:param context:
|
|
@@ -397,7 +397,7 @@ class BUILTIN_KSI_VisualLocRot(bpy.types.KeyingSetInfo):
|
|
|
397
397
|
:rtype: typing.Any
|
|
398
398
|
"""
|
|
399
399
|
|
|
400
|
-
def generate(self, context, ks, data):
|
|
400
|
+
def generate(self, context, ks, data) -> None:
|
|
401
401
|
"""
|
|
402
402
|
|
|
403
403
|
:param context:
|
|
@@ -427,7 +427,7 @@ class BUILTIN_KSI_VisualLocRotScale(bpy.types.KeyingSetInfo):
|
|
|
427
427
|
:rtype: typing.Any
|
|
428
428
|
"""
|
|
429
429
|
|
|
430
|
-
def generate(self, context, ks, data):
|
|
430
|
+
def generate(self, context, ks, data) -> None:
|
|
431
431
|
"""
|
|
432
432
|
|
|
433
433
|
:param context:
|
|
@@ -457,7 +457,7 @@ class BUILTIN_KSI_VisualLocScale(bpy.types.KeyingSetInfo):
|
|
|
457
457
|
:rtype: typing.Any
|
|
458
458
|
"""
|
|
459
459
|
|
|
460
|
-
def generate(self, context, ks, data):
|
|
460
|
+
def generate(self, context, ks, data) -> None:
|
|
461
461
|
"""
|
|
462
462
|
|
|
463
463
|
:param context:
|
|
@@ -509,7 +509,7 @@ class BUILTIN_KSI_VisualRotScale(bpy.types.KeyingSetInfo):
|
|
|
509
509
|
:rtype: typing.Any
|
|
510
510
|
"""
|
|
511
511
|
|
|
512
|
-
def generate(self, context, ks, data):
|
|
512
|
+
def generate(self, context, ks, data) -> None:
|
|
513
513
|
"""
|
|
514
514
|
|
|
515
515
|
:param context:
|
|
@@ -585,7 +585,7 @@ class BUILTIN_KSI_WholeCharacterSelected(WholeCharacterMixin, bpy.types.KeyingSe
|
|
|
585
585
|
:rtype: typing.Any
|
|
586
586
|
"""
|
|
587
587
|
|
|
588
|
-
def iterator(self, context, ks):
|
|
588
|
+
def iterator(self, context, ks) -> None:
|
|
589
589
|
"""
|
|
590
590
|
|
|
591
591
|
:param context:
|
|
@@ -595,7 +595,7 @@ class BUILTIN_KSI_WholeCharacterSelected(WholeCharacterMixin, bpy.types.KeyingSe
|
|
|
595
595
|
class WholeCharacterMixin:
|
|
596
596
|
badBonePrefixes: typing.Any
|
|
597
597
|
|
|
598
|
-
def addProp(self, ks, bone, prop, index=-1, use_groups=True):
|
|
598
|
+
def addProp(self, ks, bone, prop, index=-1, use_groups=True) -> None:
|
|
599
599
|
"""
|
|
600
600
|
|
|
601
601
|
:param ks:
|
|
@@ -605,7 +605,7 @@ class WholeCharacterMixin:
|
|
|
605
605
|
:param use_groups:
|
|
606
606
|
"""
|
|
607
607
|
|
|
608
|
-
def doBBone(self, context, ks, pchan):
|
|
608
|
+
def doBBone(self, context, ks, pchan) -> None:
|
|
609
609
|
"""
|
|
610
610
|
|
|
611
611
|
:param context:
|
|
@@ -613,42 +613,42 @@ class WholeCharacterMixin:
|
|
|
613
613
|
:param pchan:
|
|
614
614
|
"""
|
|
615
615
|
|
|
616
|
-
def doCustomProps(self, ks, bone):
|
|
616
|
+
def doCustomProps(self, ks, bone) -> None:
|
|
617
617
|
"""
|
|
618
618
|
|
|
619
619
|
:param ks:
|
|
620
620
|
:param bone:
|
|
621
621
|
"""
|
|
622
622
|
|
|
623
|
-
def doLoc(self, ks, bone):
|
|
623
|
+
def doLoc(self, ks, bone) -> None:
|
|
624
624
|
"""
|
|
625
625
|
|
|
626
626
|
:param ks:
|
|
627
627
|
:param bone:
|
|
628
628
|
"""
|
|
629
629
|
|
|
630
|
-
def doRot3d(self, ks, bone):
|
|
630
|
+
def doRot3d(self, ks, bone) -> None:
|
|
631
631
|
"""
|
|
632
632
|
|
|
633
633
|
:param ks:
|
|
634
634
|
:param bone:
|
|
635
635
|
"""
|
|
636
636
|
|
|
637
|
-
def doRot4d(self, ks, bone):
|
|
637
|
+
def doRot4d(self, ks, bone) -> None:
|
|
638
638
|
"""
|
|
639
639
|
|
|
640
640
|
:param ks:
|
|
641
641
|
:param bone:
|
|
642
642
|
"""
|
|
643
643
|
|
|
644
|
-
def doScale(self, ks, bone):
|
|
644
|
+
def doScale(self, ks, bone) -> None:
|
|
645
645
|
"""
|
|
646
646
|
|
|
647
647
|
:param ks:
|
|
648
648
|
:param bone:
|
|
649
649
|
"""
|
|
650
650
|
|
|
651
|
-
def generate(self, context, ks, bone):
|
|
651
|
+
def generate(self, context, ks, bone) -> None:
|
|
652
652
|
"""
|
|
653
653
|
|
|
654
654
|
:param context:
|
|
@@ -656,18 +656,18 @@ class WholeCharacterMixin:
|
|
|
656
656
|
:param bone:
|
|
657
657
|
"""
|
|
658
658
|
|
|
659
|
-
def iterator(self, context, ks):
|
|
659
|
+
def iterator(self, context, ks) -> None:
|
|
660
660
|
"""
|
|
661
661
|
|
|
662
662
|
:param context:
|
|
663
663
|
:param ks:
|
|
664
664
|
"""
|
|
665
665
|
|
|
666
|
-
def poll(self, context):
|
|
666
|
+
def poll(self, context) -> None:
|
|
667
667
|
"""
|
|
668
668
|
|
|
669
669
|
:param context:
|
|
670
670
|
"""
|
|
671
671
|
|
|
672
|
-
def register(): ...
|
|
673
|
-
def unregister(): ...
|
|
672
|
+
def register() -> None: ...
|
|
673
|
+
def unregister() -> None: ...
|
keyingsets_utils/__init__.pyi
CHANGED
|
@@ -3,17 +3,17 @@ import collections.abc
|
|
|
3
3
|
import typing_extensions
|
|
4
4
|
import numpy.typing as npt
|
|
5
5
|
|
|
6
|
-
def RKS_GEN_available(_ksi, _context, ks, data): ...
|
|
7
|
-
def RKS_GEN_bendy_bones(_ksi, _context, ks, data): ...
|
|
8
|
-
def RKS_GEN_custom_props(_ksi, _context, ks, data): ...
|
|
9
|
-
def RKS_GEN_location(_ksi, _context, ks, data): ...
|
|
10
|
-
def RKS_GEN_rotation(_ksi, _context, ks, data): ...
|
|
11
|
-
def RKS_GEN_scaling(_ksi, _context, ks, data): ...
|
|
12
|
-
def RKS_ITER_selected_bones(ksi, context, ks): ...
|
|
13
|
-
def RKS_ITER_selected_item(ksi, context, ks): ...
|
|
14
|
-
def RKS_ITER_selected_objects(ksi, context, ks): ...
|
|
15
|
-
def RKS_POLL_selected_bones(_ksi, context): ...
|
|
16
|
-
def RKS_POLL_selected_items(ksi, context): ...
|
|
17
|
-
def RKS_POLL_selected_objects(_ksi, context): ...
|
|
18
|
-
def get_transform_generators_base_info(data): ...
|
|
19
|
-
def path_add_property(path, prop): ...
|
|
6
|
+
def RKS_GEN_available(_ksi, _context, ks, data) -> None: ...
|
|
7
|
+
def RKS_GEN_bendy_bones(_ksi, _context, ks, data) -> None: ...
|
|
8
|
+
def RKS_GEN_custom_props(_ksi, _context, ks, data) -> None: ...
|
|
9
|
+
def RKS_GEN_location(_ksi, _context, ks, data) -> None: ...
|
|
10
|
+
def RKS_GEN_rotation(_ksi, _context, ks, data) -> None: ...
|
|
11
|
+
def RKS_GEN_scaling(_ksi, _context, ks, data) -> None: ...
|
|
12
|
+
def RKS_ITER_selected_bones(ksi, context, ks) -> None: ...
|
|
13
|
+
def RKS_ITER_selected_item(ksi, context, ks) -> None: ...
|
|
14
|
+
def RKS_ITER_selected_objects(ksi, context, ks) -> None: ...
|
|
15
|
+
def RKS_POLL_selected_bones(_ksi, context) -> None: ...
|
|
16
|
+
def RKS_POLL_selected_items(ksi, context) -> None: ...
|
|
17
|
+
def RKS_POLL_selected_objects(_ksi, context) -> None: ...
|
|
18
|
+
def get_transform_generators_base_info(data) -> None: ...
|
|
19
|
+
def path_add_property(path, prop) -> None: ...
|
mathutils/__init__.pyi
CHANGED
|
@@ -172,7 +172,7 @@ class Color:
|
|
|
172
172
|
:rtype: typing_extensions.Self
|
|
173
173
|
"""
|
|
174
174
|
|
|
175
|
-
def __init__(self, rgb: collections.abc.Sequence[float] = (0.0, 0.0, 0.0)):
|
|
175
|
+
def __init__(self, rgb: collections.abc.Sequence[float] = (0.0, 0.0, 0.0)) -> None:
|
|
176
176
|
"""
|
|
177
177
|
|
|
178
178
|
:param rgb:
|
|
@@ -190,7 +190,7 @@ class Color:
|
|
|
190
190
|
|
|
191
191
|
def __set__(
|
|
192
192
|
self, instance, value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
193
|
-
):
|
|
193
|
+
) -> None:
|
|
194
194
|
"""
|
|
195
195
|
|
|
196
196
|
:param instance:
|
|
@@ -339,7 +339,7 @@ class Color:
|
|
|
339
339
|
"""
|
|
340
340
|
|
|
341
341
|
@typing.overload
|
|
342
|
-
def __setitem__(self, key: int, value: float):
|
|
342
|
+
def __setitem__(self, key: int, value: float) -> None:
|
|
343
343
|
"""
|
|
344
344
|
|
|
345
345
|
:param key:
|
|
@@ -349,7 +349,9 @@ class Color:
|
|
|
349
349
|
"""
|
|
350
350
|
|
|
351
351
|
@typing.overload
|
|
352
|
-
def __setitem__(
|
|
352
|
+
def __setitem__(
|
|
353
|
+
self, key: slice, value: collections.abc.Iterable[float] | Color
|
|
354
|
+
) -> None:
|
|
353
355
|
"""
|
|
354
356
|
|
|
355
357
|
:param key:
|
|
@@ -417,7 +419,7 @@ class Euler:
|
|
|
417
419
|
:rtype: typing_extensions.Self
|
|
418
420
|
"""
|
|
419
421
|
|
|
420
|
-
def make_compatible(self, other):
|
|
422
|
+
def make_compatible(self, other) -> None:
|
|
421
423
|
"""Make this euler compatible with another,
|
|
422
424
|
so interpolating between them works as intended.
|
|
423
425
|
|
|
@@ -431,14 +433,14 @@ class Euler:
|
|
|
431
433
|
| collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
432
434
|
| collections.abc.Sequence[float]
|
|
433
435
|
| typing_extensions.Self,
|
|
434
|
-
):
|
|
436
|
+
) -> None:
|
|
435
437
|
"""Rotates the euler by another mathutils value.
|
|
436
438
|
|
|
437
439
|
:param other: rotation component of mathutils value
|
|
438
440
|
:type other: Matrix | Quaternion | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float] | typing_extensions.Self
|
|
439
441
|
"""
|
|
440
442
|
|
|
441
|
-
def rotate_axis(self, axis: str, angle: float):
|
|
443
|
+
def rotate_axis(self, axis: str, angle: float) -> None:
|
|
442
444
|
"""Rotates the euler a certain amount and returning a unique euler rotation
|
|
443
445
|
(no 720 degree pitches).
|
|
444
446
|
|
|
@@ -462,14 +464,14 @@ class Euler:
|
|
|
462
464
|
:rtype: Quaternion
|
|
463
465
|
"""
|
|
464
466
|
|
|
465
|
-
def zero(self):
|
|
467
|
+
def zero(self) -> None:
|
|
466
468
|
"""Set all values to zero."""
|
|
467
469
|
|
|
468
470
|
def __init__(
|
|
469
471
|
self,
|
|
470
472
|
angles: collections.abc.Sequence[float] = (0.0, 0.0, 0.0),
|
|
471
473
|
order: str = "XYZ",
|
|
472
|
-
):
|
|
474
|
+
) -> None:
|
|
473
475
|
"""
|
|
474
476
|
|
|
475
477
|
:param angles:
|
|
@@ -489,7 +491,7 @@ class Euler:
|
|
|
489
491
|
|
|
490
492
|
def __set__(
|
|
491
493
|
self, instance, value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
492
|
-
):
|
|
494
|
+
) -> None:
|
|
493
495
|
"""
|
|
494
496
|
|
|
495
497
|
:param instance:
|
|
@@ -518,7 +520,7 @@ class Euler:
|
|
|
518
520
|
"""
|
|
519
521
|
|
|
520
522
|
@typing.overload
|
|
521
|
-
def __setitem__(self, key: int, value: float):
|
|
523
|
+
def __setitem__(self, key: int, value: float) -> None:
|
|
522
524
|
"""
|
|
523
525
|
|
|
524
526
|
:param key:
|
|
@@ -528,7 +530,9 @@ class Euler:
|
|
|
528
530
|
"""
|
|
529
531
|
|
|
530
532
|
@typing.overload
|
|
531
|
-
def __setitem__(
|
|
533
|
+
def __setitem__(
|
|
534
|
+
self, key: slice, value: collections.abc.Iterable[float] | Euler
|
|
535
|
+
) -> None:
|
|
532
536
|
"""
|
|
533
537
|
|
|
534
538
|
:param key:
|
|
@@ -736,7 +740,7 @@ class Matrix:
|
|
|
736
740
|
:rtype: typing_extensions.Self
|
|
737
741
|
"""
|
|
738
742
|
|
|
739
|
-
def adjugate(self):
|
|
743
|
+
def adjugate(self) -> None:
|
|
740
744
|
"""Set the matrix to its adjugate.`Adjugate matrix <https://en.wikipedia.org/wiki/Adjugate_matrix>`__ on Wikipedia."""
|
|
741
745
|
|
|
742
746
|
def adjugated(self) -> typing_extensions.Self:
|
|
@@ -774,7 +778,7 @@ class Matrix:
|
|
|
774
778
|
:rtype: typing_extensions.Self
|
|
775
779
|
"""
|
|
776
780
|
|
|
777
|
-
def identity(self):
|
|
781
|
+
def identity(self) -> None:
|
|
778
782
|
"""Set the matrix to the identity matrix.`Identity matrix <https://en.wikipedia.org/wiki/Identity_matrix>`__ on Wikipedia."""
|
|
779
783
|
|
|
780
784
|
def invert(
|
|
@@ -782,7 +786,7 @@ class Matrix:
|
|
|
782
786
|
fallback: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
783
787
|
| typing_extensions.Self
|
|
784
788
|
| None = None,
|
|
785
|
-
):
|
|
789
|
+
) -> None:
|
|
786
790
|
"""Set the matrix to its inverse.`Inverse matrix <https://en.wikipedia.org/wiki/Inverse_matrix>`__ on Wikipedia.
|
|
787
791
|
|
|
788
792
|
:param fallback: Set the matrix to this value when the inverse cannot be calculated
|
|
@@ -790,7 +794,7 @@ class Matrix:
|
|
|
790
794
|
:type fallback: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self | None
|
|
791
795
|
"""
|
|
792
796
|
|
|
793
|
-
def invert_safe(self):
|
|
797
|
+
def invert_safe(self) -> None:
|
|
794
798
|
"""Set the matrix to its inverse, will never error.
|
|
795
799
|
If degenerated (e.g. zero scale on an axis), add some epsilon to its diagonal, to get an invertible one.
|
|
796
800
|
If tweaked matrix is still degenerated, set to the identity matrix instead.`Inverse Matrix <https://en.wikipedia.org/wiki/Inverse_matrix>`__ on Wikipedia.
|
|
@@ -834,7 +838,7 @@ class Matrix:
|
|
|
834
838
|
:rtype: typing_extensions.Self
|
|
835
839
|
"""
|
|
836
840
|
|
|
837
|
-
def normalize(self):
|
|
841
|
+
def normalize(self) -> None:
|
|
838
842
|
"""Normalize each of the matrix columns."""
|
|
839
843
|
|
|
840
844
|
def normalized(self) -> typing_extensions.Self:
|
|
@@ -844,7 +848,7 @@ class Matrix:
|
|
|
844
848
|
:rtype: typing_extensions.Self
|
|
845
849
|
"""
|
|
846
850
|
|
|
847
|
-
def resize_4x4(self):
|
|
851
|
+
def resize_4x4(self) -> None:
|
|
848
852
|
"""Resize the matrix to 4x4."""
|
|
849
853
|
|
|
850
854
|
def rotate(
|
|
@@ -854,7 +858,7 @@ class Matrix:
|
|
|
854
858
|
| collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
855
859
|
| collections.abc.Sequence[float]
|
|
856
860
|
| typing_extensions.Self,
|
|
857
|
-
):
|
|
861
|
+
) -> None:
|
|
858
862
|
"""Rotates the matrix by another mathutils value.
|
|
859
863
|
|
|
860
864
|
:param other: rotation component of mathutils value
|
|
@@ -922,7 +926,7 @@ class Matrix:
|
|
|
922
926
|
:rtype: Vector
|
|
923
927
|
"""
|
|
924
928
|
|
|
925
|
-
def transpose(self):
|
|
929
|
+
def transpose(self) -> None:
|
|
926
930
|
"""Set the matrix to its transpose.`Transpose <https://en.wikipedia.org/wiki/Transpose>`__ on Wikipedia."""
|
|
927
931
|
|
|
928
932
|
def transposed(self) -> typing_extensions.Self:
|
|
@@ -932,7 +936,7 @@ class Matrix:
|
|
|
932
936
|
:rtype: typing_extensions.Self
|
|
933
937
|
"""
|
|
934
938
|
|
|
935
|
-
def zero(self):
|
|
939
|
+
def zero(self) -> None:
|
|
936
940
|
"""Set all the matrix values to zero."""
|
|
937
941
|
|
|
938
942
|
def __init__(
|
|
@@ -943,7 +947,7 @@ class Matrix:
|
|
|
943
947
|
(0.0, 0.0, 1.0, 0.0),
|
|
944
948
|
(0.0, 0.0, 0.0, 1.0),
|
|
945
949
|
),
|
|
946
|
-
):
|
|
950
|
+
) -> None:
|
|
947
951
|
"""
|
|
948
952
|
|
|
949
953
|
:param rows:
|
|
@@ -964,7 +968,7 @@ class Matrix:
|
|
|
964
968
|
instance,
|
|
965
969
|
value: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
966
970
|
| typing_extensions.Self,
|
|
967
|
-
):
|
|
971
|
+
) -> None:
|
|
968
972
|
"""
|
|
969
973
|
|
|
970
974
|
:param instance:
|
|
@@ -993,7 +997,9 @@ class Matrix:
|
|
|
993
997
|
"""
|
|
994
998
|
|
|
995
999
|
@typing.overload
|
|
996
|
-
def __setitem__(
|
|
1000
|
+
def __setitem__(
|
|
1001
|
+
self, key: int, value: Vector | collections.abc.Iterable[float]
|
|
1002
|
+
) -> None:
|
|
997
1003
|
"""
|
|
998
1004
|
|
|
999
1005
|
:param key:
|
|
@@ -1008,7 +1014,7 @@ class Matrix:
|
|
|
1008
1014
|
key: slice,
|
|
1009
1015
|
value: collections.abc.Iterable[Vector | collections.abc.Iterable[float]]
|
|
1010
1016
|
| Matrix,
|
|
1011
|
-
):
|
|
1017
|
+
) -> None:
|
|
1012
1018
|
"""
|
|
1013
1019
|
|
|
1014
1020
|
:param key:
|
|
@@ -1193,7 +1199,7 @@ class Quaternion:
|
|
|
1193
1199
|
:type: float
|
|
1194
1200
|
"""
|
|
1195
1201
|
|
|
1196
|
-
def conjugate(self):
|
|
1202
|
+
def conjugate(self) -> None:
|
|
1197
1203
|
"""Set the quaternion to its conjugate (negate x, y, z)."""
|
|
1198
1204
|
|
|
1199
1205
|
def conjugated(self) -> typing_extensions.Self:
|
|
@@ -1239,10 +1245,10 @@ class Quaternion:
|
|
|
1239
1245
|
:rtype: typing_extensions.Self
|
|
1240
1246
|
"""
|
|
1241
1247
|
|
|
1242
|
-
def identity(self):
|
|
1248
|
+
def identity(self) -> None:
|
|
1243
1249
|
"""Set the quaternion to an identity quaternion."""
|
|
1244
1250
|
|
|
1245
|
-
def invert(self):
|
|
1251
|
+
def invert(self) -> None:
|
|
1246
1252
|
"""Set the quaternion to its inverse."""
|
|
1247
1253
|
|
|
1248
1254
|
def inverted(self) -> typing_extensions.Self:
|
|
@@ -1252,17 +1258,17 @@ class Quaternion:
|
|
|
1252
1258
|
:rtype: typing_extensions.Self
|
|
1253
1259
|
"""
|
|
1254
1260
|
|
|
1255
|
-
def make_compatible(self, other):
|
|
1261
|
+
def make_compatible(self, other) -> None:
|
|
1256
1262
|
"""Make this quaternion compatible with another,
|
|
1257
1263
|
so interpolating between them works as intended.
|
|
1258
1264
|
|
|
1259
1265
|
:param other:
|
|
1260
1266
|
"""
|
|
1261
1267
|
|
|
1262
|
-
def negate(self):
|
|
1268
|
+
def negate(self) -> None:
|
|
1263
1269
|
"""Set the quaternion to its negative."""
|
|
1264
1270
|
|
|
1265
|
-
def normalize(self):
|
|
1271
|
+
def normalize(self) -> None:
|
|
1266
1272
|
"""Normalize the quaternion."""
|
|
1267
1273
|
|
|
1268
1274
|
def normalized(self) -> typing_extensions.Self:
|
|
@@ -1279,7 +1285,7 @@ class Quaternion:
|
|
|
1279
1285
|
| collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
1280
1286
|
| collections.abc.Sequence[float]
|
|
1281
1287
|
| typing_extensions.Self,
|
|
1282
|
-
):
|
|
1288
|
+
) -> None:
|
|
1283
1289
|
"""Rotates the quaternion by another mathutils value.
|
|
1284
1290
|
|
|
1285
1291
|
:param other: rotation component of mathutils value
|
|
@@ -1337,7 +1343,7 @@ class Quaternion:
|
|
|
1337
1343
|
:rtype: Euler
|
|
1338
1344
|
"""
|
|
1339
1345
|
|
|
1340
|
-
def to_exponential_map(self):
|
|
1346
|
+
def to_exponential_map(self) -> None:
|
|
1341
1347
|
"""Return the exponential map representation of the quaternion.This representation consist of the rotation axis multiplied by the rotation angle.
|
|
1342
1348
|
Such a representation is useful for interpolation between multiple orientations.To convert back to a quaternion, pass it to the `Quaternion` constructor.
|
|
1343
1349
|
|
|
@@ -1365,7 +1371,7 @@ class Quaternion:
|
|
|
1365
1371
|
self,
|
|
1366
1372
|
seq: Vector | collections.abc.Sequence[float] = (1.0, 0.0, 0.0, 0.0),
|
|
1367
1373
|
angle: float = 0.0,
|
|
1368
|
-
):
|
|
1374
|
+
) -> None:
|
|
1369
1375
|
"""
|
|
1370
1376
|
|
|
1371
1377
|
:param seq:
|
|
@@ -1385,7 +1391,7 @@ class Quaternion:
|
|
|
1385
1391
|
|
|
1386
1392
|
def __set__(
|
|
1387
1393
|
self, instance, value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1388
|
-
):
|
|
1394
|
+
) -> None:
|
|
1389
1395
|
"""
|
|
1390
1396
|
|
|
1391
1397
|
:param instance:
|
|
@@ -1421,7 +1427,7 @@ class Quaternion:
|
|
|
1421
1427
|
"""
|
|
1422
1428
|
|
|
1423
1429
|
@typing.overload
|
|
1424
|
-
def __setitem__(self, key: int, value: float):
|
|
1430
|
+
def __setitem__(self, key: int, value: float) -> None:
|
|
1425
1431
|
"""
|
|
1426
1432
|
|
|
1427
1433
|
:param key:
|
|
@@ -1433,7 +1439,7 @@ class Quaternion:
|
|
|
1433
1439
|
@typing.overload
|
|
1434
1440
|
def __setitem__(
|
|
1435
1441
|
self, key: slice, value: collections.abc.Iterable[float] | Quaternion
|
|
1436
|
-
):
|
|
1442
|
+
) -> None:
|
|
1437
1443
|
"""
|
|
1438
1444
|
|
|
1439
1445
|
:param key:
|
|
@@ -3622,7 +3628,7 @@ class Vector:
|
|
|
3622
3628
|
"""
|
|
3623
3629
|
|
|
3624
3630
|
@classmethod
|
|
3625
|
-
def Fill(cls, size: int, fill: float = 0.0):
|
|
3631
|
+
def Fill(cls, size: int, fill: float = 0.0) -> None:
|
|
3626
3632
|
"""Create a vector of length size with all values set to fill.
|
|
3627
3633
|
|
|
3628
3634
|
:param size: The length of the vector to be created.
|
|
@@ -3632,7 +3638,7 @@ class Vector:
|
|
|
3632
3638
|
"""
|
|
3633
3639
|
|
|
3634
3640
|
@classmethod
|
|
3635
|
-
def Linspace(cls, start: int, stop: int, size: int):
|
|
3641
|
+
def Linspace(cls, start: int, stop: int, size: int) -> None:
|
|
3636
3642
|
"""Create a vector of the specified size which is filled with linearly spaced values between start and stop values.
|
|
3637
3643
|
|
|
3638
3644
|
:param start: The start of the range used to fill the vector.
|
|
@@ -3644,7 +3650,7 @@ class Vector:
|
|
|
3644
3650
|
"""
|
|
3645
3651
|
|
|
3646
3652
|
@classmethod
|
|
3647
|
-
def Range(cls, start: int, stop: int, step: int = 1):
|
|
3653
|
+
def Range(cls, start: int, stop: int, step: int = 1) -> None:
|
|
3648
3654
|
"""Create a filled with a range of values.
|
|
3649
3655
|
|
|
3650
3656
|
:param start: The start of the range used to fill the vector.
|
|
@@ -3658,7 +3664,7 @@ class Vector:
|
|
|
3658
3664
|
@classmethod
|
|
3659
3665
|
def Repeat(
|
|
3660
3666
|
cls, vector: collections.abc.Sequence[float] | typing_extensions.Self, size: int
|
|
3661
|
-
):
|
|
3667
|
+
) -> None:
|
|
3662
3668
|
"""Create a vector by repeating the values in vector until the required size is reached.
|
|
3663
3669
|
|
|
3664
3670
|
:param vector: The vector to draw values from.
|
|
@@ -3750,10 +3756,10 @@ class Vector:
|
|
|
3750
3756
|
:rtype: typing_extensions.Self
|
|
3751
3757
|
"""
|
|
3752
3758
|
|
|
3753
|
-
def negate(self):
|
|
3759
|
+
def negate(self) -> None:
|
|
3754
3760
|
"""Set all values to their negative."""
|
|
3755
3761
|
|
|
3756
|
-
def normalize(self):
|
|
3762
|
+
def normalize(self) -> None:
|
|
3757
3763
|
"""Normalize the vector, making the length of the vector always 1.0."""
|
|
3758
3764
|
|
|
3759
3765
|
def normalized(self) -> typing_extensions.Self:
|
|
@@ -3792,19 +3798,19 @@ class Vector:
|
|
|
3792
3798
|
:rtype: typing_extensions.Self
|
|
3793
3799
|
"""
|
|
3794
3800
|
|
|
3795
|
-
def resize(self, size=3):
|
|
3801
|
+
def resize(self, size=3) -> None:
|
|
3796
3802
|
"""Resize the vector to have size number of elements.
|
|
3797
3803
|
|
|
3798
3804
|
:param size:
|
|
3799
3805
|
"""
|
|
3800
3806
|
|
|
3801
|
-
def resize_2d(self):
|
|
3807
|
+
def resize_2d(self) -> None:
|
|
3802
3808
|
"""Resize the vector to 2D (x, y)."""
|
|
3803
3809
|
|
|
3804
|
-
def resize_3d(self):
|
|
3810
|
+
def resize_3d(self) -> None:
|
|
3805
3811
|
"""Resize the vector to 3D (x, y, z)."""
|
|
3806
3812
|
|
|
3807
|
-
def resize_4d(self):
|
|
3813
|
+
def resize_4d(self) -> None:
|
|
3808
3814
|
"""Resize the vector to 4D (x, y, z, w)."""
|
|
3809
3815
|
|
|
3810
3816
|
def resized(self, size=3) -> typing_extensions.Self:
|
|
@@ -3822,7 +3828,7 @@ class Vector:
|
|
|
3822
3828
|
| Quaternion
|
|
3823
3829
|
| collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
3824
3830
|
| collections.abc.Sequence[float],
|
|
3825
|
-
):
|
|
3831
|
+
) -> None:
|
|
3826
3832
|
"""Rotate the vector by a rotation value.
|
|
3827
3833
|
|
|
3828
3834
|
:param other: rotation component of mathutils value
|
|
@@ -3901,10 +3907,10 @@ class Vector:
|
|
|
3901
3907
|
:rtype: tuple[float, ...]
|
|
3902
3908
|
"""
|
|
3903
3909
|
|
|
3904
|
-
def zero(self):
|
|
3910
|
+
def zero(self) -> None:
|
|
3905
3911
|
"""Set all values to zero."""
|
|
3906
3912
|
|
|
3907
|
-
def __init__(self, seq: collections.abc.Sequence[float] = (0.0, 0.0, 0.0)):
|
|
3913
|
+
def __init__(self, seq: collections.abc.Sequence[float] = (0.0, 0.0, 0.0)) -> None:
|
|
3908
3914
|
"""
|
|
3909
3915
|
|
|
3910
3916
|
:param seq:
|
|
@@ -3922,7 +3928,7 @@ class Vector:
|
|
|
3922
3928
|
|
|
3923
3929
|
def __set__(
|
|
3924
3930
|
self, instance, value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3925
|
-
):
|
|
3931
|
+
) -> None:
|
|
3926
3932
|
"""
|
|
3927
3933
|
|
|
3928
3934
|
:param instance:
|
|
@@ -3958,7 +3964,7 @@ class Vector:
|
|
|
3958
3964
|
"""
|
|
3959
3965
|
|
|
3960
3966
|
@typing.overload
|
|
3961
|
-
def __setitem__(self, key: int, value: float):
|
|
3967
|
+
def __setitem__(self, key: int, value: float) -> None:
|
|
3962
3968
|
"""
|
|
3963
3969
|
|
|
3964
3970
|
:param key:
|
|
@@ -3968,7 +3974,9 @@ class Vector:
|
|
|
3968
3974
|
"""
|
|
3969
3975
|
|
|
3970
3976
|
@typing.overload
|
|
3971
|
-
def __setitem__(
|
|
3977
|
+
def __setitem__(
|
|
3978
|
+
self, key: slice, value: collections.abc.Iterable[float] | Vector
|
|
3979
|
+
) -> None:
|
|
3972
3980
|
"""
|
|
3973
3981
|
|
|
3974
3982
|
:param key:
|