fake-bpy-module 20240321__py3-none-any.whl → 20240324__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +253 -247
- bmesh/utils/__init__.pyi +54 -54
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +646 -823
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +331 -429
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86446 -87424
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -1
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/METADATA +1 -1
- fake_bpy_module-20240324.dist-info/RECORD +343 -0
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/top_level.txt +0 -0
bpy/ops/geometry/__init__.pyi
CHANGED
|
@@ -4,171 +4,150 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def attribute_add(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
12
|
-
*,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
13
10
|
name: typing.Union[str, typing.Any] = "",
|
|
14
|
-
domain: typing.
|
|
15
|
-
data_type: typing.
|
|
11
|
+
domain: typing.Any = "POINT",
|
|
12
|
+
data_type: typing.Any = "FLOAT",
|
|
16
13
|
):
|
|
17
14
|
"""Add attribute to geometry
|
|
18
15
|
|
|
19
|
-
:type override_context: typing.
|
|
20
|
-
:type execution_context: typing.
|
|
21
|
-
:type undo:
|
|
16
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
+
:type execution_context: typing.Union[str, int]
|
|
18
|
+
:type undo: bool
|
|
22
19
|
:param name: Name, Name of new attribute
|
|
23
20
|
:type name: typing.Union[str, typing.Any]
|
|
24
21
|
:param domain: Domain, Type of element that attribute is stored on
|
|
25
|
-
:type domain: typing.
|
|
22
|
+
:type domain: typing.Any
|
|
26
23
|
:param data_type: Data Type, Type of data stored in attribute
|
|
27
|
-
:type data_type: typing.
|
|
24
|
+
:type data_type: typing.Any
|
|
28
25
|
"""
|
|
29
26
|
|
|
30
27
|
...
|
|
31
28
|
|
|
32
29
|
def attribute_convert(
|
|
33
|
-
override_context: typing.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
mode: typing.Optional[typing.Any] = "GENERIC",
|
|
40
|
-
domain: typing.Optional[typing.Any] = "POINT",
|
|
41
|
-
data_type: typing.Optional[typing.Any] = "FLOAT",
|
|
30
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
31
|
+
execution_context: typing.Union[str, int] = None,
|
|
32
|
+
undo: bool = None,
|
|
33
|
+
mode: typing.Any = "GENERIC",
|
|
34
|
+
domain: typing.Any = "POINT",
|
|
35
|
+
data_type: typing.Any = "FLOAT",
|
|
42
36
|
):
|
|
43
37
|
"""Change how the attribute is stored
|
|
44
38
|
|
|
45
|
-
:type override_context: typing.
|
|
46
|
-
:type execution_context: typing.
|
|
47
|
-
:type undo:
|
|
39
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
40
|
+
:type execution_context: typing.Union[str, int]
|
|
41
|
+
:type undo: bool
|
|
48
42
|
:param mode: Mode
|
|
49
|
-
:type mode: typing.
|
|
43
|
+
:type mode: typing.Any
|
|
50
44
|
:param domain: Domain, Which geometry element to move the attribute to
|
|
51
|
-
:type domain: typing.
|
|
45
|
+
:type domain: typing.Any
|
|
52
46
|
:param data_type: Data Type
|
|
53
|
-
:type data_type: typing.
|
|
47
|
+
:type data_type: typing.Any
|
|
54
48
|
"""
|
|
55
49
|
|
|
56
50
|
...
|
|
57
51
|
|
|
58
52
|
def attribute_remove(
|
|
59
|
-
override_context: typing.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
63
|
-
undo: typing.Optional[bool] = None,
|
|
53
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
54
|
+
execution_context: typing.Union[str, int] = None,
|
|
55
|
+
undo: bool = None,
|
|
64
56
|
):
|
|
65
57
|
"""Remove attribute from geometry
|
|
66
58
|
|
|
67
|
-
:type override_context: typing.
|
|
68
|
-
:type execution_context: typing.
|
|
69
|
-
:type undo:
|
|
59
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
60
|
+
:type execution_context: typing.Union[str, int]
|
|
61
|
+
:type undo: bool
|
|
70
62
|
"""
|
|
71
63
|
|
|
72
64
|
...
|
|
73
65
|
|
|
74
66
|
def color_attribute_add(
|
|
75
|
-
override_context: typing.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
79
|
-
undo: typing.Optional[bool] = None,
|
|
80
|
-
*,
|
|
67
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
68
|
+
execution_context: typing.Union[str, int] = None,
|
|
69
|
+
undo: bool = None,
|
|
81
70
|
name: typing.Union[str, typing.Any] = "",
|
|
82
|
-
domain: typing.
|
|
83
|
-
data_type: typing.
|
|
84
|
-
color: typing.
|
|
71
|
+
domain: typing.Any = "POINT",
|
|
72
|
+
data_type: typing.Any = "FLOAT_COLOR",
|
|
73
|
+
color: typing.Any = (0.0, 0.0, 0.0, 1.0),
|
|
85
74
|
):
|
|
86
75
|
"""Add color attribute to geometry
|
|
87
76
|
|
|
88
|
-
:type override_context: typing.
|
|
89
|
-
:type execution_context: typing.
|
|
90
|
-
:type undo:
|
|
77
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
78
|
+
:type execution_context: typing.Union[str, int]
|
|
79
|
+
:type undo: bool
|
|
91
80
|
:param name: Name, Name of new color attribute
|
|
92
81
|
:type name: typing.Union[str, typing.Any]
|
|
93
82
|
:param domain: Domain, Type of element that attribute is stored on
|
|
94
|
-
:type domain: typing.
|
|
83
|
+
:type domain: typing.Any
|
|
95
84
|
:param data_type: Data Type, Type of data stored in attribute
|
|
96
|
-
:type data_type: typing.
|
|
85
|
+
:type data_type: typing.Any
|
|
97
86
|
:param color: Color, Default fill color
|
|
98
|
-
:type color: typing.
|
|
87
|
+
:type color: typing.Any
|
|
99
88
|
"""
|
|
100
89
|
|
|
101
90
|
...
|
|
102
91
|
|
|
103
92
|
def color_attribute_convert(
|
|
104
|
-
override_context: typing.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
*,
|
|
110
|
-
domain: typing.Optional[typing.Any] = "POINT",
|
|
111
|
-
data_type: typing.Optional[typing.Any] = "FLOAT_COLOR",
|
|
93
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
94
|
+
execution_context: typing.Union[str, int] = None,
|
|
95
|
+
undo: bool = None,
|
|
96
|
+
domain: typing.Any = "POINT",
|
|
97
|
+
data_type: typing.Any = "FLOAT_COLOR",
|
|
112
98
|
):
|
|
113
99
|
"""Change how the color attribute is stored
|
|
114
100
|
|
|
115
|
-
:type override_context: typing.
|
|
116
|
-
:type execution_context: typing.
|
|
117
|
-
:type undo:
|
|
101
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
102
|
+
:type execution_context: typing.Union[str, int]
|
|
103
|
+
:type undo: bool
|
|
118
104
|
:param domain: Domain, Type of element that attribute is stored on
|
|
119
|
-
:type domain: typing.
|
|
105
|
+
:type domain: typing.Any
|
|
120
106
|
:param data_type: Data Type, Type of data stored in attribute
|
|
121
|
-
:type data_type: typing.
|
|
107
|
+
:type data_type: typing.Any
|
|
122
108
|
"""
|
|
123
109
|
|
|
124
110
|
...
|
|
125
111
|
|
|
126
112
|
def color_attribute_duplicate(
|
|
127
|
-
override_context: typing.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
131
|
-
undo: typing.Optional[bool] = None,
|
|
113
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
114
|
+
execution_context: typing.Union[str, int] = None,
|
|
115
|
+
undo: bool = None,
|
|
132
116
|
):
|
|
133
117
|
"""Duplicate color attribute
|
|
134
118
|
|
|
135
|
-
:type override_context: typing.
|
|
136
|
-
:type execution_context: typing.
|
|
137
|
-
:type undo:
|
|
119
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
120
|
+
:type execution_context: typing.Union[str, int]
|
|
121
|
+
:type undo: bool
|
|
138
122
|
"""
|
|
139
123
|
|
|
140
124
|
...
|
|
141
125
|
|
|
142
126
|
def color_attribute_remove(
|
|
143
|
-
override_context: typing.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
147
|
-
undo: typing.Optional[bool] = None,
|
|
127
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
128
|
+
execution_context: typing.Union[str, int] = None,
|
|
129
|
+
undo: bool = None,
|
|
148
130
|
):
|
|
149
131
|
"""Remove color attribute from geometry
|
|
150
132
|
|
|
151
|
-
:type override_context: typing.
|
|
152
|
-
:type execution_context: typing.
|
|
153
|
-
:type undo:
|
|
133
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
134
|
+
:type execution_context: typing.Union[str, int]
|
|
135
|
+
:type undo: bool
|
|
154
136
|
"""
|
|
155
137
|
|
|
156
138
|
...
|
|
157
139
|
|
|
158
140
|
def color_attribute_render_set(
|
|
159
|
-
override_context: typing.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
163
|
-
undo: typing.Optional[bool] = None,
|
|
164
|
-
*,
|
|
141
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
142
|
+
execution_context: typing.Union[str, int] = None,
|
|
143
|
+
undo: bool = None,
|
|
165
144
|
name: typing.Union[str, typing.Any] = "Color",
|
|
166
145
|
):
|
|
167
146
|
"""Set default color attribute used for rendering
|
|
168
147
|
|
|
169
|
-
:type override_context: typing.
|
|
170
|
-
:type execution_context: typing.
|
|
171
|
-
:type undo:
|
|
148
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
149
|
+
:type execution_context: typing.Union[str, int]
|
|
150
|
+
:type undo: bool
|
|
172
151
|
:param name: Name, Name of color attribute
|
|
173
152
|
:type name: typing.Union[str, typing.Any]
|
|
174
153
|
"""
|
|
@@ -176,25 +155,22 @@ def color_attribute_render_set(
|
|
|
176
155
|
...
|
|
177
156
|
|
|
178
157
|
def execute_node_group(
|
|
179
|
-
override_context: typing.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
undo: typing.Optional[bool] = None,
|
|
184
|
-
*,
|
|
185
|
-
asset_library_type: typing.Optional[typing.Any] = "LOCAL",
|
|
158
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
159
|
+
execution_context: typing.Union[str, int] = None,
|
|
160
|
+
undo: bool = None,
|
|
161
|
+
asset_library_type: typing.Any = "LOCAL",
|
|
186
162
|
asset_library_identifier: typing.Union[str, typing.Any] = "",
|
|
187
163
|
relative_asset_identifier: typing.Union[str, typing.Any] = "",
|
|
188
164
|
name: typing.Union[str, typing.Any] = "",
|
|
189
|
-
session_uid: typing.
|
|
165
|
+
session_uid: typing.Any = 0,
|
|
190
166
|
):
|
|
191
167
|
"""Execute a node group on geometry
|
|
192
168
|
|
|
193
|
-
:type override_context: typing.
|
|
194
|
-
:type execution_context: typing.
|
|
195
|
-
:type undo:
|
|
169
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
170
|
+
:type execution_context: typing.Union[str, int]
|
|
171
|
+
:type undo: bool
|
|
196
172
|
:param asset_library_type: Asset Library Type
|
|
197
|
-
:type asset_library_type: typing.
|
|
173
|
+
:type asset_library_type: typing.Any
|
|
198
174
|
:param asset_library_identifier: Asset Library Identifier
|
|
199
175
|
:type asset_library_identifier: typing.Union[str, typing.Any]
|
|
200
176
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
@@ -202,27 +178,24 @@ def execute_node_group(
|
|
|
202
178
|
:param name: Name, Name of the data-block to use by the operator
|
|
203
179
|
:type name: typing.Union[str, typing.Any]
|
|
204
180
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
205
|
-
:type session_uid: typing.
|
|
181
|
+
:type session_uid: typing.Any
|
|
206
182
|
"""
|
|
207
183
|
|
|
208
184
|
...
|
|
209
185
|
|
|
210
186
|
def geometry_randomization(
|
|
211
|
-
override_context: typing.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
undo: typing.Optional[bool] = None,
|
|
216
|
-
*,
|
|
217
|
-
value: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
187
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
188
|
+
execution_context: typing.Union[str, int] = None,
|
|
189
|
+
undo: bool = None,
|
|
190
|
+
value: typing.Union[bool, typing.Any] = False,
|
|
218
191
|
):
|
|
219
192
|
"""Toggle geometry randomization for debugging purposes
|
|
220
193
|
|
|
221
|
-
:type override_context: typing.
|
|
222
|
-
:type execution_context: typing.
|
|
223
|
-
:type undo:
|
|
194
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
+
:type execution_context: typing.Union[str, int]
|
|
196
|
+
:type undo: bool
|
|
224
197
|
:param value: Value, Randomize the order of geometry elements (e.g. vertices or edges) after some operations where there are no guarantees about the order. This avoids accidentally depending on something that may change in the future
|
|
225
|
-
:type value: typing.
|
|
198
|
+
:type value: typing.Union[bool, typing.Any]
|
|
226
199
|
"""
|
|
227
200
|
|
|
228
201
|
...
|
bpy/ops/gizmogroup/__init__.pyi
CHANGED
|
@@ -4,49 +4,44 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def gizmo_select(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
16
|
-
deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
17
|
-
select_passthrough: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
11
|
+
deselect: typing.Union[bool, typing.Any] = False,
|
|
12
|
+
toggle: typing.Union[bool, typing.Any] = False,
|
|
13
|
+
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
14
|
+
select_passthrough: typing.Union[bool, typing.Any] = False,
|
|
18
15
|
):
|
|
19
16
|
"""Select the currently highlighted gizmo
|
|
20
17
|
|
|
21
|
-
:type override_context: typing.
|
|
22
|
-
:type execution_context: typing.
|
|
23
|
-
:type undo:
|
|
18
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
19
|
+
:type execution_context: typing.Union[str, int]
|
|
20
|
+
:type undo: bool
|
|
24
21
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
25
|
-
:type extend: typing.
|
|
22
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
26
23
|
:param deselect: Deselect, Remove from selection
|
|
27
|
-
:type deselect: typing.
|
|
24
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
28
25
|
:param toggle: Toggle Selection, Toggle the selection
|
|
29
|
-
:type toggle: typing.
|
|
26
|
+
:type toggle: typing.Union[bool, typing.Any]
|
|
30
27
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
31
|
-
:type deselect_all: typing.
|
|
28
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
32
29
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
33
|
-
:type select_passthrough: typing.
|
|
30
|
+
:type select_passthrough: typing.Union[bool, typing.Any]
|
|
34
31
|
"""
|
|
35
32
|
|
|
36
33
|
...
|
|
37
34
|
|
|
38
35
|
def gizmo_tweak(
|
|
39
|
-
override_context: typing.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
43
|
-
undo: typing.Optional[bool] = None,
|
|
36
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
37
|
+
execution_context: typing.Union[str, int] = None,
|
|
38
|
+
undo: bool = None,
|
|
44
39
|
):
|
|
45
40
|
"""Tweak the active gizmo
|
|
46
41
|
|
|
47
|
-
:type override_context: typing.
|
|
48
|
-
:type execution_context: typing.
|
|
49
|
-
:type undo:
|
|
42
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
43
|
+
:type execution_context: typing.Union[str, int]
|
|
44
|
+
:type undo: bool
|
|
50
45
|
"""
|
|
51
46
|
|
|
52
47
|
...
|