meshlib 3.0.0.40__py39-none-win_amd64.whl → 3.0.2.183__py39-none-win_amd64.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.
- meshlib/MRDarkTheme.json +12 -0
- meshlib/MRLightTheme.json +12 -0
- meshlib/__init__.py +8 -61
- meshlib/mrcudapy.pyd +0 -0
- meshlib/mrcudapy.pyi +127 -0
- meshlib/mrmeshnumpy.pyd +0 -0
- meshlib/mrmeshnumpy.pyi +1 -1
- meshlib/mrmeshpy.pyd +0 -0
- meshlib/mrmeshpy.pyi +19387 -12354
- meshlib/mrviewerpy.pyd +0 -0
- meshlib/mrviewerpy.pyi +12 -12
- {meshlib-3.0.0.40.dist-info → meshlib-3.0.2.183.dist-info}/DELVEWHEEL +2 -2
- meshlib-3.0.2.183.dist-info/METADATA +237 -0
- meshlib-3.0.2.183.dist-info/RECORD +92 -0
- {meshlib-3.0.0.40.dist-info → meshlib-3.0.2.183.dist-info}/WHEEL +1 -1
- meshlib.libs/.load-order-meshlib-3.0.2.183 +72 -0
- meshlib.libs/{E57Format-70289858ded73fd1e1ca0ce626f3d39f.dll → E57Format-fbbf52a31edb84ecf89cb1284063600d.dll} +0 -0
- meshlib.libs/{Imath-3_1-ac57191488a1e0d2d2b8798ffcacedae.dll → Imath-3_1-8a7113190ab90d7c0bb31212311e624c.dll} +0 -0
- meshlib.libs/MRCuda-46b2f0f599ff3f9287cdd2918540021b.dll +0 -0
- meshlib.libs/MRIOExtras-f08a1aef2b8b32bb97361a02aba67ffe.dll +0 -0
- meshlib.libs/{MRMesh-e8b7e5acc2a518337cc141db5c9f08e9.dll → MRMesh-261edb4e489445e91a30a5f4d75127dd.dll} +0 -0
- meshlib.libs/MRPython-79d820392a344cce782bf1373c88352d.dll +0 -0
- meshlib.libs/MRSymbolMesh-e01b002403fa1c236546a296c31e175b.dll +0 -0
- meshlib.libs/MRViewer-e4e27479fa16101bfd14cef5bb20cab7.dll +0 -0
- meshlib.libs/MRVoxels-d46ef552ade9d4c6ba44c427cdec8ce4.dll +0 -0
- meshlib.libs/{OpenCTM-8a668a2188df971c1d09deaa1dbf8bad.dll → OpenCTM-893ad527f46ff036cb8cbcb63711ec2d.dll} +0 -0
- meshlib.libs/{TKBO-c46f072bba40d1fe0c7a72eb281d2a74.dll → TKBO-c5c4affe5a8b9a4b353a291b44f69662.dll} +0 -0
- meshlib.libs/{TKBRep-1676edef96d3f93b0f923de85cf93780.dll → TKBRep-cb5d6032b374686c91c53140a5294fb4.dll} +0 -0
- meshlib.libs/{TKCAF-150209d4a74204bfa129b5446b2ff74e.dll → TKCAF-086b8d857c7e98b410466ebf45f8d904.dll} +0 -0
- meshlib.libs/{TKCDF-ef748730b52983ad38dc2758bcb6fbfa.dll → TKCDF-f3cb2dd98cb0812e2080859762f6e9a1.dll} +0 -0
- meshlib.libs/{TKDE-c1ac3cba1d0e2f0b6041c1325b09eb6b.dll → TKDE-d4ed2809e6d6aa63d46d0a08fca75951.dll} +0 -0
- meshlib.libs/{TKDESTEP-640e1e640b826aa6e0ca753c0199bccd.dll → TKDESTEP-787bc0ff851271b86a54683ca5491ed5.dll} +0 -0
- meshlib.libs/{TKG2d-21c213644bd656bcd0168d9edb77d7e5.dll → TKG2d-7a554f1a03194252b00e3cecd5c326be.dll} +0 -0
- meshlib.libs/{TKG3d-d0e48fa490c191d9ea9ba03efd111b57.dll → TKG3d-f87b429c0ba9a7d6352ba17162b415a9.dll} +0 -0
- meshlib.libs/{TKGeomAlgo-d2fdcabb4ccf7f80cc8e1e58e8c09a8d.dll → TKGeomAlgo-80a5067320242c797939aed121509d0e.dll} +0 -0
- meshlib.libs/{TKGeomBase-fec9a4b1c9f6bd2f5cbef9a4bd2bfb16.dll → TKGeomBase-8fa70faa3d1228392fa356767bc74edc.dll} +0 -0
- meshlib.libs/{TKHLR-1f573986d32f41625399c319c02347bc.dll → TKHLR-c1b25c34e506a62d229d512d57fa7ebe.dll} +0 -0
- meshlib.libs/{TKLCAF-b8b7b8d98dd8d031d37a7de09505e748.dll → TKLCAF-1bb8f4138a1ad7b9f64f98b20b652871.dll} +0 -0
- meshlib.libs/{TKMath-6394bc6e672d621963596243f13d6042.dll → TKMath-2c79b35179359b2f2e62468351e95d5e.dll} +0 -0
- meshlib.libs/{TKMesh-127f3e5c9b594cce448753850cb55214.dll → TKMesh-d130a3cebe99254d14b4ca373b62c5e3.dll} +0 -0
- meshlib.libs/{TKPrim-dce7a9df8c3aecebc4a8857f49c756bb.dll → TKPrim-312fb9dc7280b766d586655fb667ebd6.dll} +0 -0
- meshlib.libs/{TKService-ef5346540530a71926a78846864e1652.dll → TKService-56563e0b8513bf0da8dfeaf914e35b90.dll} +0 -0
- meshlib.libs/{TKShHealing-d3787a7232f487e5b19e5098e2892ece.dll → TKShHealing-1f13c229a353a5d6300ccf8e1d719b04.dll} +0 -0
- meshlib.libs/{TKTopAlgo-dcc9d19c439d3b55ceb74da4ad6b8b32.dll → TKTopAlgo-ad648aa066de8d54b775aa9b2fd0ced4.dll} +0 -0
- meshlib.libs/{TKV3d-0c95fffd90d1e4c9786cfbf11ba32412.dll → TKV3d-13a1e2e67d688db9d1ede28cb12254c5.dll} +0 -0
- meshlib.libs/{TKVCAF-002de2dc0d77d4f27b75e91d78890f67.dll → TKVCAF-6f22d02082e441e15a581dacc1fb14d9.dll} +0 -0
- meshlib.libs/{TKXCAF-60783efd99281f4bf96f63e3c14ac1ce.dll → TKXCAF-fa1c3b291486886bff5633fc40f802c4.dll} +0 -0
- meshlib.libs/{TKXSBase-a373bebec50dbea0a98ebc8fab1eeae9.dll → TKXSBase-12e44c3b46b3abbdfd153e5d7f8b5db1.dll} +0 -0
- meshlib.libs/{TKernel-b52cf05dc27fd484c39fce0bcf08ef79.dll → TKernel-16513829d77c3d92332b77637889266f.dll} +0 -0
- meshlib.libs/{blosc-366a02d9d51ef710b29a391682d31cc0.dll → blosc-59fbc48aedb2e4ae4377134074d07925.dll} +0 -0
- meshlib.libs/{brotlicommon-093ea7b6dea489d6e088262060fc09e5.dll → brotlicommon-a06d0ae588b80024c0e716048d401d34.dll} +0 -0
- meshlib.libs/{brotlidec-019170e13759c1b88890ad840073ccf2.dll → brotlidec-742b622cfb5f577f6eaff3e22395b66b.dll} +0 -0
- meshlib.libs/{bz2-ca7e1e4c948b3614ab24d6e814bd8b0a.dll → bz2-0feb3ab565a048bec930b8e1edec1f7a.dll} +0 -0
- meshlib.libs/fmt-d46f79cbd09142b01831adee0d40cb9e.dll +0 -0
- meshlib.libs/freetype-d2b678322332bbad0eb702c107d6d380.dll +0 -0
- meshlib.libs/gdcmCommon-b0dc0fdf0c7b4f471ee7b8bb74bfa2b2.dll +0 -0
- meshlib.libs/gdcmDICT-ee575951873c584db8906cc273f33355.dll +0 -0
- meshlib.libs/gdcmDSED-00f67ef6b89c60f6cde8bfc64725df9a.dll +0 -0
- meshlib.libs/gdcmIOD-3df9cdbf3c49ae6a8febb2cb32180d61.dll +0 -0
- meshlib.libs/gdcmMSFF-eafd95894d1b07c940febb1a780cf17e.dll +0 -0
- meshlib.libs/gdcmcharls-6a53192d622f83ba245d391373bf4710.dll +0 -0
- meshlib.libs/gdcmjpeg12-8a5776a46893ea576a521630a21ba2dc.dll +0 -0
- meshlib.libs/gdcmjpeg16-20ca0453506bc41d174f35b2aca6a8ac.dll +0 -0
- meshlib.libs/gdcmjpeg8-2b572aa9a689d0a156b2e79bbe625826.dll +0 -0
- meshlib.libs/{glfw3-be99cc0214961fca1ec934954dd921e0.dll → glfw3-6105a01d6c812dbddf83cfb0540b2318.dll} +0 -0
- meshlib.libs/gmock-46e50c06f11c2bec150678e3b287e960.dll +0 -0
- meshlib.libs/{hidapi-529732dac9f283c3d74d9ab99a2263a8.dll → hidapi-efd685dacdf0958da6ea5a30b84a9b78.dll} +0 -0
- meshlib.libs/{hpdf-1edc35e681403a7ce677cbb171e11878.dll → hpdf-21975496854d5fe63d9968894d05b1c1.dll} +0 -0
- meshlib.libs/{imgui-52cd222c0a6382dc843816f082e956ac.dll → imgui-d41d0450d782e2d585bcb4bf924d72dc.dll} +0 -0
- meshlib.libs/{jpeg62-9d314f7311d25b724a7bd1c0f73173b0.dll → jpeg62-b02c66041117db3d76a658a1dedbbb07.dll} +0 -0
- meshlib.libs/jsoncpp-c1581099ad410e20f6758f0b0aea897e.dll +0 -0
- meshlib.libs/{laz-perf-c4740fcfeb0959f8e9c877db47263e85.dll → laz-perf-f783d7e8e5a752d61afd63a44f03351e.dll} +0 -0
- meshlib.libs/libcurl-89d01240bdaebb4b10cc5bd6badcf849.dll +0 -0
- meshlib.libs/libexpat-dc38991e7843929d026f80faf1c34944.dll +0 -0
- meshlib.libs/{liblzma-ac58d77f660173a2345cad1c65411b5a.dll → liblzma-8a6d9f7eb2746506a9428f5d4dfbb75e.dll} +0 -0
- meshlib.libs/{libpng16-cf5c16535ca8c43c663bc3cc755b7be0.dll → libpng16-0a246bc17fa46a702ecb3920caec7672.dll} +0 -0
- meshlib.libs/lz4-025d043f2737613ec2698e7e71ad1308.dll +0 -0
- meshlib.libs/{openjp2-88048d011119709ec034cbfc62c2c38b.dll → openjp2-324d278c1f5f8f49e22d8b07006e9bd2.dll} +0 -0
- meshlib.libs/{openvdb-c28f44476ffe268f2cd02facb7644714.dll → openvdb-c580355f9ff8a93160191a0343003e30.dll} +0 -0
- meshlib.libs/spdlog-0474177d2551da8342587d79eec4109d.dll +0 -0
- meshlib.libs/{tbb12-58efd192759dacc003e42fc3899b5ee8.dll → tbb12-adb3c34c3e55e9d55efa333000fe083b.dll} +0 -0
- meshlib.libs/tiff-1aa6f410fb2b86099bfa11e51ab30999.dll +0 -0
- meshlib.libs/{tinyxml2-2bacf1e0104683b3fe7c5a24271cbb9c.dll → tinyxml2-50863419beb5adcc110c08f56f07204d.dll} +0 -0
- meshlib.libs/{turbojpeg-0312a27c6b672d11e25f5724ead0595c.dll → turbojpeg-8a09cfd83356edb34f9be097b5410025.dll} +0 -0
- meshlib.libs/{xerces-c_3_2-553f77c60d4aa2f79f49573b7238de03.dll → xerces-c_3_2-fb974cfffd454ab12197dad9d1b8b217.dll} +0 -0
- meshlib.libs/{zip-2b2f5ba35676b4d3db1ace3729f23a87.dll → zip-dc14b906a5181003b8e10ff246f3b3c3.dll} +0 -0
- meshlib.libs/{zlib1-de98ae99f49f540a71c5682dae9f4b1e.dll → zlib1-c962058ad6dd91a6291b019cbd0c0142.dll} +0 -0
- meshlib.libs/{zstd-f3540f334bafb34ffab73e42f4c4b1d8.dll → zstd-1a9581690f0e08ecb857becec43fa311.dll} +0 -0
- meshlib-3.0.0.40.dist-info/METADATA +0 -517
- meshlib-3.0.0.40.dist-info/RECORD +0 -79
- meshlib.libs/.load-order-meshlib-3.0.0.40 +0 -61
- meshlib.libs/MRIOExtras-5553fe433776bb6b72063f2160b62348.dll +0 -0
- meshlib.libs/MRPython-bb14f8860cf166bc4ffeedb1f84a3f21.dll +0 -0
- meshlib.libs/MRSymbolMesh-431b5f2c66b9ab6d97fd6d125a98a71e.dll +0 -0
- meshlib.libs/MRViewer-f15fa2c1bcbf55e9ca7f74d3eb7b5ec0.dll +0 -0
- meshlib.libs/MRVoxels-a53fbcfe7c8a916f4fc536cffc94b72d.dll +0 -0
- meshlib.libs/fmt-d8b924ba1577612827210a349cbf8c6e.dll +0 -0
- meshlib.libs/freetype-adbbf269f807de316538f9e01a481f2d.dll +0 -0
- meshlib.libs/gmock-a68b2369c1f6063d5efb02d820e09491.dll +0 -0
- meshlib.libs/jsoncpp-f0f682f5284e13d3f47320e874140138.dll +0 -0
- meshlib.libs/libcurl-513f689d71e4662114302c8689b85804.dll +0 -0
- meshlib.libs/lz4-b24a7d03aec17ea42274e8e4d0e6ef5e.dll +0 -0
- meshlib.libs/spdlog-9a52397535aaa1e58bd985a9de6110d0.dll +0 -0
- meshlib.libs/tiff-03999be0626ac934162bfb6d21105b3d.dll +0 -0
- {meshlib-3.0.0.40.dist-info → meshlib-3.0.2.183.dist-info}/LICENSE +0 -0
- {meshlib-3.0.0.40.dist-info → meshlib-3.0.2.183.dist-info}/top_level.txt +0 -0
meshlib/MRDarkTheme.json
CHANGED
|
@@ -439,6 +439,18 @@
|
|
|
439
439
|
"g": 255,
|
|
440
440
|
"r": 255
|
|
441
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
|
+
},
|
|
442
454
|
"SelectedObjectMesh": {
|
|
443
455
|
"a": 255,
|
|
444
456
|
"b": 236,
|
meshlib/MRLightTheme.json
CHANGED
|
@@ -439,6 +439,18 @@
|
|
|
439
439
|
"g": 255,
|
|
440
440
|
"r": 255
|
|
441
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
|
+
},
|
|
442
454
|
"SelectedObjectMesh": {
|
|
443
455
|
"a": 255,
|
|
444
456
|
"b": 236,
|
meshlib/__init__.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
# start delvewheel patch
|
|
5
|
-
def
|
|
5
|
+
def _delvewheel_patch_1_9_0():
|
|
6
6
|
import ctypes
|
|
7
7
|
import os
|
|
8
8
|
import platform
|
|
@@ -13,10 +13,10 @@ def _delvewheel_patch_1_8_2():
|
|
|
13
13
|
if os.path.isdir(libs_dir):
|
|
14
14
|
os.add_dll_directory(libs_dir)
|
|
15
15
|
else:
|
|
16
|
-
load_order_filepath = os.path.join(libs_dir, '.load-order-meshlib-3.0.
|
|
16
|
+
load_order_filepath = os.path.join(libs_dir, '.load-order-meshlib-3.0.2.183')
|
|
17
17
|
if os.path.isfile(load_order_filepath):
|
|
18
18
|
import ctypes.wintypes
|
|
19
|
-
with open(os.path.join(libs_dir, '.load-order-meshlib-3.0.
|
|
19
|
+
with open(os.path.join(libs_dir, '.load-order-meshlib-3.0.2.183')) as file:
|
|
20
20
|
load_order = file.read().split()
|
|
21
21
|
kernel32 = ctypes.WinDLL('kernel32', use_last_error=True)
|
|
22
22
|
kernel32.LoadLibraryExW.restype = ctypes.wintypes.HMODULE
|
|
@@ -27,8 +27,8 @@ def _delvewheel_patch_1_8_2():
|
|
|
27
27
|
raise OSError('Error loading {}; {}'.format(lib, ctypes.FormatError(ctypes.get_last_error())))
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
del
|
|
30
|
+
_delvewheel_patch_1_9_0()
|
|
31
|
+
del _delvewheel_patch_1_9_0
|
|
32
32
|
# end delvewheel patch
|
|
33
33
|
|
|
34
34
|
# Fixes DLL loading paths.
|
|
@@ -44,62 +44,7 @@ del _init_patch
|
|
|
44
44
|
### ]
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
# Manually define some aliases. It's recommended to avoid those.
|
|
49
|
-
|
|
50
|
-
def _init_patch():
|
|
51
|
-
from . import mrmeshpy
|
|
52
|
-
mrmeshpy.BooleanResMapObj = mrmeshpy.BooleanResultMapper.MapObject
|
|
53
|
-
mrmeshpy.copyMesh = mrmeshpy.Mesh
|
|
54
|
-
mrmeshpy.FaceMap.vec = mrmeshpy.FaceMap.vec_
|
|
55
|
-
mrmeshpy.FaceNormals.vec = mrmeshpy.FaceNormals.vec_
|
|
56
|
-
mrmeshpy.findUndercuts = mrmeshpy.FixUndercuts.findUndercuts
|
|
57
|
-
mrmeshpy.FixSelfIntersectionMethod = mrmeshpy.SelfIntersections.Settings.Method
|
|
58
|
-
mrmeshpy.FixSelfIntersectionSettings = mrmeshpy.SelfIntersections.Settings
|
|
59
|
-
mrmeshpy.fixUndercuts = mrmeshpy.FixUndercuts.fixUndercuts
|
|
60
|
-
mrmeshpy.GeneralOffsetParametersMode = mrmeshpy.GeneralOffsetParameters.Mode
|
|
61
|
-
mrmeshpy.getAllComponents = mrmeshpy.MeshComponents.getAllComponents
|
|
62
|
-
mrmeshpy.getAllComponentsVerts = mrmeshpy.MeshComponents.getAllComponentsVerts
|
|
63
|
-
mrmeshpy.ICP.getLastICPInfo = mrmeshpy.ICP.getStatusInfo
|
|
64
|
-
mrmeshpy.LaplacianEdgeWeightsParam = mrmeshpy.EdgeWeights
|
|
65
|
-
mrmeshpy.loadLines = mrmeshpy.LinesLoad.fromAnySupportedFormat
|
|
66
|
-
mrmeshpy.loadMesh = mrmeshpy.MeshLoad.fromAnySupportedFormat
|
|
67
|
-
mrmeshpy.loadPoints = mrmeshpy.PointsLoad.fromAnySupportedFormat
|
|
68
|
-
mrmeshpy.loadVoxelsGav = mrmeshpy.VoxelsLoad.fromGav
|
|
69
|
-
mrmeshpy.loadVoxelsRaw = mrmeshpy.VoxelsLoad.fromRaw
|
|
70
|
-
mrmeshpy.localFindSelfIntersections = mrmeshpy.SelfIntersections.getFaces
|
|
71
|
-
mrmeshpy.localFixSelfIntersections = mrmeshpy.SelfIntersections.fix
|
|
72
|
-
mrmeshpy.MeshBuilderSettings = mrmeshpy.MeshBuilder.BuildSettings
|
|
73
|
-
mrmeshpy.MeshToVolumeParamsType = mrmeshpy.MeshToVolumeParams.Type
|
|
74
|
-
mrmeshpy.ObjectDistanceMap.extractDistanceMap = mrmeshpy.ObjectDistanceMap.getDistanceMap
|
|
75
|
-
mrmeshpy.ObjectLines.extractLines = mrmeshpy.ObjectLines.polyline
|
|
76
|
-
mrmeshpy.ObjectMesh.extractMesh = mrmeshpy.ObjectMesh.mesh
|
|
77
|
-
mrmeshpy.ObjectPoints.extractPoints = mrmeshpy.ObjectPoints.pointCloud
|
|
78
|
-
mrmeshpy.objectSave = mrmeshpy.ObjectSave.toAnySupportedFormat
|
|
79
|
-
mrmeshpy.ObjectVoxels.extractVoxels = mrmeshpy.ObjectVoxels.vdbVolume
|
|
80
|
-
mrmeshpy.saveAllSlicesToImage = mrmeshpy.VoxelsSave.saveAllSlicesToImage
|
|
81
|
-
mrmeshpy.saveMesh = mrmeshpy.MeshSave.toAnySupportedFormat
|
|
82
|
-
mrmeshpy.savePoints = mrmeshpy.PointsSave.toAnySupportedFormat
|
|
83
|
-
mrmeshpy.saveSliceToImage = mrmeshpy.VoxelsSave.saveSliceToImage
|
|
84
|
-
mrmeshpy.saveVoxelsGav = mrmeshpy.VoxelsSave.toGav
|
|
85
|
-
mrmeshpy.saveVoxelsRaw = mrmeshpy.VoxelsSave.toRawAutoname
|
|
86
|
-
mrmeshpy.TextAlignParams = mrmeshpy.TextMeshAlignParams
|
|
87
|
-
mrmeshpy.topologyFromTriangles = mrmeshpy.MeshBuilder.fromTriangles
|
|
88
|
-
mrmeshpy.triangulateContours = mrmeshpy.PlanarTriangulation.triangulateContours
|
|
89
|
-
mrmeshpy.Triangulation.vec = mrmeshpy.Triangulation.vec_
|
|
90
|
-
mrmeshpy.uniteCloseVertices = mrmeshpy.MeshBuilder.uniteCloseVertices
|
|
91
|
-
mrmeshpy.vectorConstMeshPtr = mrmeshpy.std_vector_const_Mesh
|
|
92
|
-
mrmeshpy.vectorEdges = mrmeshpy.EdgeLoop
|
|
93
|
-
mrmeshpy.VertCoords.vec = mrmeshpy.VertCoords.vec_
|
|
94
|
-
mrmeshpy.VertScalars.vec = mrmeshpy.VertScalars.vec_
|
|
95
|
-
mrmeshpy.VoxelsSaveSavingSettings = mrmeshpy.VoxelsSave.SavingSettings
|
|
96
|
-
mrmeshpy.TriangulationHelpersSettings = mrmeshpy.TriangulationHelpers.Settings
|
|
97
|
-
mrmeshpy.buildUnitedLocalTriangulations = mrmeshpy.TriangulationHelpers.buildUnitedLocalTriangulations
|
|
98
|
-
|
|
99
|
-
_init_patch()
|
|
100
|
-
del _init_patch
|
|
101
|
-
|
|
102
|
-
# manually appended from scripts/wheel/init.py
|
|
47
|
+
### wheel-only: [
|
|
103
48
|
|
|
104
49
|
def _override_resources_dir():
|
|
105
50
|
"""
|
|
@@ -113,3 +58,5 @@ def _override_resources_dir():
|
|
|
113
58
|
|
|
114
59
|
_override_resources_dir()
|
|
115
60
|
del _override_resources_dir
|
|
61
|
+
|
|
62
|
+
### ]
|
meshlib/mrcudapy.pyd
ADDED
|
Binary file
|
meshlib/mrcudapy.pyi
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
import meshlib.mrmeshpy
|
|
3
|
+
from meshlib.mrmeshpy import func_bool_from_float
|
|
4
|
+
from meshlib.mrmeshpy import int_output
|
|
5
|
+
from meshlib.mrmeshpy import std_vector_MeshIntersectionResult
|
|
6
|
+
from meshlib.mrmeshpy import std_vector_MeshProjectionResult
|
|
7
|
+
from meshlib.mrmeshpy import std_vector_MeshTriPoint
|
|
8
|
+
from meshlib.mrmeshpy import std_vector_SkyPatch
|
|
9
|
+
from meshlib.mrmeshpy import std_vector_Vector3_float
|
|
10
|
+
from meshlib.mrmeshpy import std_vector_Vector3_float as std_vector_Vector3f
|
|
11
|
+
from meshlib.mrmeshpy import std_vector_float
|
|
12
|
+
import typing
|
|
13
|
+
__all__ = ['FastWindingNumber', 'PointsToMeshProjector', 'computeDistanceMap', 'computeDistanceMapHeapBytes', 'computeSkyViewFactor', 'distanceMapFromContours', 'distanceMapFromContoursHeapBytes', 'findSkyRays', 'func_bool_from_float', 'getCudaAvailableMemory', 'int_output', 'isCudaAvailable', 'negatePicture', 'pointsToDistanceVolume', 'std_vector_MeshIntersectionResult', 'std_vector_MeshProjectionResult', 'std_vector_MeshTriPoint', 'std_vector_SkyPatch', 'std_vector_Vector3_float', 'std_vector_Vector3f', 'std_vector_float']
|
|
14
|
+
class FastWindingNumber(meshlib.mrmeshpy.IFastWindingNumber):
|
|
15
|
+
"""
|
|
16
|
+
Generated from: MR::Cuda::FastWindingNumber
|
|
17
|
+
|
|
18
|
+
the class for fast approximate computation of winding number for a mesh (using its AABB tree)
|
|
19
|
+
\\ingroup AABBTreeGroup
|
|
20
|
+
"""
|
|
21
|
+
@typing.overload
|
|
22
|
+
def __init__(self, mesh: meshlib.mrmeshpy.Mesh) -> None:
|
|
23
|
+
"""
|
|
24
|
+
constructs this from AABB tree of given mesh;
|
|
25
|
+
"""
|
|
26
|
+
@typing.overload
|
|
27
|
+
def __init__(self, arg0: FastWindingNumber) -> None:
|
|
28
|
+
"""
|
|
29
|
+
Implicit copy constructor.
|
|
30
|
+
"""
|
|
31
|
+
def calcFromGrid(self, res: meshlib.mrmeshpy.std_vector_float, dims: meshlib.mrmeshpy.Vector3i, gridToMeshXf: meshlib.mrmeshpy.AffineXf3f, beta: float, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
|
|
32
|
+
...
|
|
33
|
+
def calcFromGridWithDistances(self, res: meshlib.mrmeshpy.std_vector_float, dims: meshlib.mrmeshpy.Vector3i, gridToMeshXf: meshlib.mrmeshpy.AffineXf3f, windingNumberThreshold: float, beta: float, maxDistSq: float, minDistSq: float, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
|
|
34
|
+
...
|
|
35
|
+
def calcFromVector(self, res: meshlib.mrmeshpy.std_vector_float, points: meshlib.mrmeshpy.std_vector_Vector3_float, beta: float, skipFace: meshlib.mrmeshpy.FaceId = 'MR::FaceId{}') -> None:
|
|
36
|
+
"""
|
|
37
|
+
see methods' descriptions in IFastWindingNumber
|
|
38
|
+
"""
|
|
39
|
+
def calcSelfIntersections(self, res: meshlib.mrmeshpy.FaceBitSet, beta: float, cb: meshlib.mrmeshpy.func_bool_from_float) -> bool:
|
|
40
|
+
...
|
|
41
|
+
class PointsToMeshProjector(meshlib.mrmeshpy.IPointsToMeshProjector):
|
|
42
|
+
"""
|
|
43
|
+
Generated from: MR::Cuda::PointsToMeshProjector
|
|
44
|
+
|
|
45
|
+
Computes the closest point on mesh to each of given points on GPU. It caches data that necessary for computing
|
|
46
|
+
"""
|
|
47
|
+
@typing.overload
|
|
48
|
+
def __init__(self) -> None:
|
|
49
|
+
...
|
|
50
|
+
@typing.overload
|
|
51
|
+
def __init__(self, arg0: PointsToMeshProjector) -> None:
|
|
52
|
+
"""
|
|
53
|
+
Implicit copy constructor.
|
|
54
|
+
"""
|
|
55
|
+
def findProjections(self, res: meshlib.mrmeshpy.std_vector_MeshProjectionResult, points: meshlib.mrmeshpy.std_vector_Vector3_float, objXf: meshlib.mrmeshpy.AffineXf3f, refObjXf: meshlib.mrmeshpy.AffineXf3f, upDistLimitSq: float, loDistLimitSq: float) -> None:
|
|
56
|
+
"""
|
|
57
|
+
<summary>
|
|
58
|
+
Computes the closest point on mesh to each of given points
|
|
59
|
+
</summary>
|
|
60
|
+
<param name="res">vector pf projections</param>
|
|
61
|
+
<param name="points">vector of points to project</param>
|
|
62
|
+
<param name="objXf">transform applied to points</param>
|
|
63
|
+
<param name="refObjXf">transform applied to referencing mesh</param>
|
|
64
|
+
<param name="upDistLimitSq">maximal squared distance from point to mesh</param>
|
|
65
|
+
<param name="loDistLimitSq">minimal squared distance from point to mesh</param>
|
|
66
|
+
"""
|
|
67
|
+
def projectionsHeapBytes(self, numProjections: int) -> int:
|
|
68
|
+
"""
|
|
69
|
+
Returns amount of additional memory needed to compute projections
|
|
70
|
+
"""
|
|
71
|
+
def updateMeshData(self, mesh: meshlib.mrmeshpy.Mesh) -> None:
|
|
72
|
+
"""
|
|
73
|
+
update all data related to the referencing mesh
|
|
74
|
+
"""
|
|
75
|
+
def computeDistanceMap(mesh: meshlib.mrmeshpy.Mesh, params: meshlib.mrmeshpy.MeshToDistanceMapParams, cb: meshlib.mrmeshpy.func_bool_from_float = 'MR::ProgressCallback{}', outSamples: meshlib.mrmeshpy.std_vector_MeshTriPoint = None) -> meshlib.mrmeshpy.DistanceMap:
|
|
76
|
+
"""
|
|
77
|
+
computes distance (height) map for given projection parameters
|
|
78
|
+
using float-precision for finding ray-mesh intersections, which is faster but less reliable
|
|
79
|
+
"""
|
|
80
|
+
def computeDistanceMapHeapBytes(mesh: meshlib.mrmeshpy.Mesh, params: meshlib.mrmeshpy.MeshToDistanceMapParams, needOutSamples: bool = False) -> int:
|
|
81
|
+
"""
|
|
82
|
+
Computes memory consumption of computeDistanceMap function
|
|
83
|
+
"""
|
|
84
|
+
def computeSkyViewFactor(terrain: meshlib.mrmeshpy.Mesh, samples: meshlib.mrmeshpy.VertCoords, validSamples: meshlib.mrmeshpy.VertBitSet, skyPatches: meshlib.mrmeshpy.std_vector_SkyPatch, outSkyRays: meshlib.mrmeshpy.BitSet = None, outIntersections: meshlib.mrmeshpy.std_vector_MeshIntersectionResult = None) -> meshlib.mrmeshpy.VertScalars:
|
|
85
|
+
"""
|
|
86
|
+
computes relative radiation in each valid sample point by emitting rays from that point in the sky:
|
|
87
|
+
the radiation is 1.0f if all rays reach the sky not hitting the terrain;
|
|
88
|
+
the radiation is 0.0f if all rays do not reach the sky because they are intercepted by the terrain;
|
|
89
|
+
\\param outSkyRays - optional output bitset where for every valid sample #i its rays are stored at indices [i*numPatches; (i+1)*numPatches),
|
|
90
|
+
0s for occluded rays (hitting the terrain) and 1s for the ones which don't hit anything and reach the sky
|
|
91
|
+
\\param outIntersections - optional output vector of MeshIntersectionResult for every valid sample point
|
|
92
|
+
"""
|
|
93
|
+
def distanceMapFromContours(polyline: meshlib.mrmeshpy.Polyline2, params: meshlib.mrmeshpy.ContourToDistanceMapParams) -> meshlib.mrmeshpy.DistanceMap:
|
|
94
|
+
"""
|
|
95
|
+
Computes distance of 2d contours according to ContourToDistanceMapParams (works correctly only when withSign==false)
|
|
96
|
+
"""
|
|
97
|
+
def distanceMapFromContoursHeapBytes(polyline: meshlib.mrmeshpy.Polyline2, params: meshlib.mrmeshpy.ContourToDistanceMapParams) -> int:
|
|
98
|
+
"""
|
|
99
|
+
Computes memory consumption of distanceMapFromContours function
|
|
100
|
+
"""
|
|
101
|
+
def findSkyRays(terrain: meshlib.mrmeshpy.Mesh, samples: meshlib.mrmeshpy.VertCoords, validSamples: meshlib.mrmeshpy.VertBitSet, skyPatches: meshlib.mrmeshpy.std_vector_SkyPatch, outIntersections: meshlib.mrmeshpy.std_vector_MeshIntersectionResult = None) -> meshlib.mrmeshpy.BitSet:
|
|
102
|
+
"""
|
|
103
|
+
In each valid sample point tests the rays from that point in the sky;
|
|
104
|
+
\\return bitset where for every valid sample #i its rays are stored at indices [i*numPatches; (i+1)*numPatches),
|
|
105
|
+
0s for occluded rays (hitting the terrain) and 1s for the ones which don't hit anything and reach the sky
|
|
106
|
+
\\param outIntersections - optional output vector of MeshIntersectionResult for every valid sample point
|
|
107
|
+
"""
|
|
108
|
+
def getCudaAvailableMemory() -> int:
|
|
109
|
+
"""
|
|
110
|
+
Returns available GPU memory in bytes
|
|
111
|
+
"""
|
|
112
|
+
def isCudaAvailable(driverVersion: meshlib.mrmeshpy.int_output = None, runtimeVersion: meshlib.mrmeshpy.int_output = None, computeMajor: meshlib.mrmeshpy.int_output = None, computeMinor: meshlib.mrmeshpy.int_output = None) -> bool:
|
|
113
|
+
"""
|
|
114
|
+
Returns true if Cuda is present on this GPU
|
|
115
|
+
optional out maximum driver supported version
|
|
116
|
+
optional out current runtime version
|
|
117
|
+
optional out compute capability major version
|
|
118
|
+
optional out compute capability minor version
|
|
119
|
+
"""
|
|
120
|
+
def negatePicture(image: meshlib.mrmeshpy.Image) -> None:
|
|
121
|
+
"""
|
|
122
|
+
This function inverts Color value (255 - value in each channel except alpha)
|
|
123
|
+
"""
|
|
124
|
+
def pointsToDistanceVolume(cloud: meshlib.mrmeshpy.PointCloud, params: meshlib.mrmeshpy.PointsToDistanceVolumeParams) -> meshlib.mrmeshpy.SimpleVolumeMinMax:
|
|
125
|
+
"""
|
|
126
|
+
makes SimpleVolume filled with signed distances to points with normals
|
|
127
|
+
"""
|
meshlib/mrmeshnumpy.pyd
CHANGED
|
Binary file
|
meshlib/mrmeshnumpy.pyi
CHANGED
|
@@ -20,7 +20,7 @@ def getNumpy3Darray(simpleVolume: meshlib.mrmeshpy.SimpleVolume) -> numpy.ndarra
|
|
|
20
20
|
"""
|
|
21
21
|
Convert SimpleVolume to numpy 3D array
|
|
22
22
|
"""
|
|
23
|
-
def getNumpyBitSet(bitset:
|
|
23
|
+
def getNumpyBitSet(bitset: meshlib.mrmeshpy.BitSet) -> numpy.ndarray[bool]:
|
|
24
24
|
"""
|
|
25
25
|
returns numpy array with bools for each bit of given bitset
|
|
26
26
|
"""
|
meshlib/mrmeshpy.pyd
CHANGED
|
Binary file
|