fake-bpy-module 20240530__py3-none-any.whl → 20240601__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/ops/wm/__init__.pyi CHANGED
@@ -4968,6 +4968,7 @@ def usd_export(
4968
4968
  root_prim_path: str | typing.Any = "/root",
4969
4969
  export_custom_properties: bool | typing.Any | None = True,
4970
4970
  author_blender_name: bool | typing.Any | None = True,
4971
+ convert_world_material: bool | typing.Any | None = True,
4971
4972
  export_meshes: bool | typing.Any | None = True,
4972
4973
  export_lights: bool | typing.Any | None = True,
4973
4974
  export_cameras: bool | typing.Any | None = True,
@@ -4976,6 +4977,8 @@ def usd_export(
4976
4977
  triangulate_meshes: bool | typing.Any | None = False,
4977
4978
  quad_method: str | None = "SHORTEST_DIAGONAL",
4978
4979
  ngon_method: str | None = "BEAUTY",
4980
+ usdz_downscale_size: str | None = "KEEP",
4981
+ usdz_downscale_custom_size: typing.Any | None = 128,
4979
4982
  ):
4980
4983
  """Export current scene in a USD archive
4981
4984
 
@@ -5151,6 +5154,8 @@ def usd_export(
5151
5154
  :type export_custom_properties: bool | typing.Any | None
5152
5155
  :param author_blender_name: Blender Names, Author USD custom attributes containing the original Blender object and object data names
5153
5156
  :type author_blender_name: bool | typing.Any | None
5157
+ :param convert_world_material: Convert World Material, Convert the world material to a USD dome light. Currently works for simple materials, consisting of an environment texture connected to a background shader, with an optional vector multiply of the texture color
5158
+ :type convert_world_material: bool | typing.Any | None
5154
5159
  :param export_meshes: Meshes, Export all meshes
5155
5160
  :type export_meshes: bool | typing.Any | None
5156
5161
  :param export_lights: Lights, Export all lights
@@ -5167,6 +5172,31 @@ def usd_export(
5167
5172
  :type quad_method: str | None
5168
5173
  :param ngon_method: N-gon Method, Method for splitting the n-gons into triangles
5169
5174
  :type ngon_method: str | None
5175
+ :param usdz_downscale_size: USDZ Texture Downsampling, Choose a maximum size for all exported textures
5176
+
5177
+ KEEP
5178
+ Keep -- Keep all current texture sizes.
5179
+
5180
+ 256
5181
+ 256 -- Resize to a maximum of 256 pixels.
5182
+
5183
+ 512
5184
+ 512 -- Resize to a maximum of 512 pixels.
5185
+
5186
+ 1024
5187
+ 1024 -- Resize to a maximum of 1024 pixels.
5188
+
5189
+ 2048
5190
+ 2048 -- Resize to a maximum of 2048 pixels.
5191
+
5192
+ 4096
5193
+ 4096 -- Resize to a maximum of 4096 pixels.
5194
+
5195
+ CUSTOM
5196
+ Custom -- Specify a custom size.
5197
+ :type usdz_downscale_size: str | None
5198
+ :param usdz_downscale_custom_size: USDZ Custom Downscale Size, Custom size for downscaling exported textures
5199
+ :type usdz_downscale_custom_size: typing.Any | None
5170
5200
  """
5171
5201
 
5172
5202
  ...
@@ -5233,6 +5263,7 @@ def usd_import(
5233
5263
  tex_name_collision_mode: str | None = "USE_EXISTING",
5234
5264
  attr_import_mode: str | None = "ALL",
5235
5265
  validate_meshes: bool | typing.Any | None = False,
5266
+ create_world_material: bool | typing.Any | None = True,
5236
5267
  import_defined_only: bool | typing.Any | None = True,
5237
5268
  ):
5238
5269
  """Import USD stage into current scene
@@ -5395,6 +5426,8 @@ def usd_import(
5395
5426
  :type attr_import_mode: str | None
5396
5427
  :param validate_meshes: Validate Meshes, Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing)
5397
5428
  :type validate_meshes: bool | typing.Any | None
5429
+ :param create_world_material: Create World Material, Convert the first discovered USD dome light to a world background shader
5430
+ :type create_world_material: bool | typing.Any | None
5398
5431
  :param import_defined_only: Import only defined USD primitives, When disabled this allows importing USD primitives which are not defined,such as those with an override specifier
5399
5432
  :type import_defined_only: bool | typing.Any | None
5400
5433
  """