fake-bpy-module 20240604__py3-none-any.whl → 20240605__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,79 +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]]]
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]]]
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]]]
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]]]
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]]]
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]]]
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]]]
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]]]
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]]]
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]]]
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]]]
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[collections.abc.Callable[[bpy.types.Scene, None]]]
92
+ load_factory_preferences_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
93
93
  """ on loading factory preferences (after)
94
94
  """
95
95
 
96
- load_factory_startup_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
96
+ load_factory_startup_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
97
97
  """ on loading factory startup (after)
98
98
  """
99
99
 
100
- load_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
100
+ load_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
101
101
  """ on loading a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
102
102
  """
103
103
 
104
- load_post_fail: list[collections.abc.Callable[[bpy.types.Scene, None]]]
104
+ load_post_fail: list[collections.abc.Callable[[bpy.types.Scene], None]]
105
105
  """ on failure to load a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
106
106
  """
107
107
 
108
- load_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
108
+ load_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
109
109
  """ on loading a new blend file (before).Accepts one argument: the file being loaded, an empty string for the startup-file.
110
110
  """
111
111
 
112
- object_bake_cancel: list[collections.abc.Callable[[bpy.types.Scene, None]]]
112
+ object_bake_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
113
113
  """ on canceling a bake job; will be called in the main thread
114
114
  """
115
115
 
116
- object_bake_complete: list[collections.abc.Callable[[bpy.types.Scene, None]]]
116
+ object_bake_complete: list[collections.abc.Callable[[bpy.types.Scene], None]]
117
117
  """ on completing a bake job; will be called in the main thread
118
118
  """
119
119
 
120
- object_bake_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
120
+ object_bake_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
121
121
  """ before starting a bake job
122
122
  """
123
123
 
@@ -125,70 +125,70 @@ persistent: typing.Any
125
125
  """ Function decorator for callback functions not to be removed when loading new files
126
126
  """
127
127
 
128
- redo_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
128
+ redo_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
129
129
  """ on loading a redo step (after)
130
130
  """
131
131
 
132
- redo_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
132
+ redo_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
133
133
  """ on loading a redo step (before)
134
134
  """
135
135
 
136
- render_cancel: list[collections.abc.Callable[[bpy.types.Scene, None]]]
136
+ render_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
137
137
  """ on canceling a render job
138
138
  """
139
139
 
140
- render_complete: list[collections.abc.Callable[[bpy.types.Scene, None]]]
140
+ render_complete: list[collections.abc.Callable[[bpy.types.Scene], None]]
141
141
  """ on completion of render job
142
142
  """
143
143
 
144
- render_init: list[collections.abc.Callable[[bpy.types.Scene, None]]]
144
+ render_init: list[collections.abc.Callable[[bpy.types.Scene], None]]
145
145
  """ on initialization of a render job
146
146
  """
147
147
 
148
- render_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
148
+ render_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
149
149
  """ on render (after)
150
150
  """
151
151
 
152
- render_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
152
+ render_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
153
153
  """ on render (before)
154
154
  """
155
155
 
156
- render_stats: list[collections.abc.Callable[[bpy.types.Scene, None]]]
156
+ render_stats: list[collections.abc.Callable[[bpy.types.Scene], None]]
157
157
  """ on printing render statistics. Accepts one argument: the render stats (render/saving time plus in background mode frame/used [peak] memory).
158
158
  """
159
159
 
160
- render_write: list[collections.abc.Callable[[bpy.types.Scene, None]]]
160
+ render_write: list[collections.abc.Callable[[bpy.types.Scene], None]]
161
161
  """ on writing a render frame (directly after the frame is written)
162
162
  """
163
163
 
164
- save_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
164
+ save_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
165
165
  """ on saving a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
166
166
  """
167
167
 
168
- save_post_fail: list[collections.abc.Callable[[bpy.types.Scene, None]]]
168
+ save_post_fail: list[collections.abc.Callable[[bpy.types.Scene], None]]
169
169
  """ on failure to save a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
170
170
  """
171
171
 
172
- save_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
172
+ save_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
173
173
  """ on saving a blend file (before). Accepts one argument: the file being saved, an empty string for the startup-file.
174
174
  """
175
175
 
176
- translation_update_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
176
+ translation_update_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
177
177
  """ on translation settings update
178
178
  """
179
179
 
180
- undo_post: list[collections.abc.Callable[[bpy.types.Scene, None]]]
180
+ undo_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
181
181
  """ on loading an undo step (after)
182
182
  """
183
183
 
184
- undo_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
184
+ undo_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
185
185
  """ on loading an undo step (before)
186
186
  """
187
187
 
188
- version_update: list[collections.abc.Callable[[bpy.types.Scene, None]]]
188
+ version_update: list[collections.abc.Callable[[bpy.types.Scene], None]]
189
189
  """ on ending the versioning code
190
190
  """
191
191
 
192
- xr_session_start_pre: list[collections.abc.Callable[[bpy.types.Scene, None]]]
192
+ xr_session_start_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
193
193
  """ on starting an xr session (before)
194
194
  """
@@ -426,50 +426,6 @@ def gpencil_material_preset_add(
426
426
 
427
427
  ...
428
428
 
429
- def light_cache_bake(
430
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
431
- execution_context: int | str | None = None,
432
- undo: bool | None = None,
433
- *,
434
- delay: typing.Any | None = 0,
435
- subset: str | None = "ALL",
436
- ):
437
- """Bake the active view layer lighting
438
-
439
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
440
- :type execution_context: int | str | None
441
- :type undo: bool | None
442
- :param delay: Delay, Delay in millisecond before baking starts
443
- :type delay: typing.Any | None
444
- :param subset: Subset, Subset of probes to update
445
-
446
- ALL
447
- All Light Probes -- Bake both irradiance grids and reflection cubemaps.
448
-
449
- DIRTY
450
- Dirty Only -- Only bake light probes that are marked as dirty.
451
-
452
- CUBEMAPS
453
- Cubemaps Only -- Try to only bake reflection cubemaps if irradiance grids are up to date.
454
- :type subset: str | None
455
- """
456
-
457
- ...
458
-
459
- def light_cache_free(
460
- override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
461
- execution_context: int | str | None = None,
462
- undo: bool | None = None,
463
- ):
464
- """Delete cached indirect lighting
465
-
466
- :type override_context: bpy.types.Context | dict[str, typing.Any] | None
467
- :type execution_context: int | str | None
468
- :type undo: bool | None
469
- """
470
-
471
- ...
472
-
473
429
  def new(
474
430
  override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
475
431
  execution_context: int | str | None = None,
@@ -1007,10 +1007,10 @@ def trim_box_gesture(
1007
1007
  :param trim_extrude_mode: Extrude Mode
1008
1008
 
1009
1009
  PROJECT
1010
- Project -- Project back faces when extruding.
1010
+ Project -- Align trim geometry with the perspective of the current view for a tapered shape.
1011
1011
 
1012
1012
  FIXED
1013
- Fixed -- Extrude back faces by fixed amount.
1013
+ Fixed -- Align trim geometry orthogonally for a shape with 90 degree angles.
1014
1014
  :type trim_extrude_mode: str | None
1015
1015
  :param trim_solver: Solver
1016
1016
 
@@ -1073,10 +1073,10 @@ def trim_lasso_gesture(
1073
1073
  :param trim_extrude_mode: Extrude Mode
1074
1074
 
1075
1075
  PROJECT
1076
- Project -- Project back faces when extruding.
1076
+ Project -- Align trim geometry with the perspective of the current view for a tapered shape.
1077
1077
 
1078
1078
  FIXED
1079
- Fixed -- Extrude back faces by fixed amount.
1079
+ Fixed -- Align trim geometry orthogonally for a shape with 90 degree angles.
1080
1080
  :type trim_extrude_mode: str | None
1081
1081
  :param trim_solver: Solver
1082
1082
 
@@ -1157,10 +1157,10 @@ def trim_line_gesture(
1157
1157
  :param trim_extrude_mode: Extrude Mode
1158
1158
 
1159
1159
  PROJECT
1160
- Project -- Project back faces when extruding.
1160
+ Project -- Align trim geometry with the perspective of the current view for a tapered shape.
1161
1161
 
1162
1162
  FIXED
1163
- Fixed -- Extrude back faces by fixed amount.
1163
+ Fixed -- Align trim geometry orthogonally for a shape with 90 degree angles.
1164
1164
  :type trim_extrude_mode: str | None
1165
1165
  :param trim_solver: Solver
1166
1166
 
@@ -1223,10 +1223,10 @@ def trim_polyline_gesture(
1223
1223
  :param trim_extrude_mode: Extrude Mode
1224
1224
 
1225
1225
  PROJECT
1226
- Project -- Project back faces when extruding.
1226
+ Project -- Align trim geometry with the perspective of the current view for a tapered shape.
1227
1227
 
1228
1228
  FIXED
1229
- Fixed -- Extrude back faces by fixed amount.
1229
+ Fixed -- Align trim geometry orthogonally for a shape with 90 degree angles.
1230
1230
  :type trim_extrude_mode: str | None
1231
1231
  :param trim_solver: Solver
1232
1232