fake-bpy-module 20240210__py3-none-any.whl → 20240326__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 (309) hide show
  1. addon_utils/__init__.pyi +54 -11
  2. animsys_refactor/__init__.pyi +36 -7
  3. aud/__init__.pyi +307 -321
  4. bgl/__init__.pyi +2926 -865
  5. bl_app_override/__init__.pyi +14 -4
  6. bl_app_override/helpers/__init__.pyi +24 -3
  7. bl_app_template_utils/__init__.pyi +19 -5
  8. bl_console_utils/__init__.pyi +0 -1
  9. bl_console_utils/autocomplete/__init__.pyi +2 -3
  10. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
  11. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
  12. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
  13. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
  14. bl_i18n_utils/__init__.pyi +2 -3
  15. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
  16. bl_i18n_utils/merge_po/__init__.pyi +4 -2
  17. bl_i18n_utils/settings/__init__.pyi +53 -7
  18. bl_i18n_utils/utils/__init__.pyi +332 -45
  19. bl_i18n_utils/utils_cli/__init__.pyi +29 -7
  20. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
  21. bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
  22. bl_keymap_utils/__init__.pyi +2 -3
  23. bl_keymap_utils/io/__init__.pyi +44 -10
  24. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
  25. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
  26. bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
  27. bl_keymap_utils/versioning/__init__.pyi +4 -2
  28. bl_math/__init__.pyi +21 -22
  29. bl_operators/__init__.pyi +30 -24
  30. bl_operators/add_mesh_torus/__init__.pyi +171 -38
  31. bl_operators/anim/__init__.pyi +1065 -227
  32. bl_operators/assets/__init__.pyi +427 -93
  33. bl_operators/bmesh/__init__.pyi +0 -1
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
  35. bl_operators/clip/__init__.pyi +1342 -288
  36. bl_operators/console/__init__.pyi +647 -141
  37. bl_operators/constraint/__init__.pyi +524 -113
  38. bl_operators/file/__init__.pyi +396 -85
  39. bl_operators/freestyle/__init__.pyi +532 -114
  40. bl_operators/geometry_nodes/__init__.pyi +2412 -597
  41. bl_operators/image/__init__.pyi +380 -83
  42. bl_operators/mesh/__init__.pyi +401 -86
  43. bl_operators/node/__init__.pyi +1756 -385
  44. bl_operators/object/__init__.pyi +2022 -553
  45. bl_operators/object_align/__init__.pyi +145 -32
  46. bl_operators/object_quick_effects/__init__.pyi +555 -125
  47. bl_operators/object_randomize_transform/__init__.pyi +136 -33
  48. bl_operators/presets/__init__.pyi +3516 -709
  49. bl_operators/rigidbody/__init__.pyi +401 -86
  50. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
  51. bl_operators/sequencer/__init__.pyi +731 -150
  52. bl_operators/spreadsheet/__init__.pyi +145 -31
  53. bl_operators/userpref/__init__.pyi +3416 -825
  54. bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
  55. bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
  56. bl_operators/uvcalc_transform/__init__.pyi +344 -74
  57. bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
  58. bl_operators/view3d/__init__.pyi +697 -147
  59. bl_operators/wm/__init__.pyi +6287 -1534
  60. bl_previews_utils/__init__.pyi +0 -1
  61. bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
  62. bl_rna_utils/__init__.pyi +0 -1
  63. bl_rna_utils/data_path/__init__.pyi +12 -3
  64. bl_text_utils/__init__.pyi +0 -1
  65. bl_text_utils/external_editor/__init__.pyi +4 -2
  66. bl_ui/__init__.pyi +567 -170
  67. bl_ui/anim/__init__.pyi +164 -34
  68. bl_ui/asset_shelf/__init__.pyi +146 -32
  69. bl_ui/generic_ui_list/__init__.pyi +471 -100
  70. bl_ui/node_add_menu/__init__.pyi +196 -41
  71. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
  72. bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
  73. bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
  74. bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
  75. bl_ui/properties_animviz/__init__.pyi +32 -3
  76. bl_ui/properties_collection/__init__.pyi +787 -180
  77. bl_ui/properties_constraint/__init__.pyi +28635 -5524
  78. bl_ui/properties_data_armature/__init__.pyi +1905 -449
  79. bl_ui/properties_data_bone/__init__.pyi +1560 -337
  80. bl_ui/properties_data_camera/__init__.pyi +2269 -495
  81. bl_ui/properties_data_curve/__init__.pyi +2362 -535
  82. bl_ui/properties_data_curves/__init__.pyi +951 -204
  83. bl_ui/properties_data_empty/__init__.pyi +317 -70
  84. bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
  85. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
  86. bl_ui/properties_data_lattice/__init__.pyi +472 -105
  87. bl_ui/properties_data_light/__init__.pyi +1570 -338
  88. bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
  89. bl_ui/properties_data_mesh/__init__.pyi +3205 -768
  90. bl_ui/properties_data_metaball/__init__.pyi +774 -171
  91. bl_ui/properties_data_modifier/__init__.pyi +1554 -329
  92. bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
  93. bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
  94. bl_ui/properties_data_speaker/__init__.pyi +782 -169
  95. bl_ui/properties_data_volume/__init__.pyi +1243 -282
  96. bl_ui/properties_freestyle/__init__.pyi +4071 -1031
  97. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
  98. bl_ui/properties_mask_common/__init__.pyi +1256 -250
  99. bl_ui/properties_material/__init__.pyi +2351 -543
  100. bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
  101. bl_ui/properties_object/__init__.pyi +2179 -513
  102. bl_ui/properties_output/__init__.pyi +2956 -706
  103. bl_ui/properties_paint_common/__init__.pyi +947 -141
  104. bl_ui/properties_particle/__init__.pyi +8322 -1971
  105. bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
  106. bl_ui/properties_physics_common/__init__.pyi +200 -45
  107. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
  108. bl_ui/properties_physics_field/__init__.pyi +1695 -365
  109. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
  110. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
  111. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
  112. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
  113. bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
  114. bl_ui/properties_render/__init__.pyi +8312 -1934
  115. bl_ui/properties_scene/__init__.pyi +2211 -540
  116. bl_ui/properties_texture/__init__.pyi +4185 -1014
  117. bl_ui/properties_view_layer/__init__.pyi +2803 -665
  118. bl_ui/properties_workspace/__init__.pyi +626 -149
  119. bl_ui/properties_world/__init__.pyi +1092 -235
  120. bl_ui/space_clip/__init__.pyi +11475 -2806
  121. bl_ui/space_console/__init__.pyi +967 -203
  122. bl_ui/space_dopesheet/__init__.pyi +4260 -967
  123. bl_ui/space_filebrowser/__init__.pyi +4852 -1188
  124. bl_ui/space_graph/__init__.pyi +3251 -703
  125. bl_ui/space_image/__init__.pyi +12218 -2968
  126. bl_ui/space_info/__init__.pyi +964 -201
  127. bl_ui/space_nla/__init__.pyi +2756 -585
  128. bl_ui/space_node/__init__.pyi +5661 -1266
  129. bl_ui/space_outliner/__init__.pyi +2294 -479
  130. bl_ui/space_properties/__init__.pyi +417 -93
  131. bl_ui/space_sequencer/__init__.pyi +12436 -3010
  132. bl_ui/space_spreadsheet/__init__.pyi +184 -37
  133. bl_ui/space_statusbar/__init__.pyi +135 -31
  134. bl_ui/space_text/__init__.pyi +2556 -543
  135. bl_ui/space_time/__init__.pyi +1151 -244
  136. bl_ui/space_toolsystem_common/__init__.pyi +368 -67
  137. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
  138. bl_ui/space_topbar/__init__.pyi +4214 -888
  139. bl_ui/space_userpref/__init__.pyi +13920 -3468
  140. bl_ui/space_view3d/__init__.pyi +42751 -9613
  141. bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
  142. bl_ui/utils/__init__.pyi +42 -5
  143. bl_ui_utils/__init__.pyi +0 -1
  144. bl_ui_utils/bug_report_url/__init__.pyi +4 -2
  145. bl_ui_utils/layout/__init__.pyi +4 -2
  146. blend_render_info/__init__.pyi +13 -4
  147. blf/__init__.pyi +15 -18
  148. bmesh/__init__.pyi +18 -18
  149. bmesh/geometry/__init__.pyi +5 -6
  150. bmesh/ops/__init__.pyi +1337 -1158
  151. bmesh/types/__init__.pyi +464 -374
  152. bmesh/utils/__init__.pyi +64 -70
  153. bpy/__init__.pyi +6 -7
  154. bpy/app/__init__.pyi +36 -38
  155. bpy/app/handlers/__init__.pyi +37 -38
  156. bpy/app/icons/__init__.pyi +8 -11
  157. bpy/app/timers/__init__.pyi +18 -17
  158. bpy/app/translations/__init__.pyi +32 -30
  159. bpy/msgbus/__init__.pyi +25 -20
  160. bpy/ops/__init__.pyi +63 -64
  161. bpy/ops/action/__init__.pyi +408 -436
  162. bpy/ops/anim/__init__.pyi +459 -577
  163. bpy/ops/armature/__init__.pyi +396 -498
  164. bpy/ops/asset/__init__.pyi +187 -213
  165. bpy/ops/boid/__init__.pyi +50 -68
  166. bpy/ops/brush/__init__.pyi +72 -97
  167. bpy/ops/buttons/__init__.pyi +202 -193
  168. bpy/ops/cachefile/__init__.pyi +198 -188
  169. bpy/ops/camera/__init__.pyi +24 -31
  170. bpy/ops/clip/__init__.pyi +1021 -1082
  171. bpy/ops/cloth/__init__.pyi +11 -15
  172. bpy/ops/collection/__init__.pyi +36 -51
  173. bpy/ops/console/__init__.pyi +155 -209
  174. bpy/ops/constraint/__init__.pyi +286 -254
  175. bpy/ops/curve/__init__.pyi +597 -659
  176. bpy/ops/curves/__init__.pyi +191 -225
  177. bpy/ops/cycles/__init__.pyi +21 -30
  178. bpy/ops/dpaint/__init__.pyi +34 -47
  179. bpy/ops/ed/__init__.pyi +160 -176
  180. bpy/ops/export_anim/__init__.pyi +51 -34
  181. bpy/ops/export_mesh/__init__.pyi +47 -45
  182. bpy/ops/export_scene/__init__.pyi +659 -504
  183. bpy/ops/file/__init__.pyi +469 -474
  184. bpy/ops/fluid/__init__.pyi +89 -119
  185. bpy/ops/font/__init__.pyi +325 -361
  186. bpy/ops/geometry/__init__.pyi +86 -114
  187. bpy/ops/gizmogroup/__init__.pyi +22 -28
  188. bpy/ops/gpencil/__init__.pyi +1900 -1976
  189. bpy/ops/graph/__init__.pyi +875 -894
  190. bpy/ops/grease_pencil/__init__.pyi +572 -508
  191. bpy/ops/image/__init__.pyi +805 -855
  192. bpy/ops/import_anim/__init__.pyi +66 -46
  193. bpy/ops/import_curve/__init__.pyi +7 -11
  194. bpy/ops/import_mesh/__init__.pyi +19 -25
  195. bpy/ops/import_scene/__init__.pyi +164 -147
  196. bpy/ops/info/__init__.pyi +88 -85
  197. bpy/ops/lattice/__init__.pyi +86 -90
  198. bpy/ops/marker/__init__.pyi +135 -146
  199. bpy/ops/mask/__init__.pyi +372 -436
  200. bpy/ops/material/__init__.pyi +18 -25
  201. bpy/ops/mball/__init__.pyi +93 -99
  202. bpy/ops/mesh/__init__.pyi +2525 -2664
  203. bpy/ops/nla/__init__.pyi +398 -455
  204. bpy/ops/node/__init__.pyi +1015 -1207
  205. bpy/ops/object/__init__.pyi +3423 -3390
  206. bpy/ops/outliner/__init__.pyi +667 -685
  207. bpy/ops/paint/__init__.pyi +719 -672
  208. bpy/ops/paintcurve/__init__.pyi +64 -85
  209. bpy/ops/palette/__init__.pyi +48 -67
  210. bpy/ops/particle/__init__.pyi +323 -367
  211. bpy/ops/pose/__init__.pyi +569 -474
  212. bpy/ops/poselib/__init__.pyi +77 -100
  213. bpy/ops/preferences/__init__.pyi +460 -512
  214. bpy/ops/ptcache/__init__.pyi +46 -63
  215. bpy/ops/render/__init__.pyi +121 -155
  216. bpy/ops/rigidbody/__init__.pyi +148 -143
  217. bpy/ops/scene/__init__.pyi +336 -380
  218. bpy/ops/screen/__init__.pyi +454 -530
  219. bpy/ops/script/__init__.pyi +19 -28
  220. bpy/ops/sculpt/__init__.pyi +734 -587
  221. bpy/ops/sculpt_curves/__init__.pyi +51 -56
  222. bpy/ops/sequencer/__init__.pyi +1617 -1500
  223. bpy/ops/sound/__init__.pyi +392 -315
  224. bpy/ops/spreadsheet/__init__.pyi +31 -42
  225. bpy/ops/surface/__init__.pyi +198 -163
  226. bpy/ops/text/__init__.pyi +479 -545
  227. bpy/ops/text_editor/__init__.pyi +11 -15
  228. bpy/ops/texture/__init__.pyi +26 -36
  229. bpy/ops/transform/__init__.pyi +825 -941
  230. bpy/ops/ui/__init__.pyi +246 -295
  231. bpy/ops/uilist/__init__.pyi +34 -38
  232. bpy/ops/uv/__init__.pyi +912 -824
  233. bpy/ops/view2d/__init__.pyi +157 -197
  234. bpy/ops/view3d/__init__.pyi +777 -878
  235. bpy/ops/wm/__init__.pyi +4102 -3595
  236. bpy/ops/workspace/__init__.pyi +42 -58
  237. bpy/ops/world/__init__.pyi +6 -9
  238. bpy/path/__init__.pyi +166 -109
  239. bpy/props/__init__.pyi +478 -395
  240. bpy/types/__init__.pyi +87194 -81467
  241. bpy/utils/__init__.pyi +325 -169
  242. bpy/utils/previews/__init__.pyi +108 -21
  243. bpy/utils/units/__init__.pyi +37 -39
  244. bpy_extras/__init__.pyi +4 -9
  245. bpy_extras/anim_utils/__init__.pyi +25 -55
  246. bpy_extras/asset_utils/__init__.pyi +3 -13
  247. bpy_extras/id_map_utils/__init__.pyi +1 -4
  248. bpy_extras/image_utils/__init__.pyi +33 -23
  249. bpy_extras/io_utils/__init__.pyi +116 -66
  250. bpy_extras/keyconfig_utils/__init__.pyi +5 -3
  251. bpy_extras/mesh_utils/__init__.pyi +42 -34
  252. bpy_extras/node_utils/__init__.pyi +4 -4
  253. bpy_extras/object_utils/__init__.pyi +58 -43
  254. bpy_extras/view3d_utils/__init__.pyi +64 -63
  255. bpy_restrict_state/__init__.pyi +14 -2
  256. bpy_types/__init__.pyi +3873 -998
  257. console_python/__init__.pyi +41 -8
  258. console_shell/__init__.pyi +24 -6
  259. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  260. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  261. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  262. freestyle/__init__.pyi +4 -5
  263. freestyle/chainingiterators/__init__.pyi +229 -73
  264. freestyle/functions/__init__.pyi +624 -402
  265. freestyle/predicates/__init__.pyi +381 -169
  266. freestyle/shaders/__init__.pyi +424 -155
  267. freestyle/types/__init__.pyi +1572 -726
  268. freestyle/utils/ContextFunctions/__init__.pyi +54 -43
  269. freestyle/utils/__init__.pyi +67 -31
  270. gpu/__init__.pyi +3 -4
  271. gpu/capabilities/__init__.pyi +57 -37
  272. gpu/matrix/__init__.pyi +14 -17
  273. gpu/platform/__init__.pyi +5 -6
  274. gpu/select/__init__.pyi +2 -5
  275. gpu/shader/__init__.pyi +14 -12
  276. gpu/state/__init__.pyi +48 -62
  277. gpu/texture/__init__.pyi +7 -7
  278. gpu/types/__init__.pyi +670 -229
  279. gpu_extras/__init__.pyi +1 -2
  280. gpu_extras/batch/__init__.pyi +27 -6
  281. gpu_extras/presets/__init__.pyi +67 -27
  282. graphviz_export/__init__.pyi +9 -3
  283. idprop/__init__.pyi +0 -1
  284. idprop/types/__init__.pyi +42 -13
  285. imbuf/__init__.pyi +6 -10
  286. imbuf/types/__init__.pyi +8 -16
  287. keyingsets_builtins/__init__.pyi +3149 -702
  288. keyingsets_utils/__init__.pyi +69 -15
  289. mathutils/__init__.pyi +951 -876
  290. mathutils/bvhtree/__init__.pyi +47 -48
  291. mathutils/geometry/__init__.pyi +237 -242
  292. mathutils/interpolate/__init__.pyi +3 -6
  293. mathutils/kdtree/__init__.pyi +23 -26
  294. mathutils/noise/__init__.pyi +50 -51
  295. nodeitems_builtins/__init__.pyi +50 -11
  296. nodeitems_utils/__init__.pyi +58 -11
  297. rna_info/__init__.pyi +230 -27
  298. rna_keymap_ui/__init__.pyi +29 -7
  299. rna_prop_ui/__init__.pyi +69 -13
  300. rna_xml/__init__.pyi +29 -7
  301. sys_info/__init__.pyi +4 -2
  302. bpy_extras/bmesh_utils/__init__.pyi +0 -7
  303. bpy_extras/extensions/__init__.pyi +0 -5
  304. bpy_extras/extensions/junction_module/__init__.pyi +0 -13
  305. bpy_extras/node_shader_utils/__init__.pyi +0 -132
  306. bpy_extras/wm_utils/__init__.pyi +0 -5
  307. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
  308. fake_bpy_module-20240210.dist-info/RECORD +0 -349
  309. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -1,413 +1,445 @@
1
- import sys
2
1
  import typing
3
2
  import bpy.types
4
3
 
5
4
  GenericType = typing.TypeVar("GenericType")
6
5
 
7
6
  def add_target(
8
- override_context: typing.Optional[
9
- typing.Union[typing.Dict, "bpy.types.Context"]
10
- ] = None,
11
- execution_context: typing.Optional[typing.Union[str, int]] = None,
12
- undo: typing.Optional[bool] = None,
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
13
10
  ):
14
- """Add a target to the constraint :File: `startup/bl_operators/constraint.py\:26 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/constraint.py#L26>`__
11
+ """Add a target to the constraint
15
12
 
16
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
17
- :type execution_context: typing.Optional[typing.Union[str, int]]
18
- :type undo: typing.Optional[bool]
13
+ :type override_context: typing.Union[dict, bpy.types.Context]
14
+ :type execution_context: typing.Union[str, int]
15
+ :type undo: bool
19
16
  """
20
17
 
21
18
  ...
22
19
 
23
20
  def apply(
24
- override_context: typing.Optional[
25
- typing.Union[typing.Dict, "bpy.types.Context"]
26
- ] = None,
27
- execution_context: typing.Optional[typing.Union[str, int]] = None,
28
- undo: typing.Optional[bool] = None,
29
- *,
21
+ override_context: typing.Union[dict, bpy.types.Context] = None,
22
+ execution_context: typing.Union[str, int] = None,
23
+ undo: bool = None,
30
24
  constraint: typing.Union[str, typing.Any] = "",
31
- owner: typing.Optional[typing.Any] = "OBJECT",
32
- report: typing.Optional[typing.Union[bool, typing.Any]] = False,
25
+ owner: typing.Any = "OBJECT",
26
+ report: typing.Union[bool, typing.Any] = False,
33
27
  ):
34
28
  """Apply constraint and remove from the stack
35
29
 
36
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
37
- :type execution_context: typing.Optional[typing.Union[str, int]]
38
- :type undo: typing.Optional[bool]
39
- :param constraint: Constraint, Name of the constraint to edit
40
- :type constraint: typing.Union[str, typing.Any]
41
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
42
- :type owner: typing.Optional[typing.Any]
43
- :param report: Report, Create a notification after the operation
44
- :type report: typing.Optional[typing.Union[bool, typing.Any]]
30
+ :type override_context: typing.Union[dict, bpy.types.Context]
31
+ :type execution_context: typing.Union[str, int]
32
+ :type undo: bool
33
+ :param constraint: Constraint, Name of the constraint to edit
34
+ :type constraint: typing.Union[str, typing.Any]
35
+ :param owner: Owner, The owner of this constraint
36
+
37
+ OBJECT
38
+ Object -- Edit a constraint on the active object.
39
+
40
+ BONE
41
+ Bone -- Edit a constraint on the active bone.
42
+ :type owner: typing.Any
43
+ :param report: Report, Create a notification after the operation
44
+ :type report: typing.Union[bool, typing.Any]
45
45
  """
46
46
 
47
47
  ...
48
48
 
49
49
  def childof_clear_inverse(
50
- override_context: typing.Optional[
51
- typing.Union[typing.Dict, "bpy.types.Context"]
52
- ] = None,
53
- execution_context: typing.Optional[typing.Union[str, int]] = None,
54
- undo: typing.Optional[bool] = None,
55
- *,
50
+ override_context: typing.Union[dict, bpy.types.Context] = None,
51
+ execution_context: typing.Union[str, int] = None,
52
+ undo: bool = None,
56
53
  constraint: typing.Union[str, typing.Any] = "",
57
- owner: typing.Optional[typing.Any] = "OBJECT",
54
+ owner: typing.Any = "OBJECT",
58
55
  ):
59
56
  """Clear inverse correction for Child Of constraint
60
57
 
61
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
62
- :type execution_context: typing.Optional[typing.Union[str, int]]
63
- :type undo: typing.Optional[bool]
64
- :param constraint: Constraint, Name of the constraint to edit
65
- :type constraint: typing.Union[str, typing.Any]
66
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
67
- :type owner: typing.Optional[typing.Any]
58
+ :type override_context: typing.Union[dict, bpy.types.Context]
59
+ :type execution_context: typing.Union[str, int]
60
+ :type undo: bool
61
+ :param constraint: Constraint, Name of the constraint to edit
62
+ :type constraint: typing.Union[str, typing.Any]
63
+ :param owner: Owner, The owner of this constraint
64
+
65
+ OBJECT
66
+ Object -- Edit a constraint on the active object.
67
+
68
+ BONE
69
+ Bone -- Edit a constraint on the active bone.
70
+ :type owner: typing.Any
68
71
  """
69
72
 
70
73
  ...
71
74
 
72
75
  def childof_set_inverse(
73
- override_context: typing.Optional[
74
- typing.Union[typing.Dict, "bpy.types.Context"]
75
- ] = None,
76
- execution_context: typing.Optional[typing.Union[str, int]] = None,
77
- undo: typing.Optional[bool] = None,
78
- *,
76
+ override_context: typing.Union[dict, bpy.types.Context] = None,
77
+ execution_context: typing.Union[str, int] = None,
78
+ undo: bool = None,
79
79
  constraint: typing.Union[str, typing.Any] = "",
80
- owner: typing.Optional[typing.Any] = "OBJECT",
80
+ owner: typing.Any = "OBJECT",
81
81
  ):
82
82
  """Set inverse correction for Child Of constraint
83
83
 
84
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
85
- :type execution_context: typing.Optional[typing.Union[str, int]]
86
- :type undo: typing.Optional[bool]
87
- :param constraint: Constraint, Name of the constraint to edit
88
- :type constraint: typing.Union[str, typing.Any]
89
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
90
- :type owner: typing.Optional[typing.Any]
84
+ :type override_context: typing.Union[dict, bpy.types.Context]
85
+ :type execution_context: typing.Union[str, int]
86
+ :type undo: bool
87
+ :param constraint: Constraint, Name of the constraint to edit
88
+ :type constraint: typing.Union[str, typing.Any]
89
+ :param owner: Owner, The owner of this constraint
90
+
91
+ OBJECT
92
+ Object -- Edit a constraint on the active object.
93
+
94
+ BONE
95
+ Bone -- Edit a constraint on the active bone.
96
+ :type owner: typing.Any
91
97
  """
92
98
 
93
99
  ...
94
100
 
95
101
  def copy(
96
- override_context: typing.Optional[
97
- typing.Union[typing.Dict, "bpy.types.Context"]
98
- ] = None,
99
- execution_context: typing.Optional[typing.Union[str, int]] = None,
100
- undo: typing.Optional[bool] = None,
101
- *,
102
+ override_context: typing.Union[dict, bpy.types.Context] = None,
103
+ execution_context: typing.Union[str, int] = None,
104
+ undo: bool = None,
102
105
  constraint: typing.Union[str, typing.Any] = "",
103
- owner: typing.Optional[typing.Any] = "OBJECT",
104
- report: typing.Optional[typing.Union[bool, typing.Any]] = False,
106
+ owner: typing.Any = "OBJECT",
107
+ report: typing.Union[bool, typing.Any] = False,
105
108
  ):
106
109
  """Duplicate constraint at the same position in the stack
107
110
 
108
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
109
- :type execution_context: typing.Optional[typing.Union[str, int]]
110
- :type undo: typing.Optional[bool]
111
- :param constraint: Constraint, Name of the constraint to edit
112
- :type constraint: typing.Union[str, typing.Any]
113
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
114
- :type owner: typing.Optional[typing.Any]
115
- :param report: Report, Create a notification after the operation
116
- :type report: typing.Optional[typing.Union[bool, typing.Any]]
111
+ :type override_context: typing.Union[dict, bpy.types.Context]
112
+ :type execution_context: typing.Union[str, int]
113
+ :type undo: bool
114
+ :param constraint: Constraint, Name of the constraint to edit
115
+ :type constraint: typing.Union[str, typing.Any]
116
+ :param owner: Owner, The owner of this constraint
117
+
118
+ OBJECT
119
+ Object -- Edit a constraint on the active object.
120
+
121
+ BONE
122
+ Bone -- Edit a constraint on the active bone.
123
+ :type owner: typing.Any
124
+ :param report: Report, Create a notification after the operation
125
+ :type report: typing.Union[bool, typing.Any]
117
126
  """
118
127
 
119
128
  ...
120
129
 
121
130
  def copy_to_selected(
122
- override_context: typing.Optional[
123
- typing.Union[typing.Dict, "bpy.types.Context"]
124
- ] = None,
125
- execution_context: typing.Optional[typing.Union[str, int]] = None,
126
- undo: typing.Optional[bool] = None,
127
- *,
131
+ override_context: typing.Union[dict, bpy.types.Context] = None,
132
+ execution_context: typing.Union[str, int] = None,
133
+ undo: bool = None,
128
134
  constraint: typing.Union[str, typing.Any] = "",
129
- owner: typing.Optional[typing.Any] = "OBJECT",
135
+ owner: typing.Any = "OBJECT",
130
136
  ):
131
137
  """Copy constraint to other selected objects/bones
132
138
 
133
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
134
- :type execution_context: typing.Optional[typing.Union[str, int]]
135
- :type undo: typing.Optional[bool]
136
- :param constraint: Constraint, Name of the constraint to edit
137
- :type constraint: typing.Union[str, typing.Any]
138
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
139
- :type owner: typing.Optional[typing.Any]
139
+ :type override_context: typing.Union[dict, bpy.types.Context]
140
+ :type execution_context: typing.Union[str, int]
141
+ :type undo: bool
142
+ :param constraint: Constraint, Name of the constraint to edit
143
+ :type constraint: typing.Union[str, typing.Any]
144
+ :param owner: Owner, The owner of this constraint
145
+
146
+ OBJECT
147
+ Object -- Edit a constraint on the active object.
148
+
149
+ BONE
150
+ Bone -- Edit a constraint on the active bone.
151
+ :type owner: typing.Any
140
152
  """
141
153
 
142
154
  ...
143
155
 
144
156
  def delete(
145
- override_context: typing.Optional[
146
- typing.Union[typing.Dict, "bpy.types.Context"]
147
- ] = None,
148
- execution_context: typing.Optional[typing.Union[str, int]] = None,
149
- undo: typing.Optional[bool] = None,
150
- *,
157
+ override_context: typing.Union[dict, bpy.types.Context] = None,
158
+ execution_context: typing.Union[str, int] = None,
159
+ undo: bool = None,
151
160
  constraint: typing.Union[str, typing.Any] = "",
152
- owner: typing.Optional[typing.Any] = "OBJECT",
153
- report: typing.Optional[typing.Union[bool, typing.Any]] = False,
161
+ owner: typing.Any = "OBJECT",
162
+ report: typing.Union[bool, typing.Any] = False,
154
163
  ):
155
164
  """Remove constraint from constraint stack
156
165
 
157
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
158
- :type execution_context: typing.Optional[typing.Union[str, int]]
159
- :type undo: typing.Optional[bool]
160
- :param constraint: Constraint, Name of the constraint to edit
161
- :type constraint: typing.Union[str, typing.Any]
162
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
163
- :type owner: typing.Optional[typing.Any]
164
- :param report: Report, Create a notification after the operation
165
- :type report: typing.Optional[typing.Union[bool, typing.Any]]
166
+ :type override_context: typing.Union[dict, bpy.types.Context]
167
+ :type execution_context: typing.Union[str, int]
168
+ :type undo: bool
169
+ :param constraint: Constraint, Name of the constraint to edit
170
+ :type constraint: typing.Union[str, typing.Any]
171
+ :param owner: Owner, The owner of this constraint
172
+
173
+ OBJECT
174
+ Object -- Edit a constraint on the active object.
175
+
176
+ BONE
177
+ Bone -- Edit a constraint on the active bone.
178
+ :type owner: typing.Any
179
+ :param report: Report, Create a notification after the operation
180
+ :type report: typing.Union[bool, typing.Any]
166
181
  """
167
182
 
168
183
  ...
169
184
 
170
185
  def disable_keep_transform(
171
- override_context: typing.Optional[
172
- typing.Union[typing.Dict, "bpy.types.Context"]
173
- ] = None,
174
- execution_context: typing.Optional[typing.Union[str, int]] = None,
175
- undo: typing.Optional[bool] = None,
186
+ override_context: typing.Union[dict, bpy.types.Context] = None,
187
+ execution_context: typing.Union[str, int] = None,
188
+ undo: bool = None,
176
189
  ):
177
- """Set the influence of this constraint to zero while trying to maintain the object's transformation. Other active constraints can still influence the final transformation :File: `startup/bl_operators/constraint.py\:86 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/constraint.py#L86>`__
190
+ """Set the influence of this constraint to zero while trying to maintain the object's transformation. Other active constraints can still influence the final transformation
178
191
 
179
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
180
- :type execution_context: typing.Optional[typing.Union[str, int]]
181
- :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
182
195
  """
183
196
 
184
197
  ...
185
198
 
186
199
  def followpath_path_animate(
187
- override_context: typing.Optional[
188
- typing.Union[typing.Dict, "bpy.types.Context"]
189
- ] = None,
190
- execution_context: typing.Optional[typing.Union[str, int]] = None,
191
- undo: typing.Optional[bool] = None,
192
- *,
200
+ override_context: typing.Union[dict, bpy.types.Context] = None,
201
+ execution_context: typing.Union[str, int] = None,
202
+ undo: bool = None,
193
203
  constraint: typing.Union[str, typing.Any] = "",
194
- owner: typing.Optional[typing.Any] = "OBJECT",
195
- frame_start: typing.Optional[typing.Any] = 1,
196
- length: typing.Optional[typing.Any] = 100,
204
+ owner: typing.Any = "OBJECT",
205
+ frame_start: typing.Any = 1,
206
+ length: typing.Any = 100,
197
207
  ):
198
208
  """Add default animation for path used by constraint if it isn't animated already
199
209
 
200
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
201
- :type execution_context: typing.Optional[typing.Union[str, int]]
202
- :type undo: typing.Optional[bool]
203
- :param constraint: Constraint, Name of the constraint to edit
204
- :type constraint: typing.Union[str, typing.Any]
205
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
206
- :type owner: typing.Optional[typing.Any]
207
- :param frame_start: Start Frame, First frame of path animation
208
- :type frame_start: typing.Optional[typing.Any]
209
- :param length: Length, Number of frames that path animation should take
210
- :type length: typing.Optional[typing.Any]
210
+ :type override_context: typing.Union[dict, bpy.types.Context]
211
+ :type execution_context: typing.Union[str, int]
212
+ :type undo: bool
213
+ :param constraint: Constraint, Name of the constraint to edit
214
+ :type constraint: typing.Union[str, typing.Any]
215
+ :param owner: Owner, The owner of this constraint
216
+
217
+ OBJECT
218
+ Object -- Edit a constraint on the active object.
219
+
220
+ BONE
221
+ Bone -- Edit a constraint on the active bone.
222
+ :type owner: typing.Any
223
+ :param frame_start: Start Frame, First frame of path animation
224
+ :type frame_start: typing.Any
225
+ :param length: Length, Number of frames that path animation should take
226
+ :type length: typing.Any
211
227
  """
212
228
 
213
229
  ...
214
230
 
215
231
  def limitdistance_reset(
216
- override_context: typing.Optional[
217
- typing.Union[typing.Dict, "bpy.types.Context"]
218
- ] = None,
219
- execution_context: typing.Optional[typing.Union[str, int]] = None,
220
- undo: typing.Optional[bool] = None,
221
- *,
232
+ override_context: typing.Union[dict, bpy.types.Context] = None,
233
+ execution_context: typing.Union[str, int] = None,
234
+ undo: bool = None,
222
235
  constraint: typing.Union[str, typing.Any] = "",
223
- owner: typing.Optional[typing.Any] = "OBJECT",
236
+ owner: typing.Any = "OBJECT",
224
237
  ):
225
238
  """Reset limiting distance for Limit Distance Constraint
226
239
 
227
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
228
- :type execution_context: typing.Optional[typing.Union[str, int]]
229
- :type undo: typing.Optional[bool]
230
- :param constraint: Constraint, Name of the constraint to edit
231
- :type constraint: typing.Union[str, typing.Any]
232
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
233
- :type owner: typing.Optional[typing.Any]
240
+ :type override_context: typing.Union[dict, bpy.types.Context]
241
+ :type execution_context: typing.Union[str, int]
242
+ :type undo: bool
243
+ :param constraint: Constraint, Name of the constraint to edit
244
+ :type constraint: typing.Union[str, typing.Any]
245
+ :param owner: Owner, The owner of this constraint
246
+
247
+ OBJECT
248
+ Object -- Edit a constraint on the active object.
249
+
250
+ BONE
251
+ Bone -- Edit a constraint on the active bone.
252
+ :type owner: typing.Any
234
253
  """
235
254
 
236
255
  ...
237
256
 
238
257
  def move_down(
239
- override_context: typing.Optional[
240
- typing.Union[typing.Dict, "bpy.types.Context"]
241
- ] = None,
242
- execution_context: typing.Optional[typing.Union[str, int]] = None,
243
- undo: typing.Optional[bool] = None,
244
- *,
258
+ override_context: typing.Union[dict, bpy.types.Context] = None,
259
+ execution_context: typing.Union[str, int] = None,
260
+ undo: bool = None,
245
261
  constraint: typing.Union[str, typing.Any] = "",
246
- owner: typing.Optional[typing.Any] = "OBJECT",
262
+ owner: typing.Any = "OBJECT",
247
263
  ):
248
264
  """Move constraint down in constraint stack
249
265
 
250
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
251
- :type execution_context: typing.Optional[typing.Union[str, int]]
252
- :type undo: typing.Optional[bool]
253
- :param constraint: Constraint, Name of the constraint to edit
254
- :type constraint: typing.Union[str, typing.Any]
255
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
256
- :type owner: typing.Optional[typing.Any]
266
+ :type override_context: typing.Union[dict, bpy.types.Context]
267
+ :type execution_context: typing.Union[str, int]
268
+ :type undo: bool
269
+ :param constraint: Constraint, Name of the constraint to edit
270
+ :type constraint: typing.Union[str, typing.Any]
271
+ :param owner: Owner, The owner of this constraint
272
+
273
+ OBJECT
274
+ Object -- Edit a constraint on the active object.
275
+
276
+ BONE
277
+ Bone -- Edit a constraint on the active bone.
278
+ :type owner: typing.Any
257
279
  """
258
280
 
259
281
  ...
260
282
 
261
283
  def move_to_index(
262
- override_context: typing.Optional[
263
- typing.Union[typing.Dict, "bpy.types.Context"]
264
- ] = None,
265
- execution_context: typing.Optional[typing.Union[str, int]] = None,
266
- undo: typing.Optional[bool] = None,
267
- *,
284
+ override_context: typing.Union[dict, bpy.types.Context] = None,
285
+ execution_context: typing.Union[str, int] = None,
286
+ undo: bool = None,
268
287
  constraint: typing.Union[str, typing.Any] = "",
269
- owner: typing.Optional[typing.Any] = "OBJECT",
270
- index: typing.Optional[typing.Any] = 0,
288
+ owner: typing.Any = "OBJECT",
289
+ index: typing.Any = 0,
271
290
  ):
272
291
  """Change the constraint's position in the list so it evaluates after the set number of others
273
292
 
274
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
275
- :type execution_context: typing.Optional[typing.Union[str, int]]
276
- :type undo: typing.Optional[bool]
277
- :param constraint: Constraint, Name of the constraint to edit
278
- :type constraint: typing.Union[str, typing.Any]
279
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
280
- :type owner: typing.Optional[typing.Any]
281
- :param index: Index, The index to move the constraint to
282
- :type index: typing.Optional[typing.Any]
293
+ :type override_context: typing.Union[dict, bpy.types.Context]
294
+ :type execution_context: typing.Union[str, int]
295
+ :type undo: bool
296
+ :param constraint: Constraint, Name of the constraint to edit
297
+ :type constraint: typing.Union[str, typing.Any]
298
+ :param owner: Owner, The owner of this constraint
299
+
300
+ OBJECT
301
+ Object -- Edit a constraint on the active object.
302
+
303
+ BONE
304
+ Bone -- Edit a constraint on the active bone.
305
+ :type owner: typing.Any
306
+ :param index: Index, The index to move the constraint to
307
+ :type index: typing.Any
283
308
  """
284
309
 
285
310
  ...
286
311
 
287
312
  def move_up(
288
- override_context: typing.Optional[
289
- typing.Union[typing.Dict, "bpy.types.Context"]
290
- ] = None,
291
- execution_context: typing.Optional[typing.Union[str, int]] = None,
292
- undo: typing.Optional[bool] = None,
293
- *,
313
+ override_context: typing.Union[dict, bpy.types.Context] = None,
314
+ execution_context: typing.Union[str, int] = None,
315
+ undo: bool = None,
294
316
  constraint: typing.Union[str, typing.Any] = "",
295
- owner: typing.Optional[typing.Any] = "OBJECT",
317
+ owner: typing.Any = "OBJECT",
296
318
  ):
297
319
  """Move constraint up in constraint stack
298
320
 
299
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
300
- :type execution_context: typing.Optional[typing.Union[str, int]]
301
- :type undo: typing.Optional[bool]
302
- :param constraint: Constraint, Name of the constraint to edit
303
- :type constraint: typing.Union[str, typing.Any]
304
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
305
- :type owner: typing.Optional[typing.Any]
321
+ :type override_context: typing.Union[dict, bpy.types.Context]
322
+ :type execution_context: typing.Union[str, int]
323
+ :type undo: bool
324
+ :param constraint: Constraint, Name of the constraint to edit
325
+ :type constraint: typing.Union[str, typing.Any]
326
+ :param owner: Owner, The owner of this constraint
327
+
328
+ OBJECT
329
+ Object -- Edit a constraint on the active object.
330
+
331
+ BONE
332
+ Bone -- Edit a constraint on the active bone.
333
+ :type owner: typing.Any
306
334
  """
307
335
 
308
336
  ...
309
337
 
310
338
  def normalize_target_weights(
311
- override_context: typing.Optional[
312
- typing.Union[typing.Dict, "bpy.types.Context"]
313
- ] = None,
314
- execution_context: typing.Optional[typing.Union[str, int]] = None,
315
- undo: typing.Optional[bool] = None,
339
+ override_context: typing.Union[dict, bpy.types.Context] = None,
340
+ execution_context: typing.Union[str, int] = None,
341
+ undo: bool = None,
316
342
  ):
317
- """Normalize weights of all target bones :File: `startup/bl_operators/constraint.py\:61 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/constraint.py#L61>`__
343
+ """Normalize weights of all target bones
318
344
 
319
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
320
- :type execution_context: typing.Optional[typing.Union[str, int]]
321
- :type undo: typing.Optional[bool]
345
+ :type override_context: typing.Union[dict, bpy.types.Context]
346
+ :type execution_context: typing.Union[str, int]
347
+ :type undo: bool
322
348
  """
323
349
 
324
350
  ...
325
351
 
326
352
  def objectsolver_clear_inverse(
327
- override_context: typing.Optional[
328
- typing.Union[typing.Dict, "bpy.types.Context"]
329
- ] = None,
330
- execution_context: typing.Optional[typing.Union[str, int]] = None,
331
- undo: typing.Optional[bool] = None,
332
- *,
353
+ override_context: typing.Union[dict, bpy.types.Context] = None,
354
+ execution_context: typing.Union[str, int] = None,
355
+ undo: bool = None,
333
356
  constraint: typing.Union[str, typing.Any] = "",
334
- owner: typing.Optional[typing.Any] = "OBJECT",
357
+ owner: typing.Any = "OBJECT",
335
358
  ):
336
359
  """Clear inverse correction for Object Solver constraint
337
360
 
338
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
339
- :type execution_context: typing.Optional[typing.Union[str, int]]
340
- :type undo: typing.Optional[bool]
341
- :param constraint: Constraint, Name of the constraint to edit
342
- :type constraint: typing.Union[str, typing.Any]
343
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
344
- :type owner: typing.Optional[typing.Any]
361
+ :type override_context: typing.Union[dict, bpy.types.Context]
362
+ :type execution_context: typing.Union[str, int]
363
+ :type undo: bool
364
+ :param constraint: Constraint, Name of the constraint to edit
365
+ :type constraint: typing.Union[str, typing.Any]
366
+ :param owner: Owner, The owner of this constraint
367
+
368
+ OBJECT
369
+ Object -- Edit a constraint on the active object.
370
+
371
+ BONE
372
+ Bone -- Edit a constraint on the active bone.
373
+ :type owner: typing.Any
345
374
  """
346
375
 
347
376
  ...
348
377
 
349
378
  def objectsolver_set_inverse(
350
- override_context: typing.Optional[
351
- typing.Union[typing.Dict, "bpy.types.Context"]
352
- ] = None,
353
- execution_context: typing.Optional[typing.Union[str, int]] = None,
354
- undo: typing.Optional[bool] = None,
355
- *,
379
+ override_context: typing.Union[dict, bpy.types.Context] = None,
380
+ execution_context: typing.Union[str, int] = None,
381
+ undo: bool = None,
356
382
  constraint: typing.Union[str, typing.Any] = "",
357
- owner: typing.Optional[typing.Any] = "OBJECT",
383
+ owner: typing.Any = "OBJECT",
358
384
  ):
359
385
  """Set inverse correction for Object Solver constraint
360
386
 
361
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
362
- :type execution_context: typing.Optional[typing.Union[str, int]]
363
- :type undo: typing.Optional[bool]
364
- :param constraint: Constraint, Name of the constraint to edit
365
- :type constraint: typing.Union[str, typing.Any]
366
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
367
- :type owner: typing.Optional[typing.Any]
387
+ :type override_context: typing.Union[dict, bpy.types.Context]
388
+ :type execution_context: typing.Union[str, int]
389
+ :type undo: bool
390
+ :param constraint: Constraint, Name of the constraint to edit
391
+ :type constraint: typing.Union[str, typing.Any]
392
+ :param owner: Owner, The owner of this constraint
393
+
394
+ OBJECT
395
+ Object -- Edit a constraint on the active object.
396
+
397
+ BONE
398
+ Bone -- Edit a constraint on the active bone.
399
+ :type owner: typing.Any
368
400
  """
369
401
 
370
402
  ...
371
403
 
372
404
  def remove_target(
373
- override_context: typing.Optional[
374
- typing.Union[typing.Dict, "bpy.types.Context"]
375
- ] = None,
376
- execution_context: typing.Optional[typing.Union[str, int]] = None,
377
- undo: typing.Optional[bool] = None,
378
- *,
379
- index: typing.Optional[typing.Any] = 0,
405
+ override_context: typing.Union[dict, bpy.types.Context] = None,
406
+ execution_context: typing.Union[str, int] = None,
407
+ undo: bool = None,
408
+ index: typing.Any = 0,
380
409
  ):
381
- """Remove the target from the constraint :File: `startup/bl_operators/constraint.py\:44 <https://projects.blender.org/blender/blender/src/branch/main/scripts/startup/bl_operators/constraint.py#L44>`__
410
+ """Remove the target from the constraint
382
411
 
383
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
384
- :type execution_context: typing.Optional[typing.Union[str, int]]
385
- :type undo: typing.Optional[bool]
412
+ :type override_context: typing.Union[dict, bpy.types.Context]
413
+ :type execution_context: typing.Union[str, int]
414
+ :type undo: bool
386
415
  :param index: index
387
- :type index: typing.Optional[typing.Any]
416
+ :type index: typing.Any
388
417
  """
389
418
 
390
419
  ...
391
420
 
392
421
  def stretchto_reset(
393
- override_context: typing.Optional[
394
- typing.Union[typing.Dict, "bpy.types.Context"]
395
- ] = None,
396
- execution_context: typing.Optional[typing.Union[str, int]] = None,
397
- undo: typing.Optional[bool] = None,
398
- *,
422
+ override_context: typing.Union[dict, bpy.types.Context] = None,
423
+ execution_context: typing.Union[str, int] = None,
424
+ undo: bool = None,
399
425
  constraint: typing.Union[str, typing.Any] = "",
400
- owner: typing.Optional[typing.Any] = "OBJECT",
426
+ owner: typing.Any = "OBJECT",
401
427
  ):
402
428
  """Reset original length of bone for Stretch To Constraint
403
429
 
404
- :type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
405
- :type execution_context: typing.Optional[typing.Union[str, int]]
406
- :type undo: typing.Optional[bool]
407
- :param constraint: Constraint, Name of the constraint to edit
408
- :type constraint: typing.Union[str, typing.Any]
409
- :param owner: Owner, The owner of this constraint * ``OBJECT`` Object -- Edit a constraint on the active object. * ``BONE`` Bone -- Edit a constraint on the active bone.
410
- :type owner: typing.Optional[typing.Any]
430
+ :type override_context: typing.Union[dict, bpy.types.Context]
431
+ :type execution_context: typing.Union[str, int]
432
+ :type undo: bool
433
+ :param constraint: Constraint, Name of the constraint to edit
434
+ :type constraint: typing.Union[str, typing.Any]
435
+ :param owner: Owner, The owner of this constraint
436
+
437
+ OBJECT
438
+ Object -- Edit a constraint on the active object.
439
+
440
+ BONE
441
+ Bone -- Edit a constraint on the active bone.
442
+ :type owner: typing.Any
411
443
  """
412
444
 
413
445
  ...