fake-bpy-module 20240423__py3-none-any.whl → 20240424__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.

@@ -1268,6 +1268,16 @@ class _defs_grease_pencil_sculpt:
1268
1268
  """
1269
1269
  ...
1270
1270
 
1271
+ class _defs_grease_pencil_weight:
1272
+ """ """
1273
+
1274
+ def generate_from_brushes(self, context):
1275
+ """
1276
+
1277
+ :param context:
1278
+ """
1279
+ ...
1280
+
1271
1281
  class _defs_image_generic:
1272
1282
  """ """
1273
1283
 
@@ -22803,10 +22803,10 @@ class VIEW3D_MT_paint_weight(bpy_types.Menu, bpy_types._GenericUI):
22803
22803
  """ """
22804
22804
  ...
22805
22805
 
22806
- def draw(self, context):
22806
+ def draw(self, _context):
22807
22807
  """
22808
22808
 
22809
- :param context:
22809
+ :param _context:
22810
22810
  """
22811
22811
  ...
22812
22812
 
@@ -20,12 +20,12 @@ def fbx(
20
20
  use_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = True,
21
21
  bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = False,
22
22
  object_types: typing.Optional[typing.Any] = {
23
+ '"LIGHT"',
24
+ '"ARMATURE"',
23
25
  '"CAMERA"',
24
26
  '"EMPTY"',
25
- '"LIGHT"',
26
- '"MESH"',
27
27
  '"OTHER"',
28
- '"ARMATURE"',
28
+ '"MESH"',
29
29
  },
30
30
  use_mesh_modifiers: typing.Optional[typing.Union[bool, typing.Any]] = True,
31
31
  use_mesh_modifiers_render: typing.Optional[typing.Union[bool, typing.Any]] = True,
bpy/ops/nla/__init__.pyi CHANGED
@@ -101,11 +101,11 @@ def bake(
101
101
  clean_curves: typing.Optional[typing.Union[bool, typing.Any]] = False,
102
102
  bake_types: typing.Optional[typing.Any] = {'"POSE"'},
103
103
  channel_types: typing.Optional[typing.Any] = {
104
- '"SCALE"',
105
- '"ROTATION"',
104
+ '"LOCATION"',
106
105
  '"BBONE"',
106
+ '"SCALE"',
107
107
  '"PROPS"',
108
- '"LOCATION"',
108
+ '"ROTATION"',
109
109
  },
110
110
  ):
111
111
  """Bake all selected objects location/scale/rotation animation to an action
bpy/ops/wm/__init__.pyi CHANGED
@@ -4898,6 +4898,8 @@ def usd_export(
4898
4898
  overwrite_textures: typing.Optional[typing.Union[bool, typing.Any]] = False,
4899
4899
  relative_paths: typing.Optional[typing.Union[bool, typing.Any]] = True,
4900
4900
  root_prim_path: typing.Union[str, typing.Any] = "/root",
4901
+ export_custom_properties: typing.Optional[typing.Union[bool, typing.Any]] = True,
4902
+ author_blender_name: typing.Optional[typing.Union[bool, typing.Any]] = True,
4901
4903
  ):
4902
4904
  """Export current scene in a USD archive
4903
4905
 
@@ -5016,6 +5018,10 @@ def usd_export(
5016
5018
  :type relative_paths: typing.Optional[typing.Union[bool, typing.Any]]
5017
5019
  :param root_prim_path: Root Prim, If set, add a transform primitive with the given path to the stage as the parent of all exported data
5018
5020
  :type root_prim_path: typing.Union[str, typing.Any]
5021
+ :param export_custom_properties: Export Custom Properties, When checked, custom properties will be exported as USD User Properties
5022
+ :type export_custom_properties: typing.Optional[typing.Union[bool, typing.Any]]
5023
+ :param author_blender_name: Author Blender Name, When checked, custom userProperties will be authored to allow a round trip
5024
+ :type author_blender_name: typing.Optional[typing.Union[bool, typing.Any]]
5019
5025
  """
5020
5026
 
5021
5027
  ...
@@ -5078,6 +5084,7 @@ def usd_import(
5078
5084
  import_textures_mode: typing.Optional[typing.Any] = "IMPORT_PACK",
5079
5085
  import_textures_dir: typing.Union[str, typing.Any] = "//textures/",
5080
5086
  tex_name_collision_mode: typing.Optional[typing.Any] = "USE_EXISTING",
5087
+ attr_import_mode: typing.Optional[typing.Any] = "ALL",
5081
5088
  ):
5082
5089
  """Import USD stage into current scene
5083
5090
 
@@ -5224,6 +5231,17 @@ def usd_import(
5224
5231
  OVERWRITE
5225
5232
  Overwrite -- Overwrite existing files.
5226
5233
  :type tex_name_collision_mode: typing.Optional[typing.Any]
5234
+ :param attr_import_mode: Import Custom Properties, Behavior when importing USD attributes as Blender custom properties
5235
+
5236
+ NONE
5237
+ None -- Do not import attributes.
5238
+
5239
+ USER
5240
+ User -- Import attributes in the 'userProperties' namespace as Blender custom properties. The namespace will be stripped from the property names.
5241
+
5242
+ ALL
5243
+ All Custom -- Import all USD custom attributes as Blender custom properties. Namespaces will be retained in the property names.
5244
+ :type attr_import_mode: typing.Optional[typing.Any]
5227
5245
  """
5228
5246
 
5229
5247
  ...