fake-bpy-module 20240420__py3-none-any.whl → 20240422__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.
Files changed (187) hide show
  1. bl_operators/add_mesh_torus/__init__.pyi +2 -1
  2. bl_operators/assets/__init__.pyi +12 -12
  3. bl_operators/geometry_nodes/__init__.pyi +256 -238
  4. bl_operators/node/__init__.pyi +262 -260
  5. bl_operators/object_quick_effects/__init__.pyi +19 -19
  6. bl_operators/presets/__init__.pyi +371 -368
  7. bl_operators/wm/__init__.pyi +4 -4
  8. bl_ui/__init__.pyi +3 -3
  9. bl_ui/anim/__init__.pyi +1 -1
  10. bl_ui/asset_shelf/__init__.pyi +1 -1
  11. bl_ui/generic_ui_list/__init__.pyi +3 -3
  12. bl_ui/node_add_menu/__init__.pyi +1 -1
  13. bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
  14. bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
  15. bl_ui/node_add_menu_shader/__init__.pyi +10 -10
  16. bl_ui/node_add_menu_texture/__init__.pyi +9 -9
  17. bl_ui/properties_collection/__init__.pyi +39 -25
  18. bl_ui/properties_constraint/__init__.pyi +1257 -1041
  19. bl_ui/properties_data_armature/__init__.pyi +120 -96
  20. bl_ui/properties_data_bone/__init__.pyi +36 -29
  21. bl_ui/properties_data_camera/__init__.pyi +32 -14
  22. bl_ui/properties_data_curve/__init__.pyi +143 -116
  23. bl_ui/properties_data_curves/__init__.pyi +30 -25
  24. bl_ui/properties_data_empty/__init__.pyi +21 -21
  25. bl_ui/properties_data_gpencil/__init__.pyi +297 -260
  26. bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
  27. bl_ui/properties_data_lattice/__init__.pyi +25 -22
  28. bl_ui/properties_data_light/__init__.pyi +44 -31
  29. bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
  30. bl_ui/properties_data_mesh/__init__.pyi +579 -570
  31. bl_ui/properties_data_metaball/__init__.pyi +29 -24
  32. bl_ui/properties_data_modifier/__init__.pyi +55 -43
  33. bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
  34. bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
  35. bl_ui/properties_data_speaker/__init__.pyi +27 -24
  36. bl_ui/properties_data_volume/__init__.pyi +75 -68
  37. bl_ui/properties_freestyle/__init__.pyi +407 -284
  38. bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
  39. bl_ui/properties_mask_common/__init__.pyi +7 -7
  40. bl_ui/properties_material/__init__.pyi +186 -162
  41. bl_ui/properties_material_gpencil/__init__.pyi +111 -87
  42. bl_ui/properties_object/__init__.pyi +102 -84
  43. bl_ui/properties_output/__init__.pyi +255 -228
  44. bl_ui/properties_paint_common/__init__.pyi +9 -9
  45. bl_ui/properties_particle/__init__.pyi +341 -254
  46. bl_ui/properties_physics_cloth/__init__.pyi +54 -33
  47. bl_ui/properties_physics_common/__init__.pyi +20 -20
  48. bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
  49. bl_ui/properties_physics_field/__init__.pyi +52 -36
  50. bl_ui/properties_physics_fluid/__init__.pyi +119 -96
  51. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
  52. bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
  53. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
  54. bl_ui/properties_physics_softbody/__init__.pyi +62 -34
  55. bl_ui/properties_render/__init__.pyi +275 -187
  56. bl_ui/properties_scene/__init__.pyi +173 -154
  57. bl_ui/properties_texture/__init__.pyi +251 -205
  58. bl_ui/properties_view_layer/__init__.pyi +126 -93
  59. bl_ui/properties_workspace/__init__.pyi +82 -76
  60. bl_ui/properties_world/__init__.pyi +31 -26
  61. bl_ui/space_clip/__init__.pyi +495 -433
  62. bl_ui/space_console/__init__.pyi +6 -6
  63. bl_ui/space_dopesheet/__init__.pyi +209 -174
  64. bl_ui/space_filebrowser/__init__.pyi +691 -679
  65. bl_ui/space_graph/__init__.pyi +25 -20
  66. bl_ui/space_image/__init__.pyi +959 -845
  67. bl_ui/space_info/__init__.pyi +6 -6
  68. bl_ui/space_nla/__init__.pyi +26 -17
  69. bl_ui/space_node/__init__.pyi +49 -36
  70. bl_ui/space_outliner/__init__.pyi +14 -14
  71. bl_ui/space_properties/__init__.pyi +3 -3
  72. bl_ui/space_sequencer/__init__.pyi +510 -444
  73. bl_ui/space_spreadsheet/__init__.pyi +1 -1
  74. bl_ui/space_statusbar/__init__.pyi +1 -1
  75. bl_ui/space_text/__init__.pyi +16 -16
  76. bl_ui/space_time/__init__.pyi +27 -23
  77. bl_ui/space_toolsystem_common/__init__.pyi +1 -1
  78. bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
  79. bl_ui/space_topbar/__init__.pyi +26 -26
  80. bl_ui/space_userpref/__init__.pyi +795 -658
  81. bl_ui/space_view3d/__init__.pyi +1460 -1428
  82. bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
  83. bl_ui/temp_anim_layers/__init__.pyi +1 -1
  84. bmesh/types/__init__.pyi +13 -6
  85. bpy/app/__init__.pyi +4 -4
  86. bpy/app/icons/__init__.pyi +8 -6
  87. bpy/app/timers/__init__.pyi +10 -8
  88. bpy/app/translations/__init__.pyi +22 -20
  89. bpy/msgbus/__init__.pyi +4 -2
  90. bpy/ops/action/__init__.pyi +319 -316
  91. bpy/ops/anim/__init__.pyi +428 -428
  92. bpy/ops/armature/__init__.pyi +359 -358
  93. bpy/ops/asset/__init__.pyi +146 -146
  94. bpy/ops/boid/__init__.pyi +50 -50
  95. bpy/ops/brush/__init__.pyi +72 -72
  96. bpy/ops/buttons/__init__.pyi +128 -128
  97. bpy/ops/cachefile/__init__.pyi +124 -124
  98. bpy/ops/camera/__init__.pyi +22 -22
  99. bpy/ops/clip/__init__.pyi +773 -768
  100. bpy/ops/cloth/__init__.pyi +10 -10
  101. bpy/ops/collection/__init__.pyi +64 -64
  102. bpy/ops/console/__init__.pyi +150 -150
  103. bpy/ops/constraint/__init__.pyi +150 -150
  104. bpy/ops/curve/__init__.pyi +475 -472
  105. bpy/ops/curves/__init__.pyi +247 -244
  106. bpy/ops/cycles/__init__.pyi +18 -18
  107. bpy/ops/dpaint/__init__.pyi +34 -34
  108. bpy/ops/ed/__init__.pyi +122 -122
  109. bpy/ops/export_anim/__init__.pyi +18 -18
  110. bpy/ops/export_mesh/__init__.pyi +26 -26
  111. bpy/ops/export_scene/__init__.pyi +336 -307
  112. bpy/ops/file/__init__.pyi +340 -340
  113. bpy/ops/fluid/__init__.pyi +88 -88
  114. bpy/ops/font/__init__.pyi +252 -252
  115. bpy/ops/geometry/__init__.pyi +86 -86
  116. bpy/ops/gizmogroup/__init__.pyi +22 -22
  117. bpy/ops/gpencil/__init__.pyi +1459 -1444
  118. bpy/ops/graph/__init__.pyi +645 -642
  119. bpy/ops/grease_pencil/__init__.pyi +441 -436
  120. bpy/ops/image/__init__.pyi +614 -612
  121. bpy/ops/import_anim/__init__.pyi +26 -26
  122. bpy/ops/import_curve/__init__.pyi +6 -6
  123. bpy/ops/import_mesh/__init__.pyi +20 -18
  124. bpy/ops/import_scene/__init__.pyi +92 -86
  125. bpy/ops/info/__init__.pyi +60 -60
  126. bpy/ops/lattice/__init__.pyi +64 -64
  127. bpy/ops/marker/__init__.pyi +106 -106
  128. bpy/ops/mask/__init__.pyi +321 -318
  129. bpy/ops/material/__init__.pyi +18 -18
  130. bpy/ops/mball/__init__.pyi +71 -70
  131. bpy/ops/mesh/__init__.pyi +1997 -1990
  132. bpy/ops/nla/__init__.pyi +331 -330
  133. bpy/ops/node/__init__.pyi +867 -852
  134. bpy/ops/object/__init__.pyi +2433 -2430
  135. bpy/ops/outliner/__init__.pyi +498 -498
  136. bpy/ops/paint/__init__.pyi +554 -544
  137. bpy/ops/paintcurve/__init__.pyi +64 -64
  138. bpy/ops/palette/__init__.pyi +48 -48
  139. bpy/ops/particle/__init__.pyi +266 -264
  140. bpy/ops/pose/__init__.pyi +336 -336
  141. bpy/ops/poselib/__init__.pyi +70 -70
  142. bpy/ops/preferences/__init__.pyi +338 -336
  143. bpy/ops/ptcache/__init__.pyi +46 -46
  144. bpy/ops/render/__init__.pyi +114 -114
  145. bpy/ops/rigidbody/__init__.pyi +102 -102
  146. bpy/ops/scene/__init__.pyi +270 -270
  147. bpy/ops/screen/__init__.pyi +378 -378
  148. bpy/ops/script/__init__.pyi +18 -18
  149. bpy/ops/sculpt/__init__.pyi +411 -405
  150. bpy/ops/sculpt_curves/__init__.pyi +42 -40
  151. bpy/ops/sequencer/__init__.pyi +1053 -1040
  152. bpy/ops/sound/__init__.pyi +208 -208
  153. bpy/ops/spreadsheet/__init__.pyi +30 -30
  154. bpy/ops/surface/__init__.pyi +108 -108
  155. bpy/ops/text/__init__.pyi +382 -382
  156. bpy/ops/text_editor/__init__.pyi +10 -10
  157. bpy/ops/texture/__init__.pyi +26 -26
  158. bpy/ops/transform/__init__.pyi +826 -790
  159. bpy/ops/ui/__init__.pyi +216 -216
  160. bpy/ops/uilist/__init__.pyi +20 -20
  161. bpy/ops/uv/__init__.pyi +605 -600
  162. bpy/ops/view2d/__init__.pyi +156 -156
  163. bpy/ops/view3d/__init__.pyi +578 -576
  164. bpy/ops/wm/__init__.pyi +2412 -2376
  165. bpy/ops/workspace/__init__.pyi +42 -42
  166. bpy/ops/world/__init__.pyi +6 -6
  167. bpy/path/__init__.pyi +48 -33
  168. bpy/props/__init__.pyi +263 -261
  169. bpy/types/__init__.pyi +103670 -100517
  170. bpy/utils/__init__.pyi +87 -52
  171. bpy/utils/previews/__init__.pyi +2 -2
  172. bpy/utils/units/__init__.pyi +20 -17
  173. bpy_extras/anim_utils/__init__.pyi +9 -2
  174. bpy_extras/io_utils/__init__.pyi +2 -1
  175. bpy_extras/view3d_utils/__init__.pyi +2 -1
  176. bpy_types/__init__.pyi +236 -236
  177. {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
  178. {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
  179. freestyle/chainingiterators/__init__.pyi +7 -2
  180. freestyle/types/__init__.pyi +8 -3
  181. gpu_extras/presets/__init__.pyi +14 -2
  182. keyingsets_builtins/__init__.pyi +92 -92
  183. mathutils/__init__.pyi +9 -5
  184. mathutils/geometry/__init__.pyi +8 -4
  185. nodeitems_builtins/__init__.pyi +7 -7
  186. {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
  187. {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
@@ -4,66 +4,66 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def add_row_filter_rule(
7
- override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
9
- undo: bool = None,
7
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
8
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
9
+ undo: typing.Optional[bool] = None,
10
10
  ):
11
11
  """Add a filter to remove rows from the displayed data
12
12
 
13
- :type override_context: typing.Union[dict, bpy.types.Context]
14
- :type execution_context: typing.Union[str, int]
15
- :type undo: bool
13
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
14
+ :type execution_context: typing.Optional[typing.Union[str, int]]
15
+ :type undo: typing.Optional[bool]
16
16
  """
17
17
 
18
18
  ...
19
19
 
20
20
  def change_spreadsheet_data_source(
21
- override_context: typing.Union[dict, bpy.types.Context] = None,
22
- execution_context: typing.Union[str, int] = None,
23
- undo: bool = None,
24
- component_type: typing.Any = 0,
25
- attribute_domain_type: typing.Any = 0,
21
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
22
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
23
+ undo: typing.Optional[bool] = None,
24
+ component_type: typing.Optional[typing.Any] = 0,
25
+ attribute_domain_type: typing.Optional[typing.Any] = 0,
26
26
  ):
27
27
  """Change visible data source in the spreadsheet
28
28
 
29
- :type override_context: typing.Union[dict, bpy.types.Context]
30
- :type execution_context: typing.Union[str, int]
31
- :type undo: bool
29
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
30
+ :type execution_context: typing.Optional[typing.Union[str, int]]
31
+ :type undo: typing.Optional[bool]
32
32
  :param component_type: Component Type
33
- :type component_type: typing.Any
33
+ :type component_type: typing.Optional[typing.Any]
34
34
  :param attribute_domain_type: Attribute Domain Type
35
- :type attribute_domain_type: typing.Any
35
+ :type attribute_domain_type: typing.Optional[typing.Any]
36
36
  """
37
37
 
38
38
  ...
39
39
 
40
40
  def remove_row_filter_rule(
41
- override_context: typing.Union[dict, bpy.types.Context] = None,
42
- execution_context: typing.Union[str, int] = None,
43
- undo: bool = None,
44
- index: typing.Any = 0,
41
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
42
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
43
+ undo: typing.Optional[bool] = None,
44
+ index: typing.Optional[typing.Any] = 0,
45
45
  ):
46
46
  """Remove a row filter from the rules
47
47
 
48
- :type override_context: typing.Union[dict, bpy.types.Context]
49
- :type execution_context: typing.Union[str, int]
50
- :type undo: bool
48
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
49
+ :type execution_context: typing.Optional[typing.Union[str, int]]
50
+ :type undo: typing.Optional[bool]
51
51
  :param index: Index
52
- :type index: typing.Any
52
+ :type index: typing.Optional[typing.Any]
53
53
  """
54
54
 
55
55
  ...
56
56
 
57
57
  def toggle_pin(
58
- override_context: typing.Union[dict, bpy.types.Context] = None,
59
- execution_context: typing.Union[str, int] = None,
60
- undo: bool = None,
58
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
59
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
60
+ undo: typing.Optional[bool] = None,
61
61
  ):
62
62
  """Turn on or off pinning
63
63
 
64
- :type override_context: typing.Union[dict, bpy.types.Context]
65
- :type execution_context: typing.Union[str, int]
66
- :type undo: bool
64
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
65
+ :type execution_context: typing.Optional[typing.Union[str, int]]
66
+ :type undo: typing.Optional[bool]
67
67
  """
68
68
 
69
69
  ...
@@ -4,25 +4,25 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def primitive_nurbs_surface_circle_add(
7
- override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
9
- undo: bool = None,
10
- radius: typing.Any = 1.0,
11
- enter_editmode: typing.Union[bool, typing.Any] = False,
12
- align: typing.Any = "WORLD",
13
- location: typing.Any = (0.0, 0.0, 0.0),
14
- rotation: typing.Any = (0.0, 0.0, 0.0),
15
- scale: typing.Any = (0.0, 0.0, 0.0),
7
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
8
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
9
+ undo: typing.Optional[bool] = None,
10
+ radius: typing.Optional[typing.Any] = 1.0,
11
+ enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
12
+ align: typing.Optional[typing.Any] = "WORLD",
13
+ location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
14
+ rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
15
+ scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
16
16
  ):
17
17
  """Construct a Nurbs surface Circle
18
18
 
19
- :type override_context: typing.Union[dict, bpy.types.Context]
20
- :type execution_context: typing.Union[str, int]
21
- :type undo: bool
19
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
20
+ :type execution_context: typing.Optional[typing.Union[str, int]]
21
+ :type undo: typing.Optional[bool]
22
22
  :param radius: Radius
23
- :type radius: typing.Any
23
+ :type radius: typing.Optional[typing.Any]
24
24
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
25
- :type enter_editmode: typing.Union[bool, typing.Any]
25
+ :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
26
26
  :param align: Align, The alignment of the new object
27
27
 
28
28
  WORLD
@@ -33,37 +33,37 @@ def primitive_nurbs_surface_circle_add(
33
33
 
34
34
  CURSOR
35
35
  3D Cursor -- Use the 3D cursor orientation for the new object.
36
- :type align: typing.Any
36
+ :type align: typing.Optional[typing.Any]
37
37
  :param location: Location, Location for the newly added object
38
- :type location: typing.Any
38
+ :type location: typing.Optional[typing.Any]
39
39
  :param rotation: Rotation, Rotation for the newly added object
40
- :type rotation: typing.Any
40
+ :type rotation: typing.Optional[typing.Any]
41
41
  :param scale: Scale, Scale for the newly added object
42
- :type scale: typing.Any
42
+ :type scale: typing.Optional[typing.Any]
43
43
  """
44
44
 
45
45
  ...
46
46
 
47
47
  def primitive_nurbs_surface_curve_add(
48
- override_context: typing.Union[dict, bpy.types.Context] = None,
49
- execution_context: typing.Union[str, int] = None,
50
- undo: bool = None,
51
- radius: typing.Any = 1.0,
52
- enter_editmode: typing.Union[bool, typing.Any] = False,
53
- align: typing.Any = "WORLD",
54
- location: typing.Any = (0.0, 0.0, 0.0),
55
- rotation: typing.Any = (0.0, 0.0, 0.0),
56
- scale: typing.Any = (0.0, 0.0, 0.0),
48
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
49
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
50
+ undo: typing.Optional[bool] = None,
51
+ radius: typing.Optional[typing.Any] = 1.0,
52
+ enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
53
+ align: typing.Optional[typing.Any] = "WORLD",
54
+ location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
55
+ rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
56
+ scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
57
57
  ):
58
58
  """Construct a Nurbs surface Curve
59
59
 
60
- :type override_context: typing.Union[dict, bpy.types.Context]
61
- :type execution_context: typing.Union[str, int]
62
- :type undo: bool
60
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
61
+ :type execution_context: typing.Optional[typing.Union[str, int]]
62
+ :type undo: typing.Optional[bool]
63
63
  :param radius: Radius
64
- :type radius: typing.Any
64
+ :type radius: typing.Optional[typing.Any]
65
65
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
66
- :type enter_editmode: typing.Union[bool, typing.Any]
66
+ :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
67
67
  :param align: Align, The alignment of the new object
68
68
 
69
69
  WORLD
@@ -74,37 +74,37 @@ def primitive_nurbs_surface_curve_add(
74
74
 
75
75
  CURSOR
76
76
  3D Cursor -- Use the 3D cursor orientation for the new object.
77
- :type align: typing.Any
77
+ :type align: typing.Optional[typing.Any]
78
78
  :param location: Location, Location for the newly added object
79
- :type location: typing.Any
79
+ :type location: typing.Optional[typing.Any]
80
80
  :param rotation: Rotation, Rotation for the newly added object
81
- :type rotation: typing.Any
81
+ :type rotation: typing.Optional[typing.Any]
82
82
  :param scale: Scale, Scale for the newly added object
83
- :type scale: typing.Any
83
+ :type scale: typing.Optional[typing.Any]
84
84
  """
85
85
 
86
86
  ...
87
87
 
88
88
  def primitive_nurbs_surface_cylinder_add(
89
- override_context: typing.Union[dict, bpy.types.Context] = None,
90
- execution_context: typing.Union[str, int] = None,
91
- undo: bool = None,
92
- radius: typing.Any = 1.0,
93
- enter_editmode: typing.Union[bool, typing.Any] = False,
94
- align: typing.Any = "WORLD",
95
- location: typing.Any = (0.0, 0.0, 0.0),
96
- rotation: typing.Any = (0.0, 0.0, 0.0),
97
- scale: typing.Any = (0.0, 0.0, 0.0),
89
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
90
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
91
+ undo: typing.Optional[bool] = None,
92
+ radius: typing.Optional[typing.Any] = 1.0,
93
+ enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
94
+ align: typing.Optional[typing.Any] = "WORLD",
95
+ location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
96
+ rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
97
+ scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
98
98
  ):
99
99
  """Construct a Nurbs surface Cylinder
100
100
 
101
- :type override_context: typing.Union[dict, bpy.types.Context]
102
- :type execution_context: typing.Union[str, int]
103
- :type undo: bool
101
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
102
+ :type execution_context: typing.Optional[typing.Union[str, int]]
103
+ :type undo: typing.Optional[bool]
104
104
  :param radius: Radius
105
- :type radius: typing.Any
105
+ :type radius: typing.Optional[typing.Any]
106
106
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
107
- :type enter_editmode: typing.Union[bool, typing.Any]
107
+ :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
108
108
  :param align: Align, The alignment of the new object
109
109
 
110
110
  WORLD
@@ -115,37 +115,37 @@ def primitive_nurbs_surface_cylinder_add(
115
115
 
116
116
  CURSOR
117
117
  3D Cursor -- Use the 3D cursor orientation for the new object.
118
- :type align: typing.Any
118
+ :type align: typing.Optional[typing.Any]
119
119
  :param location: Location, Location for the newly added object
120
- :type location: typing.Any
120
+ :type location: typing.Optional[typing.Any]
121
121
  :param rotation: Rotation, Rotation for the newly added object
122
- :type rotation: typing.Any
122
+ :type rotation: typing.Optional[typing.Any]
123
123
  :param scale: Scale, Scale for the newly added object
124
- :type scale: typing.Any
124
+ :type scale: typing.Optional[typing.Any]
125
125
  """
126
126
 
127
127
  ...
128
128
 
129
129
  def primitive_nurbs_surface_sphere_add(
130
- override_context: typing.Union[dict, bpy.types.Context] = None,
131
- execution_context: typing.Union[str, int] = None,
132
- undo: bool = None,
133
- radius: typing.Any = 1.0,
134
- enter_editmode: typing.Union[bool, typing.Any] = False,
135
- align: typing.Any = "WORLD",
136
- location: typing.Any = (0.0, 0.0, 0.0),
137
- rotation: typing.Any = (0.0, 0.0, 0.0),
138
- scale: typing.Any = (0.0, 0.0, 0.0),
130
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
131
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
132
+ undo: typing.Optional[bool] = None,
133
+ radius: typing.Optional[typing.Any] = 1.0,
134
+ enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
135
+ align: typing.Optional[typing.Any] = "WORLD",
136
+ location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
137
+ rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
138
+ scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
139
139
  ):
140
140
  """Construct a Nurbs surface Sphere
141
141
 
142
- :type override_context: typing.Union[dict, bpy.types.Context]
143
- :type execution_context: typing.Union[str, int]
144
- :type undo: bool
142
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
143
+ :type execution_context: typing.Optional[typing.Union[str, int]]
144
+ :type undo: typing.Optional[bool]
145
145
  :param radius: Radius
146
- :type radius: typing.Any
146
+ :type radius: typing.Optional[typing.Any]
147
147
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
148
- :type enter_editmode: typing.Union[bool, typing.Any]
148
+ :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
149
149
  :param align: Align, The alignment of the new object
150
150
 
151
151
  WORLD
@@ -156,37 +156,37 @@ def primitive_nurbs_surface_sphere_add(
156
156
 
157
157
  CURSOR
158
158
  3D Cursor -- Use the 3D cursor orientation for the new object.
159
- :type align: typing.Any
159
+ :type align: typing.Optional[typing.Any]
160
160
  :param location: Location, Location for the newly added object
161
- :type location: typing.Any
161
+ :type location: typing.Optional[typing.Any]
162
162
  :param rotation: Rotation, Rotation for the newly added object
163
- :type rotation: typing.Any
163
+ :type rotation: typing.Optional[typing.Any]
164
164
  :param scale: Scale, Scale for the newly added object
165
- :type scale: typing.Any
165
+ :type scale: typing.Optional[typing.Any]
166
166
  """
167
167
 
168
168
  ...
169
169
 
170
170
  def primitive_nurbs_surface_surface_add(
171
- override_context: typing.Union[dict, bpy.types.Context] = None,
172
- execution_context: typing.Union[str, int] = None,
173
- undo: bool = None,
174
- radius: typing.Any = 1.0,
175
- enter_editmode: typing.Union[bool, typing.Any] = False,
176
- align: typing.Any = "WORLD",
177
- location: typing.Any = (0.0, 0.0, 0.0),
178
- rotation: typing.Any = (0.0, 0.0, 0.0),
179
- scale: typing.Any = (0.0, 0.0, 0.0),
171
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
172
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
173
+ undo: typing.Optional[bool] = None,
174
+ radius: typing.Optional[typing.Any] = 1.0,
175
+ enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
176
+ align: typing.Optional[typing.Any] = "WORLD",
177
+ location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
178
+ rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
179
+ scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
180
180
  ):
181
181
  """Construct a Nurbs surface Patch
182
182
 
183
- :type override_context: typing.Union[dict, bpy.types.Context]
184
- :type execution_context: typing.Union[str, int]
185
- :type undo: bool
183
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
184
+ :type execution_context: typing.Optional[typing.Union[str, int]]
185
+ :type undo: typing.Optional[bool]
186
186
  :param radius: Radius
187
- :type radius: typing.Any
187
+ :type radius: typing.Optional[typing.Any]
188
188
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
189
- :type enter_editmode: typing.Union[bool, typing.Any]
189
+ :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
190
190
  :param align: Align, The alignment of the new object
191
191
 
192
192
  WORLD
@@ -197,37 +197,37 @@ def primitive_nurbs_surface_surface_add(
197
197
 
198
198
  CURSOR
199
199
  3D Cursor -- Use the 3D cursor orientation for the new object.
200
- :type align: typing.Any
200
+ :type align: typing.Optional[typing.Any]
201
201
  :param location: Location, Location for the newly added object
202
- :type location: typing.Any
202
+ :type location: typing.Optional[typing.Any]
203
203
  :param rotation: Rotation, Rotation for the newly added object
204
- :type rotation: typing.Any
204
+ :type rotation: typing.Optional[typing.Any]
205
205
  :param scale: Scale, Scale for the newly added object
206
- :type scale: typing.Any
206
+ :type scale: typing.Optional[typing.Any]
207
207
  """
208
208
 
209
209
  ...
210
210
 
211
211
  def primitive_nurbs_surface_torus_add(
212
- override_context: typing.Union[dict, bpy.types.Context] = None,
213
- execution_context: typing.Union[str, int] = None,
214
- undo: bool = None,
215
- radius: typing.Any = 1.0,
216
- enter_editmode: typing.Union[bool, typing.Any] = False,
217
- align: typing.Any = "WORLD",
218
- location: typing.Any = (0.0, 0.0, 0.0),
219
- rotation: typing.Any = (0.0, 0.0, 0.0),
220
- scale: typing.Any = (0.0, 0.0, 0.0),
212
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
213
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
214
+ undo: typing.Optional[bool] = None,
215
+ radius: typing.Optional[typing.Any] = 1.0,
216
+ enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
217
+ align: typing.Optional[typing.Any] = "WORLD",
218
+ location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
219
+ rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
220
+ scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
221
221
  ):
222
222
  """Construct a Nurbs surface Torus
223
223
 
224
- :type override_context: typing.Union[dict, bpy.types.Context]
225
- :type execution_context: typing.Union[str, int]
226
- :type undo: bool
224
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
225
+ :type execution_context: typing.Optional[typing.Union[str, int]]
226
+ :type undo: typing.Optional[bool]
227
227
  :param radius: Radius
228
- :type radius: typing.Any
228
+ :type radius: typing.Optional[typing.Any]
229
229
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
230
- :type enter_editmode: typing.Union[bool, typing.Any]
230
+ :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
231
231
  :param align: Align, The alignment of the new object
232
232
 
233
233
  WORLD
@@ -238,13 +238,13 @@ def primitive_nurbs_surface_torus_add(
238
238
 
239
239
  CURSOR
240
240
  3D Cursor -- Use the 3D cursor orientation for the new object.
241
- :type align: typing.Any
241
+ :type align: typing.Optional[typing.Any]
242
242
  :param location: Location, Location for the newly added object
243
- :type location: typing.Any
243
+ :type location: typing.Optional[typing.Any]
244
244
  :param rotation: Rotation, Rotation for the newly added object
245
- :type rotation: typing.Any
245
+ :type rotation: typing.Optional[typing.Any]
246
246
  :param scale: Scale, Scale for the newly added object
247
- :type scale: typing.Any
247
+ :type scale: typing.Optional[typing.Any]
248
248
  """
249
249
 
250
250
  ...