fake-bpy-module 20240321__py3-none-any.whl → 20240324__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 (285) hide show
  1. addon_utils/__init__.pyi +54 -10
  2. animsys_refactor/__init__.pyi +27 -11
  3. aud/__init__.pyi +130 -123
  4. bgl/__init__.pyi +1831 -216
  5. bl_app_override/__init__.pyi +14 -3
  6. bl_app_override/helpers/__init__.pyi +19 -10
  7. bl_app_template_utils/__init__.pyi +19 -4
  8. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
  9. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
  10. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
  11. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
  12. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
  13. bl_i18n_utils/merge_po/__init__.pyi +4 -1
  14. bl_i18n_utils/settings/__init__.pyi +19 -23
  15. bl_i18n_utils/utils/__init__.pyi +81 -143
  16. bl_i18n_utils/utils_cli/__init__.pyi +29 -6
  17. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
  18. bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
  19. bl_keymap_utils/io/__init__.pyi +44 -9
  20. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
  21. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
  22. bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
  23. bl_keymap_utils/versioning/__init__.pyi +4 -1
  24. bl_math/__init__.pyi +3 -3
  25. bl_operators/__init__.pyi +9 -2
  26. bl_operators/add_mesh_torus/__init__.pyi +120 -49
  27. bl_operators/anim/__init__.pyi +903 -297
  28. bl_operators/assets/__init__.pyi +348 -123
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
  30. bl_operators/clip/__init__.pyi +1262 -470
  31. bl_operators/console/__init__.pyi +542 -160
  32. bl_operators/constraint/__init__.pyi +452 -140
  33. bl_operators/file/__init__.pyi +339 -114
  34. bl_operators/freestyle/__init__.pyi +440 -132
  35. bl_operators/geometry_nodes/__init__.pyi +2131 -842
  36. bl_operators/image/__init__.pyi +330 -97
  37. bl_operators/mesh/__init__.pyi +339 -109
  38. bl_operators/node/__init__.pyi +1506 -621
  39. bl_operators/object/__init__.pyi +1828 -668
  40. bl_operators/object_align/__init__.pyi +124 -35
  41. bl_operators/object_quick_effects/__init__.pyi +470 -149
  42. bl_operators/object_randomize_transform/__init__.pyi +114 -35
  43. bl_operators/presets/__init__.pyi +3056 -1374
  44. bl_operators/rigidbody/__init__.pyi +336 -106
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
  46. bl_operators/sequencer/__init__.pyi +579 -204
  47. bl_operators/spreadsheet/__init__.pyi +110 -38
  48. bl_operators/userpref/__init__.pyi +3201 -1236
  49. bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
  50. bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
  51. bl_operators/uvcalc_transform/__init__.pyi +295 -83
  52. bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
  53. bl_operators/view3d/__init__.pyi +542 -184
  54. bl_operators/wm/__init__.pyi +5554 -2159
  55. bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
  56. bl_rna_utils/data_path/__init__.pyi +12 -2
  57. bl_text_utils/external_editor/__init__.pyi +4 -1
  58. bl_ui/__init__.pyi +346 -146
  59. bl_ui/anim/__init__.pyi +107 -47
  60. bl_ui/asset_shelf/__init__.pyi +111 -33
  61. bl_ui/generic_ui_list/__init__.pyi +349 -146
  62. bl_ui/node_add_menu/__init__.pyi +138 -53
  63. bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
  64. bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
  65. bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
  66. bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
  67. bl_ui/properties_animviz/__init__.pyi +14 -12
  68. bl_ui/properties_collection/__init__.pyi +601 -218
  69. bl_ui/properties_constraint/__init__.pyi +10115 -10647
  70. bl_ui/properties_data_armature/__init__.pyi +1550 -648
  71. bl_ui/properties_data_bone/__init__.pyi +1317 -511
  72. bl_ui/properties_data_camera/__init__.pyi +1852 -719
  73. bl_ui/properties_data_curve/__init__.pyi +2015 -781
  74. bl_ui/properties_data_curves/__init__.pyi +713 -262
  75. bl_ui/properties_data_empty/__init__.pyi +252 -84
  76. bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
  77. bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
  78. bl_ui/properties_data_lattice/__init__.pyi +374 -123
  79. bl_ui/properties_data_light/__init__.pyi +1319 -489
  80. bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
  81. bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
  82. bl_ui/properties_data_metaball/__init__.pyi +610 -197
  83. bl_ui/properties_data_modifier/__init__.pyi +1143 -506
  84. bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
  85. bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
  86. bl_ui/properties_data_speaker/__init__.pyi +618 -195
  87. bl_ui/properties_data_volume/__init__.pyi +1052 -408
  88. bl_ui/properties_freestyle/__init__.pyi +3366 -1450
  89. bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
  90. bl_ui/properties_mask_common/__init__.pyi +803 -371
  91. bl_ui/properties_material/__init__.pyi +2038 -831
  92. bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
  93. bl_ui/properties_object/__init__.pyi +1863 -745
  94. bl_ui/properties_output/__init__.pyi +2482 -1071
  95. bl_ui/properties_paint_common/__init__.pyi +317 -424
  96. bl_ui/properties_particle/__init__.pyi +7235 -2942
  97. bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
  98. bl_ui/properties_physics_common/__init__.pyi +164 -51
  99. bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
  100. bl_ui/properties_physics_field/__init__.pyi +1294 -486
  101. bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
  102. bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
  103. bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
  104. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
  105. bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
  106. bl_ui/properties_render/__init__.pyi +7177 -2939
  107. bl_ui/properties_scene/__init__.pyi +1881 -760
  108. bl_ui/properties_texture/__init__.pyi +3539 -1399
  109. bl_ui/properties_view_layer/__init__.pyi +2368 -940
  110. bl_ui/properties_workspace/__init__.pyi +517 -202
  111. bl_ui/properties_world/__init__.pyi +862 -269
  112. bl_ui/space_clip/__init__.pyi +9127 -4137
  113. bl_ui/space_console/__init__.pyi +666 -286
  114. bl_ui/space_dopesheet/__init__.pyi +3287 -1504
  115. bl_ui/space_filebrowser/__init__.pyi +3958 -1935
  116. bl_ui/space_graph/__init__.pyi +2406 -1142
  117. bl_ui/space_image/__init__.pyi +9242 -4526
  118. bl_ui/space_info/__init__.pyi +664 -285
  119. bl_ui/space_nla/__init__.pyi +2014 -932
  120. bl_ui/space_node/__init__.pyi +4549 -1949
  121. bl_ui/space_outliner/__init__.pyi +1619 -745
  122. bl_ui/space_properties/__init__.pyi +340 -105
  123. bl_ui/space_sequencer/__init__.pyi +9396 -4264
  124. bl_ui/space_spreadsheet/__init__.pyi +110 -60
  125. bl_ui/space_statusbar/__init__.pyi +107 -32
  126. bl_ui/space_text/__init__.pyi +1907 -872
  127. bl_ui/space_time/__init__.pyi +812 -327
  128. bl_ui/space_toolsystem_common/__init__.pyi +203 -99
  129. bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
  130. bl_ui/space_topbar/__init__.pyi +3131 -1437
  131. bl_ui/space_userpref/__init__.pyi +11510 -4926
  132. bl_ui/space_view3d/__init__.pyi +31358 -14417
  133. bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
  134. bl_ui/utils/__init__.pyi +7 -16
  135. bl_ui_utils/bug_report_url/__init__.pyi +4 -1
  136. bl_ui_utils/layout/__init__.pyi +4 -1
  137. blend_render_info/__init__.pyi +13 -3
  138. blf/__init__.pyi +5 -7
  139. bmesh/__init__.pyi +7 -7
  140. bmesh/geometry/__init__.pyi +5 -5
  141. bmesh/ops/__init__.pyi +490 -504
  142. bmesh/types/__init__.pyi +253 -247
  143. bmesh/utils/__init__.pyi +54 -54
  144. bpy/__init__.pyi +2 -2
  145. bpy/app/__init__.pyi +4 -5
  146. bpy/app/handlers/__init__.pyi +36 -36
  147. bpy/app/icons/__init__.pyi +8 -10
  148. bpy/app/timers/__init__.pyi +9 -11
  149. bpy/app/translations/__init__.pyi +20 -22
  150. bpy/msgbus/__init__.pyi +3 -12
  151. bpy/ops/action/__init__.pyi +316 -415
  152. bpy/ops/anim/__init__.pyi +428 -566
  153. bpy/ops/armature/__init__.pyi +360 -488
  154. bpy/ops/asset/__init__.pyi +146 -183
  155. bpy/ops/boid/__init__.pyi +50 -67
  156. bpy/ops/brush/__init__.pyi +72 -96
  157. bpy/ops/buttons/__init__.pyi +128 -142
  158. bpy/ops/cachefile/__init__.pyi +124 -137
  159. bpy/ops/camera/__init__.pyi +22 -28
  160. bpy/ops/clip/__init__.pyi +768 -1005
  161. bpy/ops/cloth/__init__.pyi +10 -13
  162. bpy/ops/collection/__init__.pyi +36 -50
  163. bpy/ops/console/__init__.pyi +150 -203
  164. bpy/ops/constraint/__init__.pyi +150 -201
  165. bpy/ops/curve/__init__.pyi +474 -607
  166. bpy/ops/curves/__init__.pyi +170 -221
  167. bpy/ops/cycles/__init__.pyi +18 -26
  168. bpy/ops/dpaint/__init__.pyi +34 -46
  169. bpy/ops/ed/__init__.pyi +122 -149
  170. bpy/ops/export_anim/__init__.pyi +18 -21
  171. bpy/ops/export_mesh/__init__.pyi +26 -29
  172. bpy/ops/export_scene/__init__.pyi +307 -342
  173. bpy/ops/file/__init__.pyi +342 -436
  174. bpy/ops/fluid/__init__.pyi +88 -117
  175. bpy/ops/font/__init__.pyi +252 -311
  176. bpy/ops/geometry/__init__.pyi +86 -113
  177. bpy/ops/gizmogroup/__init__.pyi +22 -27
  178. bpy/ops/gpencil/__init__.pyi +1444 -1864
  179. bpy/ops/graph/__init__.pyi +646 -823
  180. bpy/ops/grease_pencil/__init__.pyi +426 -576
  181. bpy/ops/image/__init__.pyi +612 -733
  182. bpy/ops/import_anim/__init__.pyi +26 -29
  183. bpy/ops/import_curve/__init__.pyi +6 -9
  184. bpy/ops/import_mesh/__init__.pyi +18 -23
  185. bpy/ops/import_scene/__init__.pyi +86 -101
  186. bpy/ops/info/__init__.pyi +60 -77
  187. bpy/ops/lattice/__init__.pyi +64 -85
  188. bpy/ops/marker/__init__.pyi +106 -137
  189. bpy/ops/mask/__init__.pyi +318 -420
  190. bpy/ops/material/__init__.pyi +18 -24
  191. bpy/ops/mball/__init__.pyi +70 -93
  192. bpy/ops/mesh/__init__.pyi +1988 -2460
  193. bpy/ops/nla/__init__.pyi +331 -429
  194. bpy/ops/node/__init__.pyi +852 -1115
  195. bpy/ops/object/__init__.pyi +2420 -3081
  196. bpy/ops/outliner/__init__.pyi +498 -661
  197. bpy/ops/paint/__init__.pyi +518 -667
  198. bpy/ops/paintcurve/__init__.pyi +64 -84
  199. bpy/ops/palette/__init__.pyi +48 -66
  200. bpy/ops/particle/__init__.pyi +264 -355
  201. bpy/ops/pose/__init__.pyi +336 -438
  202. bpy/ops/poselib/__init__.pyi +70 -92
  203. bpy/ops/preferences/__init__.pyi +336 -440
  204. bpy/ops/ptcache/__init__.pyi +46 -62
  205. bpy/ops/render/__init__.pyi +114 -147
  206. bpy/ops/rigidbody/__init__.pyi +102 -135
  207. bpy/ops/scene/__init__.pyi +270 -364
  208. bpy/ops/screen/__init__.pyi +378 -477
  209. bpy/ops/script/__init__.pyi +18 -26
  210. bpy/ops/sculpt/__init__.pyi +400 -488
  211. bpy/ops/sculpt_curves/__init__.pyi +40 -53
  212. bpy/ops/sequencer/__init__.pyi +1040 -1279
  213. bpy/ops/sound/__init__.pyi +208 -226
  214. bpy/ops/spreadsheet/__init__.pyi +30 -40
  215. bpy/ops/surface/__init__.pyi +108 -126
  216. bpy/ops/text/__init__.pyi +382 -486
  217. bpy/ops/text_editor/__init__.pyi +10 -13
  218. bpy/ops/texture/__init__.pyi +26 -35
  219. bpy/ops/transform/__init__.pyi +790 -905
  220. bpy/ops/ui/__init__.pyi +216 -291
  221. bpy/ops/uilist/__init__.pyi +20 -29
  222. bpy/ops/uv/__init__.pyi +600 -742
  223. bpy/ops/view2d/__init__.pyi +156 -195
  224. bpy/ops/view3d/__init__.pyi +576 -742
  225. bpy/ops/wm/__init__.pyi +2360 -2702
  226. bpy/ops/workspace/__init__.pyi +42 -57
  227. bpy/ops/world/__init__.pyi +6 -8
  228. bpy/path/__init__.pyi +110 -81
  229. bpy/props/__init__.pyi +263 -267
  230. bpy/types/__init__.pyi +86446 -87424
  231. bpy/utils/__init__.pyi +242 -154
  232. bpy/utils/previews/__init__.pyi +57 -57
  233. bpy/utils/units/__init__.pyi +19 -22
  234. bpy_extras/anim_utils/__init__.pyi +11 -31
  235. bpy_extras/asset_utils/__init__.pyi +4 -1
  236. bpy_extras/image_utils/__init__.pyi +2 -2
  237. bpy_extras/io_utils/__init__.pyi +30 -27
  238. bpy_extras/keyconfig_utils/__init__.pyi +4 -1
  239. bpy_extras/mesh_utils/__init__.pyi +18 -18
  240. bpy_extras/node_utils/__init__.pyi +4 -1
  241. bpy_extras/object_utils/__init__.pyi +25 -26
  242. bpy_extras/view3d_utils/__init__.pyi +33 -38
  243. bpy_restrict_state/__init__.pyi +14 -1
  244. bpy_types/__init__.pyi +3748 -1248
  245. console_python/__init__.pyi +41 -7
  246. console_shell/__init__.pyi +24 -5
  247. {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/METADATA +1 -1
  248. fake_bpy_module-20240324.dist-info/RECORD +343 -0
  249. freestyle/chainingiterators/__init__.pyi +50 -52
  250. freestyle/functions/__init__.pyi +303 -207
  251. freestyle/predicates/__init__.pyi +299 -115
  252. freestyle/shaders/__init__.pyi +49 -80
  253. freestyle/types/__init__.pyi +463 -470
  254. freestyle/utils/ContextFunctions/__init__.pyi +9 -9
  255. freestyle/utils/__init__.pyi +27 -17
  256. gpu/capabilities/__init__.pyi +19 -20
  257. gpu/matrix/__init__.pyi +14 -16
  258. gpu/platform/__init__.pyi +5 -5
  259. gpu/shader/__init__.pyi +2 -5
  260. gpu/state/__init__.pyi +1 -1
  261. gpu/texture/__init__.pyi +3 -3
  262. gpu/types/__init__.pyi +54 -85
  263. gpu_extras/batch/__init__.pyi +26 -6
  264. gpu_extras/presets/__init__.pyi +51 -16
  265. graphviz_export/__init__.pyi +9 -2
  266. idprop/types/__init__.pyi +36 -12
  267. imbuf/__init__.pyi +8 -9
  268. imbuf/types/__init__.pyi +8 -15
  269. keyingsets_builtins/__init__.pyi +2520 -1085
  270. keyingsets_utils/__init__.pyi +69 -14
  271. mathutils/__init__.pyi +491 -423
  272. mathutils/bvhtree/__init__.pyi +26 -31
  273. mathutils/geometry/__init__.pyi +176 -185
  274. mathutils/kdtree/__init__.pyi +14 -17
  275. mathutils/noise/__init__.pyi +47 -48
  276. nodeitems_builtins/__init__.pyi +37 -15
  277. nodeitems_utils/__init__.pyi +45 -13
  278. rna_info/__init__.pyi +177 -76
  279. rna_keymap_ui/__init__.pyi +29 -6
  280. rna_prop_ui/__init__.pyi +56 -14
  281. rna_xml/__init__.pyi +29 -6
  282. sys_info/__init__.pyi +4 -1
  283. fake_bpy_module-20240321.dist-info/RECORD +0 -343
  284. {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/WHEEL +0 -0
  285. {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240324.dist-info}/top_level.txt +0 -0
@@ -5,379 +5,332 @@ import bpy.types
5
5
  GenericType = typing.TypeVar("GenericType")
6
6
 
7
7
  def cyclic_toggle(
8
- override_context: typing.Optional[
9
- typing.Union["bpy.types.Context", typing.Dict]
10
- ] = None,
11
- execution_context: typing.Optional[typing.Union[int, str]] = None,
12
- undo: typing.Optional[bool] = None,
13
- *,
14
- direction: typing.Optional[typing.Any] = "CYCLIC_U",
8
+ override_context: typing.Union[dict, bpy.types.Context] = None,
9
+ execution_context: typing.Union[str, int] = None,
10
+ undo: bool = None,
11
+ direction: typing.Any = "CYCLIC_U",
15
12
  ):
16
13
  """Make active spline closed/opened loop
17
14
 
18
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
19
- :type execution_context: typing.Optional[typing.Union[int, str]]
20
- :type undo: typing.Optional[bool]
15
+ :type override_context: typing.Union[dict, bpy.types.Context]
16
+ :type execution_context: typing.Union[str, int]
17
+ :type undo: bool
21
18
  :param direction: Direction, Direction to make surface cyclic in
22
- :type direction: typing.Optional[typing.Any]
19
+ :type direction: typing.Any
23
20
  """
24
21
 
25
22
  ...
26
23
 
27
24
  def de_select_first(
28
- override_context: typing.Optional[
29
- typing.Union["bpy.types.Context", typing.Dict]
30
- ] = None,
31
- execution_context: typing.Optional[typing.Union[int, str]] = None,
32
- undo: typing.Optional[bool] = None,
25
+ override_context: typing.Union[dict, bpy.types.Context] = None,
26
+ execution_context: typing.Union[str, int] = None,
27
+ undo: bool = None,
33
28
  ):
34
29
  """(De)select first of visible part of each NURBS
35
30
 
36
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
37
- :type execution_context: typing.Optional[typing.Union[int, str]]
38
- :type undo: typing.Optional[bool]
31
+ :type override_context: typing.Union[dict, bpy.types.Context]
32
+ :type execution_context: typing.Union[str, int]
33
+ :type undo: bool
39
34
  """
40
35
 
41
36
  ...
42
37
 
43
38
  def de_select_last(
44
- override_context: typing.Optional[
45
- typing.Union["bpy.types.Context", typing.Dict]
46
- ] = None,
47
- execution_context: typing.Optional[typing.Union[int, str]] = None,
48
- undo: typing.Optional[bool] = None,
39
+ override_context: typing.Union[dict, bpy.types.Context] = None,
40
+ execution_context: typing.Union[str, int] = None,
41
+ undo: bool = None,
49
42
  ):
50
43
  """(De)select last of visible part of each NURBS
51
44
 
52
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
53
- :type execution_context: typing.Optional[typing.Union[int, str]]
54
- :type undo: typing.Optional[bool]
45
+ :type override_context: typing.Union[dict, bpy.types.Context]
46
+ :type execution_context: typing.Union[str, int]
47
+ :type undo: bool
55
48
  """
56
49
 
57
50
  ...
58
51
 
59
52
  def decimate(
60
- override_context: typing.Optional[
61
- typing.Union["bpy.types.Context", typing.Dict]
62
- ] = None,
63
- execution_context: typing.Optional[typing.Union[int, str]] = None,
64
- undo: typing.Optional[bool] = None,
65
- *,
66
- ratio: typing.Optional[typing.Any] = 1.0,
53
+ override_context: typing.Union[dict, bpy.types.Context] = None,
54
+ execution_context: typing.Union[str, int] = None,
55
+ undo: bool = None,
56
+ ratio: typing.Any = 1.0,
67
57
  ):
68
58
  """Simplify selected curves
69
59
 
70
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
71
- :type execution_context: typing.Optional[typing.Union[int, str]]
72
- :type undo: typing.Optional[bool]
60
+ :type override_context: typing.Union[dict, bpy.types.Context]
61
+ :type execution_context: typing.Union[str, int]
62
+ :type undo: bool
73
63
  :param ratio: Ratio
74
- :type ratio: typing.Optional[typing.Any]
64
+ :type ratio: typing.Any
75
65
  """
76
66
 
77
67
  ...
78
68
 
79
69
  def delete(
80
- override_context: typing.Optional[
81
- typing.Union["bpy.types.Context", typing.Dict]
82
- ] = None,
83
- execution_context: typing.Optional[typing.Union[int, str]] = None,
84
- undo: typing.Optional[bool] = None,
85
- *,
86
- type: typing.Optional[typing.Any] = "VERT",
70
+ override_context: typing.Union[dict, bpy.types.Context] = None,
71
+ execution_context: typing.Union[str, int] = None,
72
+ undo: bool = None,
73
+ type: typing.Any = "VERT",
87
74
  ):
88
75
  """Delete selected control points or segments
89
76
 
90
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
91
- :type execution_context: typing.Optional[typing.Union[int, str]]
92
- :type undo: typing.Optional[bool]
77
+ :type override_context: typing.Union[dict, bpy.types.Context]
78
+ :type execution_context: typing.Union[str, int]
79
+ :type undo: bool
93
80
  :param type: Type, Which elements to delete
94
- :type type: typing.Optional[typing.Any]
81
+ :type type: typing.Any
95
82
  """
96
83
 
97
84
  ...
98
85
 
99
86
  def dissolve_verts(
100
- override_context: typing.Optional[
101
- typing.Union["bpy.types.Context", typing.Dict]
102
- ] = None,
103
- execution_context: typing.Optional[typing.Union[int, str]] = None,
104
- undo: typing.Optional[bool] = None,
87
+ override_context: typing.Union[dict, bpy.types.Context] = None,
88
+ execution_context: typing.Union[str, int] = None,
89
+ undo: bool = None,
105
90
  ):
106
91
  """Delete selected control points, correcting surrounding handles
107
92
 
108
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
109
- :type execution_context: typing.Optional[typing.Union[int, str]]
110
- :type undo: typing.Optional[bool]
93
+ :type override_context: typing.Union[dict, bpy.types.Context]
94
+ :type execution_context: typing.Union[str, int]
95
+ :type undo: bool
111
96
  """
112
97
 
113
98
  ...
114
99
 
115
100
  def draw(
116
- override_context: typing.Optional[
117
- typing.Union["bpy.types.Context", typing.Dict]
118
- ] = None,
119
- execution_context: typing.Optional[typing.Union[int, str]] = None,
120
- undo: typing.Optional[bool] = None,
121
- *,
122
- error_threshold: typing.Optional[typing.Any] = 0.0,
123
- fit_method: typing.Optional[typing.Any] = "REFIT",
124
- corner_angle: typing.Optional[typing.Any] = 1.22173,
125
- use_cyclic: typing.Optional[typing.Union[bool, typing.Any]] = True,
126
- stroke: typing.Optional[
127
- bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
128
- ] = None,
129
- wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
101
+ override_context: typing.Union[dict, bpy.types.Context] = None,
102
+ execution_context: typing.Union[str, int] = None,
103
+ undo: bool = None,
104
+ error_threshold: typing.Any = 0.0,
105
+ fit_method: typing.Any = "REFIT",
106
+ corner_angle: typing.Any = 1.22173,
107
+ use_cyclic: typing.Union[bool, typing.Any] = True,
108
+ stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
109
+ wait_for_input: typing.Union[bool, typing.Any] = True,
130
110
  ):
131
111
  """Draw a freehand spline
132
112
 
133
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
134
- :type execution_context: typing.Optional[typing.Union[int, str]]
135
- :type undo: typing.Optional[bool]
113
+ :type override_context: typing.Union[dict, bpy.types.Context]
114
+ :type execution_context: typing.Union[str, int]
115
+ :type undo: bool
136
116
  :param error_threshold: Error, Error distance threshold (in object units)
137
- :type error_threshold: typing.Optional[typing.Any]
117
+ :type error_threshold: typing.Any
138
118
  :param fit_method: Fit Method
139
- :type fit_method: typing.Optional[typing.Any]
119
+ :type fit_method: typing.Any
140
120
  :param corner_angle: Corner Angle
141
- :type corner_angle: typing.Optional[typing.Any]
121
+ :type corner_angle: typing.Any
142
122
  :param use_cyclic: Cyclic
143
- :type use_cyclic: typing.Optional[typing.Union[bool, typing.Any]]
123
+ :type use_cyclic: typing.Union[bool, typing.Any]
144
124
  :param stroke: Stroke
145
- :type stroke: typing.Optional[bpy.types.bpy_prop_collection['bpy.types.OperatorStrokeElement']]
125
+ :type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
146
126
  :param wait_for_input: Wait for Input
147
- :type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
127
+ :type wait_for_input: typing.Union[bool, typing.Any]
148
128
  """
149
129
 
150
130
  ...
151
131
 
152
132
  def duplicate(
153
- override_context: typing.Optional[
154
- typing.Union["bpy.types.Context", typing.Dict]
155
- ] = None,
156
- execution_context: typing.Optional[typing.Union[int, str]] = None,
157
- undo: typing.Optional[bool] = None,
133
+ override_context: typing.Union[dict, bpy.types.Context] = None,
134
+ execution_context: typing.Union[str, int] = None,
135
+ undo: bool = None,
158
136
  ):
159
137
  """Duplicate selected control points
160
138
 
161
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
162
- :type execution_context: typing.Optional[typing.Union[int, str]]
163
- :type undo: typing.Optional[bool]
139
+ :type override_context: typing.Union[dict, bpy.types.Context]
140
+ :type execution_context: typing.Union[str, int]
141
+ :type undo: bool
164
142
  """
165
143
 
166
144
  ...
167
145
 
168
146
  def duplicate_move(
169
- override_context: typing.Optional[
170
- typing.Union["bpy.types.Context", typing.Dict]
171
- ] = None,
172
- execution_context: typing.Optional[typing.Union[int, str]] = None,
173
- undo: typing.Optional[bool] = None,
174
- *,
175
- CURVE_OT_duplicate: typing.Optional["duplicate"] = None,
176
- TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
147
+ override_context: typing.Union[dict, bpy.types.Context] = None,
148
+ execution_context: typing.Union[str, int] = None,
149
+ undo: bool = None,
150
+ CURVE_OT_duplicate: duplicate = None,
151
+ TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
177
152
  ):
178
153
  """Duplicate curve and move
179
154
 
180
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
181
- :type execution_context: typing.Optional[typing.Union[int, str]]
182
- :type undo: typing.Optional[bool]
155
+ :type override_context: typing.Union[dict, bpy.types.Context]
156
+ :type execution_context: typing.Union[str, int]
157
+ :type undo: bool
183
158
  :param CURVE_OT_duplicate: Duplicate Curve, Duplicate selected control points
184
- :type CURVE_OT_duplicate: typing.Optional['duplicate']
159
+ :type CURVE_OT_duplicate: duplicate
185
160
  :param TRANSFORM_OT_translate: Move, Move selected items
186
- :type TRANSFORM_OT_translate: typing.Optional['bpy.ops.transform.translate']
161
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate
187
162
  """
188
163
 
189
164
  ...
190
165
 
191
166
  def extrude(
192
- override_context: typing.Optional[
193
- typing.Union["bpy.types.Context", typing.Dict]
194
- ] = None,
195
- execution_context: typing.Optional[typing.Union[int, str]] = None,
196
- undo: typing.Optional[bool] = None,
197
- *,
198
- mode: typing.Optional[typing.Any] = "TRANSLATION",
167
+ override_context: typing.Union[dict, bpy.types.Context] = None,
168
+ execution_context: typing.Union[str, int] = None,
169
+ undo: bool = None,
170
+ mode: typing.Any = "TRANSLATION",
199
171
  ):
200
172
  """Extrude selected control point(s)
201
173
 
202
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
203
- :type execution_context: typing.Optional[typing.Union[int, str]]
204
- :type undo: typing.Optional[bool]
174
+ :type override_context: typing.Union[dict, bpy.types.Context]
175
+ :type execution_context: typing.Union[str, int]
176
+ :type undo: bool
205
177
  :param mode: Mode
206
- :type mode: typing.Optional[typing.Any]
178
+ :type mode: typing.Any
207
179
  """
208
180
 
209
181
  ...
210
182
 
211
183
  def extrude_move(
212
- override_context: typing.Optional[
213
- typing.Union["bpy.types.Context", typing.Dict]
214
- ] = None,
215
- execution_context: typing.Optional[typing.Union[int, str]] = None,
216
- undo: typing.Optional[bool] = None,
217
- *,
218
- CURVE_OT_extrude: typing.Optional["extrude"] = None,
219
- TRANSFORM_OT_translate: typing.Optional["bpy.ops.transform.translate"] = None,
184
+ override_context: typing.Union[dict, bpy.types.Context] = None,
185
+ execution_context: typing.Union[str, int] = None,
186
+ undo: bool = None,
187
+ CURVE_OT_extrude: extrude = None,
188
+ TRANSFORM_OT_translate: bpy.ops.transform.translate = None,
220
189
  ):
221
190
  """Extrude curve and move result
222
191
 
223
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
224
- :type execution_context: typing.Optional[typing.Union[int, str]]
225
- :type undo: typing.Optional[bool]
192
+ :type override_context: typing.Union[dict, bpy.types.Context]
193
+ :type execution_context: typing.Union[str, int]
194
+ :type undo: bool
226
195
  :param CURVE_OT_extrude: Extrude, Extrude selected control point(s)
227
- :type CURVE_OT_extrude: typing.Optional['extrude']
196
+ :type CURVE_OT_extrude: extrude
228
197
  :param TRANSFORM_OT_translate: Move, Move selected items
229
- :type TRANSFORM_OT_translate: typing.Optional['bpy.ops.transform.translate']
198
+ :type TRANSFORM_OT_translate: bpy.ops.transform.translate
230
199
  """
231
200
 
232
201
  ...
233
202
 
234
203
  def handle_type_set(
235
- override_context: typing.Optional[
236
- typing.Union["bpy.types.Context", typing.Dict]
237
- ] = None,
238
- execution_context: typing.Optional[typing.Union[int, str]] = None,
239
- undo: typing.Optional[bool] = None,
240
- *,
241
- type: typing.Optional[typing.Any] = "AUTOMATIC",
204
+ override_context: typing.Union[dict, bpy.types.Context] = None,
205
+ execution_context: typing.Union[str, int] = None,
206
+ undo: bool = None,
207
+ type: typing.Any = "AUTOMATIC",
242
208
  ):
243
209
  """Set type of handles for selected control points
244
210
 
245
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
246
- :type execution_context: typing.Optional[typing.Union[int, str]]
247
- :type undo: typing.Optional[bool]
211
+ :type override_context: typing.Union[dict, bpy.types.Context]
212
+ :type execution_context: typing.Union[str, int]
213
+ :type undo: bool
248
214
  :param type: Type, Spline type
249
- :type type: typing.Optional[typing.Any]
215
+ :type type: typing.Any
250
216
  """
251
217
 
252
218
  ...
253
219
 
254
220
  def hide(
255
- override_context: typing.Optional[
256
- typing.Union["bpy.types.Context", typing.Dict]
257
- ] = None,
258
- execution_context: typing.Optional[typing.Union[int, str]] = None,
259
- undo: typing.Optional[bool] = None,
260
- *,
261
- unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
221
+ override_context: typing.Union[dict, bpy.types.Context] = None,
222
+ execution_context: typing.Union[str, int] = None,
223
+ undo: bool = None,
224
+ unselected: typing.Union[bool, typing.Any] = False,
262
225
  ):
263
226
  """Hide (un)selected control points
264
227
 
265
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
266
- :type execution_context: typing.Optional[typing.Union[int, str]]
267
- :type undo: typing.Optional[bool]
228
+ :type override_context: typing.Union[dict, bpy.types.Context]
229
+ :type execution_context: typing.Union[str, int]
230
+ :type undo: bool
268
231
  :param unselected: Unselected, Hide unselected rather than selected
269
- :type unselected: typing.Optional[typing.Union[bool, typing.Any]]
232
+ :type unselected: typing.Union[bool, typing.Any]
270
233
  """
271
234
 
272
235
  ...
273
236
 
274
237
  def make_segment(
275
- override_context: typing.Optional[
276
- typing.Union["bpy.types.Context", typing.Dict]
277
- ] = None,
278
- execution_context: typing.Optional[typing.Union[int, str]] = None,
279
- undo: typing.Optional[bool] = None,
238
+ override_context: typing.Union[dict, bpy.types.Context] = None,
239
+ execution_context: typing.Union[str, int] = None,
240
+ undo: bool = None,
280
241
  ):
281
242
  """Join two curves by their selected ends
282
243
 
283
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
284
- :type execution_context: typing.Optional[typing.Union[int, str]]
285
- :type undo: typing.Optional[bool]
244
+ :type override_context: typing.Union[dict, bpy.types.Context]
245
+ :type execution_context: typing.Union[str, int]
246
+ :type undo: bool
286
247
  """
287
248
 
288
249
  ...
289
250
 
290
251
  def match_texture_space(
291
- override_context: typing.Optional[
292
- typing.Union["bpy.types.Context", typing.Dict]
293
- ] = None,
294
- execution_context: typing.Optional[typing.Union[int, str]] = None,
295
- undo: typing.Optional[bool] = None,
252
+ override_context: typing.Union[dict, bpy.types.Context] = None,
253
+ execution_context: typing.Union[str, int] = None,
254
+ undo: bool = None,
296
255
  ):
297
256
  """Match texture space to object's bounding box
298
257
 
299
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
300
- :type execution_context: typing.Optional[typing.Union[int, str]]
301
- :type undo: typing.Optional[bool]
258
+ :type override_context: typing.Union[dict, bpy.types.Context]
259
+ :type execution_context: typing.Union[str, int]
260
+ :type undo: bool
302
261
  """
303
262
 
304
263
  ...
305
264
 
306
265
  def normals_make_consistent(
307
- override_context: typing.Optional[
308
- typing.Union["bpy.types.Context", typing.Dict]
309
- ] = None,
310
- execution_context: typing.Optional[typing.Union[int, str]] = None,
311
- undo: typing.Optional[bool] = None,
312
- *,
313
- calc_length: typing.Optional[typing.Union[bool, typing.Any]] = False,
266
+ override_context: typing.Union[dict, bpy.types.Context] = None,
267
+ execution_context: typing.Union[str, int] = None,
268
+ undo: bool = None,
269
+ calc_length: typing.Union[bool, typing.Any] = False,
314
270
  ):
315
271
  """Recalculate the direction of selected handles
316
272
 
317
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
318
- :type execution_context: typing.Optional[typing.Union[int, str]]
319
- :type undo: typing.Optional[bool]
273
+ :type override_context: typing.Union[dict, bpy.types.Context]
274
+ :type execution_context: typing.Union[str, int]
275
+ :type undo: bool
320
276
  :param calc_length: Length, Recalculate handle length
321
- :type calc_length: typing.Optional[typing.Union[bool, typing.Any]]
277
+ :type calc_length: typing.Union[bool, typing.Any]
322
278
  """
323
279
 
324
280
  ...
325
281
 
326
282
  def pen(
327
- override_context: typing.Optional[
328
- typing.Union["bpy.types.Context", typing.Dict]
329
- ] = None,
330
- execution_context: typing.Optional[typing.Union[int, str]] = None,
331
- undo: typing.Optional[bool] = None,
332
- *,
333
- extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
334
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
335
- toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
336
- deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
337
- select_passthrough: typing.Optional[typing.Union[bool, typing.Any]] = False,
338
- extrude_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
339
- extrude_handle: typing.Optional[typing.Any] = "VECTOR",
340
- delete_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
341
- insert_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
342
- move_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
343
- select_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
344
- move_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
345
- close_spline: typing.Optional[typing.Union[bool, typing.Any]] = True,
346
- close_spline_method: typing.Optional[typing.Any] = "OFF",
347
- toggle_vector: typing.Optional[typing.Union[bool, typing.Any]] = False,
348
- cycle_handle_type: typing.Optional[typing.Union[bool, typing.Any]] = False,
283
+ override_context: typing.Union[dict, bpy.types.Context] = None,
284
+ execution_context: typing.Union[str, int] = None,
285
+ undo: bool = None,
286
+ extend: typing.Union[bool, typing.Any] = False,
287
+ deselect: typing.Union[bool, typing.Any] = False,
288
+ toggle: typing.Union[bool, typing.Any] = False,
289
+ deselect_all: typing.Union[bool, typing.Any] = False,
290
+ select_passthrough: typing.Union[bool, typing.Any] = False,
291
+ extrude_point: typing.Union[bool, typing.Any] = False,
292
+ extrude_handle: typing.Any = "VECTOR",
293
+ delete_point: typing.Union[bool, typing.Any] = False,
294
+ insert_point: typing.Union[bool, typing.Any] = False,
295
+ move_segment: typing.Union[bool, typing.Any] = False,
296
+ select_point: typing.Union[bool, typing.Any] = False,
297
+ move_point: typing.Union[bool, typing.Any] = False,
298
+ close_spline: typing.Union[bool, typing.Any] = True,
299
+ close_spline_method: typing.Any = "OFF",
300
+ toggle_vector: typing.Union[bool, typing.Any] = False,
301
+ cycle_handle_type: typing.Union[bool, typing.Any] = False,
349
302
  ):
350
303
  """Construct and edit splines
351
304
 
352
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
353
- :type execution_context: typing.Optional[typing.Union[int, str]]
354
- :type undo: typing.Optional[bool]
305
+ :type override_context: typing.Union[dict, bpy.types.Context]
306
+ :type execution_context: typing.Union[str, int]
307
+ :type undo: bool
355
308
  :param extend: Extend, Extend selection instead of deselecting everything first
356
- :type extend: typing.Optional[typing.Union[bool, typing.Any]]
309
+ :type extend: typing.Union[bool, typing.Any]
357
310
  :param deselect: Deselect, Remove from selection
358
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
311
+ :type deselect: typing.Union[bool, typing.Any]
359
312
  :param toggle: Toggle Selection, Toggle the selection
360
- :type toggle: typing.Optional[typing.Union[bool, typing.Any]]
313
+ :type toggle: typing.Union[bool, typing.Any]
361
314
  :param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
362
- :type deselect_all: typing.Optional[typing.Union[bool, typing.Any]]
315
+ :type deselect_all: typing.Union[bool, typing.Any]
363
316
  :param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
364
- :type select_passthrough: typing.Optional[typing.Union[bool, typing.Any]]
317
+ :type select_passthrough: typing.Union[bool, typing.Any]
365
318
  :param extrude_point: Extrude Point, Add a point connected to the last selected point
366
- :type extrude_point: typing.Optional[typing.Union[bool, typing.Any]]
319
+ :type extrude_point: typing.Union[bool, typing.Any]
367
320
  :param extrude_handle: Extrude Handle Type, Type of the extruded handle
368
- :type extrude_handle: typing.Optional[typing.Any]
321
+ :type extrude_handle: typing.Any
369
322
  :param delete_point: Delete Point, Delete an existing point
370
- :type delete_point: typing.Optional[typing.Union[bool, typing.Any]]
323
+ :type delete_point: typing.Union[bool, typing.Any]
371
324
  :param insert_point: Insert Point, Insert Point into a curve segment
372
- :type insert_point: typing.Optional[typing.Union[bool, typing.Any]]
325
+ :type insert_point: typing.Union[bool, typing.Any]
373
326
  :param move_segment: Move Segment, Delete an existing point
374
- :type move_segment: typing.Optional[typing.Union[bool, typing.Any]]
327
+ :type move_segment: typing.Union[bool, typing.Any]
375
328
  :param select_point: Select Point, Select a point or its handles
376
- :type select_point: typing.Optional[typing.Union[bool, typing.Any]]
329
+ :type select_point: typing.Union[bool, typing.Any]
377
330
  :param move_point: Move Point, Move a point or its handles
378
- :type move_point: typing.Optional[typing.Union[bool, typing.Any]]
331
+ :type move_point: typing.Union[bool, typing.Any]
379
332
  :param close_spline: Close Spline, Make a spline cyclic by clicking endpoints
380
- :type close_spline: typing.Optional[typing.Union[bool, typing.Any]]
333
+ :type close_spline: typing.Union[bool, typing.Any]
381
334
  :param close_spline_method: Close Spline Method, The condition for close spline to activate
382
335
 
383
336
  OFF
@@ -388,38 +341,35 @@ def pen(
388
341
 
389
342
  ON_CLICK
390
343
  On Click -- Spline closes on release if not dragged.
391
- :type close_spline_method: typing.Optional[typing.Any]
344
+ :type close_spline_method: typing.Any
392
345
  :param toggle_vector: Toggle Vector, Toggle between Vector and Auto handles
393
- :type toggle_vector: typing.Optional[typing.Union[bool, typing.Any]]
346
+ :type toggle_vector: typing.Union[bool, typing.Any]
394
347
  :param cycle_handle_type: Cycle Handle Type, Cycle between all four handle types
395
- :type cycle_handle_type: typing.Optional[typing.Union[bool, typing.Any]]
348
+ :type cycle_handle_type: typing.Union[bool, typing.Any]
396
349
  """
397
350
 
398
351
  ...
399
352
 
400
353
  def primitive_bezier_circle_add(
401
- override_context: typing.Optional[
402
- typing.Union["bpy.types.Context", typing.Dict]
403
- ] = None,
404
- execution_context: typing.Optional[typing.Union[int, str]] = None,
405
- undo: typing.Optional[bool] = None,
406
- *,
407
- radius: typing.Optional[typing.Any] = 1.0,
408
- enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
409
- align: typing.Optional[typing.Any] = "WORLD",
410
- location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
411
- rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
412
- scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
354
+ override_context: typing.Union[dict, bpy.types.Context] = None,
355
+ execution_context: typing.Union[str, int] = None,
356
+ undo: bool = None,
357
+ radius: typing.Any = 1.0,
358
+ enter_editmode: typing.Union[bool, typing.Any] = False,
359
+ align: typing.Any = "WORLD",
360
+ location: typing.Any = (0.0, 0.0, 0.0),
361
+ rotation: typing.Any = (0.0, 0.0, 0.0),
362
+ scale: typing.Any = (0.0, 0.0, 0.0),
413
363
  ):
414
364
  """Construct a Bézier Circle
415
365
 
416
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
417
- :type execution_context: typing.Optional[typing.Union[int, str]]
418
- :type undo: typing.Optional[bool]
366
+ :type override_context: typing.Union[dict, bpy.types.Context]
367
+ :type execution_context: typing.Union[str, int]
368
+ :type undo: bool
419
369
  :param radius: Radius
420
- :type radius: typing.Optional[typing.Any]
370
+ :type radius: typing.Any
421
371
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
422
- :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
372
+ :type enter_editmode: typing.Union[bool, typing.Any]
423
373
  :param align: Align, The alignment of the new object
424
374
 
425
375
  WORLD
@@ -430,40 +380,37 @@ def primitive_bezier_circle_add(
430
380
 
431
381
  CURSOR
432
382
  3D Cursor -- Use the 3D cursor orientation for the new object.
433
- :type align: typing.Optional[typing.Any]
383
+ :type align: typing.Any
434
384
  :param location: Location, Location for the newly added object
435
- :type location: typing.Optional[typing.Any]
385
+ :type location: typing.Any
436
386
  :param rotation: Rotation, Rotation for the newly added object
437
- :type rotation: typing.Optional[typing.Any]
387
+ :type rotation: typing.Any
438
388
  :param scale: Scale, Scale for the newly added object
439
- :type scale: typing.Optional[typing.Any]
389
+ :type scale: typing.Any
440
390
  """
441
391
 
442
392
  ...
443
393
 
444
394
  def primitive_bezier_curve_add(
445
- override_context: typing.Optional[
446
- typing.Union["bpy.types.Context", typing.Dict]
447
- ] = None,
448
- execution_context: typing.Optional[typing.Union[int, str]] = None,
449
- undo: typing.Optional[bool] = None,
450
- *,
451
- radius: typing.Optional[typing.Any] = 1.0,
452
- enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
453
- align: typing.Optional[typing.Any] = "WORLD",
454
- location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
455
- rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
456
- scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
395
+ override_context: typing.Union[dict, bpy.types.Context] = None,
396
+ execution_context: typing.Union[str, int] = None,
397
+ undo: bool = None,
398
+ radius: typing.Any = 1.0,
399
+ enter_editmode: typing.Union[bool, typing.Any] = False,
400
+ align: typing.Any = "WORLD",
401
+ location: typing.Any = (0.0, 0.0, 0.0),
402
+ rotation: typing.Any = (0.0, 0.0, 0.0),
403
+ scale: typing.Any = (0.0, 0.0, 0.0),
457
404
  ):
458
405
  """Construct a Bézier Curve
459
406
 
460
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
461
- :type execution_context: typing.Optional[typing.Union[int, str]]
462
- :type undo: typing.Optional[bool]
407
+ :type override_context: typing.Union[dict, bpy.types.Context]
408
+ :type execution_context: typing.Union[str, int]
409
+ :type undo: bool
463
410
  :param radius: Radius
464
- :type radius: typing.Optional[typing.Any]
411
+ :type radius: typing.Any
465
412
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
466
- :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
413
+ :type enter_editmode: typing.Union[bool, typing.Any]
467
414
  :param align: Align, The alignment of the new object
468
415
 
469
416
  WORLD
@@ -474,40 +421,37 @@ def primitive_bezier_curve_add(
474
421
 
475
422
  CURSOR
476
423
  3D Cursor -- Use the 3D cursor orientation for the new object.
477
- :type align: typing.Optional[typing.Any]
424
+ :type align: typing.Any
478
425
  :param location: Location, Location for the newly added object
479
- :type location: typing.Optional[typing.Any]
426
+ :type location: typing.Any
480
427
  :param rotation: Rotation, Rotation for the newly added object
481
- :type rotation: typing.Optional[typing.Any]
428
+ :type rotation: typing.Any
482
429
  :param scale: Scale, Scale for the newly added object
483
- :type scale: typing.Optional[typing.Any]
430
+ :type scale: typing.Any
484
431
  """
485
432
 
486
433
  ...
487
434
 
488
435
  def primitive_nurbs_circle_add(
489
- override_context: typing.Optional[
490
- typing.Union["bpy.types.Context", typing.Dict]
491
- ] = None,
492
- execution_context: typing.Optional[typing.Union[int, str]] = None,
493
- undo: typing.Optional[bool] = None,
494
- *,
495
- radius: typing.Optional[typing.Any] = 1.0,
496
- enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
497
- align: typing.Optional[typing.Any] = "WORLD",
498
- location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
499
- rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
500
- scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
436
+ override_context: typing.Union[dict, bpy.types.Context] = None,
437
+ execution_context: typing.Union[str, int] = None,
438
+ undo: bool = None,
439
+ radius: typing.Any = 1.0,
440
+ enter_editmode: typing.Union[bool, typing.Any] = False,
441
+ align: typing.Any = "WORLD",
442
+ location: typing.Any = (0.0, 0.0, 0.0),
443
+ rotation: typing.Any = (0.0, 0.0, 0.0),
444
+ scale: typing.Any = (0.0, 0.0, 0.0),
501
445
  ):
502
446
  """Construct a Nurbs Circle
503
447
 
504
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
505
- :type execution_context: typing.Optional[typing.Union[int, str]]
506
- :type undo: typing.Optional[bool]
448
+ :type override_context: typing.Union[dict, bpy.types.Context]
449
+ :type execution_context: typing.Union[str, int]
450
+ :type undo: bool
507
451
  :param radius: Radius
508
- :type radius: typing.Optional[typing.Any]
452
+ :type radius: typing.Any
509
453
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
510
- :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
454
+ :type enter_editmode: typing.Union[bool, typing.Any]
511
455
  :param align: Align, The alignment of the new object
512
456
 
513
457
  WORLD
@@ -518,40 +462,37 @@ def primitive_nurbs_circle_add(
518
462
 
519
463
  CURSOR
520
464
  3D Cursor -- Use the 3D cursor orientation for the new object.
521
- :type align: typing.Optional[typing.Any]
465
+ :type align: typing.Any
522
466
  :param location: Location, Location for the newly added object
523
- :type location: typing.Optional[typing.Any]
467
+ :type location: typing.Any
524
468
  :param rotation: Rotation, Rotation for the newly added object
525
- :type rotation: typing.Optional[typing.Any]
469
+ :type rotation: typing.Any
526
470
  :param scale: Scale, Scale for the newly added object
527
- :type scale: typing.Optional[typing.Any]
471
+ :type scale: typing.Any
528
472
  """
529
473
 
530
474
  ...
531
475
 
532
476
  def primitive_nurbs_curve_add(
533
- override_context: typing.Optional[
534
- typing.Union["bpy.types.Context", typing.Dict]
535
- ] = None,
536
- execution_context: typing.Optional[typing.Union[int, str]] = None,
537
- undo: typing.Optional[bool] = None,
538
- *,
539
- radius: typing.Optional[typing.Any] = 1.0,
540
- enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
541
- align: typing.Optional[typing.Any] = "WORLD",
542
- location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
543
- rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
544
- scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
477
+ override_context: typing.Union[dict, bpy.types.Context] = None,
478
+ execution_context: typing.Union[str, int] = None,
479
+ undo: bool = None,
480
+ radius: typing.Any = 1.0,
481
+ enter_editmode: typing.Union[bool, typing.Any] = False,
482
+ align: typing.Any = "WORLD",
483
+ location: typing.Any = (0.0, 0.0, 0.0),
484
+ rotation: typing.Any = (0.0, 0.0, 0.0),
485
+ scale: typing.Any = (0.0, 0.0, 0.0),
545
486
  ):
546
487
  """Construct a Nurbs Curve
547
488
 
548
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
549
- :type execution_context: typing.Optional[typing.Union[int, str]]
550
- :type undo: typing.Optional[bool]
489
+ :type override_context: typing.Union[dict, bpy.types.Context]
490
+ :type execution_context: typing.Union[str, int]
491
+ :type undo: bool
551
492
  :param radius: Radius
552
- :type radius: typing.Optional[typing.Any]
493
+ :type radius: typing.Any
553
494
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
554
- :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
495
+ :type enter_editmode: typing.Union[bool, typing.Any]
555
496
  :param align: Align, The alignment of the new object
556
497
 
557
498
  WORLD
@@ -562,40 +503,37 @@ def primitive_nurbs_curve_add(
562
503
 
563
504
  CURSOR
564
505
  3D Cursor -- Use the 3D cursor orientation for the new object.
565
- :type align: typing.Optional[typing.Any]
506
+ :type align: typing.Any
566
507
  :param location: Location, Location for the newly added object
567
- :type location: typing.Optional[typing.Any]
508
+ :type location: typing.Any
568
509
  :param rotation: Rotation, Rotation for the newly added object
569
- :type rotation: typing.Optional[typing.Any]
510
+ :type rotation: typing.Any
570
511
  :param scale: Scale, Scale for the newly added object
571
- :type scale: typing.Optional[typing.Any]
512
+ :type scale: typing.Any
572
513
  """
573
514
 
574
515
  ...
575
516
 
576
517
  def primitive_nurbs_path_add(
577
- override_context: typing.Optional[
578
- typing.Union["bpy.types.Context", typing.Dict]
579
- ] = None,
580
- execution_context: typing.Optional[typing.Union[int, str]] = None,
581
- undo: typing.Optional[bool] = None,
582
- *,
583
- radius: typing.Optional[typing.Any] = 1.0,
584
- enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
585
- align: typing.Optional[typing.Any] = "WORLD",
586
- location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
587
- rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
588
- scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
518
+ override_context: typing.Union[dict, bpy.types.Context] = None,
519
+ execution_context: typing.Union[str, int] = None,
520
+ undo: bool = None,
521
+ radius: typing.Any = 1.0,
522
+ enter_editmode: typing.Union[bool, typing.Any] = False,
523
+ align: typing.Any = "WORLD",
524
+ location: typing.Any = (0.0, 0.0, 0.0),
525
+ rotation: typing.Any = (0.0, 0.0, 0.0),
526
+ scale: typing.Any = (0.0, 0.0, 0.0),
589
527
  ):
590
528
  """Construct a Path
591
529
 
592
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
593
- :type execution_context: typing.Optional[typing.Union[int, str]]
594
- :type undo: typing.Optional[bool]
530
+ :type override_context: typing.Union[dict, bpy.types.Context]
531
+ :type execution_context: typing.Union[str, int]
532
+ :type undo: bool
595
533
  :param radius: Radius
596
- :type radius: typing.Optional[typing.Any]
534
+ :type radius: typing.Any
597
535
  :param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
598
- :type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
536
+ :type enter_editmode: typing.Union[bool, typing.Any]
599
537
  :param align: Align, The alignment of the new object
600
538
 
601
539
  WORLD
@@ -606,71 +544,62 @@ def primitive_nurbs_path_add(
606
544
 
607
545
  CURSOR
608
546
  3D Cursor -- Use the 3D cursor orientation for the new object.
609
- :type align: typing.Optional[typing.Any]
547
+ :type align: typing.Any
610
548
  :param location: Location, Location for the newly added object
611
- :type location: typing.Optional[typing.Any]
549
+ :type location: typing.Any
612
550
  :param rotation: Rotation, Rotation for the newly added object
613
- :type rotation: typing.Optional[typing.Any]
551
+ :type rotation: typing.Any
614
552
  :param scale: Scale, Scale for the newly added object
615
- :type scale: typing.Optional[typing.Any]
553
+ :type scale: typing.Any
616
554
  """
617
555
 
618
556
  ...
619
557
 
620
558
  def radius_set(
621
- override_context: typing.Optional[
622
- typing.Union["bpy.types.Context", typing.Dict]
623
- ] = None,
624
- execution_context: typing.Optional[typing.Union[int, str]] = None,
625
- undo: typing.Optional[bool] = None,
626
- *,
627
- radius: typing.Optional[typing.Any] = 1.0,
559
+ override_context: typing.Union[dict, bpy.types.Context] = None,
560
+ execution_context: typing.Union[str, int] = None,
561
+ undo: bool = None,
562
+ radius: typing.Any = 1.0,
628
563
  ):
629
564
  """Set per-point radius which is used for bevel tapering
630
565
 
631
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
632
- :type execution_context: typing.Optional[typing.Union[int, str]]
633
- :type undo: typing.Optional[bool]
566
+ :type override_context: typing.Union[dict, bpy.types.Context]
567
+ :type execution_context: typing.Union[str, int]
568
+ :type undo: bool
634
569
  :param radius: Radius
635
- :type radius: typing.Optional[typing.Any]
570
+ :type radius: typing.Any
636
571
  """
637
572
 
638
573
  ...
639
574
 
640
575
  def reveal(
641
- override_context: typing.Optional[
642
- typing.Union["bpy.types.Context", typing.Dict]
643
- ] = None,
644
- execution_context: typing.Optional[typing.Union[int, str]] = None,
645
- undo: typing.Optional[bool] = None,
646
- *,
647
- select: typing.Optional[typing.Union[bool, typing.Any]] = True,
576
+ override_context: typing.Union[dict, bpy.types.Context] = None,
577
+ execution_context: typing.Union[str, int] = None,
578
+ undo: bool = None,
579
+ select: typing.Union[bool, typing.Any] = True,
648
580
  ):
649
581
  """Reveal hidden control points
650
582
 
651
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
652
- :type execution_context: typing.Optional[typing.Union[int, str]]
653
- :type undo: typing.Optional[bool]
583
+ :type override_context: typing.Union[dict, bpy.types.Context]
584
+ :type execution_context: typing.Union[str, int]
585
+ :type undo: bool
654
586
  :param select: Select
655
- :type select: typing.Optional[typing.Union[bool, typing.Any]]
587
+ :type select: typing.Union[bool, typing.Any]
656
588
  """
657
589
 
658
590
  ...
659
591
 
660
592
  def select_all(
661
- override_context: typing.Optional[
662
- typing.Union["bpy.types.Context", typing.Dict]
663
- ] = None,
664
- execution_context: typing.Optional[typing.Union[int, str]] = None,
665
- undo: typing.Optional[bool] = None,
666
- *,
667
- action: typing.Optional[typing.Any] = "TOGGLE",
593
+ override_context: typing.Union[dict, bpy.types.Context] = None,
594
+ execution_context: typing.Union[str, int] = None,
595
+ undo: bool = None,
596
+ action: typing.Any = "TOGGLE",
668
597
  ):
669
598
  """(De)select all control points
670
599
 
671
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
672
- :type execution_context: typing.Optional[typing.Union[int, str]]
673
- :type undo: typing.Optional[bool]
600
+ :type override_context: typing.Union[dict, bpy.types.Context]
601
+ :type execution_context: typing.Union[str, int]
602
+ :type undo: bool
674
603
  :param action: Action, Selection action to execute
675
604
 
676
605
  TOGGLE
@@ -684,157 +613,138 @@ def select_all(
684
613
 
685
614
  INVERT
686
615
  Invert -- Invert selection of all elements.
687
- :type action: typing.Optional[typing.Any]
616
+ :type action: typing.Any
688
617
  """
689
618
 
690
619
  ...
691
620
 
692
621
  def select_less(
693
- override_context: typing.Optional[
694
- typing.Union["bpy.types.Context", typing.Dict]
695
- ] = None,
696
- execution_context: typing.Optional[typing.Union[int, str]] = None,
697
- undo: typing.Optional[bool] = None,
622
+ override_context: typing.Union[dict, bpy.types.Context] = None,
623
+ execution_context: typing.Union[str, int] = None,
624
+ undo: bool = None,
698
625
  ):
699
626
  """Deselect control points at the boundary of each selection region
700
627
 
701
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
702
- :type execution_context: typing.Optional[typing.Union[int, str]]
703
- :type undo: typing.Optional[bool]
628
+ :type override_context: typing.Union[dict, bpy.types.Context]
629
+ :type execution_context: typing.Union[str, int]
630
+ :type undo: bool
704
631
  """
705
632
 
706
633
  ...
707
634
 
708
635
  def select_linked(
709
- override_context: typing.Optional[
710
- typing.Union["bpy.types.Context", typing.Dict]
711
- ] = None,
712
- execution_context: typing.Optional[typing.Union[int, str]] = None,
713
- undo: typing.Optional[bool] = None,
636
+ override_context: typing.Union[dict, bpy.types.Context] = None,
637
+ execution_context: typing.Union[str, int] = None,
638
+ undo: bool = None,
714
639
  ):
715
640
  """Select all control points linked to the current selection
716
641
 
717
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
718
- :type execution_context: typing.Optional[typing.Union[int, str]]
719
- :type undo: typing.Optional[bool]
642
+ :type override_context: typing.Union[dict, bpy.types.Context]
643
+ :type execution_context: typing.Union[str, int]
644
+ :type undo: bool
720
645
  """
721
646
 
722
647
  ...
723
648
 
724
649
  def select_linked_pick(
725
- override_context: typing.Optional[
726
- typing.Union["bpy.types.Context", typing.Dict]
727
- ] = None,
728
- execution_context: typing.Optional[typing.Union[int, str]] = None,
729
- undo: typing.Optional[bool] = None,
730
- *,
731
- deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
650
+ override_context: typing.Union[dict, bpy.types.Context] = None,
651
+ execution_context: typing.Union[str, int] = None,
652
+ undo: bool = None,
653
+ deselect: typing.Union[bool, typing.Any] = False,
732
654
  ):
733
655
  """Select all control points linked to already selected ones
734
656
 
735
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
736
- :type execution_context: typing.Optional[typing.Union[int, str]]
737
- :type undo: typing.Optional[bool]
657
+ :type override_context: typing.Union[dict, bpy.types.Context]
658
+ :type execution_context: typing.Union[str, int]
659
+ :type undo: bool
738
660
  :param deselect: Deselect, Deselect linked control points rather than selecting them
739
- :type deselect: typing.Optional[typing.Union[bool, typing.Any]]
661
+ :type deselect: typing.Union[bool, typing.Any]
740
662
  """
741
663
 
742
664
  ...
743
665
 
744
666
  def select_more(
745
- override_context: typing.Optional[
746
- typing.Union["bpy.types.Context", typing.Dict]
747
- ] = None,
748
- execution_context: typing.Optional[typing.Union[int, str]] = None,
749
- undo: typing.Optional[bool] = None,
667
+ override_context: typing.Union[dict, bpy.types.Context] = None,
668
+ execution_context: typing.Union[str, int] = None,
669
+ undo: bool = None,
750
670
  ):
751
671
  """Select control points at the boundary of each selection region
752
672
 
753
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
754
- :type execution_context: typing.Optional[typing.Union[int, str]]
755
- :type undo: typing.Optional[bool]
673
+ :type override_context: typing.Union[dict, bpy.types.Context]
674
+ :type execution_context: typing.Union[str, int]
675
+ :type undo: bool
756
676
  """
757
677
 
758
678
  ...
759
679
 
760
680
  def select_next(
761
- override_context: typing.Optional[
762
- typing.Union["bpy.types.Context", typing.Dict]
763
- ] = None,
764
- execution_context: typing.Optional[typing.Union[int, str]] = None,
765
- undo: typing.Optional[bool] = None,
681
+ override_context: typing.Union[dict, bpy.types.Context] = None,
682
+ execution_context: typing.Union[str, int] = None,
683
+ undo: bool = None,
766
684
  ):
767
685
  """Select control points following already selected ones along the curves
768
686
 
769
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
770
- :type execution_context: typing.Optional[typing.Union[int, str]]
771
- :type undo: typing.Optional[bool]
687
+ :type override_context: typing.Union[dict, bpy.types.Context]
688
+ :type execution_context: typing.Union[str, int]
689
+ :type undo: bool
772
690
  """
773
691
 
774
692
  ...
775
693
 
776
694
  def select_nth(
777
- override_context: typing.Optional[
778
- typing.Union["bpy.types.Context", typing.Dict]
779
- ] = None,
780
- execution_context: typing.Optional[typing.Union[int, str]] = None,
781
- undo: typing.Optional[bool] = None,
782
- *,
783
- skip: typing.Optional[typing.Any] = 1,
784
- nth: typing.Optional[typing.Any] = 1,
785
- offset: typing.Optional[typing.Any] = 0,
695
+ override_context: typing.Union[dict, bpy.types.Context] = None,
696
+ execution_context: typing.Union[str, int] = None,
697
+ undo: bool = None,
698
+ skip: typing.Any = 1,
699
+ nth: typing.Any = 1,
700
+ offset: typing.Any = 0,
786
701
  ):
787
702
  """Deselect every Nth point starting from the active one
788
703
 
789
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
790
- :type execution_context: typing.Optional[typing.Union[int, str]]
791
- :type undo: typing.Optional[bool]
704
+ :type override_context: typing.Union[dict, bpy.types.Context]
705
+ :type execution_context: typing.Union[str, int]
706
+ :type undo: bool
792
707
  :param skip: Deselected, Number of deselected elements in the repetitive sequence
793
- :type skip: typing.Optional[typing.Any]
708
+ :type skip: typing.Any
794
709
  :param nth: Selected, Number of selected elements in the repetitive sequence
795
- :type nth: typing.Optional[typing.Any]
710
+ :type nth: typing.Any
796
711
  :param offset: Offset, Offset from the starting point
797
- :type offset: typing.Optional[typing.Any]
712
+ :type offset: typing.Any
798
713
  """
799
714
 
800
715
  ...
801
716
 
802
717
  def select_previous(
803
- override_context: typing.Optional[
804
- typing.Union["bpy.types.Context", typing.Dict]
805
- ] = None,
806
- execution_context: typing.Optional[typing.Union[int, str]] = None,
807
- undo: typing.Optional[bool] = None,
718
+ override_context: typing.Union[dict, bpy.types.Context] = None,
719
+ execution_context: typing.Union[str, int] = None,
720
+ undo: bool = None,
808
721
  ):
809
722
  """Select control points preceding already selected ones along the curves
810
723
 
811
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
812
- :type execution_context: typing.Optional[typing.Union[int, str]]
813
- :type undo: typing.Optional[bool]
724
+ :type override_context: typing.Union[dict, bpy.types.Context]
725
+ :type execution_context: typing.Union[str, int]
726
+ :type undo: bool
814
727
  """
815
728
 
816
729
  ...
817
730
 
818
731
  def select_random(
819
- override_context: typing.Optional[
820
- typing.Union["bpy.types.Context", typing.Dict]
821
- ] = None,
822
- execution_context: typing.Optional[typing.Union[int, str]] = None,
823
- undo: typing.Optional[bool] = None,
824
- *,
825
- ratio: typing.Optional[typing.Any] = 0.5,
826
- seed: typing.Optional[typing.Any] = 0,
827
- action: typing.Optional[typing.Any] = "SELECT",
732
+ override_context: typing.Union[dict, bpy.types.Context] = None,
733
+ execution_context: typing.Union[str, int] = None,
734
+ undo: bool = None,
735
+ ratio: typing.Any = 0.5,
736
+ seed: typing.Any = 0,
737
+ action: typing.Any = "SELECT",
828
738
  ):
829
739
  """Randomly select some control points
830
740
 
831
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
832
- :type execution_context: typing.Optional[typing.Union[int, str]]
833
- :type undo: typing.Optional[bool]
741
+ :type override_context: typing.Union[dict, bpy.types.Context]
742
+ :type execution_context: typing.Union[str, int]
743
+ :type undo: bool
834
744
  :param ratio: Ratio, Portion of items to select randomly
835
- :type ratio: typing.Optional[typing.Any]
745
+ :type ratio: typing.Any
836
746
  :param seed: Random Seed, Seed for the random number generator
837
- :type seed: typing.Optional[typing.Any]
747
+ :type seed: typing.Any
838
748
  :param action: Action, Selection action to execute
839
749
 
840
750
  SELECT
@@ -842,335 +752,292 @@ def select_random(
842
752
 
843
753
  DESELECT
844
754
  Deselect -- Deselect all elements.
845
- :type action: typing.Optional[typing.Any]
755
+ :type action: typing.Any
846
756
  """
847
757
 
848
758
  ...
849
759
 
850
760
  def select_row(
851
- override_context: typing.Optional[
852
- typing.Union["bpy.types.Context", typing.Dict]
853
- ] = None,
854
- execution_context: typing.Optional[typing.Union[int, str]] = None,
855
- undo: typing.Optional[bool] = None,
761
+ override_context: typing.Union[dict, bpy.types.Context] = None,
762
+ execution_context: typing.Union[str, int] = None,
763
+ undo: bool = None,
856
764
  ):
857
765
  """Select a row of control points including active one
858
766
 
859
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
860
- :type execution_context: typing.Optional[typing.Union[int, str]]
861
- :type undo: typing.Optional[bool]
767
+ :type override_context: typing.Union[dict, bpy.types.Context]
768
+ :type execution_context: typing.Union[str, int]
769
+ :type undo: bool
862
770
  """
863
771
 
864
772
  ...
865
773
 
866
774
  def select_similar(
867
- override_context: typing.Optional[
868
- typing.Union["bpy.types.Context", typing.Dict]
869
- ] = None,
870
- execution_context: typing.Optional[typing.Union[int, str]] = None,
871
- undo: typing.Optional[bool] = None,
872
- *,
873
- type: typing.Optional[typing.Any] = "WEIGHT",
874
- compare: typing.Optional[typing.Any] = "EQUAL",
875
- threshold: typing.Optional[typing.Any] = 0.1,
775
+ override_context: typing.Union[dict, bpy.types.Context] = None,
776
+ execution_context: typing.Union[str, int] = None,
777
+ undo: bool = None,
778
+ type: typing.Any = "WEIGHT",
779
+ compare: typing.Any = "EQUAL",
780
+ threshold: typing.Any = 0.1,
876
781
  ):
877
782
  """Select similar curve points by property type
878
783
 
879
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
880
- :type execution_context: typing.Optional[typing.Union[int, str]]
881
- :type undo: typing.Optional[bool]
784
+ :type override_context: typing.Union[dict, bpy.types.Context]
785
+ :type execution_context: typing.Union[str, int]
786
+ :type undo: bool
882
787
  :param type: Type
883
- :type type: typing.Optional[typing.Any]
788
+ :type type: typing.Any
884
789
  :param compare: Compare
885
- :type compare: typing.Optional[typing.Any]
790
+ :type compare: typing.Any
886
791
  :param threshold: Threshold
887
- :type threshold: typing.Optional[typing.Any]
792
+ :type threshold: typing.Any
888
793
  """
889
794
 
890
795
  ...
891
796
 
892
797
  def separate(
893
- override_context: typing.Optional[
894
- typing.Union["bpy.types.Context", typing.Dict]
895
- ] = None,
896
- execution_context: typing.Optional[typing.Union[int, str]] = None,
897
- undo: typing.Optional[bool] = None,
898
- *,
899
- confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
798
+ override_context: typing.Union[dict, bpy.types.Context] = None,
799
+ execution_context: typing.Union[str, int] = None,
800
+ undo: bool = None,
801
+ confirm: typing.Union[bool, typing.Any] = True,
900
802
  ):
901
803
  """Separate selected points from connected unselected points into a new object
902
804
 
903
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
904
- :type execution_context: typing.Optional[typing.Union[int, str]]
905
- :type undo: typing.Optional[bool]
805
+ :type override_context: typing.Union[dict, bpy.types.Context]
806
+ :type execution_context: typing.Union[str, int]
807
+ :type undo: bool
906
808
  :param confirm: Confirm, Prompt for confirmation
907
- :type confirm: typing.Optional[typing.Union[bool, typing.Any]]
809
+ :type confirm: typing.Union[bool, typing.Any]
908
810
  """
909
811
 
910
812
  ...
911
813
 
912
814
  def shade_flat(
913
- override_context: typing.Optional[
914
- typing.Union["bpy.types.Context", typing.Dict]
915
- ] = None,
916
- execution_context: typing.Optional[typing.Union[int, str]] = None,
917
- undo: typing.Optional[bool] = None,
815
+ override_context: typing.Union[dict, bpy.types.Context] = None,
816
+ execution_context: typing.Union[str, int] = None,
817
+ undo: bool = None,
918
818
  ):
919
819
  """Set shading to flat
920
820
 
921
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
922
- :type execution_context: typing.Optional[typing.Union[int, str]]
923
- :type undo: typing.Optional[bool]
821
+ :type override_context: typing.Union[dict, bpy.types.Context]
822
+ :type execution_context: typing.Union[str, int]
823
+ :type undo: bool
924
824
  """
925
825
 
926
826
  ...
927
827
 
928
828
  def shade_smooth(
929
- override_context: typing.Optional[
930
- typing.Union["bpy.types.Context", typing.Dict]
931
- ] = None,
932
- execution_context: typing.Optional[typing.Union[int, str]] = None,
933
- undo: typing.Optional[bool] = None,
829
+ override_context: typing.Union[dict, bpy.types.Context] = None,
830
+ execution_context: typing.Union[str, int] = None,
831
+ undo: bool = None,
934
832
  ):
935
833
  """Set shading to smooth
936
834
 
937
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
938
- :type execution_context: typing.Optional[typing.Union[int, str]]
939
- :type undo: typing.Optional[bool]
835
+ :type override_context: typing.Union[dict, bpy.types.Context]
836
+ :type execution_context: typing.Union[str, int]
837
+ :type undo: bool
940
838
  """
941
839
 
942
840
  ...
943
841
 
944
842
  def shortest_path_pick(
945
- override_context: typing.Optional[
946
- typing.Union["bpy.types.Context", typing.Dict]
947
- ] = None,
948
- execution_context: typing.Optional[typing.Union[int, str]] = None,
949
- undo: typing.Optional[bool] = None,
843
+ override_context: typing.Union[dict, bpy.types.Context] = None,
844
+ execution_context: typing.Union[str, int] = None,
845
+ undo: bool = None,
950
846
  ):
951
847
  """Select shortest path between two selections
952
848
 
953
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
954
- :type execution_context: typing.Optional[typing.Union[int, str]]
955
- :type undo: typing.Optional[bool]
849
+ :type override_context: typing.Union[dict, bpy.types.Context]
850
+ :type execution_context: typing.Union[str, int]
851
+ :type undo: bool
956
852
  """
957
853
 
958
854
  ...
959
855
 
960
856
  def smooth(
961
- override_context: typing.Optional[
962
- typing.Union["bpy.types.Context", typing.Dict]
963
- ] = None,
964
- execution_context: typing.Optional[typing.Union[int, str]] = None,
965
- undo: typing.Optional[bool] = None,
857
+ override_context: typing.Union[dict, bpy.types.Context] = None,
858
+ execution_context: typing.Union[str, int] = None,
859
+ undo: bool = None,
966
860
  ):
967
861
  """Flatten angles of selected points
968
862
 
969
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
970
- :type execution_context: typing.Optional[typing.Union[int, str]]
971
- :type undo: typing.Optional[bool]
863
+ :type override_context: typing.Union[dict, bpy.types.Context]
864
+ :type execution_context: typing.Union[str, int]
865
+ :type undo: bool
972
866
  """
973
867
 
974
868
  ...
975
869
 
976
870
  def smooth_radius(
977
- override_context: typing.Optional[
978
- typing.Union["bpy.types.Context", typing.Dict]
979
- ] = None,
980
- execution_context: typing.Optional[typing.Union[int, str]] = None,
981
- undo: typing.Optional[bool] = None,
871
+ override_context: typing.Union[dict, bpy.types.Context] = None,
872
+ execution_context: typing.Union[str, int] = None,
873
+ undo: bool = None,
982
874
  ):
983
875
  """Interpolate radii of selected points
984
876
 
985
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
986
- :type execution_context: typing.Optional[typing.Union[int, str]]
987
- :type undo: typing.Optional[bool]
877
+ :type override_context: typing.Union[dict, bpy.types.Context]
878
+ :type execution_context: typing.Union[str, int]
879
+ :type undo: bool
988
880
  """
989
881
 
990
882
  ...
991
883
 
992
884
  def smooth_tilt(
993
- override_context: typing.Optional[
994
- typing.Union["bpy.types.Context", typing.Dict]
995
- ] = None,
996
- execution_context: typing.Optional[typing.Union[int, str]] = None,
997
- undo: typing.Optional[bool] = None,
885
+ override_context: typing.Union[dict, bpy.types.Context] = None,
886
+ execution_context: typing.Union[str, int] = None,
887
+ undo: bool = None,
998
888
  ):
999
889
  """Interpolate tilt of selected points
1000
890
 
1001
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1002
- :type execution_context: typing.Optional[typing.Union[int, str]]
1003
- :type undo: typing.Optional[bool]
891
+ :type override_context: typing.Union[dict, bpy.types.Context]
892
+ :type execution_context: typing.Union[str, int]
893
+ :type undo: bool
1004
894
  """
1005
895
 
1006
896
  ...
1007
897
 
1008
898
  def smooth_weight(
1009
- override_context: typing.Optional[
1010
- typing.Union["bpy.types.Context", typing.Dict]
1011
- ] = None,
1012
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1013
- undo: typing.Optional[bool] = None,
899
+ override_context: typing.Union[dict, bpy.types.Context] = None,
900
+ execution_context: typing.Union[str, int] = None,
901
+ undo: bool = None,
1014
902
  ):
1015
903
  """Interpolate weight of selected points
1016
904
 
1017
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1018
- :type execution_context: typing.Optional[typing.Union[int, str]]
1019
- :type undo: typing.Optional[bool]
905
+ :type override_context: typing.Union[dict, bpy.types.Context]
906
+ :type execution_context: typing.Union[str, int]
907
+ :type undo: bool
1020
908
  """
1021
909
 
1022
910
  ...
1023
911
 
1024
912
  def spin(
1025
- override_context: typing.Optional[
1026
- typing.Union["bpy.types.Context", typing.Dict]
1027
- ] = None,
1028
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1029
- undo: typing.Optional[bool] = None,
1030
- *,
1031
- center: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
1032
- axis: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
913
+ override_context: typing.Union[dict, bpy.types.Context] = None,
914
+ execution_context: typing.Union[str, int] = None,
915
+ undo: bool = None,
916
+ center: typing.Any = (0.0, 0.0, 0.0),
917
+ axis: typing.Any = (0.0, 0.0, 0.0),
1033
918
  ):
1034
919
  """Extrude selected boundary row around pivot point and current view axis
1035
920
 
1036
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1037
- :type execution_context: typing.Optional[typing.Union[int, str]]
1038
- :type undo: typing.Optional[bool]
921
+ :type override_context: typing.Union[dict, bpy.types.Context]
922
+ :type execution_context: typing.Union[str, int]
923
+ :type undo: bool
1039
924
  :param center: Center, Center in global view space
1040
- :type center: typing.Optional[typing.Any]
925
+ :type center: typing.Any
1041
926
  :param axis: Axis, Axis in global view space
1042
- :type axis: typing.Optional[typing.Any]
927
+ :type axis: typing.Any
1043
928
  """
1044
929
 
1045
930
  ...
1046
931
 
1047
932
  def spline_type_set(
1048
- override_context: typing.Optional[
1049
- typing.Union["bpy.types.Context", typing.Dict]
1050
- ] = None,
1051
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1052
- undo: typing.Optional[bool] = None,
1053
- *,
1054
- type: typing.Optional[typing.Any] = "POLY",
1055
- use_handles: typing.Optional[typing.Union[bool, typing.Any]] = False,
933
+ override_context: typing.Union[dict, bpy.types.Context] = None,
934
+ execution_context: typing.Union[str, int] = None,
935
+ undo: bool = None,
936
+ type: typing.Any = "POLY",
937
+ use_handles: typing.Union[bool, typing.Any] = False,
1056
938
  ):
1057
939
  """Set type of active spline
1058
940
 
1059
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1060
- :type execution_context: typing.Optional[typing.Union[int, str]]
1061
- :type undo: typing.Optional[bool]
941
+ :type override_context: typing.Union[dict, bpy.types.Context]
942
+ :type execution_context: typing.Union[str, int]
943
+ :type undo: bool
1062
944
  :param type: Type, Spline type
1063
- :type type: typing.Optional[typing.Any]
945
+ :type type: typing.Any
1064
946
  :param use_handles: Handles, Use handles when converting Bézier curves into polygons
1065
- :type use_handles: typing.Optional[typing.Union[bool, typing.Any]]
947
+ :type use_handles: typing.Union[bool, typing.Any]
1066
948
  """
1067
949
 
1068
950
  ...
1069
951
 
1070
952
  def spline_weight_set(
1071
- override_context: typing.Optional[
1072
- typing.Union["bpy.types.Context", typing.Dict]
1073
- ] = None,
1074
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1075
- undo: typing.Optional[bool] = None,
1076
- *,
1077
- weight: typing.Optional[typing.Any] = 1.0,
953
+ override_context: typing.Union[dict, bpy.types.Context] = None,
954
+ execution_context: typing.Union[str, int] = None,
955
+ undo: bool = None,
956
+ weight: typing.Any = 1.0,
1078
957
  ):
1079
958
  """Set softbody goal weight for selected points
1080
959
 
1081
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1082
- :type execution_context: typing.Optional[typing.Union[int, str]]
1083
- :type undo: typing.Optional[bool]
960
+ :type override_context: typing.Union[dict, bpy.types.Context]
961
+ :type execution_context: typing.Union[str, int]
962
+ :type undo: bool
1084
963
  :param weight: Weight
1085
- :type weight: typing.Optional[typing.Any]
964
+ :type weight: typing.Any
1086
965
  """
1087
966
 
1088
967
  ...
1089
968
 
1090
969
  def split(
1091
- override_context: typing.Optional[
1092
- typing.Union["bpy.types.Context", typing.Dict]
1093
- ] = None,
1094
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1095
- undo: typing.Optional[bool] = None,
970
+ override_context: typing.Union[dict, bpy.types.Context] = None,
971
+ execution_context: typing.Union[str, int] = None,
972
+ undo: bool = None,
1096
973
  ):
1097
974
  """Split off selected points from connected unselected points
1098
975
 
1099
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1100
- :type execution_context: typing.Optional[typing.Union[int, str]]
1101
- :type undo: typing.Optional[bool]
976
+ :type override_context: typing.Union[dict, bpy.types.Context]
977
+ :type execution_context: typing.Union[str, int]
978
+ :type undo: bool
1102
979
  """
1103
980
 
1104
981
  ...
1105
982
 
1106
983
  def subdivide(
1107
- override_context: typing.Optional[
1108
- typing.Union["bpy.types.Context", typing.Dict]
1109
- ] = None,
1110
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1111
- undo: typing.Optional[bool] = None,
1112
- *,
1113
- number_cuts: typing.Optional[typing.Any] = 1,
984
+ override_context: typing.Union[dict, bpy.types.Context] = None,
985
+ execution_context: typing.Union[str, int] = None,
986
+ undo: bool = None,
987
+ number_cuts: typing.Any = 1,
1114
988
  ):
1115
989
  """Subdivide selected segments
1116
990
 
1117
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1118
- :type execution_context: typing.Optional[typing.Union[int, str]]
1119
- :type undo: typing.Optional[bool]
991
+ :type override_context: typing.Union[dict, bpy.types.Context]
992
+ :type execution_context: typing.Union[str, int]
993
+ :type undo: bool
1120
994
  :param number_cuts: Number of Cuts
1121
- :type number_cuts: typing.Optional[typing.Any]
995
+ :type number_cuts: typing.Any
1122
996
  """
1123
997
 
1124
998
  ...
1125
999
 
1126
1000
  def switch_direction(
1127
- override_context: typing.Optional[
1128
- typing.Union["bpy.types.Context", typing.Dict]
1129
- ] = None,
1130
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1131
- undo: typing.Optional[bool] = None,
1001
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1002
+ execution_context: typing.Union[str, int] = None,
1003
+ undo: bool = None,
1132
1004
  ):
1133
1005
  """Switch direction of selected splines
1134
1006
 
1135
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1136
- :type execution_context: typing.Optional[typing.Union[int, str]]
1137
- :type undo: typing.Optional[bool]
1007
+ :type override_context: typing.Union[dict, bpy.types.Context]
1008
+ :type execution_context: typing.Union[str, int]
1009
+ :type undo: bool
1138
1010
  """
1139
1011
 
1140
1012
  ...
1141
1013
 
1142
1014
  def tilt_clear(
1143
- override_context: typing.Optional[
1144
- typing.Union["bpy.types.Context", typing.Dict]
1145
- ] = None,
1146
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1147
- undo: typing.Optional[bool] = None,
1015
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1016
+ execution_context: typing.Union[str, int] = None,
1017
+ undo: bool = None,
1148
1018
  ):
1149
1019
  """Clear the tilt of selected control points
1150
1020
 
1151
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1152
- :type execution_context: typing.Optional[typing.Union[int, str]]
1153
- :type undo: typing.Optional[bool]
1021
+ :type override_context: typing.Union[dict, bpy.types.Context]
1022
+ :type execution_context: typing.Union[str, int]
1023
+ :type undo: bool
1154
1024
  """
1155
1025
 
1156
1026
  ...
1157
1027
 
1158
1028
  def vertex_add(
1159
- override_context: typing.Optional[
1160
- typing.Union["bpy.types.Context", typing.Dict]
1161
- ] = None,
1162
- execution_context: typing.Optional[typing.Union[int, str]] = None,
1163
- undo: typing.Optional[bool] = None,
1164
- *,
1165
- location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
1029
+ override_context: typing.Union[dict, bpy.types.Context] = None,
1030
+ execution_context: typing.Union[str, int] = None,
1031
+ undo: bool = None,
1032
+ location: typing.Any = (0.0, 0.0, 0.0),
1166
1033
  ):
1167
1034
  """Add a new control point (linked to only selected end-curve one, if any)
1168
1035
 
1169
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
1170
- :type execution_context: typing.Optional[typing.Union[int, str]]
1171
- :type undo: typing.Optional[bool]
1036
+ :type override_context: typing.Union[dict, bpy.types.Context]
1037
+ :type execution_context: typing.Union[str, int]
1038
+ :type undo: bool
1172
1039
  :param location: Location, Location to add new vertex at
1173
- :type location: typing.Optional[typing.Any]
1040
+ :type location: typing.Any
1174
1041
  """
1175
1042
 
1176
1043
  ...