fake-bpy-module 20240411__py3-none-any.whl → 20240418__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +4 -0
- _bpy_internal/freedesktop/__init__.pyi +88 -0
- _bpy_internal/freedesktop/py.typed +0 -0
- _bpy_internal/py.typed +0 -0
- aud/__init__.pyi +121 -48
- bgl/__init__.pyi +2443 -1265
- bl_math/__init__.pyi +19 -3
- bl_operators/presets/__init__.pyi +7 -0
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +1134 -0
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -0
- bl_ui/properties_physics_fluid/__init__.pyi +3 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +17 -0
- bl_ui/space_userpref/__init__.pyi +13 -4
- bl_ui/space_view3d/__init__.pyi +190 -0
- blf/__init__.pyi +63 -13
- bmesh/__init__.pyi +13 -0
- bmesh/geometry/__init__.pyi +5 -0
- bmesh/ops/__init__.pyi +157 -68
- bmesh/types/__init__.pyi +109 -62
- bmesh/utils/__init__.pyi +11 -2
- bpy/__init__.pyi +7 -0
- bpy/app/__init__.pyi +13 -0
- bpy/app/handlers/__init__.pyi +41 -0
- bpy/app/icons/__init__.pyi +4 -2
- bpy/app/timers/__init__.pyi +38 -2
- bpy/app/translations/__init__.pyi +59 -1
- bpy/msgbus/__init__.pyi +46 -0
- bpy/ops/__init__.pyi +151 -0
- bpy/ops/action/__init__.pyi +76 -76
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +96 -96
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +16 -16
- bpy/ops/brush/__init__.pyi +18 -18
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +184 -184
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +18 -18
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +102 -102
- bpy/ops/curves/__init__.pyi +132 -50
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +11 -8
- bpy/ops/file/__init__.pyi +80 -80
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +300 -300
- bpy/ops/graph/__init__.pyi +130 -130
- bpy/ops/grease_pencil/__init__.pyi +139 -110
- bpy/ops/image/__init__.pyi +92 -92
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +78 -78
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +16 -16
- bpy/ops/mesh/__init__.pyi +327 -327
- bpy/ops/nla/__init__.pyi +80 -80
- bpy/ops/node/__init__.pyi +203 -203
- bpy/ops/object/__init__.pyi +496 -508
- bpy/ops/outliner/__init__.pyi +139 -139
- bpy/ops/paint/__init__.pyi +104 -104
- bpy/ops/paintcurve/__init__.pyi +16 -16
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +78 -78
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +77 -77
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +26 -26
- bpy/ops/scene/__init__.pyi +78 -78
- bpy/ops/screen/__init__.pyi +78 -78
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +68 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +170 -170
- bpy/ops/sound/__init__.pyi +14 -14
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +54 -54
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +98 -98
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +225 -225
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/path/__init__.pyi +6 -0
- bpy/props/__init__.pyi +141 -29
- bpy/types/__init__.pyi +101773 -5222
- bpy/utils/__init__.pyi +18 -3
- bpy/utils/previews/__init__.pyi +15 -0
- bpy/utils/units/__init__.pyi +11 -3
- bpy_extras/__init__.pyi +19 -0
- bpy_extras/asset_utils/__init__.pyi +5 -0
- {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/RECORD +145 -141
- {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/top_level.txt +1 -0
- freestyle/__init__.pyi +18 -0
- freestyle/chainingiterators/__init__.pyi +20 -5
- freestyle/functions/__init__.pyi +151 -155
- freestyle/predicates/__init__.pyi +53 -46
- freestyle/shaders/__init__.pyi +91 -32
- freestyle/types/__init__.pyi +362 -120
- freestyle/utils/ContextFunctions/__init__.pyi +32 -7
- freestyle/utils/__init__.pyi +13 -1
- gpu/__init__.pyi +225 -0
- gpu/capabilities/__init__.pyi +37 -15
- gpu/matrix/__init__.pyi +7 -1
- gpu/platform/__init__.pyi +5 -0
- gpu/select/__init__.pyi +5 -0
- gpu/shader/__init__.pyi +77 -0
- gpu/state/__init__.pyi +15 -4
- gpu/texture/__init__.pyi +5 -0
- gpu/types/__init__.pyi +91 -33
- gpu_extras/__init__.pyi +15 -0
- gpu_extras/presets/__init__.pyi +16 -4
- imbuf/__init__.pyi +13 -0
- imbuf/types/__init__.pyi +20 -5
- mathutils/__init__.pyi +349 -227
- mathutils/bvhtree/__init__.pyi +21 -8
- mathutils/geometry/__init__.pyi +23 -9
- mathutils/interpolate/__init__.pyi +5 -0
- mathutils/kdtree/__init__.pyi +19 -5
- mathutils/noise/__init__.pyi +87 -41
- {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/WHEEL +0 -0
bpy/ops/wm/__init__.pyi
CHANGED
|
@@ -6,7 +6,7 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
6
6
|
|
|
7
7
|
def alembic_export(
|
|
8
8
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
9
|
-
execution_context: str = None,
|
|
9
|
+
execution_context: typing.Union[str, int] = None,
|
|
10
10
|
undo: bool = None,
|
|
11
11
|
filepath: typing.Union[str, typing.Any] = "",
|
|
12
12
|
check_existing: typing.Union[bool, typing.Any] = True,
|
|
@@ -65,7 +65,7 @@ def alembic_export(
|
|
|
65
65
|
"""Export current scene in an Alembic archive
|
|
66
66
|
|
|
67
67
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
68
|
-
:type execution_context: str
|
|
68
|
+
:type execution_context: typing.Union[str, int]
|
|
69
69
|
:type undo: bool
|
|
70
70
|
:param filepath: File Path, Path to file
|
|
71
71
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -195,7 +195,7 @@ def alembic_export(
|
|
|
195
195
|
|
|
196
196
|
def alembic_import(
|
|
197
197
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
198
|
-
execution_context: str = None,
|
|
198
|
+
execution_context: typing.Union[str, int] = None,
|
|
199
199
|
undo: bool = None,
|
|
200
200
|
filepath: typing.Union[str, typing.Any] = "",
|
|
201
201
|
check_existing: typing.Union[bool, typing.Any] = False,
|
|
@@ -231,7 +231,7 @@ def alembic_import(
|
|
|
231
231
|
"""Load an Alembic archive
|
|
232
232
|
|
|
233
233
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
234
|
-
:type execution_context: str
|
|
234
|
+
:type execution_context: typing.Union[str, int]
|
|
235
235
|
:type undo: bool
|
|
236
236
|
:param filepath: File Path, Path to file
|
|
237
237
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -310,7 +310,7 @@ def alembic_import(
|
|
|
310
310
|
|
|
311
311
|
def append(
|
|
312
312
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
313
|
-
execution_context: str = None,
|
|
313
|
+
execution_context: typing.Union[str, int] = None,
|
|
314
314
|
undo: bool = None,
|
|
315
315
|
filepath: typing.Union[str, typing.Any] = "",
|
|
316
316
|
directory: typing.Union[str, typing.Any] = "",
|
|
@@ -350,7 +350,7 @@ def append(
|
|
|
350
350
|
"""Append from a Library .blend file
|
|
351
351
|
|
|
352
352
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
353
|
-
:type execution_context: str
|
|
353
|
+
:type execution_context: typing.Union[str, int]
|
|
354
354
|
:type undo: bool
|
|
355
355
|
:param filepath: File Path, Path to file
|
|
356
356
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -438,7 +438,7 @@ def append(
|
|
|
438
438
|
|
|
439
439
|
def batch_rename(
|
|
440
440
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
441
|
-
execution_context: str = None,
|
|
441
|
+
execution_context: typing.Union[str, int] = None,
|
|
442
442
|
undo: bool = None,
|
|
443
443
|
data_type: typing.Any = "OBJECT",
|
|
444
444
|
data_source: typing.Any = "SELECT",
|
|
@@ -447,7 +447,7 @@ def batch_rename(
|
|
|
447
447
|
"""Rename multiple items at once
|
|
448
448
|
|
|
449
449
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
450
|
-
:type execution_context: str
|
|
450
|
+
:type execution_context: typing.Union[str, int]
|
|
451
451
|
:type undo: bool
|
|
452
452
|
:param data_type: Type, Type of data to rename
|
|
453
453
|
:type data_type: typing.Any
|
|
@@ -461,13 +461,13 @@ def batch_rename(
|
|
|
461
461
|
|
|
462
462
|
def blend_strings_utf8_validate(
|
|
463
463
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
464
|
-
execution_context: str = None,
|
|
464
|
+
execution_context: typing.Union[str, int] = None,
|
|
465
465
|
undo: bool = None,
|
|
466
466
|
):
|
|
467
467
|
"""Check and fix all strings in current .blend file to be valid UTF-8 Unicode (needed for some old, 2.4x area files)
|
|
468
468
|
|
|
469
469
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
470
|
-
:type execution_context: str
|
|
470
|
+
:type execution_context: typing.Union[str, int]
|
|
471
471
|
:type undo: bool
|
|
472
472
|
"""
|
|
473
473
|
|
|
@@ -475,14 +475,14 @@ def blend_strings_utf8_validate(
|
|
|
475
475
|
|
|
476
476
|
def call_menu(
|
|
477
477
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
478
|
-
execution_context: str = None,
|
|
478
|
+
execution_context: typing.Union[str, int] = None,
|
|
479
479
|
undo: bool = None,
|
|
480
480
|
name: typing.Union[str, typing.Any] = "",
|
|
481
481
|
):
|
|
482
482
|
"""Open a predefined menu
|
|
483
483
|
|
|
484
484
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
485
|
-
:type execution_context: str
|
|
485
|
+
:type execution_context: typing.Union[str, int]
|
|
486
486
|
:type undo: bool
|
|
487
487
|
:param name: Name, Name of the menu
|
|
488
488
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -492,14 +492,14 @@ def call_menu(
|
|
|
492
492
|
|
|
493
493
|
def call_menu_pie(
|
|
494
494
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
495
|
-
execution_context: str = None,
|
|
495
|
+
execution_context: typing.Union[str, int] = None,
|
|
496
496
|
undo: bool = None,
|
|
497
497
|
name: typing.Union[str, typing.Any] = "",
|
|
498
498
|
):
|
|
499
499
|
"""Open a predefined pie menu
|
|
500
500
|
|
|
501
501
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
502
|
-
:type execution_context: str
|
|
502
|
+
:type execution_context: typing.Union[str, int]
|
|
503
503
|
:type undo: bool
|
|
504
504
|
:param name: Name, Name of the pie menu
|
|
505
505
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -509,7 +509,7 @@ def call_menu_pie(
|
|
|
509
509
|
|
|
510
510
|
def call_panel(
|
|
511
511
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
512
|
-
execution_context: str = None,
|
|
512
|
+
execution_context: typing.Union[str, int] = None,
|
|
513
513
|
undo: bool = None,
|
|
514
514
|
name: typing.Union[str, typing.Any] = "",
|
|
515
515
|
keep_open: typing.Union[bool, typing.Any] = True,
|
|
@@ -517,7 +517,7 @@ def call_panel(
|
|
|
517
517
|
"""Open a predefined panel
|
|
518
518
|
|
|
519
519
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
520
|
-
:type execution_context: str
|
|
520
|
+
:type execution_context: typing.Union[str, int]
|
|
521
521
|
:type undo: bool
|
|
522
522
|
:param name: Name, Name of the menu
|
|
523
523
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -529,13 +529,13 @@ def call_panel(
|
|
|
529
529
|
|
|
530
530
|
def clear_recent_files(
|
|
531
531
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
532
|
-
execution_context: str = None,
|
|
532
|
+
execution_context: typing.Union[str, int] = None,
|
|
533
533
|
undo: bool = None,
|
|
534
534
|
):
|
|
535
535
|
"""Clear the recent files list
|
|
536
536
|
|
|
537
537
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
538
|
-
:type execution_context: str
|
|
538
|
+
:type execution_context: typing.Union[str, int]
|
|
539
539
|
:type undo: bool
|
|
540
540
|
"""
|
|
541
541
|
|
|
@@ -543,7 +543,7 @@ def clear_recent_files(
|
|
|
543
543
|
|
|
544
544
|
def collada_export(
|
|
545
545
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
546
|
-
execution_context: str = None,
|
|
546
|
+
execution_context: typing.Union[str, int] = None,
|
|
547
547
|
undo: bool = None,
|
|
548
548
|
filepath: typing.Union[str, typing.Any] = "",
|
|
549
549
|
check_existing: typing.Union[bool, typing.Any] = True,
|
|
@@ -604,7 +604,7 @@ def collada_export(
|
|
|
604
604
|
"""Save a Collada file
|
|
605
605
|
|
|
606
606
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
607
|
-
:type execution_context: str
|
|
607
|
+
:type execution_context: typing.Union[str, int]
|
|
608
608
|
:type undo: bool
|
|
609
609
|
:param filepath: File Path, Path to file
|
|
610
610
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -744,7 +744,7 @@ def collada_export(
|
|
|
744
744
|
:type include_shapekeys: typing.Union[bool, typing.Any]
|
|
745
745
|
:param deform_bones_only: Deform Bones Only, Only export deforming bones with armatures
|
|
746
746
|
:type deform_bones_only: typing.Union[bool, typing.Any]
|
|
747
|
-
:param include_animations: Include Animations, Export animations if available (exporting animations will enforce the decomposition of node transforms into
|
|
747
|
+
:param include_animations: Include Animations, Export animations if available (exporting animations will enforce the decomposition of node transforms into <translation> <rotation> and <scale> components)
|
|
748
748
|
:type include_animations: typing.Union[bool, typing.Any]
|
|
749
749
|
:param include_all_actions: Include all Actions, Export also unassigned actions (this allows you to export entire animation libraries for your character(s))
|
|
750
750
|
:type include_all_actions: typing.Union[bool, typing.Any]
|
|
@@ -808,7 +808,7 @@ def collada_export(
|
|
|
808
808
|
|
|
809
809
|
def collada_import(
|
|
810
810
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
811
|
-
execution_context: str = None,
|
|
811
|
+
execution_context: typing.Union[str, int] = None,
|
|
812
812
|
undo: bool = None,
|
|
813
813
|
filepath: typing.Union[str, typing.Any] = "",
|
|
814
814
|
check_existing: typing.Union[bool, typing.Any] = False,
|
|
@@ -844,7 +844,7 @@ def collada_import(
|
|
|
844
844
|
"""Load a Collada file
|
|
845
845
|
|
|
846
846
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
847
|
-
:type execution_context: str
|
|
847
|
+
:type execution_context: typing.Union[str, int]
|
|
848
848
|
:type undo: bool
|
|
849
849
|
:param filepath: File Path, Path to file
|
|
850
850
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -923,13 +923,13 @@ def collada_import(
|
|
|
923
923
|
|
|
924
924
|
def collection_export_all(
|
|
925
925
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
926
|
-
execution_context: str = None,
|
|
926
|
+
execution_context: typing.Union[str, int] = None,
|
|
927
927
|
undo: bool = None,
|
|
928
928
|
):
|
|
929
929
|
"""Invoke all configured exporters for all collections
|
|
930
930
|
|
|
931
931
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
932
|
-
:type execution_context: str
|
|
932
|
+
:type execution_context: typing.Union[str, int]
|
|
933
933
|
:type undo: bool
|
|
934
934
|
"""
|
|
935
935
|
|
|
@@ -937,7 +937,7 @@ def collection_export_all(
|
|
|
937
937
|
|
|
938
938
|
def context_collection_boolean_set(
|
|
939
939
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
940
|
-
execution_context: str = None,
|
|
940
|
+
execution_context: typing.Union[str, int] = None,
|
|
941
941
|
undo: bool = None,
|
|
942
942
|
data_path_iter: typing.Union[str, typing.Any] = "",
|
|
943
943
|
data_path_item: typing.Union[str, typing.Any] = "",
|
|
@@ -946,7 +946,7 @@ def context_collection_boolean_set(
|
|
|
946
946
|
"""Set boolean values for a collection of items
|
|
947
947
|
|
|
948
948
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
949
|
-
:type execution_context: str
|
|
949
|
+
:type execution_context: typing.Union[str, int]
|
|
950
950
|
:type undo: bool
|
|
951
951
|
:param data_path_iter: data_path_iter, The data path relative to the context, must point to an iterable
|
|
952
952
|
:type data_path_iter: typing.Union[str, typing.Any]
|
|
@@ -960,7 +960,7 @@ def context_collection_boolean_set(
|
|
|
960
960
|
|
|
961
961
|
def context_cycle_array(
|
|
962
962
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
963
|
-
execution_context: str = None,
|
|
963
|
+
execution_context: typing.Union[str, int] = None,
|
|
964
964
|
undo: bool = None,
|
|
965
965
|
data_path: typing.Union[str, typing.Any] = "",
|
|
966
966
|
reverse: typing.Union[bool, typing.Any] = False,
|
|
@@ -968,7 +968,7 @@ def context_cycle_array(
|
|
|
968
968
|
"""Set a context array value (useful for cycling the active mesh edit mode)
|
|
969
969
|
|
|
970
970
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
971
|
-
:type execution_context: str
|
|
971
|
+
:type execution_context: typing.Union[str, int]
|
|
972
972
|
:type undo: bool
|
|
973
973
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
974
974
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -980,7 +980,7 @@ def context_cycle_array(
|
|
|
980
980
|
|
|
981
981
|
def context_cycle_enum(
|
|
982
982
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
983
|
-
execution_context: str = None,
|
|
983
|
+
execution_context: typing.Union[str, int] = None,
|
|
984
984
|
undo: bool = None,
|
|
985
985
|
data_path: typing.Union[str, typing.Any] = "",
|
|
986
986
|
reverse: typing.Union[bool, typing.Any] = False,
|
|
@@ -989,7 +989,7 @@ def context_cycle_enum(
|
|
|
989
989
|
"""Toggle a context value
|
|
990
990
|
|
|
991
991
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
992
|
-
:type execution_context: str
|
|
992
|
+
:type execution_context: typing.Union[str, int]
|
|
993
993
|
:type undo: bool
|
|
994
994
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
995
995
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1003,7 +1003,7 @@ def context_cycle_enum(
|
|
|
1003
1003
|
|
|
1004
1004
|
def context_cycle_int(
|
|
1005
1005
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1006
|
-
execution_context: str = None,
|
|
1006
|
+
execution_context: typing.Union[str, int] = None,
|
|
1007
1007
|
undo: bool = None,
|
|
1008
1008
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1009
1009
|
reverse: typing.Union[bool, typing.Any] = False,
|
|
@@ -1012,7 +1012,7 @@ def context_cycle_int(
|
|
|
1012
1012
|
"""Set a context value (useful for cycling active material, shape keys, groups, etc.)
|
|
1013
1013
|
|
|
1014
1014
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1015
|
-
:type execution_context: str
|
|
1015
|
+
:type execution_context: typing.Union[str, int]
|
|
1016
1016
|
:type undo: bool
|
|
1017
1017
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1018
1018
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1026,14 +1026,14 @@ def context_cycle_int(
|
|
|
1026
1026
|
|
|
1027
1027
|
def context_menu_enum(
|
|
1028
1028
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1029
|
-
execution_context: str = None,
|
|
1029
|
+
execution_context: typing.Union[str, int] = None,
|
|
1030
1030
|
undo: bool = None,
|
|
1031
1031
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1032
1032
|
):
|
|
1033
1033
|
"""Undocumented, consider contributing.
|
|
1034
1034
|
|
|
1035
1035
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1036
|
-
:type execution_context: str
|
|
1036
|
+
:type execution_context: typing.Union[str, int]
|
|
1037
1037
|
:type undo: bool
|
|
1038
1038
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1039
1039
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1043,7 +1043,7 @@ def context_menu_enum(
|
|
|
1043
1043
|
|
|
1044
1044
|
def context_modal_mouse(
|
|
1045
1045
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1046
|
-
execution_context: str = None,
|
|
1046
|
+
execution_context: typing.Union[str, int] = None,
|
|
1047
1047
|
undo: bool = None,
|
|
1048
1048
|
data_path_iter: typing.Union[str, typing.Any] = "",
|
|
1049
1049
|
data_path_item: typing.Union[str, typing.Any] = "",
|
|
@@ -1055,7 +1055,7 @@ def context_modal_mouse(
|
|
|
1055
1055
|
"""Adjust arbitrary values with mouse input
|
|
1056
1056
|
|
|
1057
1057
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1058
|
-
:type execution_context: str
|
|
1058
|
+
:type execution_context: typing.Union[str, int]
|
|
1059
1059
|
:type undo: bool
|
|
1060
1060
|
:param data_path_iter: data_path_iter, The data path relative to the context, must point to an iterable
|
|
1061
1061
|
:type data_path_iter: typing.Union[str, typing.Any]
|
|
@@ -1075,14 +1075,14 @@ def context_modal_mouse(
|
|
|
1075
1075
|
|
|
1076
1076
|
def context_pie_enum(
|
|
1077
1077
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1078
|
-
execution_context: str = None,
|
|
1078
|
+
execution_context: typing.Union[str, int] = None,
|
|
1079
1079
|
undo: bool = None,
|
|
1080
1080
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1081
1081
|
):
|
|
1082
1082
|
"""Undocumented, consider contributing.
|
|
1083
1083
|
|
|
1084
1084
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1085
|
-
:type execution_context: str
|
|
1085
|
+
:type execution_context: typing.Union[str, int]
|
|
1086
1086
|
:type undo: bool
|
|
1087
1087
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1088
1088
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1092,7 +1092,7 @@ def context_pie_enum(
|
|
|
1092
1092
|
|
|
1093
1093
|
def context_scale_float(
|
|
1094
1094
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1095
|
-
execution_context: str = None,
|
|
1095
|
+
execution_context: typing.Union[str, int] = None,
|
|
1096
1096
|
undo: bool = None,
|
|
1097
1097
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1098
1098
|
value: typing.Any = 1.0,
|
|
@@ -1100,7 +1100,7 @@ def context_scale_float(
|
|
|
1100
1100
|
"""Scale a float context value
|
|
1101
1101
|
|
|
1102
1102
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1103
|
-
:type execution_context: str
|
|
1103
|
+
:type execution_context: typing.Union[str, int]
|
|
1104
1104
|
:type undo: bool
|
|
1105
1105
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1106
1106
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1112,7 +1112,7 @@ def context_scale_float(
|
|
|
1112
1112
|
|
|
1113
1113
|
def context_scale_int(
|
|
1114
1114
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1115
|
-
execution_context: str = None,
|
|
1115
|
+
execution_context: typing.Union[str, int] = None,
|
|
1116
1116
|
undo: bool = None,
|
|
1117
1117
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1118
1118
|
value: typing.Any = 1.0,
|
|
@@ -1121,7 +1121,7 @@ def context_scale_int(
|
|
|
1121
1121
|
"""Scale an int context value
|
|
1122
1122
|
|
|
1123
1123
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1124
|
-
:type execution_context: str
|
|
1124
|
+
:type execution_context: typing.Union[str, int]
|
|
1125
1125
|
:type undo: bool
|
|
1126
1126
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1127
1127
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1135,7 +1135,7 @@ def context_scale_int(
|
|
|
1135
1135
|
|
|
1136
1136
|
def context_set_boolean(
|
|
1137
1137
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1138
|
-
execution_context: str = None,
|
|
1138
|
+
execution_context: typing.Union[str, int] = None,
|
|
1139
1139
|
undo: bool = None,
|
|
1140
1140
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1141
1141
|
value: typing.Union[bool, typing.Any] = True,
|
|
@@ -1143,7 +1143,7 @@ def context_set_boolean(
|
|
|
1143
1143
|
"""Set a context value
|
|
1144
1144
|
|
|
1145
1145
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1146
|
-
:type execution_context: str
|
|
1146
|
+
:type execution_context: typing.Union[str, int]
|
|
1147
1147
|
:type undo: bool
|
|
1148
1148
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1149
1149
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1155,7 +1155,7 @@ def context_set_boolean(
|
|
|
1155
1155
|
|
|
1156
1156
|
def context_set_enum(
|
|
1157
1157
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1158
|
-
execution_context: str = None,
|
|
1158
|
+
execution_context: typing.Union[str, int] = None,
|
|
1159
1159
|
undo: bool = None,
|
|
1160
1160
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1161
1161
|
value: typing.Union[str, typing.Any] = "",
|
|
@@ -1163,7 +1163,7 @@ def context_set_enum(
|
|
|
1163
1163
|
"""Set a context value
|
|
1164
1164
|
|
|
1165
1165
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1166
|
-
:type execution_context: str
|
|
1166
|
+
:type execution_context: typing.Union[str, int]
|
|
1167
1167
|
:type undo: bool
|
|
1168
1168
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1169
1169
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1175,7 +1175,7 @@ def context_set_enum(
|
|
|
1175
1175
|
|
|
1176
1176
|
def context_set_float(
|
|
1177
1177
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1178
|
-
execution_context: str = None,
|
|
1178
|
+
execution_context: typing.Union[str, int] = None,
|
|
1179
1179
|
undo: bool = None,
|
|
1180
1180
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1181
1181
|
value: typing.Any = 0.0,
|
|
@@ -1184,7 +1184,7 @@ def context_set_float(
|
|
|
1184
1184
|
"""Set a context value
|
|
1185
1185
|
|
|
1186
1186
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1187
|
-
:type execution_context: str
|
|
1187
|
+
:type execution_context: typing.Union[str, int]
|
|
1188
1188
|
:type undo: bool
|
|
1189
1189
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1190
1190
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1198,7 +1198,7 @@ def context_set_float(
|
|
|
1198
1198
|
|
|
1199
1199
|
def context_set_id(
|
|
1200
1200
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1201
|
-
execution_context: str = None,
|
|
1201
|
+
execution_context: typing.Union[str, int] = None,
|
|
1202
1202
|
undo: bool = None,
|
|
1203
1203
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1204
1204
|
value: typing.Union[str, typing.Any] = "",
|
|
@@ -1206,7 +1206,7 @@ def context_set_id(
|
|
|
1206
1206
|
"""Set a context value to an ID data-block
|
|
1207
1207
|
|
|
1208
1208
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1209
|
-
:type execution_context: str
|
|
1209
|
+
:type execution_context: typing.Union[str, int]
|
|
1210
1210
|
:type undo: bool
|
|
1211
1211
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1212
1212
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1218,7 +1218,7 @@ def context_set_id(
|
|
|
1218
1218
|
|
|
1219
1219
|
def context_set_int(
|
|
1220
1220
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1221
|
-
execution_context: str = None,
|
|
1221
|
+
execution_context: typing.Union[str, int] = None,
|
|
1222
1222
|
undo: bool = None,
|
|
1223
1223
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1224
1224
|
value: typing.Any = 0,
|
|
@@ -1227,7 +1227,7 @@ def context_set_int(
|
|
|
1227
1227
|
"""Set a context value
|
|
1228
1228
|
|
|
1229
1229
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1230
|
-
:type execution_context: str
|
|
1230
|
+
:type execution_context: typing.Union[str, int]
|
|
1231
1231
|
:type undo: bool
|
|
1232
1232
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1233
1233
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1241,7 +1241,7 @@ def context_set_int(
|
|
|
1241
1241
|
|
|
1242
1242
|
def context_set_string(
|
|
1243
1243
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1244
|
-
execution_context: str = None,
|
|
1244
|
+
execution_context: typing.Union[str, int] = None,
|
|
1245
1245
|
undo: bool = None,
|
|
1246
1246
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1247
1247
|
value: typing.Union[str, typing.Any] = "",
|
|
@@ -1249,7 +1249,7 @@ def context_set_string(
|
|
|
1249
1249
|
"""Set a context value
|
|
1250
1250
|
|
|
1251
1251
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1252
|
-
:type execution_context: str
|
|
1252
|
+
:type execution_context: typing.Union[str, int]
|
|
1253
1253
|
:type undo: bool
|
|
1254
1254
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1255
1255
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1261,7 +1261,7 @@ def context_set_string(
|
|
|
1261
1261
|
|
|
1262
1262
|
def context_set_value(
|
|
1263
1263
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1264
|
-
execution_context: str = None,
|
|
1264
|
+
execution_context: typing.Union[str, int] = None,
|
|
1265
1265
|
undo: bool = None,
|
|
1266
1266
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1267
1267
|
value: typing.Union[str, typing.Any] = "",
|
|
@@ -1269,7 +1269,7 @@ def context_set_value(
|
|
|
1269
1269
|
"""Set a context value
|
|
1270
1270
|
|
|
1271
1271
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1272
|
-
:type execution_context: str
|
|
1272
|
+
:type execution_context: typing.Union[str, int]
|
|
1273
1273
|
:type undo: bool
|
|
1274
1274
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1275
1275
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1281,7 +1281,7 @@ def context_set_value(
|
|
|
1281
1281
|
|
|
1282
1282
|
def context_toggle(
|
|
1283
1283
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1284
|
-
execution_context: str = None,
|
|
1284
|
+
execution_context: typing.Union[str, int] = None,
|
|
1285
1285
|
undo: bool = None,
|
|
1286
1286
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1287
1287
|
module: typing.Union[str, typing.Any] = "",
|
|
@@ -1289,7 +1289,7 @@ def context_toggle(
|
|
|
1289
1289
|
"""Toggle a context value
|
|
1290
1290
|
|
|
1291
1291
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1292
|
-
:type execution_context: str
|
|
1292
|
+
:type execution_context: typing.Union[str, int]
|
|
1293
1293
|
:type undo: bool
|
|
1294
1294
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1295
1295
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1301,7 +1301,7 @@ def context_toggle(
|
|
|
1301
1301
|
|
|
1302
1302
|
def context_toggle_enum(
|
|
1303
1303
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1304
|
-
execution_context: str = None,
|
|
1304
|
+
execution_context: typing.Union[str, int] = None,
|
|
1305
1305
|
undo: bool = None,
|
|
1306
1306
|
data_path: typing.Union[str, typing.Any] = "",
|
|
1307
1307
|
value_1: typing.Union[str, typing.Any] = "",
|
|
@@ -1310,7 +1310,7 @@ def context_toggle_enum(
|
|
|
1310
1310
|
"""Toggle a context value
|
|
1311
1311
|
|
|
1312
1312
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1313
|
-
:type execution_context: str
|
|
1313
|
+
:type execution_context: typing.Union[str, int]
|
|
1314
1314
|
:type undo: bool
|
|
1315
1315
|
:param data_path: Context Attributes, Context data-path (expanded using visible windows in the current .blend file)
|
|
1316
1316
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -1324,14 +1324,14 @@ def context_toggle_enum(
|
|
|
1324
1324
|
|
|
1325
1325
|
def debug_menu(
|
|
1326
1326
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1327
|
-
execution_context: str = None,
|
|
1327
|
+
execution_context: typing.Union[str, int] = None,
|
|
1328
1328
|
undo: bool = None,
|
|
1329
1329
|
debug_value: typing.Any = 0,
|
|
1330
1330
|
):
|
|
1331
1331
|
"""Open a popup to set the debug level
|
|
1332
1332
|
|
|
1333
1333
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1334
|
-
:type execution_context: str
|
|
1334
|
+
:type execution_context: typing.Union[str, int]
|
|
1335
1335
|
:type undo: bool
|
|
1336
1336
|
:param debug_value: Debug Value
|
|
1337
1337
|
:type debug_value: typing.Any
|
|
@@ -1341,14 +1341,14 @@ def debug_menu(
|
|
|
1341
1341
|
|
|
1342
1342
|
def doc_view(
|
|
1343
1343
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1344
|
-
execution_context: str = None,
|
|
1344
|
+
execution_context: typing.Union[str, int] = None,
|
|
1345
1345
|
undo: bool = None,
|
|
1346
1346
|
doc_id: typing.Union[str, typing.Any] = "",
|
|
1347
1347
|
):
|
|
1348
1348
|
"""Open online reference docs in a web browser
|
|
1349
1349
|
|
|
1350
1350
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1351
|
-
:type execution_context: str
|
|
1351
|
+
:type execution_context: typing.Union[str, int]
|
|
1352
1352
|
:type undo: bool
|
|
1353
1353
|
:param doc_id: Doc ID
|
|
1354
1354
|
:type doc_id: typing.Union[str, typing.Any]
|
|
@@ -1358,14 +1358,14 @@ def doc_view(
|
|
|
1358
1358
|
|
|
1359
1359
|
def doc_view_manual(
|
|
1360
1360
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1361
|
-
execution_context: str = None,
|
|
1361
|
+
execution_context: typing.Union[str, int] = None,
|
|
1362
1362
|
undo: bool = None,
|
|
1363
1363
|
doc_id: typing.Union[str, typing.Any] = "",
|
|
1364
1364
|
):
|
|
1365
1365
|
"""Load online manual
|
|
1366
1366
|
|
|
1367
1367
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1368
|
-
:type execution_context: str
|
|
1368
|
+
:type execution_context: typing.Union[str, int]
|
|
1369
1369
|
:type undo: bool
|
|
1370
1370
|
:param doc_id: Doc ID
|
|
1371
1371
|
:type doc_id: typing.Union[str, typing.Any]
|
|
@@ -1375,13 +1375,13 @@ def doc_view_manual(
|
|
|
1375
1375
|
|
|
1376
1376
|
def doc_view_manual_ui_context(
|
|
1377
1377
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1378
|
-
execution_context: str = None,
|
|
1378
|
+
execution_context: typing.Union[str, int] = None,
|
|
1379
1379
|
undo: bool = None,
|
|
1380
1380
|
):
|
|
1381
1381
|
"""View a context based online manual in a web browser
|
|
1382
1382
|
|
|
1383
1383
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1384
|
-
:type execution_context: str
|
|
1384
|
+
:type execution_context: typing.Union[str, int]
|
|
1385
1385
|
:type undo: bool
|
|
1386
1386
|
"""
|
|
1387
1387
|
|
|
@@ -1389,14 +1389,14 @@ def doc_view_manual_ui_context(
|
|
|
1389
1389
|
|
|
1390
1390
|
def drop_blend_file(
|
|
1391
1391
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1392
|
-
execution_context: str = None,
|
|
1392
|
+
execution_context: typing.Union[str, int] = None,
|
|
1393
1393
|
undo: bool = None,
|
|
1394
1394
|
filepath: typing.Union[str, typing.Any] = "",
|
|
1395
1395
|
):
|
|
1396
1396
|
"""Undocumented, consider contributing.
|
|
1397
1397
|
|
|
1398
1398
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1399
|
-
:type execution_context: str
|
|
1399
|
+
:type execution_context: typing.Union[str, int]
|
|
1400
1400
|
:type undo: bool
|
|
1401
1401
|
:param filepath: filepath
|
|
1402
1402
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -1406,7 +1406,7 @@ def drop_blend_file(
|
|
|
1406
1406
|
|
|
1407
1407
|
def drop_import_file(
|
|
1408
1408
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1409
|
-
execution_context: str = None,
|
|
1409
|
+
execution_context: typing.Union[str, int] = None,
|
|
1410
1410
|
undo: bool = None,
|
|
1411
1411
|
directory: typing.Union[str, typing.Any] = "",
|
|
1412
1412
|
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
|
|
@@ -1414,7 +1414,7 @@ def drop_import_file(
|
|
|
1414
1414
|
"""Operator that allows file handlers to receive file drops
|
|
1415
1415
|
|
|
1416
1416
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1417
|
-
:type execution_context: str
|
|
1417
|
+
:type execution_context: typing.Union[str, int]
|
|
1418
1418
|
:type undo: bool
|
|
1419
1419
|
:param directory: Directory, Directory of the file
|
|
1420
1420
|
:type directory: typing.Union[str, typing.Any]
|
|
@@ -1426,7 +1426,7 @@ def drop_import_file(
|
|
|
1426
1426
|
|
|
1427
1427
|
def gpencil_export_pdf(
|
|
1428
1428
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1429
|
-
execution_context: str = None,
|
|
1429
|
+
execution_context: typing.Union[str, int] = None,
|
|
1430
1430
|
undo: bool = None,
|
|
1431
1431
|
filepath: typing.Union[str, typing.Any] = "",
|
|
1432
1432
|
check_existing: typing.Union[bool, typing.Any] = True,
|
|
@@ -1459,7 +1459,7 @@ def gpencil_export_pdf(
|
|
|
1459
1459
|
"""Export grease pencil to PDF
|
|
1460
1460
|
|
|
1461
1461
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1462
|
-
:type execution_context: str
|
|
1462
|
+
:type execution_context: typing.Union[str, int]
|
|
1463
1463
|
:type undo: bool
|
|
1464
1464
|
:param filepath: File Path, Path to file
|
|
1465
1465
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -1551,7 +1551,7 @@ def gpencil_export_pdf(
|
|
|
1551
1551
|
|
|
1552
1552
|
def gpencil_export_svg(
|
|
1553
1553
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1554
|
-
execution_context: str = None,
|
|
1554
|
+
execution_context: typing.Union[str, int] = None,
|
|
1555
1555
|
undo: bool = None,
|
|
1556
1556
|
filepath: typing.Union[str, typing.Any] = "",
|
|
1557
1557
|
check_existing: typing.Union[bool, typing.Any] = True,
|
|
@@ -1584,7 +1584,7 @@ def gpencil_export_svg(
|
|
|
1584
1584
|
"""Export grease pencil to SVG
|
|
1585
1585
|
|
|
1586
1586
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1587
|
-
:type execution_context: str
|
|
1587
|
+
:type execution_context: typing.Union[str, int]
|
|
1588
1588
|
:type undo: bool
|
|
1589
1589
|
:param filepath: File Path, Path to file
|
|
1590
1590
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -1667,7 +1667,7 @@ def gpencil_export_svg(
|
|
|
1667
1667
|
|
|
1668
1668
|
def gpencil_import_svg(
|
|
1669
1669
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1670
|
-
execution_context: str = None,
|
|
1670
|
+
execution_context: typing.Union[str, int] = None,
|
|
1671
1671
|
undo: bool = None,
|
|
1672
1672
|
filepath: typing.Union[str, typing.Any] = "",
|
|
1673
1673
|
directory: typing.Union[str, typing.Any] = "",
|
|
@@ -1700,7 +1700,7 @@ def gpencil_import_svg(
|
|
|
1700
1700
|
"""Import SVG into grease pencil
|
|
1701
1701
|
|
|
1702
1702
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1703
|
-
:type execution_context: str
|
|
1703
|
+
:type execution_context: typing.Union[str, int]
|
|
1704
1704
|
:type undo: bool
|
|
1705
1705
|
:param filepath: File Path, Path to file
|
|
1706
1706
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -1774,7 +1774,7 @@ def gpencil_import_svg(
|
|
|
1774
1774
|
|
|
1775
1775
|
def interface_theme_preset_add(
|
|
1776
1776
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1777
|
-
execution_context: str = None,
|
|
1777
|
+
execution_context: typing.Union[str, int] = None,
|
|
1778
1778
|
undo: bool = None,
|
|
1779
1779
|
name: typing.Union[str, typing.Any] = "",
|
|
1780
1780
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -1783,7 +1783,7 @@ def interface_theme_preset_add(
|
|
|
1783
1783
|
"""Add a custom theme to the preset list
|
|
1784
1784
|
|
|
1785
1785
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1786
|
-
:type execution_context: str
|
|
1786
|
+
:type execution_context: typing.Union[str, int]
|
|
1787
1787
|
:type undo: bool
|
|
1788
1788
|
:param name: Name, Name of the preset, used to make the path name
|
|
1789
1789
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -1797,7 +1797,7 @@ def interface_theme_preset_add(
|
|
|
1797
1797
|
|
|
1798
1798
|
def interface_theme_preset_remove(
|
|
1799
1799
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1800
|
-
execution_context: str = None,
|
|
1800
|
+
execution_context: typing.Union[str, int] = None,
|
|
1801
1801
|
undo: bool = None,
|
|
1802
1802
|
name: typing.Union[str, typing.Any] = "",
|
|
1803
1803
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -1806,7 +1806,7 @@ def interface_theme_preset_remove(
|
|
|
1806
1806
|
"""Remove a custom theme from the preset list
|
|
1807
1807
|
|
|
1808
1808
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1809
|
-
:type execution_context: str
|
|
1809
|
+
:type execution_context: typing.Union[str, int]
|
|
1810
1810
|
:type undo: bool
|
|
1811
1811
|
:param name: Name, Name of the preset, used to make the path name
|
|
1812
1812
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -1820,7 +1820,7 @@ def interface_theme_preset_remove(
|
|
|
1820
1820
|
|
|
1821
1821
|
def interface_theme_preset_save(
|
|
1822
1822
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1823
|
-
execution_context: str = None,
|
|
1823
|
+
execution_context: typing.Union[str, int] = None,
|
|
1824
1824
|
undo: bool = None,
|
|
1825
1825
|
name: typing.Union[str, typing.Any] = "",
|
|
1826
1826
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -1829,7 +1829,7 @@ def interface_theme_preset_save(
|
|
|
1829
1829
|
"""Save a custom theme in the preset list
|
|
1830
1830
|
|
|
1831
1831
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1832
|
-
:type execution_context: str
|
|
1832
|
+
:type execution_context: typing.Union[str, int]
|
|
1833
1833
|
:type undo: bool
|
|
1834
1834
|
:param name: Name, Name of the preset, used to make the path name
|
|
1835
1835
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -1843,7 +1843,7 @@ def interface_theme_preset_save(
|
|
|
1843
1843
|
|
|
1844
1844
|
def keyconfig_preset_add(
|
|
1845
1845
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1846
|
-
execution_context: str = None,
|
|
1846
|
+
execution_context: typing.Union[str, int] = None,
|
|
1847
1847
|
undo: bool = None,
|
|
1848
1848
|
name: typing.Union[str, typing.Any] = "",
|
|
1849
1849
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -1852,7 +1852,7 @@ def keyconfig_preset_add(
|
|
|
1852
1852
|
"""Add a custom keymap configuration to the preset list
|
|
1853
1853
|
|
|
1854
1854
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1855
|
-
:type execution_context: str
|
|
1855
|
+
:type execution_context: typing.Union[str, int]
|
|
1856
1856
|
:type undo: bool
|
|
1857
1857
|
:param name: Name, Name of the preset, used to make the path name
|
|
1858
1858
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -1866,7 +1866,7 @@ def keyconfig_preset_add(
|
|
|
1866
1866
|
|
|
1867
1867
|
def keyconfig_preset_remove(
|
|
1868
1868
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1869
|
-
execution_context: str = None,
|
|
1869
|
+
execution_context: typing.Union[str, int] = None,
|
|
1870
1870
|
undo: bool = None,
|
|
1871
1871
|
name: typing.Union[str, typing.Any] = "",
|
|
1872
1872
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -1875,7 +1875,7 @@ def keyconfig_preset_remove(
|
|
|
1875
1875
|
"""Remove a custom keymap configuration from the preset list
|
|
1876
1876
|
|
|
1877
1877
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1878
|
-
:type execution_context: str
|
|
1878
|
+
:type execution_context: typing.Union[str, int]
|
|
1879
1879
|
:type undo: bool
|
|
1880
1880
|
:param name: Name, Name of the preset, used to make the path name
|
|
1881
1881
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -1889,7 +1889,7 @@ def keyconfig_preset_remove(
|
|
|
1889
1889
|
|
|
1890
1890
|
def lib_reload(
|
|
1891
1891
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1892
|
-
execution_context: str = None,
|
|
1892
|
+
execution_context: typing.Union[str, int] = None,
|
|
1893
1893
|
undo: bool = None,
|
|
1894
1894
|
library: typing.Union[str, typing.Any] = "",
|
|
1895
1895
|
filepath: typing.Union[str, typing.Any] = "",
|
|
@@ -1922,7 +1922,7 @@ def lib_reload(
|
|
|
1922
1922
|
"""Reload the given library
|
|
1923
1923
|
|
|
1924
1924
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1925
|
-
:type execution_context: str
|
|
1925
|
+
:type execution_context: typing.Union[str, int]
|
|
1926
1926
|
:type undo: bool
|
|
1927
1927
|
:param library: Library, Library to reload
|
|
1928
1928
|
:type library: typing.Union[str, typing.Any]
|
|
@@ -1996,7 +1996,7 @@ def lib_reload(
|
|
|
1996
1996
|
|
|
1997
1997
|
def lib_relocate(
|
|
1998
1998
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1999
|
-
execution_context: str = None,
|
|
1999
|
+
execution_context: typing.Union[str, int] = None,
|
|
2000
2000
|
undo: bool = None,
|
|
2001
2001
|
library: typing.Union[str, typing.Any] = "",
|
|
2002
2002
|
filepath: typing.Union[str, typing.Any] = "",
|
|
@@ -2030,7 +2030,7 @@ def lib_relocate(
|
|
|
2030
2030
|
"""Relocate the given library to one or several others
|
|
2031
2031
|
|
|
2032
2032
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2033
|
-
:type execution_context: str
|
|
2033
|
+
:type execution_context: typing.Union[str, int]
|
|
2034
2034
|
:type undo: bool
|
|
2035
2035
|
:param library: Library, Library to relocate
|
|
2036
2036
|
:type library: typing.Union[str, typing.Any]
|
|
@@ -2106,7 +2106,7 @@ def lib_relocate(
|
|
|
2106
2106
|
|
|
2107
2107
|
def link(
|
|
2108
2108
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2109
|
-
execution_context: str = None,
|
|
2109
|
+
execution_context: typing.Union[str, int] = None,
|
|
2110
2110
|
undo: bool = None,
|
|
2111
2111
|
filepath: typing.Union[str, typing.Any] = "",
|
|
2112
2112
|
directory: typing.Union[str, typing.Any] = "",
|
|
@@ -2145,7 +2145,7 @@ def link(
|
|
|
2145
2145
|
"""Link from a Library .blend file
|
|
2146
2146
|
|
|
2147
2147
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2148
|
-
:type execution_context: str
|
|
2148
|
+
:type execution_context: typing.Union[str, int]
|
|
2149
2149
|
:type undo: bool
|
|
2150
2150
|
:param filepath: File Path, Path to file
|
|
2151
2151
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -2231,13 +2231,13 @@ def link(
|
|
|
2231
2231
|
|
|
2232
2232
|
def memory_statistics(
|
|
2233
2233
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2234
|
-
execution_context: str = None,
|
|
2234
|
+
execution_context: typing.Union[str, int] = None,
|
|
2235
2235
|
undo: bool = None,
|
|
2236
2236
|
):
|
|
2237
2237
|
"""Print memory statistics to the console
|
|
2238
2238
|
|
|
2239
2239
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2240
|
-
:type execution_context: str
|
|
2240
|
+
:type execution_context: typing.Union[str, int]
|
|
2241
2241
|
:type undo: bool
|
|
2242
2242
|
"""
|
|
2243
2243
|
|
|
@@ -2245,7 +2245,7 @@ def memory_statistics(
|
|
|
2245
2245
|
|
|
2246
2246
|
def obj_export(
|
|
2247
2247
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2248
|
-
execution_context: str = None,
|
|
2248
|
+
execution_context: typing.Union[str, int] = None,
|
|
2249
2249
|
undo: bool = None,
|
|
2250
2250
|
filepath: typing.Union[str, typing.Any] = "",
|
|
2251
2251
|
check_existing: typing.Union[bool, typing.Any] = True,
|
|
@@ -2297,7 +2297,7 @@ def obj_export(
|
|
|
2297
2297
|
"""Save the scene to a Wavefront OBJ file
|
|
2298
2298
|
|
|
2299
2299
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2300
|
-
:type execution_context: str
|
|
2300
|
+
:type execution_context: typing.Union[str, int]
|
|
2301
2301
|
:type undo: bool
|
|
2302
2302
|
:param filepath: File Path, Path to file
|
|
2303
2303
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -2469,7 +2469,7 @@ def obj_export(
|
|
|
2469
2469
|
|
|
2470
2470
|
def obj_import(
|
|
2471
2471
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2472
|
-
execution_context: str = None,
|
|
2472
|
+
execution_context: typing.Union[str, int] = None,
|
|
2473
2473
|
undo: bool = None,
|
|
2474
2474
|
filepath: typing.Union[str, typing.Any] = "",
|
|
2475
2475
|
directory: typing.Union[str, typing.Any] = "",
|
|
@@ -2509,7 +2509,7 @@ def obj_import(
|
|
|
2509
2509
|
"""Load a Wavefront OBJ scene
|
|
2510
2510
|
|
|
2511
2511
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2512
|
-
:type execution_context: str
|
|
2512
|
+
:type execution_context: typing.Union[str, int]
|
|
2513
2513
|
:type undo: bool
|
|
2514
2514
|
:param filepath: File Path, Path to file
|
|
2515
2515
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -2633,7 +2633,7 @@ def obj_import(
|
|
|
2633
2633
|
|
|
2634
2634
|
def open_mainfile(
|
|
2635
2635
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2636
|
-
execution_context: str = None,
|
|
2636
|
+
execution_context: typing.Union[str, int] = None,
|
|
2637
2637
|
undo: bool = None,
|
|
2638
2638
|
filepath: typing.Union[str, typing.Any] = "",
|
|
2639
2639
|
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
@@ -2666,7 +2666,7 @@ def open_mainfile(
|
|
|
2666
2666
|
"""Open a Blender file
|
|
2667
2667
|
|
|
2668
2668
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2669
|
-
:type execution_context: str
|
|
2669
|
+
:type execution_context: typing.Union[str, int]
|
|
2670
2670
|
:type undo: bool
|
|
2671
2671
|
:param filepath: File Path, Path to file
|
|
2672
2672
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -2740,13 +2740,13 @@ def open_mainfile(
|
|
|
2740
2740
|
|
|
2741
2741
|
def operator_cheat_sheet(
|
|
2742
2742
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2743
|
-
execution_context: str = None,
|
|
2743
|
+
execution_context: typing.Union[str, int] = None,
|
|
2744
2744
|
undo: bool = None,
|
|
2745
2745
|
):
|
|
2746
2746
|
"""List all the operators in a text-block, useful for scripting
|
|
2747
2747
|
|
|
2748
2748
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2749
|
-
:type execution_context: str
|
|
2749
|
+
:type execution_context: typing.Union[str, int]
|
|
2750
2750
|
:type undo: bool
|
|
2751
2751
|
"""
|
|
2752
2752
|
|
|
@@ -2754,13 +2754,13 @@ def operator_cheat_sheet(
|
|
|
2754
2754
|
|
|
2755
2755
|
def operator_defaults(
|
|
2756
2756
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2757
|
-
execution_context: str = None,
|
|
2757
|
+
execution_context: typing.Union[str, int] = None,
|
|
2758
2758
|
undo: bool = None,
|
|
2759
2759
|
):
|
|
2760
2760
|
"""Set the active operator to its default values
|
|
2761
2761
|
|
|
2762
2762
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2763
|
-
:type execution_context: str
|
|
2763
|
+
:type execution_context: typing.Union[str, int]
|
|
2764
2764
|
:type undo: bool
|
|
2765
2765
|
"""
|
|
2766
2766
|
|
|
@@ -2768,7 +2768,7 @@ def operator_defaults(
|
|
|
2768
2768
|
|
|
2769
2769
|
def operator_pie_enum(
|
|
2770
2770
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2771
|
-
execution_context: str = None,
|
|
2771
|
+
execution_context: typing.Union[str, int] = None,
|
|
2772
2772
|
undo: bool = None,
|
|
2773
2773
|
data_path: typing.Union[str, typing.Any] = "",
|
|
2774
2774
|
prop_string: typing.Union[str, typing.Any] = "",
|
|
@@ -2776,7 +2776,7 @@ def operator_pie_enum(
|
|
|
2776
2776
|
"""Undocumented, consider contributing.
|
|
2777
2777
|
|
|
2778
2778
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2779
|
-
:type execution_context: str
|
|
2779
|
+
:type execution_context: typing.Union[str, int]
|
|
2780
2780
|
:type undo: bool
|
|
2781
2781
|
:param data_path: Operator, Operator name (in Python as string)
|
|
2782
2782
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -2788,7 +2788,7 @@ def operator_pie_enum(
|
|
|
2788
2788
|
|
|
2789
2789
|
def operator_preset_add(
|
|
2790
2790
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2791
|
-
execution_context: str = None,
|
|
2791
|
+
execution_context: typing.Union[str, int] = None,
|
|
2792
2792
|
undo: bool = None,
|
|
2793
2793
|
name: typing.Union[str, typing.Any] = "",
|
|
2794
2794
|
remove_name: typing.Union[bool, typing.Any] = False,
|
|
@@ -2798,7 +2798,7 @@ def operator_preset_add(
|
|
|
2798
2798
|
"""Add or remove an Operator Preset
|
|
2799
2799
|
|
|
2800
2800
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2801
|
-
:type execution_context: str
|
|
2801
|
+
:type execution_context: typing.Union[str, int]
|
|
2802
2802
|
:type undo: bool
|
|
2803
2803
|
:param name: Name, Name of the preset, used to make the path name
|
|
2804
2804
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -2814,7 +2814,7 @@ def operator_preset_add(
|
|
|
2814
2814
|
|
|
2815
2815
|
def operator_presets_cleanup(
|
|
2816
2816
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2817
|
-
execution_context: str = None,
|
|
2817
|
+
execution_context: typing.Union[str, int] = None,
|
|
2818
2818
|
undo: bool = None,
|
|
2819
2819
|
operator: typing.Union[str, typing.Any] = "",
|
|
2820
2820
|
properties: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
|
|
@@ -2822,7 +2822,7 @@ def operator_presets_cleanup(
|
|
|
2822
2822
|
"""Remove outdated operator properties from presets that may cause problems
|
|
2823
2823
|
|
|
2824
2824
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2825
|
-
:type execution_context: str
|
|
2825
|
+
:type execution_context: typing.Union[str, int]
|
|
2826
2826
|
:type undo: bool
|
|
2827
2827
|
:param operator: operator
|
|
2828
2828
|
:type operator: typing.Union[str, typing.Any]
|
|
@@ -2834,14 +2834,14 @@ def operator_presets_cleanup(
|
|
|
2834
2834
|
|
|
2835
2835
|
def owner_disable(
|
|
2836
2836
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2837
|
-
execution_context: str = None,
|
|
2837
|
+
execution_context: typing.Union[str, int] = None,
|
|
2838
2838
|
undo: bool = None,
|
|
2839
2839
|
owner_id: typing.Union[str, typing.Any] = "",
|
|
2840
2840
|
):
|
|
2841
2841
|
"""Disable add-on for workspace
|
|
2842
2842
|
|
|
2843
2843
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2844
|
-
:type execution_context: str
|
|
2844
|
+
:type execution_context: typing.Union[str, int]
|
|
2845
2845
|
:type undo: bool
|
|
2846
2846
|
:param owner_id: UI Tag
|
|
2847
2847
|
:type owner_id: typing.Union[str, typing.Any]
|
|
@@ -2851,14 +2851,14 @@ def owner_disable(
|
|
|
2851
2851
|
|
|
2852
2852
|
def owner_enable(
|
|
2853
2853
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2854
|
-
execution_context: str = None,
|
|
2854
|
+
execution_context: typing.Union[str, int] = None,
|
|
2855
2855
|
undo: bool = None,
|
|
2856
2856
|
owner_id: typing.Union[str, typing.Any] = "",
|
|
2857
2857
|
):
|
|
2858
2858
|
"""Enable add-on for workspace
|
|
2859
2859
|
|
|
2860
2860
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2861
|
-
:type execution_context: str
|
|
2861
|
+
:type execution_context: typing.Union[str, int]
|
|
2862
2862
|
:type undo: bool
|
|
2863
2863
|
:param owner_id: UI Tag
|
|
2864
2864
|
:type owner_id: typing.Union[str, typing.Any]
|
|
@@ -2868,14 +2868,14 @@ def owner_enable(
|
|
|
2868
2868
|
|
|
2869
2869
|
def path_open(
|
|
2870
2870
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2871
|
-
execution_context: str = None,
|
|
2871
|
+
execution_context: typing.Union[str, int] = None,
|
|
2872
2872
|
undo: bool = None,
|
|
2873
2873
|
filepath: typing.Union[str, typing.Any] = "",
|
|
2874
2874
|
):
|
|
2875
2875
|
"""Open a path in a file browser
|
|
2876
2876
|
|
|
2877
2877
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2878
|
-
:type execution_context: str
|
|
2878
|
+
:type execution_context: typing.Union[str, int]
|
|
2879
2879
|
:type undo: bool
|
|
2880
2880
|
:param filepath: filepath
|
|
2881
2881
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -2885,7 +2885,7 @@ def path_open(
|
|
|
2885
2885
|
|
|
2886
2886
|
def ply_export(
|
|
2887
2887
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
2888
|
-
execution_context: str = None,
|
|
2888
|
+
execution_context: typing.Union[str, int] = None,
|
|
2889
2889
|
undo: bool = None,
|
|
2890
2890
|
filepath: typing.Union[str, typing.Any] = "",
|
|
2891
2891
|
check_existing: typing.Union[bool, typing.Any] = True,
|
|
@@ -2925,7 +2925,7 @@ def ply_export(
|
|
|
2925
2925
|
"""Save the scene to a PLY file
|
|
2926
2926
|
|
|
2927
2927
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
2928
|
-
:type execution_context: str
|
|
2928
|
+
:type execution_context: typing.Union[str, int]
|
|
2929
2929
|
:type undo: bool
|
|
2930
2930
|
:param filepath: File Path, Path to file
|
|
2931
2931
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -3058,7 +3058,7 @@ def ply_export(
|
|
|
3058
3058
|
|
|
3059
3059
|
def ply_import(
|
|
3060
3060
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3061
|
-
execution_context: str = None,
|
|
3061
|
+
execution_context: typing.Union[str, int] = None,
|
|
3062
3062
|
undo: bool = None,
|
|
3063
3063
|
filepath: typing.Union[str, typing.Any] = "",
|
|
3064
3064
|
directory: typing.Union[str, typing.Any] = "",
|
|
@@ -3096,7 +3096,7 @@ def ply_import(
|
|
|
3096
3096
|
"""Import an PLY file as an object
|
|
3097
3097
|
|
|
3098
3098
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3099
|
-
:type execution_context: str
|
|
3099
|
+
:type execution_context: typing.Union[str, int]
|
|
3100
3100
|
:type undo: bool
|
|
3101
3101
|
:param filepath: File Path, Path to file
|
|
3102
3102
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -3225,7 +3225,7 @@ def ply_import(
|
|
|
3225
3225
|
|
|
3226
3226
|
def previews_batch_clear(
|
|
3227
3227
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3228
|
-
execution_context: str = None,
|
|
3228
|
+
execution_context: typing.Union[str, int] = None,
|
|
3229
3229
|
undo: bool = None,
|
|
3230
3230
|
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
|
|
3231
3231
|
directory: typing.Union[str, typing.Any] = "",
|
|
@@ -3241,7 +3241,7 @@ def previews_batch_clear(
|
|
|
3241
3241
|
"""Clear selected .blend file's previews
|
|
3242
3242
|
|
|
3243
3243
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3244
|
-
:type execution_context: str
|
|
3244
|
+
:type execution_context: typing.Union[str, int]
|
|
3245
3245
|
:type undo: bool
|
|
3246
3246
|
:param files: files
|
|
3247
3247
|
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
@@ -3269,7 +3269,7 @@ def previews_batch_clear(
|
|
|
3269
3269
|
|
|
3270
3270
|
def previews_batch_generate(
|
|
3271
3271
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3272
|
-
execution_context: str = None,
|
|
3272
|
+
execution_context: typing.Union[str, int] = None,
|
|
3273
3273
|
undo: bool = None,
|
|
3274
3274
|
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] = None,
|
|
3275
3275
|
directory: typing.Union[str, typing.Any] = "",
|
|
@@ -3285,7 +3285,7 @@ def previews_batch_generate(
|
|
|
3285
3285
|
"""Generate selected .blend file's previews
|
|
3286
3286
|
|
|
3287
3287
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3288
|
-
:type execution_context: str
|
|
3288
|
+
:type execution_context: typing.Union[str, int]
|
|
3289
3289
|
:type undo: bool
|
|
3290
3290
|
:param files: Collection of file paths with common directory root
|
|
3291
3291
|
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
@@ -3313,14 +3313,14 @@ def previews_batch_generate(
|
|
|
3313
3313
|
|
|
3314
3314
|
def previews_clear(
|
|
3315
3315
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3316
|
-
execution_context: str = None,
|
|
3316
|
+
execution_context: typing.Union[str, int] = None,
|
|
3317
3317
|
undo: bool = None,
|
|
3318
3318
|
id_type: typing.Any = {},
|
|
3319
3319
|
):
|
|
3320
3320
|
"""Clear data-block previews (only for some types like objects, materials, textures, etc.)
|
|
3321
3321
|
|
|
3322
3322
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3323
|
-
:type execution_context: str
|
|
3323
|
+
:type execution_context: typing.Union[str, int]
|
|
3324
3324
|
:type undo: bool
|
|
3325
3325
|
:param id_type: Data-Block Type, Which data-block previews to clear
|
|
3326
3326
|
|
|
@@ -3363,13 +3363,13 @@ def previews_clear(
|
|
|
3363
3363
|
|
|
3364
3364
|
def previews_ensure(
|
|
3365
3365
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3366
|
-
execution_context: str = None,
|
|
3366
|
+
execution_context: typing.Union[str, int] = None,
|
|
3367
3367
|
undo: bool = None,
|
|
3368
3368
|
):
|
|
3369
3369
|
"""Ensure data-block previews are available and up-to-date (to be saved in .blend file, only for some types like materials, textures, etc.)
|
|
3370
3370
|
|
|
3371
3371
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3372
|
-
:type execution_context: str
|
|
3372
|
+
:type execution_context: typing.Union[str, int]
|
|
3373
3373
|
:type undo: bool
|
|
3374
3374
|
"""
|
|
3375
3375
|
|
|
@@ -3377,14 +3377,14 @@ def previews_ensure(
|
|
|
3377
3377
|
|
|
3378
3378
|
def properties_add(
|
|
3379
3379
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3380
|
-
execution_context: str = None,
|
|
3380
|
+
execution_context: typing.Union[str, int] = None,
|
|
3381
3381
|
undo: bool = None,
|
|
3382
3382
|
data_path: typing.Union[str, typing.Any] = "",
|
|
3383
3383
|
):
|
|
3384
3384
|
"""Add your own property to the data-block
|
|
3385
3385
|
|
|
3386
3386
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3387
|
-
:type execution_context: str
|
|
3387
|
+
:type execution_context: typing.Union[str, int]
|
|
3388
3388
|
:type undo: bool
|
|
3389
3389
|
:param data_path: Property Edit, Property data_path edit
|
|
3390
3390
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -3394,14 +3394,14 @@ def properties_add(
|
|
|
3394
3394
|
|
|
3395
3395
|
def properties_context_change(
|
|
3396
3396
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3397
|
-
execution_context: str = None,
|
|
3397
|
+
execution_context: typing.Union[str, int] = None,
|
|
3398
3398
|
undo: bool = None,
|
|
3399
3399
|
context: typing.Union[str, typing.Any] = "",
|
|
3400
3400
|
):
|
|
3401
3401
|
"""Jump to a different tab inside the properties editor
|
|
3402
3402
|
|
|
3403
3403
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3404
|
-
:type execution_context: str
|
|
3404
|
+
:type execution_context: typing.Union[str, int]
|
|
3405
3405
|
:type undo: bool
|
|
3406
3406
|
:param context: Context
|
|
3407
3407
|
:type context: typing.Union[str, typing.Any]
|
|
@@ -3411,7 +3411,7 @@ def properties_context_change(
|
|
|
3411
3411
|
|
|
3412
3412
|
def properties_edit(
|
|
3413
3413
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3414
|
-
execution_context: str = None,
|
|
3414
|
+
execution_context: typing.Union[str, int] = None,
|
|
3415
3415
|
undo: bool = None,
|
|
3416
3416
|
data_path: typing.Union[str, typing.Any] = "",
|
|
3417
3417
|
property_name: typing.Union[str, typing.Any] = "",
|
|
@@ -3541,7 +3541,7 @@ def properties_edit(
|
|
|
3541
3541
|
"""Change a custom property's type, or adjust how it is displayed in the interface
|
|
3542
3542
|
|
|
3543
3543
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3544
|
-
:type execution_context: str
|
|
3544
|
+
:type execution_context: typing.Union[str, int]
|
|
3545
3545
|
:type undo: bool
|
|
3546
3546
|
:param data_path: Property Edit, Property data_path edit
|
|
3547
3547
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -3626,7 +3626,7 @@ def properties_edit(
|
|
|
3626
3626
|
|
|
3627
3627
|
def properties_edit_value(
|
|
3628
3628
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3629
|
-
execution_context: str = None,
|
|
3629
|
+
execution_context: typing.Union[str, int] = None,
|
|
3630
3630
|
undo: bool = None,
|
|
3631
3631
|
data_path: typing.Union[str, typing.Any] = "",
|
|
3632
3632
|
property_name: typing.Union[str, typing.Any] = "",
|
|
@@ -3635,7 +3635,7 @@ def properties_edit_value(
|
|
|
3635
3635
|
"""Edit the value of a custom property
|
|
3636
3636
|
|
|
3637
3637
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3638
|
-
:type execution_context: str
|
|
3638
|
+
:type execution_context: typing.Union[str, int]
|
|
3639
3639
|
:type undo: bool
|
|
3640
3640
|
:param data_path: Property Edit, Property data_path edit
|
|
3641
3641
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -3649,7 +3649,7 @@ def properties_edit_value(
|
|
|
3649
3649
|
|
|
3650
3650
|
def properties_remove(
|
|
3651
3651
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3652
|
-
execution_context: str = None,
|
|
3652
|
+
execution_context: typing.Union[str, int] = None,
|
|
3653
3653
|
undo: bool = None,
|
|
3654
3654
|
data_path: typing.Union[str, typing.Any] = "",
|
|
3655
3655
|
property_name: typing.Union[str, typing.Any] = "",
|
|
@@ -3657,7 +3657,7 @@ def properties_remove(
|
|
|
3657
3657
|
"""Internal use (edit a property data_path)
|
|
3658
3658
|
|
|
3659
3659
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3660
|
-
:type execution_context: str
|
|
3660
|
+
:type execution_context: typing.Union[str, int]
|
|
3661
3661
|
:type undo: bool
|
|
3662
3662
|
:param data_path: Property Edit, Property data_path edit
|
|
3663
3663
|
:type data_path: typing.Union[str, typing.Any]
|
|
@@ -3669,13 +3669,13 @@ def properties_remove(
|
|
|
3669
3669
|
|
|
3670
3670
|
def quit_blender(
|
|
3671
3671
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3672
|
-
execution_context: str = None,
|
|
3672
|
+
execution_context: typing.Union[str, int] = None,
|
|
3673
3673
|
undo: bool = None,
|
|
3674
3674
|
):
|
|
3675
3675
|
"""Quit Blender
|
|
3676
3676
|
|
|
3677
3677
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3678
|
-
:type execution_context: str
|
|
3678
|
+
:type execution_context: typing.Union[str, int]
|
|
3679
3679
|
:type undo: bool
|
|
3680
3680
|
"""
|
|
3681
3681
|
|
|
@@ -3683,7 +3683,7 @@ def quit_blender(
|
|
|
3683
3683
|
|
|
3684
3684
|
def radial_control(
|
|
3685
3685
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3686
|
-
execution_context: str = None,
|
|
3686
|
+
execution_context: typing.Union[str, int] = None,
|
|
3687
3687
|
undo: bool = None,
|
|
3688
3688
|
data_path_primary: typing.Union[str, typing.Any] = "",
|
|
3689
3689
|
data_path_secondary: typing.Union[str, typing.Any] = "",
|
|
@@ -3701,7 +3701,7 @@ def radial_control(
|
|
|
3701
3701
|
"""Set some size property (e.g. brush size) with mouse wheel
|
|
3702
3702
|
|
|
3703
3703
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3704
|
-
:type execution_context: str
|
|
3704
|
+
:type execution_context: typing.Union[str, int]
|
|
3705
3705
|
:type undo: bool
|
|
3706
3706
|
:param data_path_primary: Primary Data Path, Primary path of property to be set by the radial control
|
|
3707
3707
|
:type data_path_primary: typing.Union[str, typing.Any]
|
|
@@ -3733,7 +3733,7 @@ def radial_control(
|
|
|
3733
3733
|
|
|
3734
3734
|
def read_factory_settings(
|
|
3735
3735
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3736
|
-
execution_context: str = None,
|
|
3736
|
+
execution_context: typing.Union[str, int] = None,
|
|
3737
3737
|
undo: bool = None,
|
|
3738
3738
|
use_factory_startup_app_template_only: typing.Union[bool, typing.Any] = False,
|
|
3739
3739
|
app_template: typing.Union[str, typing.Any] = "Template",
|
|
@@ -3742,7 +3742,7 @@ def read_factory_settings(
|
|
|
3742
3742
|
"""Load factory default startup file and preferences. To make changes permanent, use "Save Startup File" and "Save Preferences"
|
|
3743
3743
|
|
|
3744
3744
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3745
|
-
:type execution_context: str
|
|
3745
|
+
:type execution_context: typing.Union[str, int]
|
|
3746
3746
|
:type undo: bool
|
|
3747
3747
|
:param use_factory_startup_app_template_only: Factory Startup App-Template Only
|
|
3748
3748
|
:type use_factory_startup_app_template_only: typing.Union[bool, typing.Any]
|
|
@@ -3755,14 +3755,14 @@ def read_factory_settings(
|
|
|
3755
3755
|
|
|
3756
3756
|
def read_factory_userpref(
|
|
3757
3757
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3758
|
-
execution_context: str = None,
|
|
3758
|
+
execution_context: typing.Union[str, int] = None,
|
|
3759
3759
|
undo: bool = None,
|
|
3760
3760
|
use_factory_startup_app_template_only: typing.Union[bool, typing.Any] = False,
|
|
3761
3761
|
):
|
|
3762
3762
|
"""Load factory default preferences. To make changes to preferences permanent, use "Save Preferences"
|
|
3763
3763
|
|
|
3764
3764
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3765
|
-
:type execution_context: str
|
|
3765
|
+
:type execution_context: typing.Union[str, int]
|
|
3766
3766
|
:type undo: bool
|
|
3767
3767
|
:param use_factory_startup_app_template_only: Factory Startup App-Template Only
|
|
3768
3768
|
:type use_factory_startup_app_template_only: typing.Union[bool, typing.Any]
|
|
@@ -3772,13 +3772,13 @@ def read_factory_userpref(
|
|
|
3772
3772
|
|
|
3773
3773
|
def read_history(
|
|
3774
3774
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3775
|
-
execution_context: str = None,
|
|
3775
|
+
execution_context: typing.Union[str, int] = None,
|
|
3776
3776
|
undo: bool = None,
|
|
3777
3777
|
):
|
|
3778
3778
|
"""Reloads history and bookmarks
|
|
3779
3779
|
|
|
3780
3780
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3781
|
-
:type execution_context: str
|
|
3781
|
+
:type execution_context: typing.Union[str, int]
|
|
3782
3782
|
:type undo: bool
|
|
3783
3783
|
"""
|
|
3784
3784
|
|
|
@@ -3786,7 +3786,7 @@ def read_history(
|
|
|
3786
3786
|
|
|
3787
3787
|
def read_homefile(
|
|
3788
3788
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3789
|
-
execution_context: str = None,
|
|
3789
|
+
execution_context: typing.Union[str, int] = None,
|
|
3790
3790
|
undo: bool = None,
|
|
3791
3791
|
filepath: typing.Union[str, typing.Any] = "",
|
|
3792
3792
|
load_ui: typing.Union[bool, typing.Any] = True,
|
|
@@ -3799,7 +3799,7 @@ def read_homefile(
|
|
|
3799
3799
|
"""Open the default file
|
|
3800
3800
|
|
|
3801
3801
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3802
|
-
:type execution_context: str
|
|
3802
|
+
:type execution_context: typing.Union[str, int]
|
|
3803
3803
|
:type undo: bool
|
|
3804
3804
|
:param filepath: File Path, Path to an alternative start-up file
|
|
3805
3805
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -3820,13 +3820,13 @@ def read_homefile(
|
|
|
3820
3820
|
|
|
3821
3821
|
def read_userpref(
|
|
3822
3822
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3823
|
-
execution_context: str = None,
|
|
3823
|
+
execution_context: typing.Union[str, int] = None,
|
|
3824
3824
|
undo: bool = None,
|
|
3825
3825
|
):
|
|
3826
3826
|
"""Load last saved preferences
|
|
3827
3827
|
|
|
3828
3828
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3829
|
-
:type execution_context: str
|
|
3829
|
+
:type execution_context: typing.Union[str, int]
|
|
3830
3830
|
:type undo: bool
|
|
3831
3831
|
"""
|
|
3832
3832
|
|
|
@@ -3834,7 +3834,7 @@ def read_userpref(
|
|
|
3834
3834
|
|
|
3835
3835
|
def recover_auto_save(
|
|
3836
3836
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3837
|
-
execution_context: str = None,
|
|
3837
|
+
execution_context: typing.Union[str, int] = None,
|
|
3838
3838
|
undo: bool = None,
|
|
3839
3839
|
filepath: typing.Union[str, typing.Any] = "",
|
|
3840
3840
|
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
@@ -3864,7 +3864,7 @@ def recover_auto_save(
|
|
|
3864
3864
|
"""Open an automatically saved file to recover it
|
|
3865
3865
|
|
|
3866
3866
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3867
|
-
:type execution_context: str
|
|
3867
|
+
:type execution_context: typing.Union[str, int]
|
|
3868
3868
|
:type undo: bool
|
|
3869
3869
|
:param filepath: File Path, Path to file
|
|
3870
3870
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -3932,14 +3932,14 @@ def recover_auto_save(
|
|
|
3932
3932
|
|
|
3933
3933
|
def recover_last_session(
|
|
3934
3934
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3935
|
-
execution_context: str = None,
|
|
3935
|
+
execution_context: typing.Union[str, int] = None,
|
|
3936
3936
|
undo: bool = None,
|
|
3937
3937
|
use_scripts: typing.Union[bool, typing.Any] = True,
|
|
3938
3938
|
):
|
|
3939
3939
|
"""Open the last closed file ("quit.blend")
|
|
3940
3940
|
|
|
3941
3941
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3942
|
-
:type execution_context: str
|
|
3942
|
+
:type execution_context: typing.Union[str, int]
|
|
3943
3943
|
:type undo: bool
|
|
3944
3944
|
:param use_scripts: Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences
|
|
3945
3945
|
:type use_scripts: typing.Union[bool, typing.Any]
|
|
@@ -3949,7 +3949,7 @@ def recover_last_session(
|
|
|
3949
3949
|
|
|
3950
3950
|
def redraw_timer(
|
|
3951
3951
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3952
|
-
execution_context: str = None,
|
|
3952
|
+
execution_context: typing.Union[str, int] = None,
|
|
3953
3953
|
undo: bool = None,
|
|
3954
3954
|
type: typing.Any = "DRAW",
|
|
3955
3955
|
iterations: typing.Any = 10,
|
|
@@ -3958,7 +3958,7 @@ def redraw_timer(
|
|
|
3958
3958
|
"""Simple redraw timer to test the speed of updating the interface
|
|
3959
3959
|
|
|
3960
3960
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
3961
|
-
:type execution_context: str
|
|
3961
|
+
:type execution_context: typing.Union[str, int]
|
|
3962
3962
|
:type undo: bool
|
|
3963
3963
|
:param type: Type
|
|
3964
3964
|
|
|
@@ -3993,14 +3993,14 @@ def redraw_timer(
|
|
|
3993
3993
|
|
|
3994
3994
|
def revert_mainfile(
|
|
3995
3995
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
3996
|
-
execution_context: str = None,
|
|
3996
|
+
execution_context: typing.Union[str, int] = None,
|
|
3997
3997
|
undo: bool = None,
|
|
3998
3998
|
use_scripts: typing.Union[bool, typing.Any] = True,
|
|
3999
3999
|
):
|
|
4000
4000
|
"""Reload the saved file
|
|
4001
4001
|
|
|
4002
4002
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4003
|
-
:type execution_context: str
|
|
4003
|
+
:type execution_context: typing.Union[str, int]
|
|
4004
4004
|
:type undo: bool
|
|
4005
4005
|
:param use_scripts: Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences
|
|
4006
4006
|
:type use_scripts: typing.Union[bool, typing.Any]
|
|
@@ -4010,7 +4010,7 @@ def revert_mainfile(
|
|
|
4010
4010
|
|
|
4011
4011
|
def save_as_mainfile(
|
|
4012
4012
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4013
|
-
execution_context: str = None,
|
|
4013
|
+
execution_context: typing.Union[str, int] = None,
|
|
4014
4014
|
undo: bool = None,
|
|
4015
4015
|
filepath: typing.Union[str, typing.Any] = "",
|
|
4016
4016
|
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
@@ -4042,7 +4042,7 @@ def save_as_mainfile(
|
|
|
4042
4042
|
"""Save the current file in the desired location
|
|
4043
4043
|
|
|
4044
4044
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4045
|
-
:type execution_context: str
|
|
4045
|
+
:type execution_context: typing.Union[str, int]
|
|
4046
4046
|
:type undo: bool
|
|
4047
4047
|
:param filepath: File Path, Path to file
|
|
4048
4048
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -4114,13 +4114,13 @@ def save_as_mainfile(
|
|
|
4114
4114
|
|
|
4115
4115
|
def save_homefile(
|
|
4116
4116
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4117
|
-
execution_context: str = None,
|
|
4117
|
+
execution_context: typing.Union[str, int] = None,
|
|
4118
4118
|
undo: bool = None,
|
|
4119
4119
|
):
|
|
4120
4120
|
"""Make the current file the default startup file
|
|
4121
4121
|
|
|
4122
4122
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4123
|
-
:type execution_context: str
|
|
4123
|
+
:type execution_context: typing.Union[str, int]
|
|
4124
4124
|
:type undo: bool
|
|
4125
4125
|
"""
|
|
4126
4126
|
|
|
@@ -4128,7 +4128,7 @@ def save_homefile(
|
|
|
4128
4128
|
|
|
4129
4129
|
def save_mainfile(
|
|
4130
4130
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4131
|
-
execution_context: str = None,
|
|
4131
|
+
execution_context: typing.Union[str, int] = None,
|
|
4132
4132
|
undo: bool = None,
|
|
4133
4133
|
filepath: typing.Union[str, typing.Any] = "",
|
|
4134
4134
|
hide_props_region: typing.Union[bool, typing.Any] = True,
|
|
@@ -4161,7 +4161,7 @@ def save_mainfile(
|
|
|
4161
4161
|
"""Save the current Blender file
|
|
4162
4162
|
|
|
4163
4163
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4164
|
-
:type execution_context: str
|
|
4164
|
+
:type execution_context: typing.Union[str, int]
|
|
4165
4165
|
:type undo: bool
|
|
4166
4166
|
:param filepath: File Path, Path to file
|
|
4167
4167
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -4235,13 +4235,13 @@ def save_mainfile(
|
|
|
4235
4235
|
|
|
4236
4236
|
def save_userpref(
|
|
4237
4237
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4238
|
-
execution_context: str = None,
|
|
4238
|
+
execution_context: typing.Union[str, int] = None,
|
|
4239
4239
|
undo: bool = None,
|
|
4240
4240
|
):
|
|
4241
4241
|
"""Make the current preferences default
|
|
4242
4242
|
|
|
4243
4243
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4244
|
-
:type execution_context: str
|
|
4244
|
+
:type execution_context: typing.Union[str, int]
|
|
4245
4245
|
:type undo: bool
|
|
4246
4246
|
"""
|
|
4247
4247
|
|
|
@@ -4249,13 +4249,13 @@ def save_userpref(
|
|
|
4249
4249
|
|
|
4250
4250
|
def search_menu(
|
|
4251
4251
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4252
|
-
execution_context: str = None,
|
|
4252
|
+
execution_context: typing.Union[str, int] = None,
|
|
4253
4253
|
undo: bool = None,
|
|
4254
4254
|
):
|
|
4255
4255
|
"""Pop-up a search over all menus in the current context
|
|
4256
4256
|
|
|
4257
4257
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4258
|
-
:type execution_context: str
|
|
4258
|
+
:type execution_context: typing.Union[str, int]
|
|
4259
4259
|
:type undo: bool
|
|
4260
4260
|
"""
|
|
4261
4261
|
|
|
@@ -4263,13 +4263,13 @@ def search_menu(
|
|
|
4263
4263
|
|
|
4264
4264
|
def search_operator(
|
|
4265
4265
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4266
|
-
execution_context: str = None,
|
|
4266
|
+
execution_context: typing.Union[str, int] = None,
|
|
4267
4267
|
undo: bool = None,
|
|
4268
4268
|
):
|
|
4269
4269
|
"""Pop-up a search over all available operators in current context
|
|
4270
4270
|
|
|
4271
4271
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4272
|
-
:type execution_context: str
|
|
4272
|
+
:type execution_context: typing.Union[str, int]
|
|
4273
4273
|
:type undo: bool
|
|
4274
4274
|
"""
|
|
4275
4275
|
|
|
@@ -4277,7 +4277,7 @@ def search_operator(
|
|
|
4277
4277
|
|
|
4278
4278
|
def search_single_menu(
|
|
4279
4279
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4280
|
-
execution_context: str = None,
|
|
4280
|
+
execution_context: typing.Union[str, int] = None,
|
|
4281
4281
|
undo: bool = None,
|
|
4282
4282
|
menu_idname: typing.Union[str, typing.Any] = "",
|
|
4283
4283
|
initial_query: typing.Union[str, typing.Any] = "",
|
|
@@ -4285,7 +4285,7 @@ def search_single_menu(
|
|
|
4285
4285
|
"""Pop-up a search for a menu in current context
|
|
4286
4286
|
|
|
4287
4287
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4288
|
-
:type execution_context: str
|
|
4288
|
+
:type execution_context: typing.Union[str, int]
|
|
4289
4289
|
:type undo: bool
|
|
4290
4290
|
:param menu_idname: Menu Name, Menu to search in
|
|
4291
4291
|
:type menu_idname: typing.Union[str, typing.Any]
|
|
@@ -4297,7 +4297,7 @@ def search_single_menu(
|
|
|
4297
4297
|
|
|
4298
4298
|
def set_stereo_3d(
|
|
4299
4299
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4300
|
-
execution_context: str = None,
|
|
4300
|
+
execution_context: typing.Union[str, int] = None,
|
|
4301
4301
|
undo: bool = None,
|
|
4302
4302
|
display_mode: typing.Union[str, int] = "ANAGLYPH",
|
|
4303
4303
|
anaglyph_type: typing.Union[str, int] = "RED_CYAN",
|
|
@@ -4308,7 +4308,7 @@ def set_stereo_3d(
|
|
|
4308
4308
|
"""Toggle 3D stereo support for current window (or change the display mode)
|
|
4309
4309
|
|
|
4310
4310
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4311
|
-
:type execution_context: str
|
|
4311
|
+
:type execution_context: typing.Union[str, int]
|
|
4312
4312
|
:type undo: bool
|
|
4313
4313
|
:param display_mode: Display Mode
|
|
4314
4314
|
:type display_mode: typing.Union[str, int]
|
|
@@ -4326,13 +4326,13 @@ def set_stereo_3d(
|
|
|
4326
4326
|
|
|
4327
4327
|
def splash(
|
|
4328
4328
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4329
|
-
execution_context: str = None,
|
|
4329
|
+
execution_context: typing.Union[str, int] = None,
|
|
4330
4330
|
undo: bool = None,
|
|
4331
4331
|
):
|
|
4332
4332
|
"""Open the splash screen with release info
|
|
4333
4333
|
|
|
4334
4334
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4335
|
-
:type execution_context: str
|
|
4335
|
+
:type execution_context: typing.Union[str, int]
|
|
4336
4336
|
:type undo: bool
|
|
4337
4337
|
"""
|
|
4338
4338
|
|
|
@@ -4340,13 +4340,13 @@ def splash(
|
|
|
4340
4340
|
|
|
4341
4341
|
def splash_about(
|
|
4342
4342
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4343
|
-
execution_context: str = None,
|
|
4343
|
+
execution_context: typing.Union[str, int] = None,
|
|
4344
4344
|
undo: bool = None,
|
|
4345
4345
|
):
|
|
4346
4346
|
"""Open a window with information about Blender
|
|
4347
4347
|
|
|
4348
4348
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4349
|
-
:type execution_context: str
|
|
4349
|
+
:type execution_context: typing.Union[str, int]
|
|
4350
4350
|
:type undo: bool
|
|
4351
4351
|
"""
|
|
4352
4352
|
|
|
@@ -4354,7 +4354,7 @@ def splash_about(
|
|
|
4354
4354
|
|
|
4355
4355
|
def stl_export(
|
|
4356
4356
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4357
|
-
execution_context: str = None,
|
|
4357
|
+
execution_context: typing.Union[str, int] = None,
|
|
4358
4358
|
undo: bool = None,
|
|
4359
4359
|
filepath: typing.Union[str, typing.Any] = "",
|
|
4360
4360
|
check_existing: typing.Union[bool, typing.Any] = True,
|
|
@@ -4391,7 +4391,7 @@ def stl_export(
|
|
|
4391
4391
|
"""Save the scene to an STL file
|
|
4392
4392
|
|
|
4393
4393
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4394
|
-
:type execution_context: str
|
|
4394
|
+
:type execution_context: typing.Union[str, int]
|
|
4395
4395
|
:type undo: bool
|
|
4396
4396
|
:param filepath: File Path, Path to file
|
|
4397
4397
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -4509,7 +4509,7 @@ def stl_export(
|
|
|
4509
4509
|
|
|
4510
4510
|
def stl_import(
|
|
4511
4511
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4512
|
-
execution_context: str = None,
|
|
4512
|
+
execution_context: typing.Union[str, int] = None,
|
|
4513
4513
|
undo: bool = None,
|
|
4514
4514
|
filepath: typing.Union[str, typing.Any] = "",
|
|
4515
4515
|
directory: typing.Union[str, typing.Any] = "",
|
|
@@ -4546,7 +4546,7 @@ def stl_import(
|
|
|
4546
4546
|
"""Import an STL file as an object
|
|
4547
4547
|
|
|
4548
4548
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4549
|
-
:type execution_context: str
|
|
4549
|
+
:type execution_context: typing.Union[str, int]
|
|
4550
4550
|
:type undo: bool
|
|
4551
4551
|
:param filepath: File Path, Path to file
|
|
4552
4552
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -4664,14 +4664,14 @@ def stl_import(
|
|
|
4664
4664
|
|
|
4665
4665
|
def sysinfo(
|
|
4666
4666
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4667
|
-
execution_context: str = None,
|
|
4667
|
+
execution_context: typing.Union[str, int] = None,
|
|
4668
4668
|
undo: bool = None,
|
|
4669
4669
|
filepath: typing.Union[str, typing.Any] = "",
|
|
4670
4670
|
):
|
|
4671
4671
|
"""Generate system information, saved into a text file
|
|
4672
4672
|
|
|
4673
4673
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4674
|
-
:type execution_context: str
|
|
4674
|
+
:type execution_context: typing.Union[str, int]
|
|
4675
4675
|
:type undo: bool
|
|
4676
4676
|
:param filepath: filepath
|
|
4677
4677
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -4681,7 +4681,7 @@ def sysinfo(
|
|
|
4681
4681
|
|
|
4682
4682
|
def tool_set_by_id(
|
|
4683
4683
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4684
|
-
execution_context: str = None,
|
|
4684
|
+
execution_context: typing.Union[str, int] = None,
|
|
4685
4685
|
undo: bool = None,
|
|
4686
4686
|
name: typing.Union[str, typing.Any] = "",
|
|
4687
4687
|
cycle: typing.Union[bool, typing.Any] = False,
|
|
@@ -4691,7 +4691,7 @@ def tool_set_by_id(
|
|
|
4691
4691
|
"""Set the tool by name (for key-maps)
|
|
4692
4692
|
|
|
4693
4693
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4694
|
-
:type execution_context: str
|
|
4694
|
+
:type execution_context: typing.Union[str, int]
|
|
4695
4695
|
:type undo: bool
|
|
4696
4696
|
:param name: Identifier, Identifier of the tool
|
|
4697
4697
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -4707,7 +4707,7 @@ def tool_set_by_id(
|
|
|
4707
4707
|
|
|
4708
4708
|
def tool_set_by_index(
|
|
4709
4709
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4710
|
-
execution_context: str = None,
|
|
4710
|
+
execution_context: typing.Union[str, int] = None,
|
|
4711
4711
|
undo: bool = None,
|
|
4712
4712
|
index: typing.Any = 0,
|
|
4713
4713
|
cycle: typing.Union[bool, typing.Any] = False,
|
|
@@ -4718,7 +4718,7 @@ def tool_set_by_index(
|
|
|
4718
4718
|
"""Set the tool by index (for key-maps)
|
|
4719
4719
|
|
|
4720
4720
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4721
|
-
:type execution_context: str
|
|
4721
|
+
:type execution_context: typing.Union[str, int]
|
|
4722
4722
|
:type undo: bool
|
|
4723
4723
|
:param index: Index in Toolbar
|
|
4724
4724
|
:type index: typing.Any
|
|
@@ -4736,13 +4736,13 @@ def tool_set_by_index(
|
|
|
4736
4736
|
|
|
4737
4737
|
def toolbar(
|
|
4738
4738
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4739
|
-
execution_context: str = None,
|
|
4739
|
+
execution_context: typing.Union[str, int] = None,
|
|
4740
4740
|
undo: bool = None,
|
|
4741
4741
|
):
|
|
4742
4742
|
"""Undocumented, consider contributing.
|
|
4743
4743
|
|
|
4744
4744
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4745
|
-
:type execution_context: str
|
|
4745
|
+
:type execution_context: typing.Union[str, int]
|
|
4746
4746
|
:type undo: bool
|
|
4747
4747
|
"""
|
|
4748
4748
|
|
|
@@ -4750,13 +4750,13 @@ def toolbar(
|
|
|
4750
4750
|
|
|
4751
4751
|
def toolbar_fallback_pie(
|
|
4752
4752
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4753
|
-
execution_context: str = None,
|
|
4753
|
+
execution_context: typing.Union[str, int] = None,
|
|
4754
4754
|
undo: bool = None,
|
|
4755
4755
|
):
|
|
4756
4756
|
"""Undocumented, consider contributing.
|
|
4757
4757
|
|
|
4758
4758
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4759
|
-
:type execution_context: str
|
|
4759
|
+
:type execution_context: typing.Union[str, int]
|
|
4760
4760
|
:type undo: bool
|
|
4761
4761
|
"""
|
|
4762
4762
|
|
|
@@ -4764,13 +4764,13 @@ def toolbar_fallback_pie(
|
|
|
4764
4764
|
|
|
4765
4765
|
def toolbar_prompt(
|
|
4766
4766
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4767
|
-
execution_context: str = None,
|
|
4767
|
+
execution_context: typing.Union[str, int] = None,
|
|
4768
4768
|
undo: bool = None,
|
|
4769
4769
|
):
|
|
4770
4770
|
"""Leader key like functionality for accessing tools
|
|
4771
4771
|
|
|
4772
4772
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4773
|
-
:type execution_context: str
|
|
4773
|
+
:type execution_context: typing.Union[str, int]
|
|
4774
4774
|
:type undo: bool
|
|
4775
4775
|
"""
|
|
4776
4776
|
|
|
@@ -4778,14 +4778,14 @@ def toolbar_prompt(
|
|
|
4778
4778
|
|
|
4779
4779
|
def url_open(
|
|
4780
4780
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4781
|
-
execution_context: str = None,
|
|
4781
|
+
execution_context: typing.Union[str, int] = None,
|
|
4782
4782
|
undo: bool = None,
|
|
4783
4783
|
url: typing.Union[str, typing.Any] = "",
|
|
4784
4784
|
):
|
|
4785
4785
|
"""Open a website in the web browser
|
|
4786
4786
|
|
|
4787
4787
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4788
|
-
:type execution_context: str
|
|
4788
|
+
:type execution_context: typing.Union[str, int]
|
|
4789
4789
|
:type undo: bool
|
|
4790
4790
|
:param url: URL, URL to open
|
|
4791
4791
|
:type url: typing.Union[str, typing.Any]
|
|
@@ -4795,7 +4795,7 @@ def url_open(
|
|
|
4795
4795
|
|
|
4796
4796
|
def url_open_preset(
|
|
4797
4797
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4798
|
-
execution_context: str = None,
|
|
4798
|
+
execution_context: typing.Union[str, int] = None,
|
|
4799
4799
|
undo: bool = None,
|
|
4800
4800
|
type: typing.Union[str, int, typing.Any] = "",
|
|
4801
4801
|
id: typing.Union[str, typing.Any] = "",
|
|
@@ -4803,7 +4803,7 @@ def url_open_preset(
|
|
|
4803
4803
|
"""Open a preset website in the web browser
|
|
4804
4804
|
|
|
4805
4805
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4806
|
-
:type execution_context: str
|
|
4806
|
+
:type execution_context: typing.Union[str, int]
|
|
4807
4807
|
:type undo: bool
|
|
4808
4808
|
:param type: Site
|
|
4809
4809
|
:type type: typing.Union[str, int, typing.Any]
|
|
@@ -4815,7 +4815,7 @@ def url_open_preset(
|
|
|
4815
4815
|
|
|
4816
4816
|
def usd_export(
|
|
4817
4817
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4818
|
-
execution_context: str = None,
|
|
4818
|
+
execution_context: typing.Union[str, int] = None,
|
|
4819
4819
|
undo: bool = None,
|
|
4820
4820
|
filepath: typing.Union[str, typing.Any] = "",
|
|
4821
4821
|
check_existing: typing.Union[bool, typing.Any] = True,
|
|
@@ -4864,7 +4864,7 @@ def usd_export(
|
|
|
4864
4864
|
"""Export current scene in a USD archive
|
|
4865
4865
|
|
|
4866
4866
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
4867
|
-
:type execution_context: str
|
|
4867
|
+
:type execution_context: typing.Union[str, int]
|
|
4868
4868
|
:type undo: bool
|
|
4869
4869
|
:param filepath: File Path, Path to file
|
|
4870
4870
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -4984,7 +4984,7 @@ def usd_export(
|
|
|
4984
4984
|
|
|
4985
4985
|
def usd_import(
|
|
4986
4986
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
4987
|
-
execution_context: str = None,
|
|
4987
|
+
execution_context: typing.Union[str, int] = None,
|
|
4988
4988
|
undo: bool = None,
|
|
4989
4989
|
filepath: typing.Union[str, typing.Any] = "",
|
|
4990
4990
|
check_existing: typing.Union[bool, typing.Any] = False,
|
|
@@ -5044,7 +5044,7 @@ def usd_import(
|
|
|
5044
5044
|
"""Import USD stage into current scene
|
|
5045
5045
|
|
|
5046
5046
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5047
|
-
:type execution_context: str
|
|
5047
|
+
:type execution_context: typing.Union[str, int]
|
|
5048
5048
|
:type undo: bool
|
|
5049
5049
|
:param filepath: File Path, Path to file
|
|
5050
5050
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -5192,13 +5192,13 @@ def usd_import(
|
|
|
5192
5192
|
|
|
5193
5193
|
def window_close(
|
|
5194
5194
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
5195
|
-
execution_context: str = None,
|
|
5195
|
+
execution_context: typing.Union[str, int] = None,
|
|
5196
5196
|
undo: bool = None,
|
|
5197
5197
|
):
|
|
5198
5198
|
"""Close the current window
|
|
5199
5199
|
|
|
5200
5200
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5201
|
-
:type execution_context: str
|
|
5201
|
+
:type execution_context: typing.Union[str, int]
|
|
5202
5202
|
:type undo: bool
|
|
5203
5203
|
"""
|
|
5204
5204
|
|
|
@@ -5206,13 +5206,13 @@ def window_close(
|
|
|
5206
5206
|
|
|
5207
5207
|
def window_fullscreen_toggle(
|
|
5208
5208
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
5209
|
-
execution_context: str = None,
|
|
5209
|
+
execution_context: typing.Union[str, int] = None,
|
|
5210
5210
|
undo: bool = None,
|
|
5211
5211
|
):
|
|
5212
5212
|
"""Toggle the current window full-screen
|
|
5213
5213
|
|
|
5214
5214
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5215
|
-
:type execution_context: str
|
|
5215
|
+
:type execution_context: typing.Union[str, int]
|
|
5216
5216
|
:type undo: bool
|
|
5217
5217
|
"""
|
|
5218
5218
|
|
|
@@ -5220,13 +5220,13 @@ def window_fullscreen_toggle(
|
|
|
5220
5220
|
|
|
5221
5221
|
def window_new(
|
|
5222
5222
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
5223
|
-
execution_context: str = None,
|
|
5223
|
+
execution_context: typing.Union[str, int] = None,
|
|
5224
5224
|
undo: bool = None,
|
|
5225
5225
|
):
|
|
5226
5226
|
"""Create a new window
|
|
5227
5227
|
|
|
5228
5228
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5229
|
-
:type execution_context: str
|
|
5229
|
+
:type execution_context: typing.Union[str, int]
|
|
5230
5230
|
:type undo: bool
|
|
5231
5231
|
"""
|
|
5232
5232
|
|
|
@@ -5234,13 +5234,13 @@ def window_new(
|
|
|
5234
5234
|
|
|
5235
5235
|
def window_new_main(
|
|
5236
5236
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
5237
|
-
execution_context: str = None,
|
|
5237
|
+
execution_context: typing.Union[str, int] = None,
|
|
5238
5238
|
undo: bool = None,
|
|
5239
5239
|
):
|
|
5240
5240
|
"""Create a new main window with its own workspace and scene selection
|
|
5241
5241
|
|
|
5242
5242
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5243
|
-
:type execution_context: str
|
|
5243
|
+
:type execution_context: typing.Union[str, int]
|
|
5244
5244
|
:type undo: bool
|
|
5245
5245
|
"""
|
|
5246
5246
|
|
|
@@ -5248,7 +5248,7 @@ def window_new_main(
|
|
|
5248
5248
|
|
|
5249
5249
|
def xr_navigation_fly(
|
|
5250
5250
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
5251
|
-
execution_context: str = None,
|
|
5251
|
+
execution_context: typing.Union[str, int] = None,
|
|
5252
5252
|
undo: bool = None,
|
|
5253
5253
|
mode: typing.Any = "VIEWER_FORWARD",
|
|
5254
5254
|
lock_location_z: typing.Union[bool, typing.Any] = False,
|
|
@@ -5262,7 +5262,7 @@ def xr_navigation_fly(
|
|
|
5262
5262
|
"""Move/turn relative to the VR viewer or controller
|
|
5263
5263
|
|
|
5264
5264
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5265
|
-
:type execution_context: str
|
|
5265
|
+
:type execution_context: typing.Union[str, int]
|
|
5266
5266
|
:type undo: bool
|
|
5267
5267
|
:param mode: Mode, Fly mode
|
|
5268
5268
|
|
|
@@ -5325,7 +5325,7 @@ def xr_navigation_fly(
|
|
|
5325
5325
|
|
|
5326
5326
|
def xr_navigation_grab(
|
|
5327
5327
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
5328
|
-
execution_context: str = None,
|
|
5328
|
+
execution_context: typing.Union[str, int] = None,
|
|
5329
5329
|
undo: bool = None,
|
|
5330
5330
|
lock_location: typing.Union[bool, typing.Any] = False,
|
|
5331
5331
|
lock_location_z: typing.Union[bool, typing.Any] = False,
|
|
@@ -5336,7 +5336,7 @@ def xr_navigation_grab(
|
|
|
5336
5336
|
"""Navigate the VR scene by grabbing with controllers
|
|
5337
5337
|
|
|
5338
5338
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5339
|
-
:type execution_context: str
|
|
5339
|
+
:type execution_context: typing.Union[str, int]
|
|
5340
5340
|
:type undo: bool
|
|
5341
5341
|
:param lock_location: Lock Location, Prevent changes to viewer location
|
|
5342
5342
|
:type lock_location: typing.Union[bool, typing.Any]
|
|
@@ -5354,7 +5354,7 @@ def xr_navigation_grab(
|
|
|
5354
5354
|
|
|
5355
5355
|
def xr_navigation_reset(
|
|
5356
5356
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
5357
|
-
execution_context: str = None,
|
|
5357
|
+
execution_context: typing.Union[str, int] = None,
|
|
5358
5358
|
undo: bool = None,
|
|
5359
5359
|
location: typing.Union[bool, typing.Any] = True,
|
|
5360
5360
|
rotation: typing.Union[bool, typing.Any] = True,
|
|
@@ -5363,7 +5363,7 @@ def xr_navigation_reset(
|
|
|
5363
5363
|
"""Reset VR navigation deltas relative to session base pose
|
|
5364
5364
|
|
|
5365
5365
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5366
|
-
:type execution_context: str
|
|
5366
|
+
:type execution_context: typing.Union[str, int]
|
|
5367
5367
|
:type undo: bool
|
|
5368
5368
|
:param location: Location, Reset location deltas
|
|
5369
5369
|
:type location: typing.Union[bool, typing.Any]
|
|
@@ -5377,7 +5377,7 @@ def xr_navigation_reset(
|
|
|
5377
5377
|
|
|
5378
5378
|
def xr_navigation_teleport(
|
|
5379
5379
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
5380
|
-
execution_context: str = None,
|
|
5380
|
+
execution_context: typing.Union[str, int] = None,
|
|
5381
5381
|
undo: bool = None,
|
|
5382
5382
|
teleport_axes: typing.Union[typing.List[bool], typing.Any] = (True, True, True),
|
|
5383
5383
|
interpolation: typing.Any = 1.0,
|
|
@@ -5391,7 +5391,7 @@ def xr_navigation_teleport(
|
|
|
5391
5391
|
"""Set VR viewer location to controller raycast hit location
|
|
5392
5392
|
|
|
5393
5393
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5394
|
-
:type execution_context: str
|
|
5394
|
+
:type execution_context: typing.Union[str, int]
|
|
5395
5395
|
:type undo: bool
|
|
5396
5396
|
:param teleport_axes: Teleport Axes, Enabled teleport axes in navigation space
|
|
5397
5397
|
:type teleport_axes: typing.Union[typing.List[bool], typing.Any]
|
|
@@ -5415,13 +5415,13 @@ def xr_navigation_teleport(
|
|
|
5415
5415
|
|
|
5416
5416
|
def xr_session_toggle(
|
|
5417
5417
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
5418
|
-
execution_context: str = None,
|
|
5418
|
+
execution_context: typing.Union[str, int] = None,
|
|
5419
5419
|
undo: bool = None,
|
|
5420
5420
|
):
|
|
5421
5421
|
"""Open a view for use with virtual reality headsets, or close it if already opened
|
|
5422
5422
|
|
|
5423
5423
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
5424
|
-
:type execution_context: str
|
|
5424
|
+
:type execution_context: typing.Union[str, int]
|
|
5425
5425
|
:type undo: bool
|
|
5426
5426
|
"""
|
|
5427
5427
|
|