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

@@ -45,83 +45,79 @@ import bpy.types
45
45
 
46
46
  GenericType1 = typing.TypeVar("GenericType1")
47
47
  GenericType2 = typing.TypeVar("GenericType2")
48
- animation_playback_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
48
+ animation_playback_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
49
49
  """ on ending animation playback
50
50
  """
51
51
 
52
- animation_playback_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
52
+ animation_playback_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
53
53
  """ on starting animation playback
54
54
  """
55
55
 
56
- annotation_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
56
+ annotation_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
57
57
  """ on drawing an annotation (after)
58
58
  """
59
59
 
60
- annotation_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
60
+ annotation_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
61
61
  """ on drawing an annotation (before)
62
62
  """
63
63
 
64
- composite_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
64
+ composite_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
65
65
  """ on a compositing background job (cancel)
66
66
  """
67
67
 
68
- composite_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
68
+ composite_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
69
69
  """ on a compositing background job (after)
70
70
  """
71
71
 
72
- composite_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
72
+ composite_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
73
73
  """ on a compositing background job (before)
74
74
  """
75
75
 
76
- depsgraph_update_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
76
+ depsgraph_update_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
77
77
  """ on depsgraph update (post)
78
78
  """
79
79
 
80
- depsgraph_update_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
80
+ depsgraph_update_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
81
81
  """ on depsgraph update (pre)
82
82
  """
83
83
 
84
- frame_change_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
84
+ frame_change_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
85
85
  """ Called after frame change for playback and rendering, after the data has been evaluated for the new frame.
86
86
  """
87
87
 
88
- frame_change_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
88
+ frame_change_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
89
89
  """ Called after frame change for playback and rendering, before any data is evaluated for the new frame. This makes it possible to change data and relations (for example swap an object to another mesh) for the new frame. Note that this handler is not to be used as 'before the frame changes' event. The dependency graph is not available in this handler, as data and relations may have been altered and the dependency graph has not yet been updated for that.
90
90
  """
91
91
 
92
- load_factory_preferences_post: list[
93
- collections.abc.Callable[[bpy.types.Scene], None]
94
- ] | None
92
+ load_factory_preferences_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
95
93
  """ on loading factory preferences (after)
96
94
  """
97
95
 
98
- load_factory_startup_post: list[
99
- collections.abc.Callable[[bpy.types.Scene], None]
100
- ] | None
96
+ load_factory_startup_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
101
97
  """ on loading factory startup (after)
102
98
  """
103
99
 
104
- load_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
100
+ load_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
105
101
  """ on loading a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
106
102
  """
107
103
 
108
- load_post_fail: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
104
+ load_post_fail: list[collections.abc.Callable[[bpy.types.Scene], None]]
109
105
  """ on failure to load a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
110
106
  """
111
107
 
112
- load_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
108
+ load_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
113
109
  """ on loading a new blend file (before).Accepts one argument: the file being loaded, an empty string for the startup-file.
114
110
  """
115
111
 
116
- object_bake_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
112
+ object_bake_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
117
113
  """ on canceling a bake job; will be called in the main thread
118
114
  """
119
115
 
120
- object_bake_complete: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
116
+ object_bake_complete: list[collections.abc.Callable[[bpy.types.Scene], None]]
121
117
  """ on completing a bake job; will be called in the main thread
122
118
  """
123
119
 
124
- object_bake_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
120
+ object_bake_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
125
121
  """ before starting a bake job
126
122
  """
127
123
 
@@ -129,70 +125,70 @@ persistent: typing.Any
129
125
  """ Function decorator for callback functions not to be removed when loading new files
130
126
  """
131
127
 
132
- redo_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
128
+ redo_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
133
129
  """ on loading a redo step (after)
134
130
  """
135
131
 
136
- redo_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
132
+ redo_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
137
133
  """ on loading a redo step (before)
138
134
  """
139
135
 
140
- render_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
136
+ render_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
141
137
  """ on canceling a render job
142
138
  """
143
139
 
144
- render_complete: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
140
+ render_complete: list[collections.abc.Callable[[bpy.types.Scene], None]]
145
141
  """ on completion of render job
146
142
  """
147
143
 
148
- render_init: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
144
+ render_init: list[collections.abc.Callable[[bpy.types.Scene], None]]
149
145
  """ on initialization of a render job
150
146
  """
151
147
 
152
- render_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
148
+ render_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
153
149
  """ on render (after)
154
150
  """
155
151
 
156
- render_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
152
+ render_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
157
153
  """ on render (before)
158
154
  """
159
155
 
160
- render_stats: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
156
+ render_stats: list[collections.abc.Callable[[bpy.types.Scene], None]]
161
157
  """ on printing render statistics. Accepts one argument: the render stats (render/saving time plus in background mode frame/used [peak] memory).
162
158
  """
163
159
 
164
- render_write: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
160
+ render_write: list[collections.abc.Callable[[bpy.types.Scene], None]]
165
161
  """ on writing a render frame (directly after the frame is written)
166
162
  """
167
163
 
168
- save_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
164
+ save_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
169
165
  """ on saving a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
170
166
  """
171
167
 
172
- save_post_fail: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
168
+ save_post_fail: list[collections.abc.Callable[[bpy.types.Scene], None]]
173
169
  """ on failure to save a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
174
170
  """
175
171
 
176
- save_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
172
+ save_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
177
173
  """ on saving a blend file (before). Accepts one argument: the file being saved, an empty string for the startup-file.
178
174
  """
179
175
 
180
- translation_update_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
176
+ translation_update_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
181
177
  """ on translation settings update
182
178
  """
183
179
 
184
- undo_post: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
180
+ undo_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
185
181
  """ on loading an undo step (after)
186
182
  """
187
183
 
188
- undo_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
184
+ undo_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
189
185
  """ on loading an undo step (before)
190
186
  """
191
187
 
192
- version_update: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
188
+ version_update: list[collections.abc.Callable[[bpy.types.Scene], None]]
193
189
  """ on ending the versioning code
194
190
  """
195
191
 
196
- xr_session_start_pre: list[collections.abc.Callable[[bpy.types.Scene], None]] | None
192
+ xr_session_start_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
197
193
  """ on starting an xr session (before)
198
194
  """
@@ -47,7 +47,11 @@ def is_registered(function: collections.abc.Callable[[], float]) -> bool:
47
47
 
48
48
  ...
49
49
 
50
- def register(function: collections.abc.Callable[[], float]):
50
+ def register(
51
+ function: collections.abc.Callable[[], float],
52
+ first_interval: float | None = 0,
53
+ persistent: bool | None = False,
54
+ ):
51
55
  """Add a new function that will be called after the specified amount of seconds.
52
56
  The function gets no arguments and is expected to return either None or a float.
53
57
  If None is returned, the timer will be unregistered.
@@ -56,6 +60,10 @@ def register(function: collections.abc.Callable[[], float]):
56
60
 
57
61
  :param function: The function that should called.
58
62
  :type function: collections.abc.Callable[[], float]
63
+ :param first_interval: Seconds until the callback should be called the first time.
64
+ :type first_interval: float | None
65
+ :param persistent: Don't remove timer when a new file is loaded.
66
+ :type persistent: bool | None
59
67
  """
60
68
 
61
69
  ...
@@ -311,7 +311,7 @@ def package_uninstall(
311
311
  repo_index: typing.Any | None = -1,
312
312
  pkg_id: str | typing.Any = "",
313
313
  ):
314
- """Undocumented, consider contributing.
314
+ """Disable and uninstall the extension
315
315
 
316
316
  :type override_context: bpy.types.Context | dict[str, typing.Any] | None
317
317
  :type execution_context: int | str | None
@@ -340,6 +340,20 @@ def package_uninstall_marked(
340
340
 
341
341
  ...
342
342
 
343
+ def package_uninstall_system(
344
+ override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
345
+ execution_context: int | str | None = None,
346
+ undo: bool | None = None,
347
+ ):
348
+ """Undocumented, consider contributing.
349
+
350
+ :type override_context: bpy.types.Context | dict[str, typing.Any] | None
351
+ :type execution_context: int | str | None
352
+ :type undo: bool | None
353
+ """
354
+
355
+ ...
356
+
343
357
  def package_upgrade_all(
344
358
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
345
359
  execution_context: int | str | None = None,
@@ -397,51 +397,17 @@ def extension_repo_remove(
397
397
  undo: bool | None = None,
398
398
  *,
399
399
  index: typing.Any | None = 0,
400
- type: str | None = "REPO_ONLY",
400
+ remove_files: bool | typing.Any | None = False,
401
401
  ):
402
402
  """Remove an extension repository
403
403
 
404
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
405
- :type execution_context: int | str | None
406
- :type undo: bool | None
407
- :param index: Index
408
- :type index: typing.Any | None
409
- :param type: Type, Method for removing the repository
410
-
411
- REPO_ONLY
412
- Remove Repository.
413
-
414
- REPO_AND_DIRECTORY
415
- Remove Repository & Files -- Delete all associated local files when removing.
416
- :type type: str | None
417
- """
418
-
419
- ...
420
-
421
- def extension_repo_sync(
422
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
423
- execution_context: int | str | None = None,
424
- undo: bool | None = None,
425
- ):
426
- """Refresh the list of extensions for the active repository
427
-
428
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
429
- :type execution_context: int | str | None
430
- :type undo: bool | None
431
- """
432
-
433
- ...
434
-
435
- def extension_repo_upgrade(
436
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
437
- execution_context: int | str | None = None,
438
- undo: bool | None = None,
439
- ):
440
- """Upgrade all the extensions to their latest version for the active repository
441
-
442
404
  :type override_context: bpy.types.Context | dict[str, typing.Any] | None
443
405
  :type execution_context: int | str | None
444
406
  :type undo: bool | None
407
+ :param index: Index
408
+ :type index: typing.Any | None
409
+ :param remove_files: Remove Files, Remove extension files when removing the repository
410
+ :type remove_files: bool | typing.Any | None
445
411
  """
446
412
 
447
413
  ...
bpy/ops/wm/__init__.pyi CHANGED
@@ -5068,16 +5068,16 @@ def usd_export(
5068
5068
  :type export_normals: bool | typing.Any | None
5069
5069
  :param export_materials: Materials, Export viewport settings of materials as USD preview materials, and export material assignments as geometry subsets
5070
5070
  :type export_materials: bool | typing.Any | None
5071
- :param export_subdivision: Subdivision Scheme, Choose how subdivision modifiers will be mapped to the USD subdivision scheme during export
5071
+ :param export_subdivision: Subdivision, Choose how subdivision modifiers will be mapped to the USD subdivision scheme during export
5072
5072
 
5073
5073
  IGNORE
5074
- Ignore -- Subdivision scheme = None, export base mesh without subdivision.
5074
+ Ignore -- Scheme = None. Export base mesh without subdivision.
5075
5075
 
5076
5076
  TESSELLATE
5077
- Tessellate -- Subdivision scheme = None, export subdivided mesh.
5077
+ Tessellate -- Scheme = None. Export subdivided mesh.
5078
5078
 
5079
5079
  BEST_MATCH
5080
- Best Match -- Subdivision scheme = Catmull-Clark, when possible. Reverts to exporting the subdivided mesh for the Simple subdivision type.
5080
+ Best Match -- Scheme = Catmull-Clark, when possible. Reverts to exporting the subdivided mesh for the Simple subdivision type.
5081
5081
  :type export_subdivision: str | None
5082
5082
  :param export_armatures: Armatures, Export armatures and meshes with armature modifiers as USD skeletons and skinned meshes
5083
5083
  :type export_armatures: bool | typing.Any | None
@@ -5099,7 +5099,7 @@ def usd_export(
5099
5099
  :type generate_preview_surface: bool | typing.Any | None
5100
5100
  :param generate_materialx_network: MaterialX Network, Generate a MaterialX network representation of the materials
5101
5101
  :type generate_materialx_network: bool | typing.Any | None
5102
- :param convert_orientation: Convert Orientation, The USD exporter will convert scene orientation axis
5102
+ :param convert_orientation: Convert Orientation, Convert orientation axis to a different convention to match other applications
5103
5103
  :type convert_orientation: bool | typing.Any | None
5104
5104
  :param export_global_forward_selection: Forward Axis
5105
5105
 
@@ -5261,7 +5261,7 @@ def usd_import(
5261
5261
  read_mesh_attributes: bool | typing.Any | None = True,
5262
5262
  prim_path_mask: str | typing.Any = "",
5263
5263
  import_guide: bool | typing.Any | None = False,
5264
- import_proxy: bool | typing.Any | None = True,
5264
+ import_proxy: bool | typing.Any | None = False,
5265
5265
  import_render: bool | typing.Any | None = True,
5266
5266
  import_all_materials: bool | typing.Any | None = False,
5267
5267
  import_usd_preview: bool | typing.Any | None = True,
@@ -5356,11 +5356,11 @@ def usd_import(
5356
5356
  :type import_meshes: bool | typing.Any | None
5357
5357
  :param import_volumes: Volumes
5358
5358
  :type import_volumes: bool | typing.Any | None
5359
- :param import_shapes: Shapes
5359
+ :param import_shapes: USD Shapes
5360
5360
  :type import_shapes: bool | typing.Any | None
5361
- :param import_skeletons: Skeletons
5361
+ :param import_skeletons: Armatures
5362
5362
  :type import_skeletons: bool | typing.Any | None
5363
- :param import_blendshapes: Blend Shapes
5363
+ :param import_blendshapes: Shape Keys
5364
5364
  :type import_blendshapes: bool | typing.Any | None
5365
5365
  :param import_points: Point Clouds
5366
5366
  :type import_points: bool | typing.Any | None
@@ -5438,7 +5438,7 @@ def usd_import(
5438
5438
  :type validate_meshes: bool | typing.Any | None
5439
5439
  :param create_world_material: Create World Material, Convert the first discovered USD dome light to a world background shader
5440
5440
  :type create_world_material: bool | typing.Any | None
5441
- :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
5441
+ :param import_defined_only: Defined Primitives Only, Import only defined USD primitives. When disabled this allows importing USD primitives which are not defined, such as those with an override specifier
5442
5442
  :type import_defined_only: bool | typing.Any | None
5443
5443
  """
5444
5444