fake-bpy-module 20241009__py3-none-any.whl → 20241011__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.
- bl_ui/__init__.pyi +0 -1
- bmesh/ops/__init__.pyi +12 -0
- bmesh/types/__init__.pyi +109 -111
- bmesh/utils/__init__.pyi +4 -1
- bpy/app/__init__.pyi +4 -2
- bpy/ops/mesh/__init__.pyi +12 -0
- bpy/ops/ui/__init__.pyi +0 -16
- bpy/ops/wm/__init__.pyi +43 -2
- bpy/props/__init__.pyi +59 -58
- bpy/types/__init__.pyi +256 -230
- bpy/typing/__init__.pyi +10 -10
- {fake_bpy_module-20241009.dist-info → fake_bpy_module-20241011.dist-info}/METADATA +3 -4
- {fake_bpy_module-20241009.dist-info → fake_bpy_module-20241011.dist-info}/RECORD +20 -21
- freestyle/functions/__init__.pyi +17 -5
- freestyle/types/__init__.pyi +7 -3
- gpu/shader/__init__.pyi +5 -2
- gpu/types/__init__.pyi +4 -2
- mathutils/geometry/__init__.pyi +4 -2
- bl_ui/properties_data_gpencil/__init__.pyi +0 -357
- {fake_bpy_module-20241009.dist-info → fake_bpy_module-20241011.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241009.dist-info → fake_bpy_module-20241011.dist-info}/top_level.txt +0 -0
bpy/typing/__init__.pyi
CHANGED
|
@@ -724,16 +724,16 @@ type EventValueItems = typing.Literal[
|
|
|
724
724
|
"NOTHING", # Nothing.
|
|
725
725
|
]
|
|
726
726
|
type ExrCodecItems = typing.Literal[
|
|
727
|
-
"NONE", # None.
|
|
728
|
-
"
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
"
|
|
732
|
-
"ZIPS", # ZIPS
|
|
733
|
-
"
|
|
734
|
-
"
|
|
735
|
-
"
|
|
736
|
-
"
|
|
727
|
+
"NONE", # None.No compression.
|
|
728
|
+
"ZIP", # ZIP.Lossless zip compression of 16 row image blocks.
|
|
729
|
+
"PIZ", # PIZ.Lossless wavelet compression, effective for noisy/grainy images.
|
|
730
|
+
"DWAA", # DWAA (lossy).JPEG-like lossy compression on 32 row image blocks.
|
|
731
|
+
"DWAB", # DWAB (lossy).JPEG-like lossy compression on 256 row image blocks.
|
|
732
|
+
"ZIPS", # ZIPS.Lossless zip compression, each image row compressed separately.
|
|
733
|
+
"RLE", # RLE.Lossless run length encoding compression.
|
|
734
|
+
"PXR24", # Pxr24 (lossy).Lossy compression for 32 bit float images (stores 24 bits of each float).
|
|
735
|
+
"B44", # B44 (lossy).Lossy compression for 16 bit float images, at fixed 2.3:1 ratio.
|
|
736
|
+
"B44A", # B44A (lossy).Lossy compression for 16 bit float images, at fixed 2.3:1 ratio.
|
|
737
737
|
]
|
|
738
738
|
type FcurveAutoSmoothingItems = typing.Literal[
|
|
739
739
|
"NONE", # None.Automatic handles only take immediately adjacent keys into account.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fake-bpy-module
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20241011
|
|
4
4
|
Summary: Collection of the fake Blender Python API module for the code completion.
|
|
5
5
|
Author: nutti
|
|
6
6
|
Author-email: nutti.metro@gmail.com
|
|
@@ -21,7 +21,7 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
|
|
|
21
21
|
Classifier: Programming Language :: Python
|
|
22
22
|
Classifier: Programming Language :: Python :: 3
|
|
23
23
|
Classifier: License :: OSI Approved :: MIT License
|
|
24
|
-
Requires-Python: >=3.
|
|
24
|
+
Requires-Python: >=3.12
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
|
|
27
27
|
# Fake Blender Python API module collection: fake-bpy-module
|
|
@@ -43,8 +43,7 @@ Note: The similar project for Blender Game Engine (BGE) is available on
|
|
|
43
43
|
|
|
44
44
|
## Requirements
|
|
45
45
|
|
|
46
|
-
fake-bpy-module
|
|
47
|
-
Python 3.8. Check your Python version is >= 3.8.
|
|
46
|
+
fake-bpy-module requires Python 3.12.
|
|
48
47
|
|
|
49
48
|
## Install
|
|
50
49
|
|
|
@@ -98,7 +98,7 @@ bl_rna_utils/data_path/__init__.pyi,sha256=2XAu8T2oXOqQ7JRfiZkKSvjxT1lvS7amuLEia
|
|
|
98
98
|
bl_text_utils/__init__.pyi,sha256=jO0MH_cBcrGEbsYFgqqmrRroj_9MdgEzxL1RHBZhoEI,111
|
|
99
99
|
bl_text_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
100
100
|
bl_text_utils/external_editor/__init__.pyi,sha256=9i4t4dLw6lYydq8d5O-VCtghlkS1MuaypeDD0dNVodI,117
|
|
101
|
-
bl_ui/__init__.pyi,sha256=
|
|
101
|
+
bl_ui/__init__.pyi,sha256=Yjizc3Lo0Yy4LVjDKBNR9fczswkQH6NYTONx6E5W0iw,6872
|
|
102
102
|
bl_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
103
|
bl_ui/anim/__init__.pyi,sha256=jNu8PDEKaU_Ci5bNXh8afWc9gAHkNJp3rKbiqIVHBzU,612
|
|
104
104
|
bl_ui/asset_shelf/__init__.pyi,sha256=t-xDmFic0fqVPdMcY7iFrprYEpNNmJeEN4XhPUx_m9w,763
|
|
@@ -117,7 +117,6 @@ bl_ui/properties_data_camera/__init__.pyi,sha256=voA4pSpiwEB0_CY454oPQfpwY2Il-wk
|
|
|
117
117
|
bl_ui/properties_data_curve/__init__.pyi,sha256=BCk8kJKO0-SyER6jlDw2l7XtwD6Sc9-9htZrOTCVN38,12921
|
|
118
118
|
bl_ui/properties_data_curves/__init__.pyi,sha256=huauSiwT8GBVJrFzp3o6N6aA8ouxecfu6RgHBfc5rJg,5913
|
|
119
119
|
bl_ui/properties_data_empty/__init__.pyi,sha256=PrWD2bMI4AKOBXS1-GsHXFFeVc12p4siGDQJxdmn95A,1679
|
|
120
|
-
bl_ui/properties_data_gpencil/__init__.pyi,sha256=4bY0HL8hbnP1kdd0NOI7ylg-nQMctMp5yzBNX_ev-es,8150
|
|
121
120
|
bl_ui/properties_data_grease_pencil/__init__.pyi,sha256=TprZ921sQ9ywTtTX2fb6he2Lq99dI03oCEHoChXNuic,13971
|
|
122
121
|
bl_ui/properties_data_lattice/__init__.pyi,sha256=sjJh19kVQpSQV_j_7dXO0OdvKAyRNVlkoyABdJIYsPw,3504
|
|
123
122
|
bl_ui/properties_data_light/__init__.pyi,sha256=4UpAkSBTbjH-SeUAb1_NLXqc_8_oqip_a0CZNb55jR4,10726
|
|
@@ -186,12 +185,12 @@ blf/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
186
185
|
bmesh/__init__.pyi,sha256=6QP0wBMiFIY5MtM1Yuw4Qj2ZPtEZHFUdAf1ay4z-SQE,1500
|
|
187
186
|
bmesh/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
188
187
|
bmesh/geometry/__init__.pyi,sha256=fgGEevkhB2IEtja2X5rm6OQU5EoDfkPaqiKeNGfWZ6c,656
|
|
189
|
-
bmesh/ops/__init__.pyi,sha256=
|
|
190
|
-
bmesh/types/__init__.pyi,sha256=
|
|
191
|
-
bmesh/utils/__init__.pyi,sha256=
|
|
188
|
+
bmesh/ops/__init__.pyi,sha256=7W-Tv_SgkgEMa90SsRfRzBzNG2Wt1EU622YpkDYJthc,74701
|
|
189
|
+
bmesh/types/__init__.pyi,sha256=1I3_bY2f1fn141wVh1tNU9n6rUwTkCeC6uvEGU-SpNw,41596
|
|
190
|
+
bmesh/utils/__init__.pyi,sha256=NNWqLeAWiafZZa8o7QayCBvpJDkDHTspRk7ZHws83MY,6009
|
|
192
191
|
bpy/__init__.pyi,sha256=dozab_KhjTikiJAE59kzHS9tbX9OJc8U1vPdj6gNFJY,502
|
|
193
192
|
bpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
194
|
-
bpy/app/__init__.pyi,sha256=
|
|
193
|
+
bpy/app/__init__.pyi,sha256=gQJdiazscopU-G66fjv1pOLRZykYpJ-6L0aIAYBvzKA,8205
|
|
195
194
|
bpy/app/handlers/__init__.pyi,sha256=4e57CnucOnRaP2gpa0R-1aOpXv3hjNogJz-fQ3H5SgM,6878
|
|
196
195
|
bpy/app/icons/__init__.pyi,sha256=_5y3YuN1ZF9NB4gFUtZpaLjYm8c6zDjnvUIfunA1md4,1020
|
|
197
196
|
bpy/app/timers/__init__.pyi,sha256=vtrATRAmkTfP1CknievwpOCC19cPOMowyLTE6Ie9GSg,2126
|
|
@@ -238,7 +237,7 @@ bpy/ops/marker/__init__.pyi,sha256=Ny5T3pex5r11KmT8SfmDdJ2tUlRX7FZGrU9fVTCA6CQ,7
|
|
|
238
237
|
bpy/ops/mask/__init__.pyi,sha256=-Lj0kCugHLV9nnGd0Ah5rXWdURQAI9fv6PBI73ucJvE,23199
|
|
239
238
|
bpy/ops/material/__init__.pyi,sha256=KDgPB2utYKt3DSXKI4f71x1A4Di-_AdWpAbNah3N3AE,1187
|
|
240
239
|
bpy/ops/mball/__init__.pyi,sha256=jqOLev5gvBK4fx9CLXj1qxWyTp3z0kqVG1Fxk4Mnzn8,5384
|
|
241
|
-
bpy/ops/mesh/__init__.pyi,sha256=
|
|
240
|
+
bpy/ops/mesh/__init__.pyi,sha256=a_x0zfWW8LcwXgWU2yFYE4DXlW3N5XeMrXscL73LOT4,157018
|
|
242
241
|
bpy/ops/nla/__init__.pyi,sha256=uhpT_iNKbnI3zN0dI3_w4ZuEeBSGy_2Z4eUsTTj3z48,24221
|
|
243
242
|
bpy/ops/node/__init__.pyi,sha256=3P5RJJLhHtwason9eKv2W9UAU16jKsiipNFstrmKNDQ,69731
|
|
244
243
|
bpy/ops/object/__init__.pyi,sha256=FX1sG0IIC5soGl07JkQTKUxuGJ0HHTgtX4R67zXGojc,203427
|
|
@@ -266,18 +265,18 @@ bpy/ops/text/__init__.pyi,sha256=iOIrpyZwmzcCkOcEE1pu4MfJr9ucWkOTcuzPnd3fm6E,277
|
|
|
266
265
|
bpy/ops/text_editor/__init__.pyi,sha256=f-dugyqMTV3ZhWnGNpV9igyNbfrqx8GC_TK7mRiJQOU,801
|
|
267
266
|
bpy/ops/texture/__init__.pyi,sha256=zw8XpITxHcPRMIOlyNwJpe7dXyYyfWg3CvAuDL_gUd4,1710
|
|
268
267
|
bpy/ops/transform/__init__.pyi,sha256=NtBJgqlRKj3CH6mHA3sf5Slf_KpSWamoj-rWNEIz7SU,61406
|
|
269
|
-
bpy/ops/ui/__init__.pyi,sha256=
|
|
268
|
+
bpy/ops/ui/__init__.pyi,sha256=pjZh2i_gbIq6_NZFt805PUvmJH6dScpz03X1ACz5wnA,17766
|
|
270
269
|
bpy/ops/uilist/__init__.pyi,sha256=L4xQFB8gZEK8eR2tymJBIVwALoVQLh9gwGkIjDzORyI,2086
|
|
271
270
|
bpy/ops/uv/__init__.pyi,sha256=ociGOFaeH4aChcVFMtC167ZWtM4roFQveDgKiqbAK3c,52706
|
|
272
271
|
bpy/ops/view2d/__init__.pyi,sha256=UWYslz64I_HIULKVyiYd9bVK38ypxss_9EZySgQkyuI,9137
|
|
273
272
|
bpy/ops/view3d/__init__.pyi,sha256=2lr2OOlmYao1DxhG3UugV_WXB8IViYGBL5WXvxHUXOE,41228
|
|
274
|
-
bpy/ops/wm/__init__.pyi,sha256=
|
|
273
|
+
bpy/ops/wm/__init__.pyi,sha256=hj4IbFo4GJ7JPqkRNu0bYgAjBgX1TrVkwmI3U2jAe2s,230860
|
|
275
274
|
bpy/ops/workspace/__init__.pyi,sha256=4qG0-HkVfaGfdBe9QvBCKUox03nb1ZfeV1fz-0b3KJY,3133
|
|
276
275
|
bpy/ops/world/__init__.pyi,sha256=ytaDhwJ-K4SbWylChL1za6lvMNM2-RX1S0BR7892Afg,946
|
|
277
276
|
bpy/path/__init__.pyi,sha256=lXSqQ4p4zukM_-6TaN4v7lNWFVY0xbYGMkOVLpkbpsI,5444
|
|
278
|
-
bpy/props/__init__.pyi,sha256=
|
|
279
|
-
bpy/types/__init__.pyi,sha256=
|
|
280
|
-
bpy/typing/__init__.pyi,sha256=
|
|
277
|
+
bpy/props/__init__.pyi,sha256=eVVh1KTFtNf6c-4uSWt4wANzTv1RvN2I2FQ7ewdrKCQ,31045
|
|
278
|
+
bpy/types/__init__.pyi,sha256=Lj7Tc3pxu1uc2f9cC5OIhBv7CuVPXfzuFOmU1VvOiLc,5368089
|
|
279
|
+
bpy/typing/__init__.pyi,sha256=AnkFqDUSSVdRCegyMqXl22WYBClSinMKhi-E7z_N_xs,138523
|
|
281
280
|
bpy/utils/__init__.pyi,sha256=AEb3oVPPh_gqLyKORj6rsxDPWvXIHjqp_eME3z98GcM,13117
|
|
282
281
|
bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
|
|
283
282
|
bpy/utils/units/__init__.pyi,sha256=r9G6UXferw_5pDijn-FmpyhYSnEng3_y-5apdkPAKl0,2631
|
|
@@ -308,10 +307,10 @@ console_shell/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
308
307
|
freestyle/__init__.pyi,sha256=bjebH-BOh6r_bsMIXX2toGAPc183HD23o_UR8VvqZA0,716
|
|
309
308
|
freestyle/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
310
309
|
freestyle/chainingiterators/__init__.pyi,sha256=N7cwNzpTKVAv-ZdBTj0nqhICvHGVqBE8OdijmbT5HIo,10564
|
|
311
|
-
freestyle/functions/__init__.pyi,sha256=
|
|
310
|
+
freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTEOk4,48844
|
|
312
311
|
freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
|
|
313
312
|
freestyle/shaders/__init__.pyi,sha256=1Ov48B4P7LV3dwjBqHqqqbPFRBZWjENqIDaFb97Qdj0,23835
|
|
314
|
-
freestyle/types/__init__.pyi,sha256=
|
|
313
|
+
freestyle/types/__init__.pyi,sha256=NkyVRi0oSwC1hAVdFnytoMnluE6T2W4tyx73CMwYnRo,99019
|
|
315
314
|
freestyle/utils/__init__.pyi,sha256=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
|
|
316
315
|
freestyle/utils/ContextFunctions/__init__.pyi,sha256=uPNpwsSaqruftJiGu-P0a3YrjEkE4vLigWGh0Lvrtx4,3405
|
|
317
316
|
gpu/__init__.pyi,sha256=vySMnQlOzFH_SMmm7p86InVADL4-y4m5_8wTYtYOLPo,7975
|
|
@@ -320,10 +319,10 @@ gpu/capabilities/__init__.pyi,sha256=AWZ4iiesW8Vm3TqVBGTescabAntQ3W9yRLbVvKfQktk
|
|
|
320
319
|
gpu/matrix/__init__.pyi,sha256=iEDbhR_N1vLu9KrdgjQxRwgD1Lyt8XMRycPn-Y00JhI,2545
|
|
321
320
|
gpu/platform/__init__.pyi,sha256=i04uMPhMl5w4ZNlXvep8f_7-AaVZ4R_ppcxikHuzQYA,803
|
|
322
321
|
gpu/select/__init__.pyi,sha256=piRQyAtE8YnDjLSqF8S_SSttxzZTickDlbHRONYYdV8,207
|
|
323
|
-
gpu/shader/__init__.pyi,sha256=
|
|
322
|
+
gpu/shader/__init__.pyi,sha256=JsSm0Zagw7GAVxeaLK4cUAa1oyjSckfNwpweWfepUQg,2138
|
|
324
323
|
gpu/state/__init__.pyi,sha256=2s-P3VpT8BBviXvIdKZt-sPibNrZ6BtpFFixcsaGBIo,4274
|
|
325
324
|
gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
|
|
326
|
-
gpu/types/__init__.pyi,sha256=
|
|
325
|
+
gpu/types/__init__.pyi,sha256=gFZQ2RGt-8_vyU3qCBYmRtTtZVX8eoLdC_HjBJe-330,26967
|
|
327
326
|
gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
|
|
328
327
|
gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
328
|
gpu_extras/batch/__init__.pyi,sha256=fXDCMNaRYdWySriwRprh-nEiTSY8iBowwakUNofPz8o,661
|
|
@@ -343,7 +342,7 @@ keyingsets_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
343
342
|
mathutils/__init__.pyi,sha256=DTc7zopoUnsu1MLtwj1pGyCLkjcRl2gSOIEybbdaduY,87840
|
|
344
343
|
mathutils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
345
344
|
mathutils/bvhtree/__init__.pyi,sha256=w4J7Q3DqLd8XylNQ70Tnm0s1ABlxH-lnKdsDtp3u1mQ,4266
|
|
346
|
-
mathutils/geometry/__init__.pyi,sha256
|
|
345
|
+
mathutils/geometry/__init__.pyi,sha256=-cmmwM_nG_DxhhpXlj_9GtYXdM9Z4LDQ8ejTGtyOYa4,20987
|
|
347
346
|
mathutils/interpolate/__init__.pyi,sha256=x188jmqs_-ENmPvv6GYFqIkrRBinH4EA4I_tBUrPdwg,301
|
|
348
347
|
mathutils/kdtree/__init__.pyi,sha256=I2OMghDtlqfL-7G1Fp1bv6FAwztOls389pOzGhYpsvk,2183
|
|
349
348
|
mathutils/noise/__init__.pyi,sha256=YjVyhOr2LpaOINyz6s2werSFOJFT8gH2hcZRg2VTVTo,12626
|
|
@@ -359,7 +358,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
|
|
|
359
358
|
rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
360
359
|
rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
|
|
361
360
|
rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
362
|
-
fake_bpy_module-
|
|
363
|
-
fake_bpy_module-
|
|
364
|
-
fake_bpy_module-
|
|
365
|
-
fake_bpy_module-
|
|
361
|
+
fake_bpy_module-20241011.dist-info/METADATA,sha256=1yvcdECpti_n5Lf90TKh53S5KxWC8-yqffkz1ZoXQxg,7204
|
|
362
|
+
fake_bpy_module-20241011.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
363
|
+
fake_bpy_module-20241011.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
|
|
364
|
+
fake_bpy_module-20241011.dist-info/RECORD,,
|
freestyle/functions/__init__.pyi
CHANGED
|
@@ -329,12 +329,15 @@ class GetOccludeeF1D:
|
|
|
329
329
|
def __init__(self):
|
|
330
330
|
"""Builds a GetOccludeeF1D object."""
|
|
331
331
|
|
|
332
|
-
def __call__(
|
|
332
|
+
def __call__(
|
|
333
|
+
self, inter: freestyle.types.Interface1D
|
|
334
|
+
) -> list[freestyle.types.ViewShape]:
|
|
333
335
|
"""Returns a list of occluded shapes covered by this Interface1D.
|
|
334
336
|
|
|
335
337
|
:param inter: An Interface1D object.
|
|
336
338
|
:type inter: freestyle.types.Interface1D
|
|
337
339
|
:return: A list of occluded shapes covered by the Interface1D.
|
|
340
|
+
:rtype: list[freestyle.types.ViewShape]
|
|
338
341
|
"""
|
|
339
342
|
|
|
340
343
|
class GetOccludersF0D:
|
|
@@ -343,14 +346,17 @@ class GetOccludersF0D:
|
|
|
343
346
|
def __init__(self):
|
|
344
347
|
"""Builds a GetOccludersF0D object."""
|
|
345
348
|
|
|
346
|
-
def __call__(
|
|
347
|
-
|
|
349
|
+
def __call__(
|
|
350
|
+
self, it: freestyle.types.Interface0DIterator
|
|
351
|
+
) -> list[freestyle.types.ViewShape]:
|
|
352
|
+
"""Returns a list of `freestyle.types.ViewShape` occluding the
|
|
348
353
|
`freestyle.types.Interface0D` pointed by the Interface0DIterator.
|
|
349
354
|
|
|
350
355
|
:param it: An Interface0DIterator object.
|
|
351
356
|
:type it: freestyle.types.Interface0DIterator
|
|
352
357
|
:return: A list of ViewShape objects occluding the pointed
|
|
353
358
|
Interface0D.
|
|
359
|
+
:rtype: list[freestyle.types.ViewShape]
|
|
354
360
|
"""
|
|
355
361
|
|
|
356
362
|
class GetOccludersF1D:
|
|
@@ -359,12 +365,15 @@ class GetOccludersF1D:
|
|
|
359
365
|
def __init__(self):
|
|
360
366
|
"""Builds a GetOccludersF1D object."""
|
|
361
367
|
|
|
362
|
-
def __call__(
|
|
368
|
+
def __call__(
|
|
369
|
+
self, inter: freestyle.types.Interface1D
|
|
370
|
+
) -> list[freestyle.types.ViewShape]:
|
|
363
371
|
"""Returns a list of occluding shapes that cover this Interface1D.
|
|
364
372
|
|
|
365
373
|
:param inter: An Interface1D object.
|
|
366
374
|
:type inter: freestyle.types.Interface1D
|
|
367
375
|
:return: A list of occluding shapes that cover the Interface1D.
|
|
376
|
+
:rtype: list[freestyle.types.ViewShape]
|
|
368
377
|
"""
|
|
369
378
|
|
|
370
379
|
class GetParameterF0D:
|
|
@@ -521,12 +530,15 @@ class GetShapeF1D:
|
|
|
521
530
|
def __init__(self):
|
|
522
531
|
"""Builds a GetShapeF1D object."""
|
|
523
532
|
|
|
524
|
-
def __call__(
|
|
533
|
+
def __call__(
|
|
534
|
+
self, inter: freestyle.types.Interface1D
|
|
535
|
+
) -> list[freestyle.types.ViewShape]:
|
|
525
536
|
"""Returns a list of shapes covered by this Interface1D.
|
|
526
537
|
|
|
527
538
|
:param inter: An Interface1D object.
|
|
528
539
|
:type inter: freestyle.types.Interface1D
|
|
529
540
|
:return: A list of shapes covered by the Interface1D.
|
|
541
|
+
:rtype: list[freestyle.types.ViewShape]
|
|
530
542
|
"""
|
|
531
543
|
|
|
532
544
|
class GetSteerableViewMapDensityF1D:
|
freestyle/types/__init__.pyi
CHANGED
|
@@ -1291,7 +1291,7 @@ class Operators:
|
|
|
1291
1291
|
"""
|
|
1292
1292
|
|
|
1293
1293
|
@staticmethod
|
|
1294
|
-
def create(pred: UnaryPredicate1D, shaders):
|
|
1294
|
+
def create(pred: UnaryPredicate1D, shaders: list[StrokeShader]):
|
|
1295
1295
|
"""Creates and shades the strokes from the current set of chains. A
|
|
1296
1296
|
predicate can be specified to make a selection pass on the chains.
|
|
1297
1297
|
|
|
@@ -1299,6 +1299,7 @@ class Operators:
|
|
|
1299
1299
|
transform as a stroke.
|
|
1300
1300
|
:type pred: UnaryPredicate1D
|
|
1301
1301
|
:param shaders: The list of shaders used to shade the strokes.
|
|
1302
|
+
:type shaders: list[StrokeShader]
|
|
1302
1303
|
"""
|
|
1303
1304
|
|
|
1304
1305
|
@staticmethod
|
|
@@ -1577,10 +1578,13 @@ derivative of the radial curvature at this SVertex, respectively.
|
|
|
1577
1578
|
:type: Id
|
|
1578
1579
|
"""
|
|
1579
1580
|
|
|
1580
|
-
normals:
|
|
1581
|
+
normals: list[mathutils.Vector]
|
|
1581
1582
|
""" The normals for this Vertex as a list. In a sharp surface, an SVertex
|
|
1582
1583
|
has exactly one normal. In a smooth surface, an SVertex can have any
|
|
1583
|
-
number of normals.
|
|
1584
|
+
number of normals.
|
|
1585
|
+
|
|
1586
|
+
:type: list[mathutils.Vector]
|
|
1587
|
+
"""
|
|
1584
1588
|
|
|
1585
1589
|
normals_size: int
|
|
1586
1590
|
""" The number of different normals for this SVertex.
|
gpu/shader/__init__.pyi
CHANGED
|
@@ -78,15 +78,17 @@ POLYLINE_UNIFORM_COLOR
|
|
|
78
78
|
import typing
|
|
79
79
|
import collections.abc
|
|
80
80
|
import typing_extensions
|
|
81
|
+
import gpu.types
|
|
81
82
|
|
|
82
|
-
def create_from_info(shader_info):
|
|
83
|
+
def create_from_info(shader_info) -> gpu.types.GPUShader:
|
|
83
84
|
"""Create shader from a GPUShaderCreateInfo.
|
|
84
85
|
|
|
85
86
|
:param shader_info: GPUShaderCreateInfo
|
|
86
87
|
:return: Shader object corresponding to the given name.
|
|
88
|
+
:rtype: gpu.types.GPUShader
|
|
87
89
|
"""
|
|
88
90
|
|
|
89
|
-
def from_builtin(shader_name: str, config: str = "DEFAULT"):
|
|
91
|
+
def from_builtin(shader_name: str, config: str = "DEFAULT") -> gpu.types.GPUShader:
|
|
90
92
|
"""Shaders that are embedded in the blender internal code (see `built-in-shaders`).
|
|
91
93
|
They all read the uniform mat4 ModelViewProjectionMatrix,
|
|
92
94
|
which can be edited by the `gpu.matrix` module.You can also choose a shader configuration that uses clip_planes by setting the CLIPPED value to the config parameter. Note that in this case you also need to manually set the value of mat4 ModelMatrix.
|
|
@@ -100,6 +102,7 @@ def from_builtin(shader_name: str, config: str = "DEFAULT"):
|
|
|
100
102
|
CLIPPED
|
|
101
103
|
:type config: str
|
|
102
104
|
:return: Shader object corresponding to the given name.
|
|
105
|
+
:rtype: gpu.types.GPUShader
|
|
103
106
|
"""
|
|
104
107
|
|
|
105
108
|
def unbind():
|
gpu/types/__init__.pyi
CHANGED
|
@@ -324,12 +324,13 @@ class GPUShader:
|
|
|
324
324
|
:type value: bool
|
|
325
325
|
"""
|
|
326
326
|
|
|
327
|
-
def uniform_float(self, name: str, value):
|
|
327
|
+
def uniform_float(self, name: str, value: list[float]):
|
|
328
328
|
"""Specify the value of a uniform variable for the current program object.
|
|
329
329
|
|
|
330
330
|
:param name: Name of the uniform variable whose value is to be changed.
|
|
331
331
|
:type name: str
|
|
332
332
|
:param value: Value that will be used to update the specified uniform variable.
|
|
333
|
+
:type value: list[float]
|
|
333
334
|
"""
|
|
334
335
|
|
|
335
336
|
def uniform_from_name(self, name: str) -> int:
|
|
@@ -341,12 +342,13 @@ class GPUShader:
|
|
|
341
342
|
:rtype: int
|
|
342
343
|
"""
|
|
343
344
|
|
|
344
|
-
def uniform_int(self, name: str, seq):
|
|
345
|
+
def uniform_int(self, name: str, seq: list[int]):
|
|
345
346
|
"""Specify the value of a uniform variable for the current program object.
|
|
346
347
|
|
|
347
348
|
:param name: name of the uniform variable whose value is to be changed.
|
|
348
349
|
:type name: str
|
|
349
350
|
:param seq: Value that will be used to update the specified uniform variable.
|
|
351
|
+
:type seq: list[int]
|
|
350
352
|
"""
|
|
351
353
|
|
|
352
354
|
def uniform_sampler(self, name: str, texture: GPUTexture):
|
mathutils/geometry/__init__.pyi
CHANGED
|
@@ -231,7 +231,7 @@ def intersect_line_sphere(
|
|
|
231
231
|
line_a: collections.abc.Sequence[float] | mathutils.Vector,
|
|
232
232
|
line_b: collections.abc.Sequence[float] | mathutils.Vector,
|
|
233
233
|
sphere_co: collections.abc.Sequence[float] | mathutils.Vector,
|
|
234
|
-
sphere_radius,
|
|
234
|
+
sphere_radius: float,
|
|
235
235
|
clip=True,
|
|
236
236
|
):
|
|
237
237
|
"""Takes a line (as 2 points) and a sphere (as a point and a radius) and
|
|
@@ -244,6 +244,7 @@ def intersect_line_sphere(
|
|
|
244
244
|
:param sphere_co: The center of the sphere
|
|
245
245
|
:type sphere_co: collections.abc.Sequence[float] | mathutils.Vector
|
|
246
246
|
:param sphere_radius: Radius of the sphere
|
|
247
|
+
:type sphere_radius: float
|
|
247
248
|
:return: The intersection points as a pair of vectors or None when there is no intersection
|
|
248
249
|
"""
|
|
249
250
|
|
|
@@ -251,7 +252,7 @@ def intersect_line_sphere_2d(
|
|
|
251
252
|
line_a: collections.abc.Sequence[float] | mathutils.Vector,
|
|
252
253
|
line_b: collections.abc.Sequence[float] | mathutils.Vector,
|
|
253
254
|
sphere_co: collections.abc.Sequence[float] | mathutils.Vector,
|
|
254
|
-
sphere_radius,
|
|
255
|
+
sphere_radius: float,
|
|
255
256
|
clip=True,
|
|
256
257
|
):
|
|
257
258
|
"""Takes a line (as 2 points) and a sphere (as a point and a radius) and
|
|
@@ -264,6 +265,7 @@ def intersect_line_sphere_2d(
|
|
|
264
265
|
:param sphere_co: The center of the sphere
|
|
265
266
|
:type sphere_co: collections.abc.Sequence[float] | mathutils.Vector
|
|
266
267
|
:param sphere_radius: Radius of the sphere
|
|
268
|
+
:type sphere_radius: float
|
|
267
269
|
:return: The intersection points as a pair of vectors or None when there is no intersection
|
|
268
270
|
"""
|
|
269
271
|
|