fake-bpy-module 20250630__py3-none-any.whl → 20250828__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.
- _bpy_internal/__init__.pyi +1 -0
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/extensions/wheel_manager/__init__.pyi +1 -1
- _bpy_internal/grease_pencil/stroke/__init__.pyi +2 -2
- _bpy_types/__init__.pyi +1594 -0
- aud/__init__.pyi +84 -31
- bl_i18n_utils/settings/__init__.pyi +1 -1
- bl_i18n_utils/utils/__init__.pyi +4 -4
- bl_math/__init__.pyi +1 -1
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/anim/__init__.pyi +15 -14
- bl_operators/assets/__init__.pyi +4 -3
- bl_operators/bone_selection_sets/__init__.pyi +15 -14
- bl_operators/clip/__init__.pyi +12 -11
- bl_operators/connect_to_output/__init__.pyi +2 -1
- bl_operators/console/__init__.pyi +6 -5
- bl_operators/constraint/__init__.pyi +6 -5
- bl_operators/file/__init__.pyi +6 -5
- bl_operators/freestyle/__init__.pyi +5 -4
- bl_operators/geometry_nodes/__init__.pyi +5 -4
- bl_operators/grease_pencil/__init__.pyi +2 -1
- bl_operators/image/__init__.pyi +6 -5
- bl_operators/image_as_planes/__init__.pyi +3 -2
- bl_operators/mesh/__init__.pyi +4 -3
- bl_operators/node/__init__.pyi +18 -17
- bl_operators/object/__init__.pyi +17 -16
- bl_operators/object_align/__init__.pyi +2 -1
- bl_operators/object_quick_effects/__init__.pyi +5 -4
- bl_operators/object_randomize_transform/__init__.pyi +2 -1
- bl_operators/presets/__init__.pyi +26 -25
- bl_operators/rigidbody/__init__.pyi +4 -3
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -1
- bl_operators/sequencer/__init__.pyi +12 -11
- bl_operators/spreadsheet/__init__.pyi +2 -1
- bl_operators/userpref/__init__.pyi +26 -25
- bl_operators/uvcalc_follow_active/__init__.pyi +2 -1
- bl_operators/uvcalc_lightmap/__init__.pyi +3 -2
- bl_operators/uvcalc_transform/__init__.pyi +5 -4
- bl_operators/vertexpaint_dirt/__init__.pyi +2 -1
- bl_operators/view3d/__init__.pyi +9 -8
- bl_operators/wm/__init__.pyi +48 -47
- bl_operators/world/__init__.pyi +3 -2
- bl_ui/__init__.pyi +4 -3
- bl_ui/anim/__init__.pyi +2 -1
- bl_ui/asset_shelf/__init__.pyi +2 -1
- bl_ui/generic_ui_list/__init__.pyi +6 -5
- bl_ui/node_add_menu/__init__.pyi +3 -2
- bl_ui/node_add_menu_compositor/__init__.pyi +19 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +133 -54
- bl_ui/node_add_menu_shader/__init__.pyi +11 -10
- bl_ui/node_add_menu_texture/__init__.pyi +10 -9
- bl_ui/properties_collection/__init__.pyi +9 -8
- bl_ui/properties_constraint/__init__.pyi +78 -77
- bl_ui/properties_data_armature/__init__.pyi +22 -21
- bl_ui/properties_data_bone/__init__.pyi +12 -11
- bl_ui/properties_data_camera/__init__.pyi +18 -17
- bl_ui/properties_data_curve/__init__.pyi +18 -17
- bl_ui/properties_data_curves/__init__.pyi +11 -10
- bl_ui/properties_data_empty/__init__.pyi +3 -2
- bl_ui/properties_data_grease_pencil/__init__.pyi +23 -22
- bl_ui/properties_data_lattice/__init__.pyi +7 -6
- bl_ui/properties_data_light/__init__.pyi +13 -12
- bl_ui/properties_data_lightprobe/__init__.pyi +16 -15
- bl_ui/properties_data_mesh/__init__.pyi +48 -22
- bl_ui/properties_data_metaball/__init__.pyi +9 -8
- bl_ui/properties_data_modifier/__init__.pyi +10 -9
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -7
- bl_ui/properties_data_shaderfx/__init__.pyi +2 -1
- bl_ui/properties_data_speaker/__init__.pyi +9 -8
- bl_ui/properties_data_volume/__init__.pyi +12 -11
- bl_ui/properties_freestyle/__init__.pyi +27 -26
- bl_ui/properties_grease_pencil_common/__init__.pyi +11 -10
- bl_ui/properties_mask_common/__init__.pyi +8 -7
- bl_ui/properties_material/__init__.pyi +19 -18
- bl_ui/properties_material_gpencil/__init__.pyi +14 -13
- bl_ui/properties_object/__init__.pyi +24 -23
- bl_ui/properties_output/__init__.pyi +21 -20
- bl_ui/properties_paint_common/__init__.pyi +8 -4
- bl_ui/properties_particle/__init__.pyi +58 -55
- bl_ui/properties_physics_cloth/__init__.pyi +15 -14
- bl_ui/properties_physics_common/__init__.pyi +2 -1
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +23 -22
- bl_ui/properties_physics_field/__init__.pyi +11 -10
- bl_ui/properties_physics_fluid/__init__.pyi +29 -28
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +2 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +9 -8
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +14 -13
- bl_ui/properties_physics_softbody/__init__.pyi +16 -15
- bl_ui/properties_render/__init__.pyi +44 -74
- bl_ui/properties_scene/__init__.pyi +48 -18
- bl_ui/properties_texture/__init__.pyi +30 -29
- bl_ui/properties_view_layer/__init__.pyi +52 -14
- bl_ui/properties_workspace/__init__.pyi +6 -5
- bl_ui/properties_world/__init__.pyi +14 -13
- bl_ui/space_clip/__init__.pyi +76 -73
- bl_ui/space_console/__init__.pyi +7 -6
- bl_ui/space_dopesheet/__init__.pyi +32 -31
- bl_ui/space_filebrowser/__init__.pyi +33 -30
- bl_ui/space_graph/__init__.pyi +24 -23
- bl_ui/space_image/__init__.pyi +88 -72
- bl_ui/space_info/__init__.pyi +7 -6
- bl_ui/space_nla/__init__.pyi +22 -19
- bl_ui/space_node/__init__.pyi +66 -31
- bl_ui/space_outliner/__init__.pyi +16 -15
- bl_ui/space_properties/__init__.pyi +5 -4
- bl_ui/space_sequencer/__init__.pyi +131 -91
- bl_ui/space_spreadsheet/__init__.pyi +4 -3
- bl_ui/space_statusbar/__init__.pyi +2 -1
- bl_ui/space_text/__init__.pyi +17 -16
- bl_ui/space_time/__init__.pyi +7 -6
- bl_ui/space_toolsystem_common/__init__.pyi +2 -2
- bl_ui/space_toolsystem_toolbar/__init__.pyi +23 -5
- bl_ui/space_topbar/__init__.pyi +28 -27
- bl_ui/space_userpref/__init__.pyi +103 -92
- bl_ui/space_view3d/__init__.pyi +268 -266
- bl_ui/space_view3d_toolbar/__init__.pyi +106 -99
- blf/__init__.pyi +3 -5
- bmesh/__init__.pyi +2 -2
- bmesh/geometry/__init__.pyi +1 -1
- bmesh/ops/__init__.pyi +29 -14
- bmesh/types/__init__.pyi +41 -46
- bmesh/utils/__init__.pyi +1 -0
- bpy/__init__.pyi +1 -1
- bpy/app/__init__.pyi +34 -37
- bpy/app/handlers/__init__.pyi +19 -19
- bpy/app/timers/__init__.pyi +2 -1
- bpy/app/translations/__init__.pyi +8 -8
- bpy/msgbus/__init__.pyi +3 -2
- bpy/ops/action/__init__.pyi +58 -20
- bpy/ops/anim/__init__.pyi +115 -31
- bpy/ops/armature/__init__.pyi +59 -19
- bpy/ops/asset/__init__.pyi +35 -11
- bpy/ops/boid/__init__.pyi +21 -7
- bpy/ops/brush/__init__.pyi +10 -4
- bpy/ops/buttons/__init__.pyi +12 -4
- bpy/ops/cachefile/__init__.pyi +6 -2
- bpy/ops/clip/__init__.pyi +132 -46
- bpy/ops/collection/__init__.pyi +23 -4
- bpy/ops/console/__init__.pyi +30 -10
- bpy/ops/constraint/__init__.pyi +12 -6
- bpy/ops/curve/__init__.pyi +72 -24
- bpy/ops/curves/__init__.pyi +68 -20
- bpy/ops/cycles/__init__.pyi +4 -2
- bpy/ops/dpaint/__init__.pyi +11 -3
- bpy/ops/ed/__init__.pyi +34 -10
- bpy/ops/export_scene/__init__.pyi +15 -15
- bpy/ops/extensions/__init__.pyi +45 -15
- bpy/ops/file/__init__.pyi +81 -30
- bpy/ops/fluid/__init__.pyi +39 -13
- bpy/ops/font/__init__.pyi +30 -10
- bpy/ops/geometry/__init__.pyi +9 -3
- bpy/ops/gizmogroup/__init__.pyi +3 -1
- bpy/ops/gpencil/__init__.pyi +20 -8
- bpy/ops/graph/__init__.pyi +67 -29
- bpy/ops/grease_pencil/__init__.pyi +178 -49
- bpy/ops/image/__init__.pyi +68 -58
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +3 -0
- bpy/ops/import_scene/__init__.pyi +15 -2
- bpy/ops/info/__init__.pyi +12 -4
- bpy/ops/lattice/__init__.pyi +9 -3
- bpy/ops/marker/__init__.pyi +8 -2
- bpy/ops/mask/__init__.pyi +53 -19
- bpy/ops/material/__init__.pyi +15 -3
- bpy/ops/mball/__init__.pyi +3 -1
- bpy/ops/mesh/__init__.pyi +116 -45
- bpy/ops/nla/__init__.pyi +67 -25
- bpy/ops/node/__init__.pyi +285 -119
- bpy/ops/object/__init__.pyi +278 -116
- bpy/ops/outliner/__init__.pyi +145 -49
- bpy/ops/paint/__init__.pyi +65 -37
- bpy/ops/paintcurve/__init__.pyi +16 -4
- bpy/ops/palette/__init__.pyi +11 -3
- bpy/ops/particle/__init__.pyi +66 -24
- bpy/ops/pointcloud/__init__.pyi +9 -3
- bpy/ops/pose/__init__.pyi +80 -28
- bpy/ops/poselib/__init__.pyi +19 -7
- bpy/ops/preferences/__init__.pyi +29 -11
- bpy/ops/ptcache/__init__.pyi +17 -5
- bpy/ops/render/__init__.pyi +10 -4
- bpy/ops/rigidbody/__init__.pyi +19 -7
- bpy/ops/scene/__init__.pyi +93 -22
- bpy/ops/screen/__init__.pyi +58 -20
- bpy/ops/script/__init__.pyi +3 -1
- bpy/ops/sculpt/__init__.pyi +30 -14
- bpy/ops/sculpt_curves/__init__.pyi +4 -2
- bpy/ops/sequencer/__init__.pyi +262 -125
- bpy/ops/sound/__init__.pyi +13 -5
- bpy/ops/spreadsheet/__init__.pyi +15 -5
- bpy/ops/text/__init__.pyi +85 -25
- bpy/ops/texture/__init__.pyi +11 -3
- bpy/ops/transform/__init__.pyi +7 -3
- bpy/ops/ui/__init__.pyi +98 -53
- bpy/ops/uv/__init__.pyi +43 -17
- bpy/ops/view2d/__init__.pyi +13 -3
- bpy/ops/view3d/__init__.pyi +116 -38
- bpy/ops/wm/__init__.pyi +144 -86
- bpy/ops/workspace/__init__.pyi +31 -6
- bpy/ops/world/__init__.pyi +9 -3
- bpy/path/__init__.pyi +1 -1
- bpy/props/__init__.pyi +31 -31
- bpy/stub_internal/rna_enums/__init__.pyi +40 -25
- bpy/types/__init__.pyi +56561 -40144
- bpy/utils/__init__.pyi +8 -8
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +5 -3
- bpy_extras/anim_utils/__init__.pyi +1 -1
- bpy_extras/id_map_utils/__init__.pyi +1 -1
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +5 -5
- bpy_extras/keyconfig_utils/__init__.pyi +1 -1
- bpy_extras/node_shader_utils/__init__.pyi +1 -1
- bpy_extras/object_utils/__init__.pyi +1 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +1 -1
- {fake_bpy_module-20250630.dist-info → fake_bpy_module-20250828.dist-info}/METADATA +1 -1
- fake_bpy_module-20250828.dist-info/RECORD +370 -0
- {fake_bpy_module-20250630.dist-info → fake_bpy_module-20250828.dist-info}/top_level.txt +1 -1
- freestyle/chainingiterators/__init__.pyi +5 -5
- freestyle/predicates/__init__.pyi +2 -2
- freestyle/shaders/__init__.pyi +16 -17
- freestyle/types/__init__.pyi +25 -27
- freestyle/utils/__init__.pyi +5 -5
- gpu/platform/__init__.pyi +2 -2
- gpu/shader/__init__.pyi +3 -3
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +25 -14
- gpu_extras/batch/__init__.pyi +1 -1
- idprop/types/__init__.pyi +2 -2
- imbuf/__init__.pyi +1 -1
- imbuf/types/__init__.pyi +12 -6
- keyingsets_builtins/__init__.pyi +23 -22
- mathutils/__init__.pyi +157 -61
- mathutils/bvhtree/__init__.pyi +20 -6
- mathutils/geometry/__init__.pyi +54 -12
- mathutils/interpolate/__init__.pyi +4 -2
- mathutils/kdtree/__init__.pyi +1 -0
- mathutils/noise/__init__.pyi +61 -44
- rna_info/__init__.pyi +4 -1
- rna_prop_ui/__init__.pyi +1 -1
- bpy_types/__init__.pyi +0 -30
- fake_bpy_module-20250630.dist-info/RECORD +0 -367
- {bpy_types → _bpy_types}/py.typed +0 -0
- {fake_bpy_module-20250630.dist-info → fake_bpy_module-20250828.dist-info}/WHEEL +0 -0
bpy/ops/wm/__init__.pyi
CHANGED
|
@@ -145,7 +145,7 @@ def alembic_export(
|
|
|
145
145
|
:type selected: bool | None
|
|
146
146
|
:param visible_objects_only: Visible Objects Only, Export only objects that are visible
|
|
147
147
|
:type visible_objects_only: bool | None
|
|
148
|
-
:param flatten: Flatten Hierarchy, Do not preserve objects
|
|
148
|
+
:param flatten: Flatten Hierarchy, Do not preserve objects parent/children relationship
|
|
149
149
|
:type flatten: bool | None
|
|
150
150
|
:param collection: Collection
|
|
151
151
|
:type collection: str
|
|
@@ -161,7 +161,7 @@ def alembic_export(
|
|
|
161
161
|
:type orcos: bool | None
|
|
162
162
|
:param face_sets: Face Sets, Export per face shading group assignments
|
|
163
163
|
:type face_sets: bool | None
|
|
164
|
-
:param subdiv_schema: Use Subdivision Schema, Export meshes using
|
|
164
|
+
:param subdiv_schema: Use Subdivision Schema, Export meshes using Alembics subdivision schema
|
|
165
165
|
:type subdiv_schema: bool | None
|
|
166
166
|
:param apply_subdiv: Apply Subdivision Surface, Export subdivision surfaces as meshes
|
|
167
167
|
:type apply_subdiv: bool | None
|
|
@@ -169,7 +169,7 @@ def alembic_export(
|
|
|
169
169
|
:type curves_as_mesh: bool | None
|
|
170
170
|
:param use_instancing: Use Instancing, Export data of duplicated objects as Alembic instances; speeds up the export and can be disabled for compatibility with other software
|
|
171
171
|
:type use_instancing: bool | None
|
|
172
|
-
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the
|
|
172
|
+
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the worlds origin
|
|
173
173
|
:type global_scale: float | None
|
|
174
174
|
:param triangulate: Triangulate, Export polygons (quads and n-gons) as triangles
|
|
175
175
|
:type triangulate: bool | None
|
|
@@ -302,9 +302,9 @@ def alembic_import(
|
|
|
302
302
|
:param sort_method: File sorting mode
|
|
303
303
|
:type sort_method: str | None
|
|
304
304
|
:type filter_glob: str
|
|
305
|
-
:param scale: Scale, Value by which to enlarge or shrink the objects with respect to the
|
|
305
|
+
:param scale: Scale, Value by which to enlarge or shrink the objects with respect to the worlds origin
|
|
306
306
|
:type scale: float | None
|
|
307
|
-
:param set_frame_range: Set Frame Range, If checked, update
|
|
307
|
+
:param set_frame_range: Set Frame Range, If checked, update scenes start and end frame to match those of the Alembic archive
|
|
308
308
|
:type set_frame_range: bool | None
|
|
309
309
|
:param validate_meshes: Validate Meshes, Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing)
|
|
310
310
|
:type validate_meshes: bool | None
|
|
@@ -427,7 +427,7 @@ def append(
|
|
|
427
427
|
:type link: bool | None
|
|
428
428
|
:param do_reuse_local_id: Re-Use Local Data, Try to re-use previously matching appended data-blocks instead of appending a new copy
|
|
429
429
|
:type do_reuse_local_id: bool | None
|
|
430
|
-
:param clear_asset_data: Clear Asset Data,
|
|
430
|
+
:param clear_asset_data: Clear Asset Data, Dont add asset meta-data or tags from the original data-block
|
|
431
431
|
:type clear_asset_data: bool | None
|
|
432
432
|
:param autoselect: Select, Select new objects
|
|
433
433
|
:type autoselect: bool | None
|
|
@@ -456,7 +456,7 @@ def batch_rename(
|
|
|
456
456
|
"CURVE",
|
|
457
457
|
"META",
|
|
458
458
|
"VOLUME",
|
|
459
|
-
"
|
|
459
|
+
"GREASEPENCIL",
|
|
460
460
|
"ARMATURE",
|
|
461
461
|
"LATTICE",
|
|
462
462
|
"LIGHT",
|
|
@@ -480,7 +480,7 @@ def batch_rename(
|
|
|
480
480
|
:type execution_context: int | str | None
|
|
481
481
|
:type undo: bool | None
|
|
482
482
|
:param data_type: Type, Type of data to rename
|
|
483
|
-
:type data_type: typing.Literal['OBJECT','COLLECTION','MATERIAL','MESH','CURVE','META','VOLUME','
|
|
483
|
+
:type data_type: typing.Literal['OBJECT','COLLECTION','MATERIAL','MESH','CURVE','META','VOLUME','GREASEPENCIL','ARMATURE','LATTICE','LIGHT','LIGHT_PROBE','CAMERA','SPEAKER','BONE','NODE','SEQUENCE_STRIP','ACTION_CLIP','SCENE','BRUSH'] | None
|
|
484
484
|
:param data_source: Source
|
|
485
485
|
:type data_source: typing.Literal['SELECT','ALL'] | None
|
|
486
486
|
:param actions: actions
|
|
@@ -488,7 +488,9 @@ def batch_rename(
|
|
|
488
488
|
"""
|
|
489
489
|
|
|
490
490
|
def blend_strings_utf8_validate(
|
|
491
|
-
execution_context: int | str | None = None,
|
|
491
|
+
execution_context: int | str | None = None,
|
|
492
|
+
undo: bool | None = None,
|
|
493
|
+
/,
|
|
492
494
|
) -> None:
|
|
493
495
|
"""Check and fix all strings in current .blend file to be valid UTF-8 Unicode (needed for some old, 2.4x area files)
|
|
494
496
|
|
|
@@ -575,7 +577,9 @@ def clear_recent_files(
|
|
|
575
577
|
"""
|
|
576
578
|
|
|
577
579
|
def collection_export_all(
|
|
578
|
-
execution_context: int | str | None = None,
|
|
580
|
+
execution_context: int | str | None = None,
|
|
581
|
+
undo: bool | None = None,
|
|
582
|
+
/,
|
|
579
583
|
) -> None:
|
|
580
584
|
"""Invoke all configured exporters for all collections
|
|
581
585
|
|
|
@@ -759,7 +763,7 @@ def context_scale_int(
|
|
|
759
763
|
:type data_path: str
|
|
760
764
|
:param value: Value, Assign value
|
|
761
765
|
:type value: float | None
|
|
762
|
-
:param always_step: Always Step, Always adjust the value by a minimum of 1 when
|
|
766
|
+
:param always_step: Always Step, Always adjust the value by a minimum of 1 when value is not 1.0
|
|
763
767
|
:type always_step: bool | None
|
|
764
768
|
"""
|
|
765
769
|
|
|
@@ -980,7 +984,9 @@ def doc_view_manual(
|
|
|
980
984
|
"""
|
|
981
985
|
|
|
982
986
|
def doc_view_manual_ui_context(
|
|
983
|
-
execution_context: int | str | None = None,
|
|
987
|
+
execution_context: int | str | None = None,
|
|
988
|
+
undo: bool | None = None,
|
|
989
|
+
/,
|
|
984
990
|
) -> None:
|
|
985
991
|
"""View a context based online manual in a web browser
|
|
986
992
|
|
|
@@ -1055,6 +1061,8 @@ def fbx_import(
|
|
|
1055
1061
|
| None = "DEFAULT",
|
|
1056
1062
|
sort_method: str | None = "",
|
|
1057
1063
|
global_scale: float | None = 1.0,
|
|
1064
|
+
mtl_name_collision_mode: typing.Literal["MAKE_UNIQUE", "REFERENCE_EXISTING"]
|
|
1065
|
+
| None = "MAKE_UNIQUE",
|
|
1058
1066
|
import_colors: typing.Literal["NONE", "SRGB", "LINEAR"] | None = "SRGB",
|
|
1059
1067
|
use_custom_normals: bool | None = True,
|
|
1060
1068
|
use_custom_props: bool | None = True,
|
|
@@ -1130,6 +1138,14 @@ def fbx_import(
|
|
|
1130
1138
|
:type sort_method: str | None
|
|
1131
1139
|
:param global_scale: Scale
|
|
1132
1140
|
:type global_scale: float | None
|
|
1141
|
+
:param mtl_name_collision_mode: Material Name Collision, Behavior when the name of an imported material conflicts with an existing material
|
|
1142
|
+
|
|
1143
|
+
MAKE_UNIQUE
|
|
1144
|
+
Make Unique -- Import each FBX material as a unique Blender material.
|
|
1145
|
+
|
|
1146
|
+
REFERENCE_EXISTING
|
|
1147
|
+
Reference Existing -- If a material with the same name already exists, reference that instead of importing.
|
|
1148
|
+
:type mtl_name_collision_mode: typing.Literal['MAKE_UNIQUE','REFERENCE_EXISTING'] | None
|
|
1133
1149
|
:param import_colors: Vertex Colors, Import vertex color attributes
|
|
1134
1150
|
|
|
1135
1151
|
NONE
|
|
@@ -1517,7 +1533,7 @@ def grease_pencil_import_svg(
|
|
|
1517
1533
|
:type resolution: int | None
|
|
1518
1534
|
:param scale: Scale, Scale of the final strokes
|
|
1519
1535
|
:type scale: float | None
|
|
1520
|
-
:param use_scene_unit: Scene Unit, Apply current
|
|
1536
|
+
:param use_scene_unit: Scene Unit, Apply current scenes unit (as defined by unit scale) to imported data
|
|
1521
1537
|
:type use_scene_unit: bool | None
|
|
1522
1538
|
"""
|
|
1523
1539
|
|
|
@@ -1632,7 +1648,7 @@ def id_linked_relocate(
|
|
|
1632
1648
|
:type link: bool | None
|
|
1633
1649
|
:param do_reuse_local_id: Re-Use Local Data, Try to re-use previously matching appended data-blocks instead of appending a new copy
|
|
1634
1650
|
:type do_reuse_local_id: bool | None
|
|
1635
|
-
:param clear_asset_data: Clear Asset Data,
|
|
1651
|
+
:param clear_asset_data: Clear Asset Data, Dont add asset meta-data or tags from the original data-block
|
|
1636
1652
|
:type clear_asset_data: bool | None
|
|
1637
1653
|
:param autoselect: Select, Select new objects
|
|
1638
1654
|
:type autoselect: bool | None
|
|
@@ -2075,7 +2091,7 @@ def link(
|
|
|
2075
2091
|
:type link: bool | None
|
|
2076
2092
|
:param do_reuse_local_id: Re-Use Local Data, Try to re-use previously matching appended data-blocks instead of appending a new copy
|
|
2077
2093
|
:type do_reuse_local_id: bool | None
|
|
2078
|
-
:param clear_asset_data: Clear Asset Data,
|
|
2094
|
+
:param clear_asset_data: Clear Asset Data, Dont add asset meta-data or tags from the original data-block
|
|
2079
2095
|
:type clear_asset_data: bool | None
|
|
2080
2096
|
:param autoselect: Select, Select new objects
|
|
2081
2097
|
:type autoselect: bool | None
|
|
@@ -2088,7 +2104,9 @@ def link(
|
|
|
2088
2104
|
"""
|
|
2089
2105
|
|
|
2090
2106
|
def memory_statistics(
|
|
2091
|
-
execution_context: int | str | None = None,
|
|
2107
|
+
execution_context: int | str | None = None,
|
|
2108
|
+
undo: bool | None = None,
|
|
2109
|
+
/,
|
|
2092
2110
|
) -> None:
|
|
2093
2111
|
"""Print memory statistics to the console
|
|
2094
2112
|
|
|
@@ -2136,6 +2154,7 @@ def obj_export(
|
|
|
2136
2154
|
| None = "Y",
|
|
2137
2155
|
global_scale: float | None = 1.0,
|
|
2138
2156
|
apply_modifiers: bool | None = True,
|
|
2157
|
+
apply_transform: bool | None = True,
|
|
2139
2158
|
export_eval_mode: typing.Literal["DAG_EVAL_RENDER", "DAG_EVAL_VIEWPORT"]
|
|
2140
2159
|
| None = "DAG_EVAL_VIEWPORT",
|
|
2141
2160
|
export_selected_objects: bool | None = False,
|
|
@@ -2260,10 +2279,12 @@ def obj_export(
|
|
|
2260
2279
|
NEGATIVE_Z
|
|
2261
2280
|
-Z -- Negative Z axis.
|
|
2262
2281
|
:type up_axis: typing.Literal['X','Y','Z','NEGATIVE_X','NEGATIVE_Y','NEGATIVE_Z'] | None
|
|
2263
|
-
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the
|
|
2282
|
+
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the worlds origin
|
|
2264
2283
|
:type global_scale: float | None
|
|
2265
2284
|
:param apply_modifiers: Apply Modifiers, Apply modifiers to exported meshes
|
|
2266
2285
|
:type apply_modifiers: bool | None
|
|
2286
|
+
:param apply_transform: Apply Transform, Apply object transforms to exported vertices
|
|
2287
|
+
:type apply_transform: bool | None
|
|
2267
2288
|
:param export_eval_mode: Object Properties, Determines properties like object visibility, modifiers etc., where they differ for Render and Viewport
|
|
2268
2289
|
|
|
2269
2290
|
DAG_EVAL_RENDER
|
|
@@ -2308,7 +2329,7 @@ def obj_export(
|
|
|
2308
2329
|
:type export_triangulated_mesh: bool | None
|
|
2309
2330
|
:param export_curves_as_nurbs: Export Curves as NURBS, Export curves in parametric form instead of exporting as mesh
|
|
2310
2331
|
:type export_curves_as_nurbs: bool | None
|
|
2311
|
-
:param export_object_groups: Export Object Groups, Append mesh name to object name, separated by a
|
|
2332
|
+
:param export_object_groups: Export Object Groups, Append mesh name to object name, separated by a _
|
|
2312
2333
|
:type export_object_groups: bool | None
|
|
2313
2334
|
:param export_material_groups: Export Material Groups, Generate an OBJ group for each part of a geometry using a different material
|
|
2314
2335
|
:type export_material_groups: bool | None
|
|
@@ -2316,7 +2337,7 @@ def obj_export(
|
|
|
2316
2337
|
:type export_vertex_groups: bool | None
|
|
2317
2338
|
:param export_smooth_groups: Export Smooth Groups, Generate smooth groups identifiers for each group of smooth faces, as unique integer values by default
|
|
2318
2339
|
:type export_smooth_groups: bool | None
|
|
2319
|
-
:param smooth_group_bitflags: Bitflags Smooth Groups, If exporting smoothgroups, generate
|
|
2340
|
+
:param smooth_group_bitflags: Bitflags Smooth Groups, If exporting smoothgroups, generate bitflags values for the groups, instead of unique integer values. The same bitflag value can be re-used for different groups of smooth faces, as long as they have no common sharp edges or vertices
|
|
2320
2341
|
:type smooth_group_bitflags: bool | None
|
|
2321
2342
|
:param filter_glob: Extension Filter
|
|
2322
2343
|
:type filter_glob: str
|
|
@@ -2436,7 +2457,7 @@ def obj_import(
|
|
|
2436
2457
|
:type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
|
|
2437
2458
|
:param sort_method: File sorting mode
|
|
2438
2459
|
:type sort_method: str | None
|
|
2439
|
-
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the
|
|
2460
|
+
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the worlds origin
|
|
2440
2461
|
:type global_scale: float | None
|
|
2441
2462
|
:param clamp_size: Clamp Bounding Box, Resize the objects to keep bounding box under this value. Value 0 disables clamping
|
|
2442
2463
|
:type clamp_size: float | None
|
|
@@ -2480,9 +2501,9 @@ def obj_import(
|
|
|
2480
2501
|
NEGATIVE_Z
|
|
2481
2502
|
-Z -- Negative Z axis.
|
|
2482
2503
|
:type up_axis: typing.Literal['X','Y','Z','NEGATIVE_X','NEGATIVE_Y','NEGATIVE_Z'] | None
|
|
2483
|
-
:param use_split_objects: Split By Object, Import each OBJ
|
|
2504
|
+
:param use_split_objects: Split By Object, Import each OBJ o as a separate object
|
|
2484
2505
|
:type use_split_objects: bool | None
|
|
2485
|
-
:param use_split_groups: Split By Group, Import each OBJ
|
|
2506
|
+
:param use_split_groups: Split By Group, Import each OBJ g as a separate object
|
|
2486
2507
|
:type use_split_groups: bool | None
|
|
2487
2508
|
:param import_vertex_groups: Vertex Groups, Import OBJ groups as vertex groups
|
|
2488
2509
|
:type import_vertex_groups: bool | None
|
|
@@ -2610,7 +2631,9 @@ def open_mainfile(
|
|
|
2610
2631
|
"""
|
|
2611
2632
|
|
|
2612
2633
|
def operator_cheat_sheet(
|
|
2613
|
-
execution_context: int | str | None = None,
|
|
2634
|
+
execution_context: int | str | None = None,
|
|
2635
|
+
undo: bool | None = None,
|
|
2636
|
+
/,
|
|
2614
2637
|
) -> None:
|
|
2615
2638
|
"""List all the operators in a text-block, useful for scripting
|
|
2616
2639
|
|
|
@@ -2619,7 +2642,9 @@ def operator_cheat_sheet(
|
|
|
2619
2642
|
"""
|
|
2620
2643
|
|
|
2621
2644
|
def operator_defaults(
|
|
2622
|
-
execution_context: int | str | None = None,
|
|
2645
|
+
execution_context: int | str | None = None,
|
|
2646
|
+
undo: bool | None = None,
|
|
2647
|
+
/,
|
|
2623
2648
|
) -> None:
|
|
2624
2649
|
"""Set the active operator to its default values
|
|
2625
2650
|
|
|
@@ -2878,7 +2903,7 @@ def ply_export(
|
|
|
2878
2903
|
NEGATIVE_Z
|
|
2879
2904
|
-Z -- Negative Z axis.
|
|
2880
2905
|
:type up_axis: typing.Literal['X','Y','Z','NEGATIVE_X','NEGATIVE_Y','NEGATIVE_Z'] | None
|
|
2881
|
-
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the
|
|
2906
|
+
:param global_scale: Scale, Value by which to enlarge or shrink the objects with respect to the worlds origin
|
|
2882
2907
|
:type global_scale: float | None
|
|
2883
2908
|
:param apply_modifiers: Apply Modifiers, Apply modifiers to exported meshes
|
|
2884
2909
|
:type apply_modifiers: bool | None
|
|
@@ -3020,7 +3045,7 @@ def ply_import(
|
|
|
3020
3045
|
:type sort_method: str | None
|
|
3021
3046
|
:param global_scale: Scale
|
|
3022
3047
|
:type global_scale: float | None
|
|
3023
|
-
:param use_scene_unit: Scene Unit, Apply current
|
|
3048
|
+
:param use_scene_unit: Scene Unit, Apply current scenes unit (as defined by unit scale) to imported data
|
|
3024
3049
|
:type use_scene_unit: bool | None
|
|
3025
3050
|
:param forward_axis: Forward Axis
|
|
3026
3051
|
|
|
@@ -3098,7 +3123,7 @@ def previews_batch_clear(
|
|
|
3098
3123
|
use_trusted: bool | None = False,
|
|
3099
3124
|
use_backups: bool | None = True,
|
|
3100
3125
|
) -> None:
|
|
3101
|
-
"""Clear selected .blend
|
|
3126
|
+
"""Clear selected .blend files previews
|
|
3102
3127
|
|
|
3103
3128
|
:type execution_context: int | str | None
|
|
3104
3129
|
:type undo: bool | None
|
|
@@ -3110,13 +3135,13 @@ def previews_batch_clear(
|
|
|
3110
3135
|
:type filter_blender: bool | None
|
|
3111
3136
|
:param filter_folder: filter_folder
|
|
3112
3137
|
:type filter_folder: bool | None
|
|
3113
|
-
:param use_scenes: Scenes, Clear scenes
|
|
3138
|
+
:param use_scenes: Scenes, Clear scenes previews
|
|
3114
3139
|
:type use_scenes: bool | None
|
|
3115
|
-
:param use_collections: Collections, Clear collections
|
|
3140
|
+
:param use_collections: Collections, Clear collections previews
|
|
3116
3141
|
:type use_collections: bool | None
|
|
3117
|
-
:param use_objects: Objects, Clear objects
|
|
3142
|
+
:param use_objects: Objects, Clear objects previews
|
|
3118
3143
|
:type use_objects: bool | None
|
|
3119
|
-
:param use_intern_data: Materials & Textures, Clear
|
|
3144
|
+
:param use_intern_data: Materials & Textures, Clear internal previews (materials, textures, images, etc.)
|
|
3120
3145
|
:type use_intern_data: bool | None
|
|
3121
3146
|
:param use_trusted: Trusted Blend Files, Enable Python evaluation for selected files
|
|
3122
3147
|
:type use_trusted: bool | None
|
|
@@ -3141,7 +3166,7 @@ def previews_batch_generate(
|
|
|
3141
3166
|
use_trusted: bool | None = False,
|
|
3142
3167
|
use_backups: bool | None = True,
|
|
3143
3168
|
) -> None:
|
|
3144
|
-
"""Generate selected .blend
|
|
3169
|
+
"""Generate selected .blend files previews
|
|
3145
3170
|
|
|
3146
3171
|
:type execution_context: int | str | None
|
|
3147
3172
|
:type undo: bool | None
|
|
@@ -3153,13 +3178,13 @@ def previews_batch_generate(
|
|
|
3153
3178
|
:type filter_blender: bool | None
|
|
3154
3179
|
:param filter_folder: Show folders in the File Browser
|
|
3155
3180
|
:type filter_folder: bool | None
|
|
3156
|
-
:param use_scenes: Scenes, Generate scenes
|
|
3181
|
+
:param use_scenes: Scenes, Generate scenes previews
|
|
3157
3182
|
:type use_scenes: bool | None
|
|
3158
|
-
:param use_collections: Collections, Generate collections
|
|
3183
|
+
:param use_collections: Collections, Generate collections previews
|
|
3159
3184
|
:type use_collections: bool | None
|
|
3160
|
-
:param use_objects: Objects, Generate objects
|
|
3185
|
+
:param use_objects: Objects, Generate objects previews
|
|
3161
3186
|
:type use_objects: bool | None
|
|
3162
|
-
:param use_intern_data: Materials & Textures, Generate
|
|
3187
|
+
:param use_intern_data: Materials & Textures, Generate internal previews (materials, textures, images, etc.)
|
|
3163
3188
|
:type use_intern_data: bool | None
|
|
3164
3189
|
:param use_trusted: Trusted Blend Files, Enable Python evaluation for selected files
|
|
3165
3190
|
:type use_trusted: bool | None
|
|
@@ -3231,7 +3256,9 @@ def previews_clear(
|
|
|
3231
3256
|
"""
|
|
3232
3257
|
|
|
3233
3258
|
def previews_ensure(
|
|
3234
|
-
execution_context: int | str | None = None,
|
|
3259
|
+
execution_context: int | str | None = None,
|
|
3260
|
+
undo: bool | None = None,
|
|
3261
|
+
/,
|
|
3235
3262
|
) -> None:
|
|
3236
3263
|
"""Ensure data-block previews are available and up-to-date (to be saved in .blend file, only for some types like materials, textures, etc.)
|
|
3237
3264
|
|
|
@@ -3451,7 +3478,7 @@ def properties_edit(
|
|
|
3451
3478
|
| None = "OBJECT",
|
|
3452
3479
|
eval_string: str = "",
|
|
3453
3480
|
) -> None:
|
|
3454
|
-
"""Change a custom
|
|
3481
|
+
"""Change a custom propertys type, or adjust how it is displayed in the interface
|
|
3455
3482
|
|
|
3456
3483
|
:type execution_context: int | str | None
|
|
3457
3484
|
:type undo: bool | None
|
|
@@ -3574,7 +3601,9 @@ def properties_remove(
|
|
|
3574
3601
|
"""
|
|
3575
3602
|
|
|
3576
3603
|
def quit_blender(
|
|
3577
|
-
execution_context: int | str | None = None,
|
|
3604
|
+
execution_context: int | str | None = None,
|
|
3605
|
+
undo: bool | None = None,
|
|
3606
|
+
/,
|
|
3578
3607
|
) -> None:
|
|
3579
3608
|
"""Quit Blender
|
|
3580
3609
|
|
|
@@ -3666,7 +3695,9 @@ def read_factory_userpref(
|
|
|
3666
3695
|
"""
|
|
3667
3696
|
|
|
3668
3697
|
def read_history(
|
|
3669
|
-
execution_context: int | str | None = None,
|
|
3698
|
+
execution_context: int | str | None = None,
|
|
3699
|
+
undo: bool | None = None,
|
|
3700
|
+
/,
|
|
3670
3701
|
) -> None:
|
|
3671
3702
|
"""Reloads history and bookmarks
|
|
3672
3703
|
|
|
@@ -3697,7 +3728,7 @@ def read_homefile(
|
|
|
3697
3728
|
:type load_ui: bool | None
|
|
3698
3729
|
:param use_splash: Splash
|
|
3699
3730
|
:type use_splash: bool | None
|
|
3700
|
-
:param use_factory_startup: Factory Startup, Load the default (
|
|
3731
|
+
:param use_factory_startup: Factory Startup, Load the default (factory startup) blend file. This is independent of the normal start-up file that the user can save
|
|
3701
3732
|
:type use_factory_startup: bool | None
|
|
3702
3733
|
:param use_factory_startup_app_template_only: Factory Startup App-Template Only
|
|
3703
3734
|
:type use_factory_startup_app_template_only: bool | None
|
|
@@ -3707,7 +3738,9 @@ def read_homefile(
|
|
|
3707
3738
|
"""
|
|
3708
3739
|
|
|
3709
3740
|
def read_userpref(
|
|
3710
|
-
execution_context: int | str | None = None,
|
|
3741
|
+
execution_context: int | str | None = None,
|
|
3742
|
+
undo: bool | None = None,
|
|
3743
|
+
/,
|
|
3711
3744
|
) -> None:
|
|
3712
3745
|
"""Load last saved preferences
|
|
3713
3746
|
|
|
@@ -3995,7 +4028,9 @@ def save_as_mainfile(
|
|
|
3995
4028
|
"""
|
|
3996
4029
|
|
|
3997
4030
|
def save_homefile(
|
|
3998
|
-
execution_context: int | str | None = None,
|
|
4031
|
+
execution_context: int | str | None = None,
|
|
4032
|
+
undo: bool | None = None,
|
|
4033
|
+
/,
|
|
3999
4034
|
) -> None:
|
|
4000
4035
|
"""Make the current file the default startup file
|
|
4001
4036
|
|
|
@@ -4109,7 +4144,9 @@ def save_mainfile(
|
|
|
4109
4144
|
"""
|
|
4110
4145
|
|
|
4111
4146
|
def save_userpref(
|
|
4112
|
-
execution_context: int | str | None = None,
|
|
4147
|
+
execution_context: int | str | None = None,
|
|
4148
|
+
undo: bool | None = None,
|
|
4149
|
+
/,
|
|
4113
4150
|
) -> None:
|
|
4114
4151
|
"""Make the current preferences default
|
|
4115
4152
|
|
|
@@ -4118,7 +4155,9 @@ def save_userpref(
|
|
|
4118
4155
|
"""
|
|
4119
4156
|
|
|
4120
4157
|
def search_menu(
|
|
4121
|
-
execution_context: int | str | None = None,
|
|
4158
|
+
execution_context: int | str | None = None,
|
|
4159
|
+
undo: bool | None = None,
|
|
4160
|
+
/,
|
|
4122
4161
|
) -> None:
|
|
4123
4162
|
"""Pop-up a search over all menus in the current context
|
|
4124
4163
|
|
|
@@ -4127,7 +4166,9 @@ def search_menu(
|
|
|
4127
4166
|
"""
|
|
4128
4167
|
|
|
4129
4168
|
def search_operator(
|
|
4130
|
-
execution_context: int | str | None = None,
|
|
4169
|
+
execution_context: int | str | None = None,
|
|
4170
|
+
undo: bool | None = None,
|
|
4171
|
+
/,
|
|
4131
4172
|
) -> None:
|
|
4132
4173
|
"""Pop-up a search over all available operators in current context
|
|
4133
4174
|
|
|
@@ -4183,7 +4224,9 @@ def set_stereo_3d(
|
|
|
4183
4224
|
"""
|
|
4184
4225
|
|
|
4185
4226
|
def splash(
|
|
4186
|
-
execution_context: int | str | None = None,
|
|
4227
|
+
execution_context: int | str | None = None,
|
|
4228
|
+
undo: bool | None = None,
|
|
4229
|
+
/,
|
|
4187
4230
|
) -> None:
|
|
4188
4231
|
"""Open the splash screen with release info
|
|
4189
4232
|
|
|
@@ -4192,7 +4235,9 @@ def splash(
|
|
|
4192
4235
|
"""
|
|
4193
4236
|
|
|
4194
4237
|
def splash_about(
|
|
4195
|
-
execution_context: int | str | None = None,
|
|
4238
|
+
execution_context: int | str | None = None,
|
|
4239
|
+
undo: bool | None = None,
|
|
4240
|
+
/,
|
|
4196
4241
|
) -> None:
|
|
4197
4242
|
"""Open a window with information about Blender
|
|
4198
4243
|
|
|
@@ -4312,7 +4357,7 @@ def stl_export(
|
|
|
4312
4357
|
:type collection: str
|
|
4313
4358
|
:param global_scale: Scale
|
|
4314
4359
|
:type global_scale: float | None
|
|
4315
|
-
:param use_scene_unit: Scene Unit, Apply current
|
|
4360
|
+
:param use_scene_unit: Scene Unit, Apply current scenes unit (as defined by unit scale) to exported data
|
|
4316
4361
|
:type use_scene_unit: bool | None
|
|
4317
4362
|
:param forward_axis: Forward Axis
|
|
4318
4363
|
|
|
@@ -4468,7 +4513,7 @@ def stl_import(
|
|
|
4468
4513
|
:type sort_method: str | None
|
|
4469
4514
|
:param global_scale: Scale
|
|
4470
4515
|
:type global_scale: float | None
|
|
4471
|
-
:param use_scene_unit: Scene Unit, Apply current
|
|
4516
|
+
:param use_scene_unit: Scene Unit, Apply current scenes unit (as defined by unit scale) to imported data
|
|
4472
4517
|
:type use_scene_unit: bool | None
|
|
4473
4518
|
:param use_facet_normal: Facet Normals, Use (import) facet normals (note that this will still give flat shading)
|
|
4474
4519
|
:type use_facet_normal: bool | None
|
|
@@ -4666,7 +4711,9 @@ def tool_set_by_index(
|
|
|
4666
4711
|
"""
|
|
4667
4712
|
|
|
4668
4713
|
def toolbar(
|
|
4669
|
-
execution_context: int | str | None = None,
|
|
4714
|
+
execution_context: int | str | None = None,
|
|
4715
|
+
undo: bool | None = None,
|
|
4716
|
+
/,
|
|
4670
4717
|
) -> None:
|
|
4671
4718
|
"""Undocumented, consider contributing.
|
|
4672
4719
|
|
|
@@ -4675,7 +4722,9 @@ def toolbar(
|
|
|
4675
4722
|
"""
|
|
4676
4723
|
|
|
4677
4724
|
def toolbar_fallback_pie(
|
|
4678
|
-
execution_context: int | str | None = None,
|
|
4725
|
+
execution_context: int | str | None = None,
|
|
4726
|
+
undo: bool | None = None,
|
|
4727
|
+
/,
|
|
4679
4728
|
) -> None:
|
|
4680
4729
|
"""Undocumented, consider contributing.
|
|
4681
4730
|
|
|
@@ -4684,7 +4733,9 @@ def toolbar_fallback_pie(
|
|
|
4684
4733
|
"""
|
|
4685
4734
|
|
|
4686
4735
|
def toolbar_prompt(
|
|
4687
|
-
execution_context: int | str | None = None,
|
|
4736
|
+
execution_context: int | str | None = None,
|
|
4737
|
+
undo: bool | None = None,
|
|
4738
|
+
/,
|
|
4688
4739
|
) -> None:
|
|
4689
4740
|
"""Leader key like functionality for accessing tools
|
|
4690
4741
|
|
|
@@ -4780,7 +4831,6 @@ def usd_export(
|
|
|
4780
4831
|
"X", "Y", "Z", "NEGATIVE_X", "NEGATIVE_Y", "NEGATIVE_Z"
|
|
4781
4832
|
]
|
|
4782
4833
|
| None = "Y",
|
|
4783
|
-
export_textures: bool | None = False,
|
|
4784
4834
|
export_textures_mode: typing.Literal["KEEP", "PRESERVE", "NEW"] | None = "NEW",
|
|
4785
4835
|
overwrite_textures: bool | None = False,
|
|
4786
4836
|
relative_paths: bool | None = True,
|
|
@@ -4790,7 +4840,7 @@ def usd_export(
|
|
|
4790
4840
|
custom_properties_namespace: str = "userProperties",
|
|
4791
4841
|
author_blender_name: bool | None = True,
|
|
4792
4842
|
convert_world_material: bool | None = True,
|
|
4793
|
-
allow_unicode: bool | None =
|
|
4843
|
+
allow_unicode: bool | None = True,
|
|
4794
4844
|
export_meshes: bool | None = True,
|
|
4795
4845
|
export_lights: bool | None = True,
|
|
4796
4846
|
export_cameras: bool | None = True,
|
|
@@ -4973,8 +5023,6 @@ def usd_export(
|
|
|
4973
5023
|
NEGATIVE_Z
|
|
4974
5024
|
-Z -- Negative Z axis.
|
|
4975
5025
|
:type export_global_up_selection: typing.Literal['X','Y','Z','NEGATIVE_X','NEGATIVE_Y','NEGATIVE_Z'] | None
|
|
4976
|
-
:param export_textures: Export Textures, If exporting materials, export textures referenced by material nodes to a 'textures' directory in the same directory as the USD file
|
|
4977
|
-
:type export_textures: bool | None
|
|
4978
5026
|
:param export_textures_mode: Export Textures, Texture export method
|
|
4979
5027
|
|
|
4980
5028
|
KEEP
|
|
@@ -4982,10 +5030,10 @@ def usd_export(
|
|
|
4982
5030
|
|
|
4983
5031
|
PRESERVE
|
|
4984
5032
|
Preserve -- Preserve file paths of textures from already imported USD files.
|
|
4985
|
-
Export remaining textures to a
|
|
5033
|
+
Export remaining textures to a textures folder next to the USD file.
|
|
4986
5034
|
|
|
4987
5035
|
NEW
|
|
4988
|
-
New Path -- Export textures to a
|
|
5036
|
+
New Path -- Export textures to a textures folder next to the USD file.
|
|
4989
5037
|
:type export_textures_mode: typing.Literal['KEEP','PRESERVE','NEW'] | None
|
|
4990
5038
|
:param overwrite_textures: Overwrite Textures, Overwrite existing files when exporting textures
|
|
4991
5039
|
:type overwrite_textures: bool | None
|
|
@@ -5006,7 +5054,7 @@ def usd_export(
|
|
|
5006
5054
|
:type root_prim_path: str
|
|
5007
5055
|
:param export_custom_properties: Custom Properties, Export custom properties as USD attributes
|
|
5008
5056
|
:type export_custom_properties: bool | None
|
|
5009
|
-
:param custom_properties_namespace: Namespace, If set, add the given namespace as a prefix to exported custom property names. This only applies to property names that do not already have a prefix (e.g., it would apply to name
|
|
5057
|
+
:param custom_properties_namespace: Namespace, If set, add the given namespace as a prefix to exported custom property names. This only applies to property names that do not already have a prefix (e.g., it would apply to name bar but not foo:bar) and does not apply to blender object and data names which are always exported in the userProperties:blender namespace
|
|
5010
5058
|
:type custom_properties_namespace: str
|
|
5011
5059
|
:param author_blender_name: Blender Names, Author USD custom attributes containing the original Blender object and object data names
|
|
5012
5060
|
:type author_blender_name: bool | None
|
|
@@ -5132,7 +5180,7 @@ def usd_import(
|
|
|
5132
5180
|
import_skeletons: bool | None = True,
|
|
5133
5181
|
import_blendshapes: bool | None = True,
|
|
5134
5182
|
import_points: bool | None = True,
|
|
5135
|
-
|
|
5183
|
+
import_subdivision: bool | None = False,
|
|
5136
5184
|
support_scene_instancing: bool | None = True,
|
|
5137
5185
|
import_visible_only: bool | None = True,
|
|
5138
5186
|
create_collection: bool | None = False,
|
|
@@ -5156,7 +5204,7 @@ def usd_import(
|
|
|
5156
5204
|
import_textures_dir: str = "//textures/",
|
|
5157
5205
|
tex_name_collision_mode: typing.Literal["USE_EXISTING", "OVERWRITE"]
|
|
5158
5206
|
| None = "USE_EXISTING",
|
|
5159
|
-
|
|
5207
|
+
property_import_mode: typing.Literal["NONE", "USER", "ALL"] | None = "ALL",
|
|
5160
5208
|
validate_meshes: bool | None = False,
|
|
5161
5209
|
create_world_material: bool | None = True,
|
|
5162
5210
|
import_defined_only: bool | None = True,
|
|
@@ -5224,9 +5272,9 @@ def usd_import(
|
|
|
5224
5272
|
:param sort_method: File sorting mode
|
|
5225
5273
|
:type sort_method: str | None
|
|
5226
5274
|
:type filter_glob: str
|
|
5227
|
-
:param scale: Scale, Value by which to enlarge or shrink the objects with respect to the
|
|
5275
|
+
:param scale: Scale, Value by which to enlarge or shrink the objects with respect to the worlds origin
|
|
5228
5276
|
:type scale: float | None
|
|
5229
|
-
:param set_frame_range: Set Frame Range, Update the
|
|
5277
|
+
:param set_frame_range: Set Frame Range, Update the scenes start and end frame to match those of the USD archive
|
|
5230
5278
|
:type set_frame_range: bool | None
|
|
5231
5279
|
:param import_cameras: Cameras
|
|
5232
5280
|
:type import_cameras: bool | None
|
|
@@ -5248,8 +5296,8 @@ def usd_import(
|
|
|
5248
5296
|
:type import_blendshapes: bool | None
|
|
5249
5297
|
:param import_points: Point Clouds
|
|
5250
5298
|
:type import_points: bool | None
|
|
5251
|
-
:param
|
|
5252
|
-
:type
|
|
5299
|
+
:param import_subdivision: Import Subdivision Scheme, Create subdivision surface modifiers based on the USD SubdivisionScheme attribute
|
|
5300
|
+
:type import_subdivision: bool | None
|
|
5253
5301
|
:param support_scene_instancing: Scene Instancing, Import USD scene graph instances as collection instances
|
|
5254
5302
|
:type support_scene_instancing: bool | None
|
|
5255
5303
|
:param import_visible_only: Visible Primitives Only, Do not import invisible USD primitives. Only applies to primitives with a non-animated visibility attribute. Primitives with animated visibility will always be imported
|
|
@@ -5274,20 +5322,20 @@ def usd_import(
|
|
|
5274
5322
|
:type import_all_materials: bool | None
|
|
5275
5323
|
:param import_usd_preview: Import USD Preview, Convert UsdPreviewSurface shaders to Principled BSDF shader networks
|
|
5276
5324
|
:type import_usd_preview: bool | None
|
|
5277
|
-
:param set_material_blend: Set Material Blend, If the Import USD Preview option is enabled, the material blend method will automatically be set based on the
|
|
5325
|
+
:param set_material_blend: Set Material Blend, If the Import USD Preview option is enabled, the material blend method will automatically be set based on the shaders opacity and opacityThreshold inputs
|
|
5278
5326
|
:type set_material_blend: bool | None
|
|
5279
5327
|
:param light_intensity_scale: Light Intensity Scale, Scale for the intensity of imported lights
|
|
5280
5328
|
:type light_intensity_scale: float | None
|
|
5281
5329
|
:param mtl_purpose: Material Purpose, Attempt to import materials with the given purpose. If no material with this purpose is bound to the primitive, fall back on loading any other bound material
|
|
5282
5330
|
|
|
5283
5331
|
MTL_ALL_PURPOSE
|
|
5284
|
-
All Purpose -- Attempt to import
|
|
5332
|
+
All Purpose -- Attempt to import allPurpose materials..
|
|
5285
5333
|
|
|
5286
5334
|
MTL_PREVIEW
|
|
5287
|
-
Preview -- Attempt to import
|
|
5335
|
+
Preview -- Attempt to import preview materials. Load allPurpose materials as a fallback.
|
|
5288
5336
|
|
|
5289
5337
|
MTL_FULL
|
|
5290
|
-
Full -- Attempt to import
|
|
5338
|
+
Full -- Attempt to import full materials. Load allPurpose or preview materials, in that order, as a fallback.
|
|
5291
5339
|
:type mtl_purpose: typing.Literal['MTL_ALL_PURPOSE','MTL_PREVIEW','MTL_FULL'] | None
|
|
5292
5340
|
:param mtl_name_collision_mode: Material Name Collision, Behavior when the name of an imported material conflicts with an existing material
|
|
5293
5341
|
|
|
@@ -5300,7 +5348,7 @@ def usd_import(
|
|
|
5300
5348
|
:param import_textures_mode: Import Textures, Behavior when importing textures from a USDZ archive
|
|
5301
5349
|
|
|
5302
5350
|
IMPORT_NONE
|
|
5303
|
-
None --
|
|
5351
|
+
None -- Dont import textures.
|
|
5304
5352
|
|
|
5305
5353
|
IMPORT_PACK
|
|
5306
5354
|
Packed -- Import textures as packed data.
|
|
@@ -5318,17 +5366,17 @@ def usd_import(
|
|
|
5318
5366
|
OVERWRITE
|
|
5319
5367
|
Overwrite -- Overwrite existing files.
|
|
5320
5368
|
:type tex_name_collision_mode: typing.Literal['USE_EXISTING','OVERWRITE'] | None
|
|
5321
|
-
:param
|
|
5369
|
+
:param property_import_mode: Custom Properties, Behavior when importing USD attributes as Blender custom properties
|
|
5322
5370
|
|
|
5323
5371
|
NONE
|
|
5324
5372
|
None -- Do not import USD custom attributes.
|
|
5325
5373
|
|
|
5326
5374
|
USER
|
|
5327
|
-
User -- Import USD attributes in the
|
|
5375
|
+
User -- Import USD attributes in the userProperties namespace as Blender custom properties. The namespace will be stripped from the property names.
|
|
5328
5376
|
|
|
5329
5377
|
ALL
|
|
5330
5378
|
All Custom -- Import all USD custom attributes as Blender custom properties. Namespaces will be retained in the property names.
|
|
5331
|
-
:type
|
|
5379
|
+
:type property_import_mode: typing.Literal['NONE','USER','ALL'] | None
|
|
5332
5380
|
:param validate_meshes: Validate Meshes, Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing)
|
|
5333
5381
|
:type validate_meshes: bool | None
|
|
5334
5382
|
:param create_world_material: World Dome Light, Convert the first discovered USD dome light to a world background shader
|
|
@@ -5337,12 +5385,14 @@ def usd_import(
|
|
|
5337
5385
|
:type import_defined_only: bool | None
|
|
5338
5386
|
:param merge_parent_xform: Merge parent Xform, Allow USD primitives to merge with their Xform parent if they are the only child in the hierarchy
|
|
5339
5387
|
:type merge_parent_xform: bool | None
|
|
5340
|
-
:param apply_unit_conversion_scale: Apply Unit Conversion Scale, Scale the scene objects by the USD
|
|
5388
|
+
:param apply_unit_conversion_scale: Apply Unit Conversion Scale, Scale the scene objects by the USD stages meters per unit value. This scaling is applied in addition to the value specified in the Scale option
|
|
5341
5389
|
:type apply_unit_conversion_scale: bool | None
|
|
5342
5390
|
"""
|
|
5343
5391
|
|
|
5344
5392
|
def window_close(
|
|
5345
|
-
execution_context: int | str | None = None,
|
|
5393
|
+
execution_context: int | str | None = None,
|
|
5394
|
+
undo: bool | None = None,
|
|
5395
|
+
/,
|
|
5346
5396
|
) -> None:
|
|
5347
5397
|
"""Close the current window
|
|
5348
5398
|
|
|
@@ -5351,7 +5401,9 @@ def window_close(
|
|
|
5351
5401
|
"""
|
|
5352
5402
|
|
|
5353
5403
|
def window_fullscreen_toggle(
|
|
5354
|
-
execution_context: int | str | None = None,
|
|
5404
|
+
execution_context: int | str | None = None,
|
|
5405
|
+
undo: bool | None = None,
|
|
5406
|
+
/,
|
|
5355
5407
|
) -> None:
|
|
5356
5408
|
"""Toggle the current window full-screen
|
|
5357
5409
|
|
|
@@ -5360,7 +5412,9 @@ def window_fullscreen_toggle(
|
|
|
5360
5412
|
"""
|
|
5361
5413
|
|
|
5362
5414
|
def window_new(
|
|
5363
|
-
execution_context: int | str | None = None,
|
|
5415
|
+
execution_context: int | str | None = None,
|
|
5416
|
+
undo: bool | None = None,
|
|
5417
|
+
/,
|
|
5364
5418
|
) -> None:
|
|
5365
5419
|
"""Create a new window
|
|
5366
5420
|
|
|
@@ -5369,7 +5423,9 @@ def window_new(
|
|
|
5369
5423
|
"""
|
|
5370
5424
|
|
|
5371
5425
|
def window_new_main(
|
|
5372
|
-
execution_context: int | str | None = None,
|
|
5426
|
+
execution_context: int | str | None = None,
|
|
5427
|
+
undo: bool | None = None,
|
|
5428
|
+
/,
|
|
5373
5429
|
) -> None:
|
|
5374
5430
|
"""Create a new main window with its own workspace and scene selection
|
|
5375
5431
|
|
|
@@ -5443,23 +5499,23 @@ def xr_navigation_fly(
|
|
|
5443
5499
|
Turn Right -- Turn clockwise around navigation up axis.
|
|
5444
5500
|
|
|
5445
5501
|
VIEWER_FORWARD
|
|
5446
|
-
Viewer Forward -- Move along
|
|
5502
|
+
Viewer Forward -- Move along viewers forward axis.
|
|
5447
5503
|
|
|
5448
5504
|
VIEWER_BACK
|
|
5449
|
-
Viewer Back -- Move along
|
|
5505
|
+
Viewer Back -- Move along viewers back axis.
|
|
5450
5506
|
|
|
5451
5507
|
VIEWER_LEFT
|
|
5452
|
-
Viewer Left -- Move along
|
|
5508
|
+
Viewer Left -- Move along viewers left axis.
|
|
5453
5509
|
|
|
5454
5510
|
VIEWER_RIGHT
|
|
5455
|
-
Viewer Right -- Move along
|
|
5511
|
+
Viewer Right -- Move along viewers right axis.
|
|
5456
5512
|
|
|
5457
5513
|
CONTROLLER_FORWARD
|
|
5458
|
-
Controller Forward -- Move along
|
|
5514
|
+
Controller Forward -- Move along controllers forward axis.
|
|
5459
5515
|
:type mode: typing.Literal['FORWARD','BACK','LEFT','RIGHT','UP','DOWN','TURNLEFT','TURNRIGHT','VIEWER_FORWARD','VIEWER_BACK','VIEWER_LEFT','VIEWER_RIGHT','CONTROLLER_FORWARD'] | None
|
|
5460
5516
|
:param lock_location_z: Lock Elevation, Prevent changes to viewer elevation
|
|
5461
5517
|
:type lock_location_z: bool | None
|
|
5462
|
-
:param lock_direction: Lock Direction, Limit movement to
|
|
5518
|
+
:param lock_direction: Lock Direction, Limit movement to viewers initial direction
|
|
5463
5519
|
:type lock_direction: bool | None
|
|
5464
5520
|
:param speed_frame_based: Frame Based Speed, Apply fixed movement deltas every update
|
|
5465
5521
|
:type speed_frame_based: bool | None
|
|
@@ -5558,7 +5614,9 @@ def xr_navigation_teleport(
|
|
|
5558
5614
|
"""
|
|
5559
5615
|
|
|
5560
5616
|
def xr_session_toggle(
|
|
5561
|
-
execution_context: int | str | None = None,
|
|
5617
|
+
execution_context: int | str | None = None,
|
|
5618
|
+
undo: bool | None = None,
|
|
5619
|
+
/,
|
|
5562
5620
|
) -> None:
|
|
5563
5621
|
"""Open a view for use with virtual reality headsets, or close it if already opened
|
|
5564
5622
|
|