meshlib 3.0.3.233__py39.py310.py311.py312.py313-none-macosx_13_0_x86_64.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 meshlib might be problematic. Click here for more details.

Files changed (101) hide show
  1. meshlib/.dylibs/Python +0 -0
  2. meshlib/.dylibs/libE57Format.3.2.0.dylib +0 -0
  3. meshlib/.dylibs/libMRIOExtras.dylib +0 -0
  4. meshlib/.dylibs/libMRMesh.dylib +0 -0
  5. meshlib/.dylibs/libMRPython.dylib +0 -0
  6. meshlib/.dylibs/libMRSymbolMesh.dylib +0 -0
  7. meshlib/.dylibs/libMRViewer.dylib +0 -0
  8. meshlib/.dylibs/libMRVoxels.dylib +0 -0
  9. meshlib/.dylibs/libOpenCTM.dylib +0 -0
  10. meshlib/.dylibs/libTKBO.7.8.1.dylib +0 -0
  11. meshlib/.dylibs/libTKBRep.7.8.1.dylib +0 -0
  12. meshlib/.dylibs/libTKCAF.7.8.1.dylib +0 -0
  13. meshlib/.dylibs/libTKCDF.7.8.1.dylib +0 -0
  14. meshlib/.dylibs/libTKDE.7.8.1.dylib +0 -0
  15. meshlib/.dylibs/libTKDESTEP.7.8.1.dylib +0 -0
  16. meshlib/.dylibs/libTKG2d.7.8.1.dylib +0 -0
  17. meshlib/.dylibs/libTKG3d.7.8.1.dylib +0 -0
  18. meshlib/.dylibs/libTKGeomAlgo.7.8.1.dylib +0 -0
  19. meshlib/.dylibs/libTKGeomBase.7.8.1.dylib +0 -0
  20. meshlib/.dylibs/libTKHLR.7.8.1.dylib +0 -0
  21. meshlib/.dylibs/libTKLCAF.7.8.1.dylib +0 -0
  22. meshlib/.dylibs/libTKMath.7.8.1.dylib +0 -0
  23. meshlib/.dylibs/libTKMesh.7.8.1.dylib +0 -0
  24. meshlib/.dylibs/libTKPrim.7.8.1.dylib +0 -0
  25. meshlib/.dylibs/libTKService.7.8.1.dylib +0 -0
  26. meshlib/.dylibs/libTKShHealing.7.8.1.dylib +0 -0
  27. meshlib/.dylibs/libTKTopAlgo.7.8.1.dylib +0 -0
  28. meshlib/.dylibs/libTKV3d.7.8.1.dylib +0 -0
  29. meshlib/.dylibs/libTKVCAF.7.8.1.dylib +0 -0
  30. meshlib/.dylibs/libTKXCAF.7.8.1.dylib +0 -0
  31. meshlib/.dylibs/libTKXSBase.7.8.1.dylib +0 -0
  32. meshlib/.dylibs/libTKernel.7.8.1.dylib +0 -0
  33. meshlib/.dylibs/libblosc.1.21.6.dylib +0 -0
  34. meshlib/.dylibs/libboost_iostreams.dylib +0 -0
  35. meshlib/.dylibs/libboost_random.dylib +0 -0
  36. meshlib/.dylibs/libboost_regex.dylib +0 -0
  37. meshlib/.dylibs/libboost_system.dylib +0 -0
  38. meshlib/.dylibs/libclip.dylib +0 -0
  39. meshlib/.dylibs/libcpr.1.11.1.dylib +0 -0
  40. meshlib/.dylibs/libcrypto.3.dylib +0 -0
  41. meshlib/.dylibs/libfmt.11.1.3.dylib +0 -0
  42. meshlib/.dylibs/libfreeimage.3.18.0.dylib +0 -0
  43. meshlib/.dylibs/libfreetype.6.dylib +0 -0
  44. meshlib/.dylibs/libgdcmCommon.3.0.24.dylib +0 -0
  45. meshlib/.dylibs/libgdcmDICT.3.0.24.dylib +0 -0
  46. meshlib/.dylibs/libgdcmDSED.3.0.24.dylib +0 -0
  47. meshlib/.dylibs/libgdcmIOD.3.0.24.dylib +0 -0
  48. meshlib/.dylibs/libgdcmMEXD.3.0.24.dylib +0 -0
  49. meshlib/.dylibs/libgdcmMSFF.3.0.24.dylib +0 -0
  50. meshlib/.dylibs/libgdcmcharls.2.0.dylib +0 -0
  51. meshlib/.dylibs/libgdcmjpeg12.3.0.24.dylib +0 -0
  52. meshlib/.dylibs/libgdcmjpeg16.3.0.24.dylib +0 -0
  53. meshlib/.dylibs/libgdcmjpeg8.3.0.24.dylib +0 -0
  54. meshlib/.dylibs/libglad.dylib +0 -0
  55. meshlib/.dylibs/libglfw.3.4.dylib +0 -0
  56. meshlib/.dylibs/libgtest.1.13.0.dylib +0 -0
  57. meshlib/.dylibs/libhidapi.0.14.0.dylib +0 -0
  58. meshlib/.dylibs/libhpdf.2.4.4.dylib +0 -0
  59. meshlib/.dylibs/libicudata.76.1.dylib +0 -0
  60. meshlib/.dylibs/libicui18n.76.1.dylib +0 -0
  61. meshlib/.dylibs/libicuuc.76.1.dylib +0 -0
  62. meshlib/.dylibs/libimgui.dylib +0 -0
  63. meshlib/.dylibs/libjpeg.8.3.2.dylib +0 -0
  64. meshlib/.dylibs/libjsoncpp.26.dylib +0 -0
  65. meshlib/.dylibs/liblazperf.dylib +0 -0
  66. meshlib/.dylibs/liblzma.5.dylib +0 -0
  67. meshlib/.dylibs/libopenjp2.2.5.3.dylib +0 -0
  68. meshlib/.dylibs/libopenvdb.12.0.0.dylib +0 -0
  69. meshlib/.dylibs/libpng16.16.dylib +0 -0
  70. meshlib/.dylibs/libpybind11nonlimitedapi_stubs.dylib +0 -0
  71. meshlib/.dylibs/libsocketxx.1.2.0.dylib +0 -0
  72. meshlib/.dylibs/libspdlog.1.15.1.dylib +0 -0
  73. meshlib/.dylibs/libssl.3.dylib +0 -0
  74. meshlib/.dylibs/libtbb.12.14.dylib +0 -0
  75. meshlib/.dylibs/libtbbmalloc.2.14.dylib +0 -0
  76. meshlib/.dylibs/libtiff.6.dylib +0 -0
  77. meshlib/.dylibs/libtinyxml2.10.0.0.dylib +0 -0
  78. meshlib/.dylibs/libturbojpeg.0.4.0.dylib +0 -0
  79. meshlib/.dylibs/libzip.5.5.dylib +0 -0
  80. meshlib/.dylibs/libzstd.1.5.6.dylib +0 -0
  81. meshlib/MRDarkTheme.json +514 -0
  82. meshlib/MRLightTheme.json +514 -0
  83. meshlib/NotoSansSC-Regular.otf +0 -0
  84. meshlib/__init__.py +18 -0
  85. meshlib/fa-solid-900.ttf +0 -0
  86. meshlib/libpybind11nonlimitedapi_meshlib_3.10.dylib +0 -0
  87. meshlib/libpybind11nonlimitedapi_meshlib_3.11.dylib +0 -0
  88. meshlib/libpybind11nonlimitedapi_meshlib_3.12.dylib +0 -0
  89. meshlib/libpybind11nonlimitedapi_meshlib_3.13.dylib +0 -0
  90. meshlib/libpybind11nonlimitedapi_meshlib_3.9.dylib +0 -0
  91. meshlib/mrmeshnumpy.pyi +85 -0
  92. meshlib/mrmeshnumpy.so +0 -0
  93. meshlib/mrmeshpy.pyi +82459 -0
  94. meshlib/mrmeshpy.so +0 -0
  95. meshlib/mrviewerpy.pyi +614 -0
  96. meshlib/mrviewerpy.so +0 -0
  97. meshlib-3.0.3.233.dist-info/LICENSE +148 -0
  98. meshlib-3.0.3.233.dist-info/METADATA +238 -0
  99. meshlib-3.0.3.233.dist-info/RECORD +101 -0
  100. meshlib-3.0.3.233.dist-info/WHEEL +9 -0
  101. meshlib-3.0.3.233.dist-info/top_level.txt +1 -0
@@ -0,0 +1,514 @@
1
+ {
2
+ "ImGuiPreset": "Light",
3
+ "BackFaces": {
4
+ "a": 255,
5
+ "b": 85,
6
+ "g": 145,
7
+ "r": 123
8
+ },
9
+ "Edges": {
10
+ "a": 255,
11
+ "b": 0,
12
+ "g": 0,
13
+ "r": 0
14
+ },
15
+ "Points": {
16
+ "a": 255,
17
+ "b": 0,
18
+ "g": 72,
19
+ "r": 246
20
+ },
21
+ "Labels": {
22
+ "a": 255,
23
+ "b": 0,
24
+ "g": 0,
25
+ "r": 0
26
+ },
27
+ "Ribbon Colors": {
28
+ "Background": {
29
+ "a": 255,
30
+ "b": 255,
31
+ "g": 255,
32
+ "r": 255
33
+ },
34
+ "BackgroundSecStyle": {
35
+ "a": 255,
36
+ "b": 249,
37
+ "g": 246,
38
+ "r": 245
39
+ },
40
+ "Borders": {
41
+ "a": 255,
42
+ "b": 217,
43
+ "g": 208,
44
+ "r": 200
45
+ },
46
+ "HeaderBackground": {
47
+ "a": 255,
48
+ "b": 0,
49
+ "g": 0,
50
+ "r": 0
51
+ },
52
+ "HeaderSeparator": {
53
+ "a": 255,
54
+ "b": 255,
55
+ "g": 255,
56
+ "r": 255
57
+ },
58
+ "RibbonButtonHovered": {
59
+ "a": 255,
60
+ "b": 244,
61
+ "g": 237,
62
+ "r": 236
63
+ },
64
+ "RibbonButtonClicked": {
65
+ "a": 255,
66
+ "b": 229,
67
+ "g": 221,
68
+ "r": 219
69
+ },
70
+ "RibbonButtonActive": {
71
+ "a": 255,
72
+ "b": 214,
73
+ "g": 119,
74
+ "r": 39
75
+ },
76
+ "RibbonButtonActiveHovered": {
77
+ "a": 255,
78
+ "b": 255,
79
+ "g": 155,
80
+ "r": 72
81
+ },
82
+ "RibbonButtonActiveClicked": {
83
+ "a": 255,
84
+ "b": 255,
85
+ "g": 116,
86
+ "r": 0
87
+ },
88
+ "TabActive": {
89
+ "a": 255,
90
+ "b": 255,
91
+ "g": 255,
92
+ "r": 255
93
+ },
94
+ "TabActiveHovered": {
95
+ "a": 255,
96
+ "b": 255,
97
+ "g": 255,
98
+ "r": 255
99
+ },
100
+ "TabActiveClicked": {
101
+ "a": 255,
102
+ "b": 229,
103
+ "g": 221,
104
+ "r": 219
105
+ },
106
+ "TabText": {
107
+ "a": 255,
108
+ "b": 255,
109
+ "g": 255,
110
+ "r": 255
111
+ },
112
+ "TabActiveText": {
113
+ "a": 255,
114
+ "b": 0,
115
+ "g": 0,
116
+ "r": 0
117
+ },
118
+ "TabHovered": {
119
+ "a": 255,
120
+ "b": 90,
121
+ "g": 84,
122
+ "r": 79
123
+ },
124
+ "TabClicked": {
125
+ "a": 255,
126
+ "b": 105,
127
+ "g": 99,
128
+ "r": 95
129
+ },
130
+ "DialogTab": {
131
+ "a": 255,
132
+ "b": 71,
133
+ "g": 67,
134
+ "r": 63
135
+ },
136
+ "DialogTabHovered": {
137
+ "a": 255,
138
+ "b": 135,
139
+ "g": 131,
140
+ "r": 127
141
+ },
142
+ "DialogTabActive": {
143
+ "a": 255,
144
+ "b": 20,
145
+ "g": 169,
146
+ "r": 60
147
+ },
148
+ "DialogTabActiveHovered": {
149
+ "a": 255,
150
+ "b": 84,
151
+ "g": 233,
152
+ "r": 124
153
+ },
154
+ "DialogTabText": {
155
+ "a": 255,
156
+ "b": 255,
157
+ "g": 255,
158
+ "r": 255
159
+ },
160
+ "DialogTabActiveText": {
161
+ "a": 255,
162
+ "b": 255,
163
+ "g": 255,
164
+ "r": 255
165
+ },
166
+ "ToolbarHovered": {
167
+ "a": 255,
168
+ "b": 244,
169
+ "g": 237,
170
+ "r": 236
171
+ },
172
+ "ToolbarClicked": {
173
+ "a": 255,
174
+ "b": 229,
175
+ "g": 221,
176
+ "r": 219
177
+ },
178
+ "ModalBackground": {
179
+ "a": 255,
180
+ "b": 245,
181
+ "g": 240,
182
+ "r": 238
183
+ },
184
+ "Text": {
185
+ "a": 255,
186
+ "b": 41,
187
+ "g": 37,
188
+ "r": 34
189
+ },
190
+ "TextDisabled": {
191
+ "a": 77,
192
+ "b": 41,
193
+ "g": 37,
194
+ "r": 34
195
+ },
196
+ "TextEnabled": {
197
+ "a": 255,
198
+ "b": 255,
199
+ "g": 255,
200
+ "r": 255
201
+ },
202
+ "TextSelectedBg": {
203
+ "a": 255,
204
+ "b": 255,
205
+ "g": 164,
206
+ "r": 87
207
+ },
208
+ "TopPanelBackground": {
209
+ "a": 255,
210
+ "b": 255,
211
+ "g": 255,
212
+ "r": 255
213
+ },
214
+ "QuickAccessBackground": {
215
+ "a": 255,
216
+ "b": 255,
217
+ "g": 255,
218
+ "r": 255
219
+ },
220
+ "ThirdpartyBackground": {
221
+ "a": 255,
222
+ "b": 245,
223
+ "g": 240,
224
+ "r": 239
225
+ },
226
+ "ProgressBarBackground": {
227
+ "a": 255,
228
+ "b": 229,
229
+ "g": 221,
230
+ "r": 219
231
+ },
232
+ "FrameBackground": {
233
+ "a": 255,
234
+ "b": 249,
235
+ "g": 246,
236
+ "r": 245
237
+ },
238
+ "CollapseHeaderBackground": {
239
+ "a": 255,
240
+ "b": 249,
241
+ "g": 246,
242
+ "r": 245
243
+ },
244
+ "SelectedObjectText": {
245
+ "a": 255,
246
+ "b": 255,
247
+ "g": 255,
248
+ "r": 255
249
+ },
250
+ "SelectedObjectFrame": {
251
+ "a": 255,
252
+ "b": 255,
253
+ "g": 131,
254
+ "r": 27
255
+ },
256
+ "GradientStart": {
257
+ "a": 255,
258
+ "b": 255,
259
+ "g": 131,
260
+ "r": 27
261
+ },
262
+ "GradientEnd": {
263
+ "a": 255,
264
+ "b": 169,
265
+ "g": 77,
266
+ "r": 0
267
+ },
268
+
269
+ "TextContrastBackground": {
270
+ "a": 204,
271
+ "b": 249,
272
+ "g": 246,
273
+ "r": 245
274
+ },
275
+
276
+ "GradBtnStart": {
277
+ "a": 255,
278
+ "b": 255,
279
+ "g": 131,
280
+ "r": 27
281
+ },
282
+ "GradBtnHoverStart": {
283
+ "a": 255,
284
+ "b": 255,
285
+ "g": 147,
286
+ "r": 56
287
+ },
288
+ "GradBtnActiveStart": {
289
+ "a": 255,
290
+ "b": 255,
291
+ "g": 157,
292
+ "r": 74
293
+ },
294
+ "GradBtnDisableStart": {
295
+ "a": 255,
296
+ "b": 229,
297
+ "g": 221,
298
+ "r": 219
299
+ },
300
+ "GradBtnEnd": {
301
+ "a": 255,
302
+ "b": 169,
303
+ "g": 77,
304
+ "r": 0
305
+ },
306
+ "GradBtnHoverEnd": {
307
+ "a": 255,
308
+ "b": 200,
309
+ "g": 91,
310
+ "r": 0
311
+ },
312
+ "GradBtnActiveEnd": {
313
+ "a": 255,
314
+ "b": 230,
315
+ "g": 105,
316
+ "r": 0
317
+ },
318
+ "GradBtnDisableEnd": {
319
+ "a": 255,
320
+ "b": 229,
321
+ "g": 221,
322
+ "r": 219
323
+ },
324
+ "GradBtnText": {
325
+ "a": 255,
326
+ "b": 255,
327
+ "g": 255,
328
+ "r": 255
329
+ },
330
+
331
+ "GradBtnSecStyleStart": {
332
+ "a": 255,
333
+ "b": 0,
334
+ "g": 206,
335
+ "r": 86
336
+ },
337
+ "GradBtnSecStyleHoverStart": {
338
+ "a": 255,
339
+ "b": 0,
340
+ "g": 229,
341
+ "r": 96
342
+ },
343
+ "GradBtnSecStyleActiveStart": {
344
+ "a": 255,
345
+ "b": 0,
346
+ "g": 239,
347
+ "r": 100
348
+ },
349
+ "GradBtnSecStyleEnd": {
350
+ "a": 255,
351
+ "b": 0,
352
+ "g": 141,
353
+ "r": 38
354
+ },
355
+ "GradBtnSecStyleHoverEnd": {
356
+ "a": 255,
357
+ "b": 0,
358
+ "g": 154,
359
+ "r": 42
360
+ },
361
+ "GradBtnSecStyleActiveEnd": {
362
+ "a": 255,
363
+ "b": 0,
364
+ "g": 171,
365
+ "r": 46
366
+ }
367
+ },
368
+ "Viewport Colors": {
369
+ "Background": {
370
+ "a": 255,
371
+ "b": 245,
372
+ "g": 240,
373
+ "r": 238
374
+ },
375
+ "Borders": {
376
+ "a": 255,
377
+ "b": 255,
378
+ "g": 255,
379
+ "r": 255
380
+ }
381
+ },
382
+ "SelectedEdges": {
383
+ "a": 255,
384
+ "b": 178,
385
+ "g": 51,
386
+ "r": 178
387
+ },
388
+ "SelectedFaces": {
389
+ "a": 255,
390
+ "b": 52,
391
+ "g": 52,
392
+ "r": 204
393
+ },
394
+ "SelectedPoints": {
395
+ "a": 255,
396
+ "b": 52,
397
+ "g": 52,
398
+ "r": 204
399
+ },
400
+ "SelectedFeatures": {
401
+ "a": 255,
402
+ "b": 107,
403
+ "g": 40,
404
+ "r": 193
405
+ },
406
+ "UnselectedFeatures": {
407
+ "a": 255,
408
+ "b": 70,
409
+ "g": 128,
410
+ "r": 216
411
+ },
412
+ "FeatureBackFaces": {
413
+ "a": 255,
414
+ "b": 91,
415
+ "g": 124,
416
+ "r": 176
417
+ },
418
+ "SelectedFeatureDecorations": {
419
+ "a": 255,
420
+ "b": 192,
421
+ "g": 64,
422
+ "r": 255
423
+ },
424
+ "UnselectedFeatureDecorations": {
425
+ "a": 255,
426
+ "b": 192,
427
+ "g": 64,
428
+ "r": 255
429
+ },
430
+ "SelectedMeasurements": {
431
+ "a": 255,
432
+ "b": 240,
433
+ "g": 255,
434
+ "r": 50
435
+ },
436
+ "UnselectedMeasurements": {
437
+ "a": 255,
438
+ "b": 255,
439
+ "g": 255,
440
+ "r": 255
441
+ },
442
+ "SelectedTemporaryMeasurements": {
443
+ "a": 255,
444
+ "b": 255,
445
+ "g": 197,
446
+ "r": 0
447
+ },
448
+ "UnselectedTemporaryMeasurements": {
449
+ "a": 255,
450
+ "b": 0,
451
+ "g": 255,
452
+ "r": 27
453
+ },
454
+ "SelectedObjectMesh": {
455
+ "a": 255,
456
+ "b": 236,
457
+ "g": 78,
458
+ "r": 55
459
+ },
460
+ "UnselectedObjectMesh": {
461
+ "a": 255,
462
+ "b": 255,
463
+ "g": 255,
464
+ "r": 255
465
+ },
466
+ "SelectedObjectPoints": {
467
+ "a": 255,
468
+ "b": 236,
469
+ "g": 78,
470
+ "r": 55
471
+ },
472
+ "UnselectedObjectPoints": {
473
+ "a": 255,
474
+ "b": 255,
475
+ "g": 255,
476
+ "r": 255
477
+ },
478
+ "SelectedObjectLines": {
479
+ "a": 255,
480
+ "b": 236,
481
+ "g": 78,
482
+ "r": 55
483
+ },
484
+ "UnselectedObjectLines": {
485
+ "a": 255,
486
+ "b": 255,
487
+ "g": 255,
488
+ "r": 255
489
+ },
490
+ "SelectedObjectVoxels": {
491
+ "a": 255,
492
+ "b": 236,
493
+ "g": 78,
494
+ "r": 55
495
+ },
496
+ "UnselectedObjectVoxels": {
497
+ "a": 255,
498
+ "b": 255,
499
+ "g": 255,
500
+ "r": 255
501
+ },
502
+ "SelectedObjectDistanceMap": {
503
+ "a": 255,
504
+ "b": 236,
505
+ "g": 78,
506
+ "r": 55
507
+ },
508
+ "UnselectedObjectDistanceMap": {
509
+ "a": 255,
510
+ "b": 255,
511
+ "g": 255,
512
+ "r": 255
513
+ }
514
+ }
Binary file
meshlib/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+
2
+
3
+ ### wheel-only: [
4
+
5
+ def _override_resources_dir():
6
+ """
7
+ override resources directory to the package's dir
8
+ """
9
+ import pathlib
10
+ from . import mrmeshpy as mr
11
+
12
+ mr.SystemPath.overrideDirectory(mr.SystemPath.Directory.Resources, pathlib.Path(__file__).parent.resolve())
13
+ mr.SystemPath.overrideDirectory(mr.SystemPath.Directory.Fonts, pathlib.Path(__file__).parent.resolve())
14
+
15
+ _override_resources_dir()
16
+ del _override_resources_dir
17
+
18
+ ### ]
Binary file
@@ -0,0 +1,85 @@
1
+ from __future__ import annotations
2
+ import meshlib.mrmeshpy
3
+ import numpy
4
+ import typing
5
+ import typing_extensions
6
+ __all__ = ['edgeBitSetFromBools', 'faceBitSetFromBools', 'fromNumpyArray', 'getNumpy3Darray', 'getNumpyBitSet', 'getNumpyCurvature', 'getNumpyCurvatureGradient', 'getNumpyFaces', 'getNumpyVerts', 'meshFromFacesVerts', 'meshFromUVPoints', 'pointCloudFromPoints', 'polyline2FromPoints', 'simpleVolumeFrom3Darray', 'toNumpyArray', 'undirectedEdgeBitSetFromBools', 'vertBitSetFromBools']
7
+ def edgeBitSetFromBools(boolArray: typing_extensions.Buffer) -> meshlib.mrmeshpy.EdgeBitSet:
8
+ """
9
+ returns EdgeBitSet from numpy array with bools
10
+ """
11
+ def faceBitSetFromBools(boolArray: typing_extensions.Buffer) -> meshlib.mrmeshpy.FaceBitSet:
12
+ """
13
+ returns FaceBitSet from numpy array with bools
14
+ """
15
+ def fromNumpyArray(coords: typing_extensions.Buffer) -> meshlib.mrmeshpy.std_vector_Vector3_float:
16
+ """
17
+ constructs mrmeshpy.vectorVector3f from numpy ndarray with shape (n,3)
18
+ """
19
+ def getNumpy3Darray(simpleVolume: meshlib.mrmeshpy.SimpleVolume) -> numpy.ndarray[numpy.float64]:
20
+ """
21
+ Convert SimpleVolume to numpy 3D array
22
+ """
23
+ def getNumpyBitSet(bitset: meshlib.mrmeshpy.BitSet) -> numpy.ndarray[bool]:
24
+ """
25
+ returns numpy array with bools for each bit of given bitset
26
+ """
27
+ def getNumpyCurvature(mesh: meshlib.mrmeshpy.Mesh) -> numpy.ndarray[numpy.float64]:
28
+ """
29
+ retunrs numpy array with curvature for each valid vertex of given mesh
30
+ """
31
+ def getNumpyCurvatureGradient(mesh: meshlib.mrmeshpy.Mesh) -> numpy.ndarray[numpy.float64]:
32
+ """
33
+ returns numpy array shapes [num verts,3] which represents gradient of mean curvature of mesh valid points
34
+ """
35
+ def getNumpyFaces(topology: meshlib.mrmeshpy.MeshTopology) -> numpy.ndarray[numpy.int32]:
36
+ """
37
+ returns numpy array shapes [num faces,3] which represents vertices of mesh valid faces
38
+ """
39
+ def getNumpyVerts(mesh: meshlib.mrmeshpy.Mesh) -> numpy.ndarray[numpy.float64]:
40
+ """
41
+ returns numpy array shapes [num verts,3] which represents coordinates of all mesh points (including invalid ones)
42
+ """
43
+ def meshFromFacesVerts(faces: typing_extensions.Buffer, verts: typing_extensions.Buffer, settings: meshlib.mrmeshpy.MeshBuilder.BuildSettings = ..., duplicateNonManifoldVertices: bool = True) -> meshlib.mrmeshpy.Mesh:
44
+ """
45
+ constructs mesh from given numpy ndarrays of faces (N VertId x3, FaceId x1), verts (M vec3 x3)
46
+ """
47
+ def meshFromUVPoints(xArray: typing_extensions.Buffer, yArray: typing_extensions.Buffer, zArray: typing_extensions.Buffer) -> meshlib.mrmeshpy.Mesh:
48
+ """
49
+ constructs mesh from three 2d numpy ndarrays with x,y,z positions of mesh
50
+ """
51
+ def pointCloudFromPoints(points: typing_extensions.Buffer, normals: typing_extensions.Buffer = ...) -> meshlib.mrmeshpy.PointCloud:
52
+ """
53
+ creates point cloud object from numpy arrays, first arg - points, second optional arg - normals
54
+ """
55
+ def polyline2FromPoints(points: typing_extensions.Buffer) -> meshlib.mrmeshpy.Polyline2:
56
+ """
57
+ creates polyline2 object from numpy array
58
+ """
59
+ def simpleVolumeFrom3Darray(3DvoxelsArray: typing_extensions.Buffer) -> meshlib.mrmeshpy.SimpleVolumeMinMax:
60
+ """
61
+ Convert numpy 3D array to SimpleVolume
62
+ """
63
+ @typing.overload
64
+ def toNumpyArray(coords: meshlib.mrmeshpy.VertCoords) -> numpy.ndarray[numpy.float64]:
65
+ """
66
+ returns numpy array shapes [num coords,3] which represents coordinates from given vector
67
+ """
68
+ @typing.overload
69
+ def toNumpyArray(coords: meshlib.mrmeshpy.FaceNormals) -> numpy.ndarray[numpy.float64]:
70
+ """
71
+ returns numpy array shapes [num coords,3] which represents coordinates from given vector
72
+ """
73
+ @typing.overload
74
+ def toNumpyArray(coords: meshlib.mrmeshpy.std_vector_Vector3_float) -> numpy.ndarray[numpy.float64]:
75
+ """
76
+ returns numpy array shapes [num coords,3] which represents coordinates from given vector
77
+ """
78
+ def undirectedEdgeBitSetFromBools(boolArray: typing_extensions.Buffer) -> meshlib.mrmeshpy.UndirectedEdgeBitSet:
79
+ """
80
+ returns UndirectedEdgeBitSet from numpy array with bools
81
+ """
82
+ def vertBitSetFromBools(boolArray: typing_extensions.Buffer) -> meshlib.mrmeshpy.VertBitSet:
83
+ """
84
+ returns VertBitSet from numpy array with bools
85
+ """
meshlib/mrmeshnumpy.so ADDED
Binary file