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

Files changed (76) hide show
  1. _bpy_internal/extensions/__init__.pyi +1 -0
  2. _bpy_internal/extensions/stale_file_manager/__init__.pyi +39 -0
  3. _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -1
  4. addon_utils/__init__.pyi +2 -0
  5. aud/__init__.pyi +77 -77
  6. bmesh/ops/__init__.pyi +54 -36
  7. bmesh/types/__init__.pyi +24 -24
  8. bpy/ops/action/__init__.pyi +55 -32
  9. bpy/ops/anim/__init__.pyi +22 -22
  10. bpy/ops/armature/__init__.pyi +47 -20
  11. bpy/ops/asset/__init__.pyi +5 -2
  12. bpy/ops/boid/__init__.pyi +12 -2
  13. bpy/ops/brush/__init__.pyi +18 -12
  14. bpy/ops/buttons/__init__.pyi +10 -4
  15. bpy/ops/cachefile/__init__.pyi +12 -6
  16. bpy/ops/clip/__init__.pyi +54 -38
  17. bpy/ops/console/__init__.pyi +17 -6
  18. bpy/ops/constraint/__init__.pyi +28 -28
  19. bpy/ops/curve/__init__.pyi +72 -34
  20. bpy/ops/curves/__init__.pyi +16 -16
  21. bpy/ops/dpaint/__init__.pyi +4 -4
  22. bpy/ops/ed/__init__.pyi +5 -2
  23. bpy/ops/export_anim/__init__.pyi +3 -2
  24. bpy/ops/export_scene/__init__.pyi +55 -45
  25. bpy/ops/file/__init__.pyi +40 -16
  26. bpy/ops/font/__init__.pyi +59 -16
  27. bpy/ops/geometry/__init__.pyi +55 -20
  28. bpy/ops/gpencil/__init__.pyi +155 -122
  29. bpy/ops/graph/__init__.pyi +131 -52
  30. bpy/ops/grease_pencil/__init__.pyi +78 -58
  31. bpy/ops/image/__init__.pyi +77 -54
  32. bpy/ops/import_anim/__init__.pyi +11 -8
  33. bpy/ops/import_scene/__init__.pyi +20 -18
  34. bpy/ops/info/__init__.pyi +4 -4
  35. bpy/ops/lattice/__init__.pyi +8 -8
  36. bpy/ops/marker/__init__.pyi +6 -6
  37. bpy/ops/mask/__init__.pyi +13 -12
  38. bpy/ops/mball/__init__.pyi +6 -6
  39. bpy/ops/mesh/__init__.pyi +290 -150
  40. bpy/ops/nla/__init__.pyi +28 -20
  41. bpy/ops/node/__init__.pyi +43 -32
  42. bpy/ops/object/__init__.pyi +651 -210
  43. bpy/ops/outliner/__init__.pyi +113 -32
  44. bpy/ops/paint/__init__.pyi +65 -56
  45. bpy/ops/palette/__init__.pyi +4 -4
  46. bpy/ops/particle/__init__.pyi +14 -14
  47. bpy/ops/pose/__init__.pyi +121 -44
  48. bpy/ops/preferences/__init__.pyi +9 -6
  49. bpy/ops/render/__init__.pyi +3 -2
  50. bpy/ops/rigidbody/__init__.pyi +45 -14
  51. bpy/ops/scene/__init__.pyi +69 -22
  52. bpy/ops/screen/__init__.pyi +78 -16
  53. bpy/ops/sculpt/__init__.pyi +131 -74
  54. bpy/ops/sculpt_curves/__init__.pyi +2 -2
  55. bpy/ops/sequencer/__init__.pyi +156 -60
  56. bpy/ops/sound/__init__.pyi +40 -16
  57. bpy/ops/surface/__init__.pyi +12 -12
  58. bpy/ops/text/__init__.pyi +65 -20
  59. bpy/ops/texture/__init__.pyi +2 -2
  60. bpy/ops/transform/__init__.pyi +344 -72
  61. bpy/ops/ui/__init__.pyi +9 -6
  62. bpy/ops/uilist/__init__.pyi +2 -2
  63. bpy/ops/uv/__init__.pyi +90 -66
  64. bpy/ops/view3d/__init__.pyi +36 -30
  65. bpy/ops/wm/__init__.pyi +443 -156
  66. bpy/types/__init__.pyi +28584 -2857
  67. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/METADATA +1 -1
  68. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/RECORD +76 -75
  69. freestyle/chainingiterators/__init__.pyi +4 -4
  70. freestyle/types/__init__.pyi +76 -63
  71. idprop/types/__init__.pyi +2 -2
  72. imbuf/types/__init__.pyi +2 -2
  73. mathutils/__init__.pyi +1004 -970
  74. mathutils/bvhtree/__init__.pyi +2 -2
  75. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/WHEEL +0 -0
  76. {fake_bpy_module-20240803.dist-info → fake_bpy_module-20240805.dist-info}/top_level.txt +0 -0
@@ -26,7 +26,7 @@ def apply(
26
26
  undo: bool | None = None,
27
27
  *,
28
28
  constraint: str = "",
29
- owner: str | None = "OBJECT",
29
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
30
30
  report: bool | None = False,
31
31
  ):
32
32
  """Apply constraint and remove from the stack
@@ -43,7 +43,7 @@ def apply(
43
43
 
44
44
  BONE
45
45
  Bone -- Edit a constraint on the active bone.
46
- :type owner: str | None
46
+ :type owner: typing.Literal['OBJECT','BONE'] | None
47
47
  :param report: Report, Create a notification after the operation
48
48
  :type report: bool | None
49
49
  """
@@ -56,7 +56,7 @@ def childof_clear_inverse(
56
56
  undo: bool | None = None,
57
57
  *,
58
58
  constraint: str = "",
59
- owner: str | None = "OBJECT",
59
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
60
60
  ):
61
61
  """Clear inverse correction for Child Of constraint
62
62
 
@@ -72,7 +72,7 @@ def childof_clear_inverse(
72
72
 
73
73
  BONE
74
74
  Bone -- Edit a constraint on the active bone.
75
- :type owner: str | None
75
+ :type owner: typing.Literal['OBJECT','BONE'] | None
76
76
  """
77
77
 
78
78
  ...
@@ -83,7 +83,7 @@ def childof_set_inverse(
83
83
  undo: bool | None = None,
84
84
  *,
85
85
  constraint: str = "",
86
- owner: str | None = "OBJECT",
86
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
87
87
  ):
88
88
  """Set inverse correction for Child Of constraint
89
89
 
@@ -99,7 +99,7 @@ def childof_set_inverse(
99
99
 
100
100
  BONE
101
101
  Bone -- Edit a constraint on the active bone.
102
- :type owner: str | None
102
+ :type owner: typing.Literal['OBJECT','BONE'] | None
103
103
  """
104
104
 
105
105
  ...
@@ -110,7 +110,7 @@ def copy(
110
110
  undo: bool | None = None,
111
111
  *,
112
112
  constraint: str = "",
113
- owner: str | None = "OBJECT",
113
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
114
114
  report: bool | None = False,
115
115
  ):
116
116
  """Duplicate constraint at the same position in the stack
@@ -127,7 +127,7 @@ def copy(
127
127
 
128
128
  BONE
129
129
  Bone -- Edit a constraint on the active bone.
130
- :type owner: str | None
130
+ :type owner: typing.Literal['OBJECT','BONE'] | None
131
131
  :param report: Report, Create a notification after the operation
132
132
  :type report: bool | None
133
133
  """
@@ -140,7 +140,7 @@ def copy_to_selected(
140
140
  undo: bool | None = None,
141
141
  *,
142
142
  constraint: str = "",
143
- owner: str | None = "OBJECT",
143
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
144
144
  ):
145
145
  """Copy constraint to other selected objects/bones
146
146
 
@@ -156,7 +156,7 @@ def copy_to_selected(
156
156
 
157
157
  BONE
158
158
  Bone -- Edit a constraint on the active bone.
159
- :type owner: str | None
159
+ :type owner: typing.Literal['OBJECT','BONE'] | None
160
160
  """
161
161
 
162
162
  ...
@@ -167,7 +167,7 @@ def delete(
167
167
  undo: bool | None = None,
168
168
  *,
169
169
  constraint: str = "",
170
- owner: str | None = "OBJECT",
170
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
171
171
  report: bool | None = False,
172
172
  ):
173
173
  """Remove constraint from constraint stack
@@ -184,7 +184,7 @@ def delete(
184
184
 
185
185
  BONE
186
186
  Bone -- Edit a constraint on the active bone.
187
- :type owner: str | None
187
+ :type owner: typing.Literal['OBJECT','BONE'] | None
188
188
  :param report: Report, Create a notification after the operation
189
189
  :type report: bool | None
190
190
  """
@@ -211,7 +211,7 @@ def followpath_path_animate(
211
211
  undo: bool | None = None,
212
212
  *,
213
213
  constraint: str = "",
214
- owner: str | None = "OBJECT",
214
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
215
215
  frame_start: int | None = 1,
216
216
  length: int | None = 100,
217
217
  ):
@@ -229,7 +229,7 @@ def followpath_path_animate(
229
229
 
230
230
  BONE
231
231
  Bone -- Edit a constraint on the active bone.
232
- :type owner: str | None
232
+ :type owner: typing.Literal['OBJECT','BONE'] | None
233
233
  :param frame_start: Start Frame, First frame of path animation
234
234
  :type frame_start: int | None
235
235
  :param length: Length, Number of frames that path animation should take
@@ -244,7 +244,7 @@ def limitdistance_reset(
244
244
  undo: bool | None = None,
245
245
  *,
246
246
  constraint: str = "",
247
- owner: str | None = "OBJECT",
247
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
248
248
  ):
249
249
  """Reset limiting distance for Limit Distance Constraint
250
250
 
@@ -260,7 +260,7 @@ def limitdistance_reset(
260
260
 
261
261
  BONE
262
262
  Bone -- Edit a constraint on the active bone.
263
- :type owner: str | None
263
+ :type owner: typing.Literal['OBJECT','BONE'] | None
264
264
  """
265
265
 
266
266
  ...
@@ -271,7 +271,7 @@ def move_down(
271
271
  undo: bool | None = None,
272
272
  *,
273
273
  constraint: str = "",
274
- owner: str | None = "OBJECT",
274
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
275
275
  ):
276
276
  """Move constraint down in constraint stack
277
277
 
@@ -287,7 +287,7 @@ def move_down(
287
287
 
288
288
  BONE
289
289
  Bone -- Edit a constraint on the active bone.
290
- :type owner: str | None
290
+ :type owner: typing.Literal['OBJECT','BONE'] | None
291
291
  """
292
292
 
293
293
  ...
@@ -298,7 +298,7 @@ def move_to_index(
298
298
  undo: bool | None = None,
299
299
  *,
300
300
  constraint: str = "",
301
- owner: str | None = "OBJECT",
301
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
302
302
  index: int | None = 0,
303
303
  ):
304
304
  """Change the constraint's position in the list so it evaluates after the set number of others
@@ -315,7 +315,7 @@ def move_to_index(
315
315
 
316
316
  BONE
317
317
  Bone -- Edit a constraint on the active bone.
318
- :type owner: str | None
318
+ :type owner: typing.Literal['OBJECT','BONE'] | None
319
319
  :param index: Index, The index to move the constraint to
320
320
  :type index: int | None
321
321
  """
@@ -328,7 +328,7 @@ def move_up(
328
328
  undo: bool | None = None,
329
329
  *,
330
330
  constraint: str = "",
331
- owner: str | None = "OBJECT",
331
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
332
332
  ):
333
333
  """Move constraint up in constraint stack
334
334
 
@@ -344,7 +344,7 @@ def move_up(
344
344
 
345
345
  BONE
346
346
  Bone -- Edit a constraint on the active bone.
347
- :type owner: str | None
347
+ :type owner: typing.Literal['OBJECT','BONE'] | None
348
348
  """
349
349
 
350
350
  ...
@@ -369,7 +369,7 @@ def objectsolver_clear_inverse(
369
369
  undo: bool | None = None,
370
370
  *,
371
371
  constraint: str = "",
372
- owner: str | None = "OBJECT",
372
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
373
373
  ):
374
374
  """Clear inverse correction for Object Solver constraint
375
375
 
@@ -385,7 +385,7 @@ def objectsolver_clear_inverse(
385
385
 
386
386
  BONE
387
387
  Bone -- Edit a constraint on the active bone.
388
- :type owner: str | None
388
+ :type owner: typing.Literal['OBJECT','BONE'] | None
389
389
  """
390
390
 
391
391
  ...
@@ -396,7 +396,7 @@ def objectsolver_set_inverse(
396
396
  undo: bool | None = None,
397
397
  *,
398
398
  constraint: str = "",
399
- owner: str | None = "OBJECT",
399
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
400
400
  ):
401
401
  """Set inverse correction for Object Solver constraint
402
402
 
@@ -412,7 +412,7 @@ def objectsolver_set_inverse(
412
412
 
413
413
  BONE
414
414
  Bone -- Edit a constraint on the active bone.
415
- :type owner: str | None
415
+ :type owner: typing.Literal['OBJECT','BONE'] | None
416
416
  """
417
417
 
418
418
  ...
@@ -441,7 +441,7 @@ def stretchto_reset(
441
441
  undo: bool | None = None,
442
442
  *,
443
443
  constraint: str = "",
444
- owner: str | None = "OBJECT",
444
+ owner: typing.Literal["OBJECT", "BONE"] | None = "OBJECT",
445
445
  ):
446
446
  """Reset original length of bone for Stretch To Constraint
447
447
 
@@ -457,7 +457,7 @@ def stretchto_reset(
457
457
 
458
458
  BONE
459
459
  Bone -- Edit a constraint on the active bone.
460
- :type owner: str | None
460
+ :type owner: typing.Literal['OBJECT','BONE'] | None
461
461
  """
462
462
 
463
463
  ...
@@ -13,7 +13,7 @@ def cyclic_toggle(
13
13
  execution_context: int | str | None = None,
14
14
  undo: bool | None = None,
15
15
  *,
16
- direction: str | None = "CYCLIC_U",
16
+ direction: typing.Literal["CYCLIC_U", "CYCLIC_V"] | None = "CYCLIC_U",
17
17
  ):
18
18
  """Make active spline closed/opened loop
19
19
 
@@ -21,7 +21,7 @@ def cyclic_toggle(
21
21
  :type execution_context: int | str | None
22
22
  :type undo: bool | None
23
23
  :param direction: Direction, Direction to make surface cyclic in
24
- :type direction: str | None
24
+ :type direction: typing.Literal['CYCLIC_U','CYCLIC_V'] | None
25
25
  """
26
26
 
27
27
  ...
@@ -77,7 +77,7 @@ def delete(
77
77
  execution_context: int | str | None = None,
78
78
  undo: bool | None = None,
79
79
  *,
80
- type: str | None = "VERT",
80
+ type: typing.Literal["VERT", "SEGMENT"] | None = "VERT",
81
81
  ):
82
82
  """Delete selected control points or segments
83
83
 
@@ -85,7 +85,7 @@ def delete(
85
85
  :type execution_context: int | str | None
86
86
  :type undo: bool | None
87
87
  :param type: Type, Which elements to delete
88
- :type type: str | None
88
+ :type type: typing.Literal['VERT','SEGMENT'] | None
89
89
  """
90
90
 
91
91
  ...
@@ -110,7 +110,7 @@ def draw(
110
110
  undo: bool | None = None,
111
111
  *,
112
112
  error_threshold: float | None = 0.0,
113
- fit_method: str | None = "REFIT",
113
+ fit_method: typing.Literal["REFIT", "SPLIT"] | None = "REFIT",
114
114
  corner_angle: float | None = 1.22173,
115
115
  use_cyclic: bool | None = True,
116
116
  stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
@@ -125,7 +125,7 @@ def draw(
125
125
  :param error_threshold: Error, Error distance threshold (in object units)
126
126
  :type error_threshold: float | None
127
127
  :param fit_method: Fit Method
128
- :type fit_method: str | None
128
+ :type fit_method: typing.Literal['REFIT', 'SPLIT'] | None
129
129
  :param corner_angle: Corner Angle
130
130
  :type corner_angle: float | None
131
131
  :param use_cyclic: Cyclic
@@ -178,7 +178,42 @@ def extrude(
178
178
  execution_context: int | str | None = None,
179
179
  undo: bool | None = None,
180
180
  *,
181
- mode: str | None = "TRANSLATION",
181
+ mode: typing.Literal[
182
+ "INIT",
183
+ "DUMMY",
184
+ "TRANSLATION",
185
+ "ROTATION",
186
+ "RESIZE",
187
+ "SKIN_RESIZE",
188
+ "TOSPHERE",
189
+ "SHEAR",
190
+ "BEND",
191
+ "SHRINKFATTEN",
192
+ "TILT",
193
+ "TRACKBALL",
194
+ "PUSHPULL",
195
+ "CREASE",
196
+ "VERTEX_CREASE",
197
+ "MIRROR",
198
+ "BONE_SIZE",
199
+ "BONE_ENVELOPE",
200
+ "BONE_ENVELOPE_DIST",
201
+ "CURVE_SHRINKFATTEN",
202
+ "MASK_SHRINKFATTEN",
203
+ "GPENCIL_SHRINKFATTEN",
204
+ "BONE_ROLL",
205
+ "TIME_TRANSLATE",
206
+ "TIME_SLIDE",
207
+ "TIME_SCALE",
208
+ "TIME_EXTEND",
209
+ "BAKE_TIME",
210
+ "BWEIGHT",
211
+ "ALIGN",
212
+ "EDGESLIDE",
213
+ "SEQSLIDE",
214
+ "GPENCIL_OPACITY",
215
+ ]
216
+ | None = "TRANSLATION",
182
217
  ):
183
218
  """Extrude selected control point(s)
184
219
 
@@ -186,7 +221,7 @@ def extrude(
186
221
  :type execution_context: int | str | None
187
222
  :type undo: bool | None
188
223
  :param mode: Mode
189
- :type mode: str | None
224
+ :type mode: typing.Literal['INIT', 'DUMMY', 'TRANSLATION', 'ROTATION', 'RESIZE', 'SKIN_RESIZE', 'TOSPHERE', 'SHEAR', 'BEND', 'SHRINKFATTEN', 'TILT', 'TRACKBALL', 'PUSHPULL', 'CREASE', 'VERTEX_CREASE', 'MIRROR', 'BONE_SIZE', 'BONE_ENVELOPE', 'BONE_ENVELOPE_DIST', 'CURVE_SHRINKFATTEN', 'MASK_SHRINKFATTEN', 'GPENCIL_SHRINKFATTEN', 'BONE_ROLL', 'TIME_TRANSLATE', 'TIME_SLIDE', 'TIME_SCALE', 'TIME_EXTEND', 'BAKE_TIME', 'BWEIGHT', 'ALIGN', 'EDGESLIDE', 'SEQSLIDE', 'GPENCIL_OPACITY'] | None
190
225
  """
191
226
 
192
227
  ...
@@ -217,7 +252,10 @@ def handle_type_set(
217
252
  execution_context: int | str | None = None,
218
253
  undo: bool | None = None,
219
254
  *,
220
- type: str | None = "AUTOMATIC",
255
+ type: typing.Literal[
256
+ "AUTOMATIC", "VECTOR", "ALIGNED", "FREE_ALIGN", "TOGGLE_FREE_ALIGN"
257
+ ]
258
+ | None = "AUTOMATIC",
221
259
  ):
222
260
  """Set type of handles for selected control points
223
261
 
@@ -225,7 +263,7 @@ def handle_type_set(
225
263
  :type execution_context: int | str | None
226
264
  :type undo: bool | None
227
265
  :param type: Type, Spline type
228
- :type type: str | None
266
+ :type type: typing.Literal['AUTOMATIC','VECTOR','ALIGNED','FREE_ALIGN','TOGGLE_FREE_ALIGN'] | None
229
267
  """
230
268
 
231
269
  ...
@@ -305,14 +343,14 @@ def pen(
305
343
  deselect_all: bool | None = False,
306
344
  select_passthrough: bool | None = False,
307
345
  extrude_point: bool | None = False,
308
- extrude_handle: str | None = "VECTOR",
346
+ extrude_handle: typing.Literal["AUTO", "VECTOR"] | None = "VECTOR",
309
347
  delete_point: bool | None = False,
310
348
  insert_point: bool | None = False,
311
349
  move_segment: bool | None = False,
312
350
  select_point: bool | None = False,
313
351
  move_point: bool | None = False,
314
352
  close_spline: bool | None = True,
315
- close_spline_method: str | None = "OFF",
353
+ close_spline_method: typing.Literal["OFF", "ON_PRESS", "ON_CLICK"] | None = "OFF",
316
354
  toggle_vector: bool | None = False,
317
355
  cycle_handle_type: bool | None = False,
318
356
  ):
@@ -334,7 +372,7 @@ def pen(
334
372
  :param extrude_point: Extrude Point, Add a point connected to the last selected point
335
373
  :type extrude_point: bool | None
336
374
  :param extrude_handle: Extrude Handle Type, Type of the extruded handle
337
- :type extrude_handle: str | None
375
+ :type extrude_handle: typing.Literal['AUTO','VECTOR'] | None
338
376
  :param delete_point: Delete Point, Delete an existing point
339
377
  :type delete_point: bool | None
340
378
  :param insert_point: Insert Point, Insert Point into a curve segment
@@ -357,7 +395,7 @@ def pen(
357
395
 
358
396
  ON_CLICK
359
397
  On Click -- Spline closes on release if not dragged.
360
- :type close_spline_method: str | None
398
+ :type close_spline_method: typing.Literal['OFF','ON_PRESS','ON_CLICK'] | None
361
399
  :param toggle_vector: Toggle Vector, Toggle between Vector and Auto handles
362
400
  :type toggle_vector: bool | None
363
401
  :param cycle_handle_type: Cycle Handle Type, Cycle between all four handle types
@@ -373,7 +411,7 @@ def primitive_bezier_circle_add(
373
411
  *,
374
412
  radius: float | None = 1.0,
375
413
  enter_editmode: bool | None = False,
376
- align: str | None = "WORLD",
414
+ align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
377
415
  location: collections.abc.Sequence[float] | mathutils.Vector | None = (
378
416
  0.0,
379
417
  0.0,
@@ -405,7 +443,7 @@ def primitive_bezier_circle_add(
405
443
 
406
444
  CURSOR
407
445
  3D Cursor -- Use the 3D cursor orientation for the new object.
408
- :type align: str | None
446
+ :type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
409
447
  :param location: Location, Location for the newly added object
410
448
  :type location: collections.abc.Sequence[float] | mathutils.Vector | None
411
449
  :param rotation: Rotation, Rotation for the newly added object
@@ -423,7 +461,7 @@ def primitive_bezier_curve_add(
423
461
  *,
424
462
  radius: float | None = 1.0,
425
463
  enter_editmode: bool | None = False,
426
- align: str | None = "WORLD",
464
+ align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
427
465
  location: collections.abc.Sequence[float] | mathutils.Vector | None = (
428
466
  0.0,
429
467
  0.0,
@@ -455,7 +493,7 @@ def primitive_bezier_curve_add(
455
493
 
456
494
  CURSOR
457
495
  3D Cursor -- Use the 3D cursor orientation for the new object.
458
- :type align: str | None
496
+ :type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
459
497
  :param location: Location, Location for the newly added object
460
498
  :type location: collections.abc.Sequence[float] | mathutils.Vector | None
461
499
  :param rotation: Rotation, Rotation for the newly added object
@@ -473,7 +511,7 @@ def primitive_nurbs_circle_add(
473
511
  *,
474
512
  radius: float | None = 1.0,
475
513
  enter_editmode: bool | None = False,
476
- align: str | None = "WORLD",
514
+ align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
477
515
  location: collections.abc.Sequence[float] | mathutils.Vector | None = (
478
516
  0.0,
479
517
  0.0,
@@ -505,7 +543,7 @@ def primitive_nurbs_circle_add(
505
543
 
506
544
  CURSOR
507
545
  3D Cursor -- Use the 3D cursor orientation for the new object.
508
- :type align: str | None
546
+ :type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
509
547
  :param location: Location, Location for the newly added object
510
548
  :type location: collections.abc.Sequence[float] | mathutils.Vector | None
511
549
  :param rotation: Rotation, Rotation for the newly added object
@@ -523,7 +561,7 @@ def primitive_nurbs_curve_add(
523
561
  *,
524
562
  radius: float | None = 1.0,
525
563
  enter_editmode: bool | None = False,
526
- align: str | None = "WORLD",
564
+ align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
527
565
  location: collections.abc.Sequence[float] | mathutils.Vector | None = (
528
566
  0.0,
529
567
  0.0,
@@ -555,7 +593,7 @@ def primitive_nurbs_curve_add(
555
593
 
556
594
  CURSOR
557
595
  3D Cursor -- Use the 3D cursor orientation for the new object.
558
- :type align: str | None
596
+ :type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
559
597
  :param location: Location, Location for the newly added object
560
598
  :type location: collections.abc.Sequence[float] | mathutils.Vector | None
561
599
  :param rotation: Rotation, Rotation for the newly added object
@@ -573,7 +611,7 @@ def primitive_nurbs_path_add(
573
611
  *,
574
612
  radius: float | None = 1.0,
575
613
  enter_editmode: bool | None = False,
576
- align: str | None = "WORLD",
614
+ align: typing.Literal["WORLD", "VIEW", "CURSOR"] | None = "WORLD",
577
615
  location: collections.abc.Sequence[float] | mathutils.Vector | None = (
578
616
  0.0,
579
617
  0.0,
@@ -605,7 +643,7 @@ def primitive_nurbs_path_add(
605
643
 
606
644
  CURSOR
607
645
  3D Cursor -- Use the 3D cursor orientation for the new object.
608
- :type align: str | None
646
+ :type align: typing.Literal['WORLD','VIEW','CURSOR'] | None
609
647
  :param location: Location, Location for the newly added object
610
648
  :type location: collections.abc.Sequence[float] | mathutils.Vector | None
611
649
  :param rotation: Rotation, Rotation for the newly added object
@@ -657,7 +695,7 @@ def select_all(
657
695
  execution_context: int | str | None = None,
658
696
  undo: bool | None = None,
659
697
  *,
660
- action: str | None = "TOGGLE",
698
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
661
699
  ):
662
700
  """(De)select all control points
663
701
 
@@ -677,7 +715,7 @@ def select_all(
677
715
 
678
716
  INVERT
679
717
  Invert -- Invert selection of all elements.
680
- :type action: str | None
718
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
681
719
  """
682
720
 
683
721
  ...
@@ -801,7 +839,7 @@ def select_random(
801
839
  *,
802
840
  ratio: float | None = 0.5,
803
841
  seed: int | None = 0,
804
- action: str | None = "SELECT",
842
+ action: typing.Literal["SELECT", "DESELECT"] | None = "SELECT",
805
843
  ):
806
844
  """Randomly select some control points
807
845
 
@@ -819,7 +857,7 @@ def select_random(
819
857
 
820
858
  DESELECT
821
859
  Deselect -- Deselect all elements.
822
- :type action: str | None
860
+ :type action: typing.Literal['SELECT','DESELECT'] | None
823
861
  """
824
862
 
825
863
  ...
@@ -843,8 +881,8 @@ def select_similar(
843
881
  execution_context: int | str | None = None,
844
882
  undo: bool | None = None,
845
883
  *,
846
- type: str | None = "WEIGHT",
847
- compare: str | None = "EQUAL",
884
+ type: typing.Literal["TYPE", "RADIUS", "WEIGHT", "DIRECTION"] | None = "WEIGHT",
885
+ compare: typing.Literal["EQUAL", "GREATER", "LESS"] | None = "EQUAL",
848
886
  threshold: float | None = 0.1,
849
887
  ):
850
888
  """Select similar curve points by property type
@@ -853,9 +891,9 @@ def select_similar(
853
891
  :type execution_context: int | str | None
854
892
  :type undo: bool | None
855
893
  :param type: Type
856
- :type type: str | None
894
+ :type type: typing.Literal['TYPE','RADIUS','WEIGHT','DIRECTION'] | None
857
895
  :param compare: Compare
858
- :type compare: str | None
896
+ :type compare: typing.Literal['EQUAL','GREATER','LESS'] | None
859
897
  :param threshold: Threshold
860
898
  :type threshold: float | None
861
899
  """
@@ -1000,7 +1038,7 @@ def spline_type_set(
1000
1038
  execution_context: int | str | None = None,
1001
1039
  undo: bool | None = None,
1002
1040
  *,
1003
- type: str | None = "POLY",
1041
+ type: typing.Literal["POLY", "BEZIER", "NURBS"] | None = "POLY",
1004
1042
  use_handles: bool | None = False,
1005
1043
  ):
1006
1044
  """Set type of active spline
@@ -1009,7 +1047,7 @@ def spline_type_set(
1009
1047
  :type execution_context: int | str | None
1010
1048
  :type undo: bool | None
1011
1049
  :param type: Type, Spline type
1012
- :type type: str | None
1050
+ :type type: typing.Literal['POLY','BEZIER','NURBS'] | None
1013
1051
  :param use_handles: Handles, Use handles when converting Bézier curves into polygons
1014
1052
  :type use_handles: bool | None
1015
1053
  """