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/scene/__init__.pyi
CHANGED
|
@@ -4,108 +4,93 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def delete(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
12
10
|
):
|
|
13
11
|
"""Delete active scene
|
|
14
12
|
|
|
15
|
-
:type override_context: typing.
|
|
16
|
-
:type execution_context: typing.
|
|
17
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
18
16
|
"""
|
|
19
17
|
|
|
20
18
|
...
|
|
21
19
|
|
|
22
20
|
def freestyle_add_edge_marks_to_keying_set(
|
|
23
|
-
override_context: typing.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
27
|
-
undo: typing.Optional[bool] = None,
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
28
24
|
):
|
|
29
25
|
"""Add the data paths to the Freestyle Edge Mark property of selected edges to the active keying set
|
|
30
26
|
|
|
31
|
-
:type override_context: typing.
|
|
32
|
-
:type execution_context: typing.
|
|
33
|
-
:type undo:
|
|
27
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
+
:type execution_context: typing.Union[str, int]
|
|
29
|
+
:type undo: bool
|
|
34
30
|
"""
|
|
35
31
|
|
|
36
32
|
...
|
|
37
33
|
|
|
38
34
|
def freestyle_add_face_marks_to_keying_set(
|
|
39
|
-
override_context: typing.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
43
|
-
undo: typing.Optional[bool] = None,
|
|
35
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
+
execution_context: typing.Union[str, int] = None,
|
|
37
|
+
undo: bool = None,
|
|
44
38
|
):
|
|
45
39
|
"""Add the data paths to the Freestyle Face Mark property of selected polygons to the active keying set
|
|
46
40
|
|
|
47
|
-
:type override_context: typing.
|
|
48
|
-
:type execution_context: typing.
|
|
49
|
-
:type undo:
|
|
41
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
42
|
+
:type execution_context: typing.Union[str, int]
|
|
43
|
+
:type undo: bool
|
|
50
44
|
"""
|
|
51
45
|
|
|
52
46
|
...
|
|
53
47
|
|
|
54
48
|
def freestyle_alpha_modifier_add(
|
|
55
|
-
override_context: typing.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
undo: typing.Optional[bool] = None,
|
|
60
|
-
*,
|
|
61
|
-
type: typing.Optional[typing.Any] = "ALONG_STROKE",
|
|
49
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
50
|
+
execution_context: typing.Union[str, int] = None,
|
|
51
|
+
undo: bool = None,
|
|
52
|
+
type: typing.Any = "ALONG_STROKE",
|
|
62
53
|
):
|
|
63
54
|
"""Add an alpha transparency modifier to the line style associated with the active lineset
|
|
64
55
|
|
|
65
|
-
:type override_context: typing.
|
|
66
|
-
:type execution_context: typing.
|
|
67
|
-
:type undo:
|
|
56
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
57
|
+
:type execution_context: typing.Union[str, int]
|
|
58
|
+
:type undo: bool
|
|
68
59
|
:param type: Type
|
|
69
|
-
:type type: typing.
|
|
60
|
+
:type type: typing.Any
|
|
70
61
|
"""
|
|
71
62
|
|
|
72
63
|
...
|
|
73
64
|
|
|
74
65
|
def freestyle_color_modifier_add(
|
|
75
|
-
override_context: typing.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
undo: typing.Optional[bool] = None,
|
|
80
|
-
*,
|
|
81
|
-
type: typing.Optional[typing.Any] = "ALONG_STROKE",
|
|
66
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
+
execution_context: typing.Union[str, int] = None,
|
|
68
|
+
undo: bool = None,
|
|
69
|
+
type: typing.Any = "ALONG_STROKE",
|
|
82
70
|
):
|
|
83
71
|
"""Add a line color modifier to the line style associated with the active lineset
|
|
84
72
|
|
|
85
|
-
:type override_context: typing.
|
|
86
|
-
:type execution_context: typing.
|
|
87
|
-
:type undo:
|
|
73
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
+
:type execution_context: typing.Union[str, int]
|
|
75
|
+
:type undo: bool
|
|
88
76
|
:param type: Type
|
|
89
|
-
:type type: typing.
|
|
77
|
+
:type type: typing.Any
|
|
90
78
|
"""
|
|
91
79
|
|
|
92
80
|
...
|
|
93
81
|
|
|
94
82
|
def freestyle_fill_range_by_selection(
|
|
95
|
-
override_context: typing.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
undo: typing.Optional[bool] = None,
|
|
100
|
-
*,
|
|
101
|
-
type: typing.Optional[typing.Any] = "COLOR",
|
|
83
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
84
|
+
execution_context: typing.Union[str, int] = None,
|
|
85
|
+
undo: bool = None,
|
|
86
|
+
type: typing.Any = "COLOR",
|
|
102
87
|
name: typing.Union[str, typing.Any] = "",
|
|
103
88
|
):
|
|
104
89
|
"""Fill the Range Min/Max entries by the min/max distance between selected mesh objects and the source object (either a user-specified object or the active camera)
|
|
105
90
|
|
|
106
|
-
:type override_context: typing.
|
|
107
|
-
:type execution_context: typing.
|
|
108
|
-
:type undo:
|
|
91
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
92
|
+
:type execution_context: typing.Union[str, int]
|
|
93
|
+
:type undo: bool
|
|
109
94
|
:param type: Type, Type of the modifier to work on
|
|
110
95
|
|
|
111
96
|
COLOR
|
|
@@ -116,7 +101,7 @@ def freestyle_fill_range_by_selection(
|
|
|
116
101
|
|
|
117
102
|
THICKNESS
|
|
118
103
|
Thickness -- Thickness modifier type.
|
|
119
|
-
:type type: typing.
|
|
104
|
+
:type type: typing.Any
|
|
120
105
|
:param name: Name, Name of the modifier to work on
|
|
121
106
|
:type name: typing.Union[str, typing.Any]
|
|
122
107
|
"""
|
|
@@ -124,373 +109,324 @@ def freestyle_fill_range_by_selection(
|
|
|
124
109
|
...
|
|
125
110
|
|
|
126
111
|
def freestyle_geometry_modifier_add(
|
|
127
|
-
override_context: typing.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
undo: typing.Optional[bool] = None,
|
|
132
|
-
*,
|
|
133
|
-
type: typing.Optional[typing.Any] = "2D_OFFSET",
|
|
112
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
113
|
+
execution_context: typing.Union[str, int] = None,
|
|
114
|
+
undo: bool = None,
|
|
115
|
+
type: typing.Any = "2D_OFFSET",
|
|
134
116
|
):
|
|
135
117
|
"""Add a stroke geometry modifier to the line style associated with the active lineset
|
|
136
118
|
|
|
137
|
-
:type override_context: typing.
|
|
138
|
-
:type execution_context: typing.
|
|
139
|
-
:type undo:
|
|
119
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
120
|
+
:type execution_context: typing.Union[str, int]
|
|
121
|
+
:type undo: bool
|
|
140
122
|
:param type: Type
|
|
141
|
-
:type type: typing.
|
|
123
|
+
:type type: typing.Any
|
|
142
124
|
"""
|
|
143
125
|
|
|
144
126
|
...
|
|
145
127
|
|
|
146
128
|
def freestyle_lineset_add(
|
|
147
|
-
override_context: typing.
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
151
|
-
undo: typing.Optional[bool] = None,
|
|
129
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
130
|
+
execution_context: typing.Union[str, int] = None,
|
|
131
|
+
undo: bool = None,
|
|
152
132
|
):
|
|
153
133
|
"""Add a line set into the list of line sets
|
|
154
134
|
|
|
155
|
-
:type override_context: typing.
|
|
156
|
-
:type execution_context: typing.
|
|
157
|
-
:type undo:
|
|
135
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
136
|
+
:type execution_context: typing.Union[str, int]
|
|
137
|
+
:type undo: bool
|
|
158
138
|
"""
|
|
159
139
|
|
|
160
140
|
...
|
|
161
141
|
|
|
162
142
|
def freestyle_lineset_copy(
|
|
163
|
-
override_context: typing.
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
167
|
-
undo: typing.Optional[bool] = None,
|
|
143
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
144
|
+
execution_context: typing.Union[str, int] = None,
|
|
145
|
+
undo: bool = None,
|
|
168
146
|
):
|
|
169
147
|
"""Copy the active line set to the internal clipboard
|
|
170
148
|
|
|
171
|
-
:type override_context: typing.
|
|
172
|
-
:type execution_context: typing.
|
|
173
|
-
:type undo:
|
|
149
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
150
|
+
:type execution_context: typing.Union[str, int]
|
|
151
|
+
:type undo: bool
|
|
174
152
|
"""
|
|
175
153
|
|
|
176
154
|
...
|
|
177
155
|
|
|
178
156
|
def freestyle_lineset_move(
|
|
179
|
-
override_context: typing.
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
undo: typing.Optional[bool] = None,
|
|
184
|
-
*,
|
|
185
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
157
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
158
|
+
execution_context: typing.Union[str, int] = None,
|
|
159
|
+
undo: bool = None,
|
|
160
|
+
direction: typing.Any = "UP",
|
|
186
161
|
):
|
|
187
162
|
"""Change the position of the active line set within the list of line sets
|
|
188
163
|
|
|
189
|
-
:type override_context: typing.
|
|
190
|
-
:type execution_context: typing.
|
|
191
|
-
:type undo:
|
|
164
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
165
|
+
:type execution_context: typing.Union[str, int]
|
|
166
|
+
:type undo: bool
|
|
192
167
|
:param direction: Direction, Direction to move the active line set towards
|
|
193
|
-
:type direction: typing.
|
|
168
|
+
:type direction: typing.Any
|
|
194
169
|
"""
|
|
195
170
|
|
|
196
171
|
...
|
|
197
172
|
|
|
198
173
|
def freestyle_lineset_paste(
|
|
199
|
-
override_context: typing.
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
203
|
-
undo: typing.Optional[bool] = None,
|
|
174
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
+
execution_context: typing.Union[str, int] = None,
|
|
176
|
+
undo: bool = None,
|
|
204
177
|
):
|
|
205
178
|
"""Paste the internal clipboard content to the active line set
|
|
206
179
|
|
|
207
|
-
:type override_context: typing.
|
|
208
|
-
:type execution_context: typing.
|
|
209
|
-
:type undo:
|
|
180
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
+
:type execution_context: typing.Union[str, int]
|
|
182
|
+
:type undo: bool
|
|
210
183
|
"""
|
|
211
184
|
|
|
212
185
|
...
|
|
213
186
|
|
|
214
187
|
def freestyle_lineset_remove(
|
|
215
|
-
override_context: typing.
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
219
|
-
undo: typing.Optional[bool] = None,
|
|
188
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
+
execution_context: typing.Union[str, int] = None,
|
|
190
|
+
undo: bool = None,
|
|
220
191
|
):
|
|
221
192
|
"""Remove the active line set from the list of line sets
|
|
222
193
|
|
|
223
|
-
:type override_context: typing.
|
|
224
|
-
:type execution_context: typing.
|
|
225
|
-
:type undo:
|
|
194
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
+
:type execution_context: typing.Union[str, int]
|
|
196
|
+
:type undo: bool
|
|
226
197
|
"""
|
|
227
198
|
|
|
228
199
|
...
|
|
229
200
|
|
|
230
201
|
def freestyle_linestyle_new(
|
|
231
|
-
override_context: typing.
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
235
|
-
undo: typing.Optional[bool] = None,
|
|
202
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
203
|
+
execution_context: typing.Union[str, int] = None,
|
|
204
|
+
undo: bool = None,
|
|
236
205
|
):
|
|
237
206
|
"""Create a new line style, reusable by multiple line sets
|
|
238
207
|
|
|
239
|
-
:type override_context: typing.
|
|
240
|
-
:type execution_context: typing.
|
|
241
|
-
:type undo:
|
|
208
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
209
|
+
:type execution_context: typing.Union[str, int]
|
|
210
|
+
:type undo: bool
|
|
242
211
|
"""
|
|
243
212
|
|
|
244
213
|
...
|
|
245
214
|
|
|
246
215
|
def freestyle_modifier_copy(
|
|
247
|
-
override_context: typing.
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
251
|
-
undo: typing.Optional[bool] = None,
|
|
216
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
217
|
+
execution_context: typing.Union[str, int] = None,
|
|
218
|
+
undo: bool = None,
|
|
252
219
|
):
|
|
253
220
|
"""Duplicate the modifier within the list of modifiers
|
|
254
221
|
|
|
255
|
-
:type override_context: typing.
|
|
256
|
-
:type execution_context: typing.
|
|
257
|
-
:type undo:
|
|
222
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
223
|
+
:type execution_context: typing.Union[str, int]
|
|
224
|
+
:type undo: bool
|
|
258
225
|
"""
|
|
259
226
|
|
|
260
227
|
...
|
|
261
228
|
|
|
262
229
|
def freestyle_modifier_move(
|
|
263
|
-
override_context: typing.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
undo: typing.Optional[bool] = None,
|
|
268
|
-
*,
|
|
269
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
230
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
231
|
+
execution_context: typing.Union[str, int] = None,
|
|
232
|
+
undo: bool = None,
|
|
233
|
+
direction: typing.Any = "UP",
|
|
270
234
|
):
|
|
271
235
|
"""Move the modifier within the list of modifiers
|
|
272
236
|
|
|
273
|
-
:type override_context: typing.
|
|
274
|
-
:type execution_context: typing.
|
|
275
|
-
:type undo:
|
|
237
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
238
|
+
:type execution_context: typing.Union[str, int]
|
|
239
|
+
:type undo: bool
|
|
276
240
|
:param direction: Direction, Direction to move the chosen modifier towards
|
|
277
|
-
:type direction: typing.
|
|
241
|
+
:type direction: typing.Any
|
|
278
242
|
"""
|
|
279
243
|
|
|
280
244
|
...
|
|
281
245
|
|
|
282
246
|
def freestyle_modifier_remove(
|
|
283
|
-
override_context: typing.
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
287
|
-
undo: typing.Optional[bool] = None,
|
|
247
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
248
|
+
execution_context: typing.Union[str, int] = None,
|
|
249
|
+
undo: bool = None,
|
|
288
250
|
):
|
|
289
251
|
"""Remove the modifier from the list of modifiers
|
|
290
252
|
|
|
291
|
-
:type override_context: typing.
|
|
292
|
-
:type execution_context: typing.
|
|
293
|
-
:type undo:
|
|
253
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
254
|
+
:type execution_context: typing.Union[str, int]
|
|
255
|
+
:type undo: bool
|
|
294
256
|
"""
|
|
295
257
|
|
|
296
258
|
...
|
|
297
259
|
|
|
298
260
|
def freestyle_module_add(
|
|
299
|
-
override_context: typing.
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
303
|
-
undo: typing.Optional[bool] = None,
|
|
261
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
262
|
+
execution_context: typing.Union[str, int] = None,
|
|
263
|
+
undo: bool = None,
|
|
304
264
|
):
|
|
305
265
|
"""Add a style module into the list of modules
|
|
306
266
|
|
|
307
|
-
:type override_context: typing.
|
|
308
|
-
:type execution_context: typing.
|
|
309
|
-
:type undo:
|
|
267
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
+
:type execution_context: typing.Union[str, int]
|
|
269
|
+
:type undo: bool
|
|
310
270
|
"""
|
|
311
271
|
|
|
312
272
|
...
|
|
313
273
|
|
|
314
274
|
def freestyle_module_move(
|
|
315
|
-
override_context: typing.
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
undo: typing.Optional[bool] = None,
|
|
320
|
-
*,
|
|
321
|
-
direction: typing.Optional[typing.Any] = "UP",
|
|
275
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
276
|
+
execution_context: typing.Union[str, int] = None,
|
|
277
|
+
undo: bool = None,
|
|
278
|
+
direction: typing.Any = "UP",
|
|
322
279
|
):
|
|
323
280
|
"""Change the position of the style module within in the list of style modules
|
|
324
281
|
|
|
325
|
-
:type override_context: typing.
|
|
326
|
-
:type execution_context: typing.
|
|
327
|
-
:type undo:
|
|
282
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
283
|
+
:type execution_context: typing.Union[str, int]
|
|
284
|
+
:type undo: bool
|
|
328
285
|
:param direction: Direction, Direction to move the chosen style module towards
|
|
329
|
-
:type direction: typing.
|
|
286
|
+
:type direction: typing.Any
|
|
330
287
|
"""
|
|
331
288
|
|
|
332
289
|
...
|
|
333
290
|
|
|
334
291
|
def freestyle_module_open(
|
|
335
|
-
override_context: typing.
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
339
|
-
undo: typing.Optional[bool] = None,
|
|
340
|
-
*,
|
|
292
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
293
|
+
execution_context: typing.Union[str, int] = None,
|
|
294
|
+
undo: bool = None,
|
|
341
295
|
filepath: typing.Union[str, typing.Any] = "",
|
|
342
|
-
make_internal: typing.
|
|
296
|
+
make_internal: typing.Union[bool, typing.Any] = True,
|
|
343
297
|
):
|
|
344
298
|
"""Open a style module file
|
|
345
299
|
|
|
346
|
-
:type override_context: typing.
|
|
347
|
-
:type execution_context: typing.
|
|
348
|
-
:type undo:
|
|
300
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
301
|
+
:type execution_context: typing.Union[str, int]
|
|
302
|
+
:type undo: bool
|
|
349
303
|
:param filepath: filepath
|
|
350
304
|
:type filepath: typing.Union[str, typing.Any]
|
|
351
305
|
:param make_internal: Make internal, Make module file internal after loading
|
|
352
|
-
:type make_internal: typing.
|
|
306
|
+
:type make_internal: typing.Union[bool, typing.Any]
|
|
353
307
|
"""
|
|
354
308
|
|
|
355
309
|
...
|
|
356
310
|
|
|
357
311
|
def freestyle_module_remove(
|
|
358
|
-
override_context: typing.
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
362
|
-
undo: typing.Optional[bool] = None,
|
|
312
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
313
|
+
execution_context: typing.Union[str, int] = None,
|
|
314
|
+
undo: bool = None,
|
|
363
315
|
):
|
|
364
316
|
"""Remove the style module from the stack
|
|
365
317
|
|
|
366
|
-
:type override_context: typing.
|
|
367
|
-
:type execution_context: typing.
|
|
368
|
-
:type undo:
|
|
318
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
319
|
+
:type execution_context: typing.Union[str, int]
|
|
320
|
+
:type undo: bool
|
|
369
321
|
"""
|
|
370
322
|
|
|
371
323
|
...
|
|
372
324
|
|
|
373
325
|
def freestyle_stroke_material_create(
|
|
374
|
-
override_context: typing.
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
378
|
-
undo: typing.Optional[bool] = None,
|
|
326
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
327
|
+
execution_context: typing.Union[str, int] = None,
|
|
328
|
+
undo: bool = None,
|
|
379
329
|
):
|
|
380
330
|
"""Create Freestyle stroke material for testing
|
|
381
331
|
|
|
382
|
-
:type override_context: typing.
|
|
383
|
-
:type execution_context: typing.
|
|
384
|
-
:type undo:
|
|
332
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
333
|
+
:type execution_context: typing.Union[str, int]
|
|
334
|
+
:type undo: bool
|
|
385
335
|
"""
|
|
386
336
|
|
|
387
337
|
...
|
|
388
338
|
|
|
389
339
|
def freestyle_thickness_modifier_add(
|
|
390
|
-
override_context: typing.
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
undo: typing.Optional[bool] = None,
|
|
395
|
-
*,
|
|
396
|
-
type: typing.Optional[typing.Any] = "ALONG_STROKE",
|
|
340
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
341
|
+
execution_context: typing.Union[str, int] = None,
|
|
342
|
+
undo: bool = None,
|
|
343
|
+
type: typing.Any = "ALONG_STROKE",
|
|
397
344
|
):
|
|
398
345
|
"""Add a line thickness modifier to the line style associated with the active lineset
|
|
399
346
|
|
|
400
|
-
:type override_context: typing.
|
|
401
|
-
:type execution_context: typing.
|
|
402
|
-
:type undo:
|
|
347
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
348
|
+
:type execution_context: typing.Union[str, int]
|
|
349
|
+
:type undo: bool
|
|
403
350
|
:param type: Type
|
|
404
|
-
:type type: typing.
|
|
351
|
+
:type type: typing.Any
|
|
405
352
|
"""
|
|
406
353
|
|
|
407
354
|
...
|
|
408
355
|
|
|
409
356
|
def gltf2_action_filter_refresh(
|
|
410
|
-
override_context: typing.
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
414
|
-
undo: typing.Optional[bool] = None,
|
|
357
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
358
|
+
execution_context: typing.Union[str, int] = None,
|
|
359
|
+
undo: bool = None,
|
|
415
360
|
):
|
|
416
361
|
"""Refresh list of actions
|
|
417
362
|
|
|
418
|
-
:type override_context: typing.
|
|
419
|
-
:type execution_context: typing.
|
|
420
|
-
:type undo:
|
|
363
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
364
|
+
:type execution_context: typing.Union[str, int]
|
|
365
|
+
:type undo: bool
|
|
421
366
|
"""
|
|
422
367
|
|
|
423
368
|
...
|
|
424
369
|
|
|
425
370
|
def gpencil_brush_preset_add(
|
|
426
|
-
override_context: typing.
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
430
|
-
undo: typing.Optional[bool] = None,
|
|
431
|
-
*,
|
|
371
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
372
|
+
execution_context: typing.Union[str, int] = None,
|
|
373
|
+
undo: bool = None,
|
|
432
374
|
name: typing.Union[str, typing.Any] = "",
|
|
433
|
-
remove_name: typing.
|
|
434
|
-
remove_active: typing.
|
|
375
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
376
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
435
377
|
):
|
|
436
378
|
"""Add or remove grease pencil brush preset
|
|
437
379
|
|
|
438
|
-
:type override_context: typing.
|
|
439
|
-
:type execution_context: typing.
|
|
440
|
-
:type undo:
|
|
380
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
381
|
+
:type execution_context: typing.Union[str, int]
|
|
382
|
+
:type undo: bool
|
|
441
383
|
:param name: Name, Name of the preset, used to make the path name
|
|
442
384
|
:type name: typing.Union[str, typing.Any]
|
|
443
385
|
:param remove_name: remove_name
|
|
444
|
-
:type remove_name: typing.
|
|
386
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
445
387
|
:param remove_active: remove_active
|
|
446
|
-
:type remove_active: typing.
|
|
388
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
447
389
|
"""
|
|
448
390
|
|
|
449
391
|
...
|
|
450
392
|
|
|
451
393
|
def gpencil_material_preset_add(
|
|
452
|
-
override_context: typing.
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
456
|
-
undo: typing.Optional[bool] = None,
|
|
457
|
-
*,
|
|
394
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
395
|
+
execution_context: typing.Union[str, int] = None,
|
|
396
|
+
undo: bool = None,
|
|
458
397
|
name: typing.Union[str, typing.Any] = "",
|
|
459
|
-
remove_name: typing.
|
|
460
|
-
remove_active: typing.
|
|
398
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
399
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
461
400
|
):
|
|
462
401
|
"""Add or remove grease pencil material preset
|
|
463
402
|
|
|
464
|
-
:type override_context: typing.
|
|
465
|
-
:type execution_context: typing.
|
|
466
|
-
:type undo:
|
|
403
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
404
|
+
:type execution_context: typing.Union[str, int]
|
|
405
|
+
:type undo: bool
|
|
467
406
|
:param name: Name, Name of the preset, used to make the path name
|
|
468
407
|
:type name: typing.Union[str, typing.Any]
|
|
469
408
|
:param remove_name: remove_name
|
|
470
|
-
:type remove_name: typing.
|
|
409
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
471
410
|
:param remove_active: remove_active
|
|
472
|
-
:type remove_active: typing.
|
|
411
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
473
412
|
"""
|
|
474
413
|
|
|
475
414
|
...
|
|
476
415
|
|
|
477
416
|
def light_cache_bake(
|
|
478
|
-
override_context: typing.
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
*,
|
|
484
|
-
delay: typing.Optional[typing.Any] = 0,
|
|
485
|
-
subset: typing.Optional[typing.Any] = "ALL",
|
|
417
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
418
|
+
execution_context: typing.Union[str, int] = None,
|
|
419
|
+
undo: bool = None,
|
|
420
|
+
delay: typing.Any = 0,
|
|
421
|
+
subset: typing.Any = "ALL",
|
|
486
422
|
):
|
|
487
423
|
"""Bake the active view layer lighting
|
|
488
424
|
|
|
489
|
-
:type override_context: typing.
|
|
490
|
-
:type execution_context: typing.
|
|
491
|
-
:type undo:
|
|
425
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
426
|
+
:type execution_context: typing.Union[str, int]
|
|
427
|
+
:type undo: bool
|
|
492
428
|
:param delay: Delay, Delay in millisecond before baking starts
|
|
493
|
-
:type delay: typing.
|
|
429
|
+
:type delay: typing.Any
|
|
494
430
|
:param subset: Subset, Subset of probes to update
|
|
495
431
|
|
|
496
432
|
ALL
|
|
@@ -501,41 +437,36 @@ def light_cache_bake(
|
|
|
501
437
|
|
|
502
438
|
CUBEMAPS
|
|
503
439
|
Cubemaps Only -- Try to only bake reflection cubemaps if irradiance grids are up to date.
|
|
504
|
-
:type subset: typing.
|
|
440
|
+
:type subset: typing.Any
|
|
505
441
|
"""
|
|
506
442
|
|
|
507
443
|
...
|
|
508
444
|
|
|
509
445
|
def light_cache_free(
|
|
510
|
-
override_context: typing.
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
514
|
-
undo: typing.Optional[bool] = None,
|
|
446
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
447
|
+
execution_context: typing.Union[str, int] = None,
|
|
448
|
+
undo: bool = None,
|
|
515
449
|
):
|
|
516
450
|
"""Delete cached indirect lighting
|
|
517
451
|
|
|
518
|
-
:type override_context: typing.
|
|
519
|
-
:type execution_context: typing.
|
|
520
|
-
:type undo:
|
|
452
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
453
|
+
:type execution_context: typing.Union[str, int]
|
|
454
|
+
:type undo: bool
|
|
521
455
|
"""
|
|
522
456
|
|
|
523
457
|
...
|
|
524
458
|
|
|
525
459
|
def new(
|
|
526
|
-
override_context: typing.
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
undo: typing.Optional[bool] = None,
|
|
531
|
-
*,
|
|
532
|
-
type: typing.Optional[typing.Any] = "NEW",
|
|
460
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
461
|
+
execution_context: typing.Union[str, int] = None,
|
|
462
|
+
undo: bool = None,
|
|
463
|
+
type: typing.Any = "NEW",
|
|
533
464
|
):
|
|
534
465
|
"""Add new scene by type
|
|
535
466
|
|
|
536
|
-
:type override_context: typing.
|
|
537
|
-
:type execution_context: typing.
|
|
538
|
-
:type undo:
|
|
467
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
468
|
+
:type execution_context: typing.Union[str, int]
|
|
469
|
+
:type undo: bool
|
|
539
470
|
:param type: Type
|
|
540
471
|
|
|
541
472
|
NEW
|
|
@@ -549,25 +480,22 @@ def new(
|
|
|
549
480
|
|
|
550
481
|
FULL_COPY
|
|
551
482
|
Full Copy -- Make a full copy of the current scene.
|
|
552
|
-
:type type: typing.
|
|
483
|
+
:type type: typing.Any
|
|
553
484
|
"""
|
|
554
485
|
|
|
555
486
|
...
|
|
556
487
|
|
|
557
488
|
def new_sequencer(
|
|
558
|
-
override_context: typing.
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
undo: typing.Optional[bool] = None,
|
|
563
|
-
*,
|
|
564
|
-
type: typing.Optional[typing.Any] = "NEW",
|
|
489
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
490
|
+
execution_context: typing.Union[str, int] = None,
|
|
491
|
+
undo: bool = None,
|
|
492
|
+
type: typing.Any = "NEW",
|
|
565
493
|
):
|
|
566
494
|
"""Add new scene by type in the sequence editor and assign to active strip
|
|
567
495
|
|
|
568
|
-
:type override_context: typing.
|
|
569
|
-
:type execution_context: typing.
|
|
570
|
-
:type undo:
|
|
496
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
497
|
+
:type execution_context: typing.Union[str, int]
|
|
498
|
+
:type undo: bool
|
|
571
499
|
:param type: Type
|
|
572
500
|
|
|
573
501
|
NEW
|
|
@@ -581,57 +509,50 @@ def new_sequencer(
|
|
|
581
509
|
|
|
582
510
|
FULL_COPY
|
|
583
511
|
Full Copy -- Make a full copy of the current scene.
|
|
584
|
-
:type type: typing.
|
|
512
|
+
:type type: typing.Any
|
|
585
513
|
"""
|
|
586
514
|
|
|
587
515
|
...
|
|
588
516
|
|
|
589
517
|
def render_view_add(
|
|
590
|
-
override_context: typing.
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
594
|
-
undo: typing.Optional[bool] = None,
|
|
518
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
519
|
+
execution_context: typing.Union[str, int] = None,
|
|
520
|
+
undo: bool = None,
|
|
595
521
|
):
|
|
596
522
|
"""Add a render view
|
|
597
523
|
|
|
598
|
-
:type override_context: typing.
|
|
599
|
-
:type execution_context: typing.
|
|
600
|
-
:type undo:
|
|
524
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
525
|
+
:type execution_context: typing.Union[str, int]
|
|
526
|
+
:type undo: bool
|
|
601
527
|
"""
|
|
602
528
|
|
|
603
529
|
...
|
|
604
530
|
|
|
605
531
|
def render_view_remove(
|
|
606
|
-
override_context: typing.
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
610
|
-
undo: typing.Optional[bool] = None,
|
|
532
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
533
|
+
execution_context: typing.Union[str, int] = None,
|
|
534
|
+
undo: bool = None,
|
|
611
535
|
):
|
|
612
536
|
"""Remove the selected render view
|
|
613
537
|
|
|
614
|
-
:type override_context: typing.
|
|
615
|
-
:type execution_context: typing.
|
|
616
|
-
:type undo:
|
|
538
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
539
|
+
:type execution_context: typing.Union[str, int]
|
|
540
|
+
:type undo: bool
|
|
617
541
|
"""
|
|
618
542
|
|
|
619
543
|
...
|
|
620
544
|
|
|
621
545
|
def view_layer_add(
|
|
622
|
-
override_context: typing.
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
undo: typing.Optional[bool] = None,
|
|
627
|
-
*,
|
|
628
|
-
type: typing.Optional[typing.Any] = "NEW",
|
|
546
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
547
|
+
execution_context: typing.Union[str, int] = None,
|
|
548
|
+
undo: bool = None,
|
|
549
|
+
type: typing.Any = "NEW",
|
|
629
550
|
):
|
|
630
551
|
"""Add a view layer
|
|
631
552
|
|
|
632
|
-
:type override_context: typing.
|
|
633
|
-
:type execution_context: typing.
|
|
634
|
-
:type undo:
|
|
553
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
554
|
+
:type execution_context: typing.Union[str, int]
|
|
555
|
+
:type undo: bool
|
|
635
556
|
:param type: Type
|
|
636
557
|
|
|
637
558
|
NEW
|
|
@@ -642,41 +563,36 @@ def view_layer_add(
|
|
|
642
563
|
|
|
643
564
|
EMPTY
|
|
644
565
|
Blank -- Add a new view layer with all collections disabled.
|
|
645
|
-
:type type: typing.
|
|
566
|
+
:type type: typing.Any
|
|
646
567
|
"""
|
|
647
568
|
|
|
648
569
|
...
|
|
649
570
|
|
|
650
571
|
def view_layer_add_aov(
|
|
651
|
-
override_context: typing.
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
655
|
-
undo: typing.Optional[bool] = None,
|
|
572
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
573
|
+
execution_context: typing.Union[str, int] = None,
|
|
574
|
+
undo: bool = None,
|
|
656
575
|
):
|
|
657
576
|
"""Add a Shader AOV
|
|
658
577
|
|
|
659
|
-
:type override_context: typing.
|
|
660
|
-
:type execution_context: typing.
|
|
661
|
-
:type undo:
|
|
578
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
579
|
+
:type execution_context: typing.Union[str, int]
|
|
580
|
+
:type undo: bool
|
|
662
581
|
"""
|
|
663
582
|
|
|
664
583
|
...
|
|
665
584
|
|
|
666
585
|
def view_layer_add_lightgroup(
|
|
667
|
-
override_context: typing.
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
671
|
-
undo: typing.Optional[bool] = None,
|
|
672
|
-
*,
|
|
586
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
587
|
+
execution_context: typing.Union[str, int] = None,
|
|
588
|
+
undo: bool = None,
|
|
673
589
|
name: typing.Union[str, typing.Any] = "",
|
|
674
590
|
):
|
|
675
591
|
"""Add a Light Group
|
|
676
592
|
|
|
677
|
-
:type override_context: typing.
|
|
678
|
-
:type execution_context: typing.
|
|
679
|
-
:type undo:
|
|
593
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
594
|
+
:type execution_context: typing.Union[str, int]
|
|
595
|
+
:type undo: bool
|
|
680
596
|
:param name: Name, Name of newly created lightgroup
|
|
681
597
|
:type name: typing.Union[str, typing.Any]
|
|
682
598
|
"""
|
|
@@ -684,81 +600,71 @@ def view_layer_add_lightgroup(
|
|
|
684
600
|
...
|
|
685
601
|
|
|
686
602
|
def view_layer_add_used_lightgroups(
|
|
687
|
-
override_context: typing.
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
691
|
-
undo: typing.Optional[bool] = None,
|
|
603
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
604
|
+
execution_context: typing.Union[str, int] = None,
|
|
605
|
+
undo: bool = None,
|
|
692
606
|
):
|
|
693
607
|
"""Add all used Light Groups
|
|
694
608
|
|
|
695
|
-
:type override_context: typing.
|
|
696
|
-
:type execution_context: typing.
|
|
697
|
-
:type undo:
|
|
609
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
610
|
+
:type execution_context: typing.Union[str, int]
|
|
611
|
+
:type undo: bool
|
|
698
612
|
"""
|
|
699
613
|
|
|
700
614
|
...
|
|
701
615
|
|
|
702
616
|
def view_layer_remove(
|
|
703
|
-
override_context: typing.
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
707
|
-
undo: typing.Optional[bool] = None,
|
|
617
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
618
|
+
execution_context: typing.Union[str, int] = None,
|
|
619
|
+
undo: bool = None,
|
|
708
620
|
):
|
|
709
621
|
"""Remove the selected view layer
|
|
710
622
|
|
|
711
|
-
:type override_context: typing.
|
|
712
|
-
:type execution_context: typing.
|
|
713
|
-
:type undo:
|
|
623
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
624
|
+
:type execution_context: typing.Union[str, int]
|
|
625
|
+
:type undo: bool
|
|
714
626
|
"""
|
|
715
627
|
|
|
716
628
|
...
|
|
717
629
|
|
|
718
630
|
def view_layer_remove_aov(
|
|
719
|
-
override_context: typing.
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
723
|
-
undo: typing.Optional[bool] = None,
|
|
631
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
632
|
+
execution_context: typing.Union[str, int] = None,
|
|
633
|
+
undo: bool = None,
|
|
724
634
|
):
|
|
725
635
|
"""Remove Active AOV
|
|
726
636
|
|
|
727
|
-
:type override_context: typing.
|
|
728
|
-
:type execution_context: typing.
|
|
729
|
-
:type undo:
|
|
637
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
638
|
+
:type execution_context: typing.Union[str, int]
|
|
639
|
+
:type undo: bool
|
|
730
640
|
"""
|
|
731
641
|
|
|
732
642
|
...
|
|
733
643
|
|
|
734
644
|
def view_layer_remove_lightgroup(
|
|
735
|
-
override_context: typing.
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
739
|
-
undo: typing.Optional[bool] = None,
|
|
645
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
646
|
+
execution_context: typing.Union[str, int] = None,
|
|
647
|
+
undo: bool = None,
|
|
740
648
|
):
|
|
741
649
|
"""Remove Active Lightgroup
|
|
742
650
|
|
|
743
|
-
:type override_context: typing.
|
|
744
|
-
:type execution_context: typing.
|
|
745
|
-
:type undo:
|
|
651
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
652
|
+
:type execution_context: typing.Union[str, int]
|
|
653
|
+
:type undo: bool
|
|
746
654
|
"""
|
|
747
655
|
|
|
748
656
|
...
|
|
749
657
|
|
|
750
658
|
def view_layer_remove_unused_lightgroups(
|
|
751
|
-
override_context: typing.
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
755
|
-
undo: typing.Optional[bool] = None,
|
|
659
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
660
|
+
execution_context: typing.Union[str, int] = None,
|
|
661
|
+
undo: bool = None,
|
|
756
662
|
):
|
|
757
663
|
"""Remove all unused Light Groups
|
|
758
664
|
|
|
759
|
-
:type override_context: typing.
|
|
760
|
-
:type execution_context: typing.
|
|
761
|
-
:type undo:
|
|
665
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
666
|
+
:type execution_context: typing.Union[str, int]
|
|
667
|
+
:type undo: bool
|
|
762
668
|
"""
|
|
763
669
|
|
|
764
670
|
...
|