meshlib 3.0.3.233__py38.py39.py310.py311.py312.py313-none-manylinux_2_31_x86_64.whl → 3.0.5.213__py38.py39.py310.py311.py312.py313-none-manylinux_2_31_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 (92) hide show
  1. meshlib/libpybind11nonlimitedapi_meshlib_3.10.so +0 -0
  2. meshlib/libpybind11nonlimitedapi_meshlib_3.11.so +0 -0
  3. meshlib/libpybind11nonlimitedapi_meshlib_3.12.so +0 -0
  4. meshlib/libpybind11nonlimitedapi_meshlib_3.13.so +0 -0
  5. meshlib/libpybind11nonlimitedapi_meshlib_3.8.so +0 -0
  6. meshlib/libpybind11nonlimitedapi_meshlib_3.9.so +0 -0
  7. meshlib/mrcudapy.pyi +94 -8
  8. meshlib/mrcudapy.so +0 -0
  9. meshlib/mrmeshnumpy.so +0 -0
  10. meshlib/mrmeshpy.pyi +5066 -5483
  11. meshlib/mrmeshpy.so +0 -0
  12. meshlib/mrviewerpy.pyi +0 -45
  13. meshlib/mrviewerpy.so +0 -0
  14. meshlib/resource/independent_icons/X1/Plane Import.png +0 -0
  15. meshlib/resource/independent_icons/X1/Plane XY.png +0 -0
  16. meshlib/resource/independent_icons/X1/Plane XZ.png +0 -0
  17. meshlib/resource/independent_icons/X1/Plane YZ.png +0 -0
  18. meshlib/resource/independent_icons/X3/Plane Import.png +0 -0
  19. meshlib/resource/independent_icons/X3/Plane XY.png +0 -0
  20. meshlib/resource/independent_icons/X3/Plane XZ.png +0 -0
  21. meshlib/resource/independent_icons/X3/Plane YZ.png +0 -0
  22. meshlib/resource/object_icons/X1/AngleMeasurementObject.png +0 -0
  23. meshlib/resource/object_icons/X1/CircleObject.png +0 -0
  24. meshlib/resource/object_icons/X1/ConeObject.png +0 -0
  25. meshlib/resource/object_icons/X1/CylinderObject.png +0 -0
  26. meshlib/resource/object_icons/X1/DistanceMeasurementObject.png +0 -0
  27. meshlib/resource/object_icons/X1/LineObject.png +0 -0
  28. meshlib/resource/object_icons/X1/Object.png +0 -0
  29. meshlib/resource/object_icons/X1/ObjectDistanceMap.png +0 -0
  30. meshlib/resource/object_icons/X1/ObjectGcode.png +0 -0
  31. meshlib/resource/object_icons/X1/ObjectLabel.png +0 -0
  32. meshlib/resource/object_icons/X1/ObjectLines.png +0 -0
  33. meshlib/resource/object_icons/X1/ObjectMesh.png +0 -0
  34. meshlib/resource/object_icons/X1/ObjectPoints.png +0 -0
  35. meshlib/resource/object_icons/X1/ObjectVoxels.png +0 -0
  36. meshlib/resource/object_icons/X1/Object_open.png +0 -0
  37. meshlib/resource/object_icons/X1/PlaneObject.png +0 -0
  38. meshlib/resource/object_icons/X1/PointObject.png +0 -0
  39. meshlib/resource/object_icons/X1/RadiusMeasurementObject.png +0 -0
  40. meshlib/resource/object_icons/X1/SphereObject.png +0 -0
  41. meshlib/resource/object_icons/X3/AngleMeasurementObject.png +0 -0
  42. meshlib/resource/object_icons/X3/CircleObject.png +0 -0
  43. meshlib/resource/object_icons/X3/ConeObject.png +0 -0
  44. meshlib/resource/object_icons/X3/CylinderObject.png +0 -0
  45. meshlib/resource/object_icons/X3/DistanceMeasurementObject.png +0 -0
  46. meshlib/resource/object_icons/X3/LineObject.png +0 -0
  47. meshlib/resource/object_icons/X3/Object.png +0 -0
  48. meshlib/resource/object_icons/X3/ObjectDistanceMap.png +0 -0
  49. meshlib/resource/object_icons/X3/ObjectGcode.png +0 -0
  50. meshlib/resource/object_icons/X3/ObjectLabel.png +0 -0
  51. meshlib/resource/object_icons/X3/ObjectLines.png +0 -0
  52. meshlib/resource/object_icons/X3/ObjectMesh.png +0 -0
  53. meshlib/resource/object_icons/X3/ObjectPoints.png +0 -0
  54. meshlib/resource/object_icons/X3/ObjectVoxels.png +0 -0
  55. meshlib/resource/object_icons/X3/Object_open.png +0 -0
  56. meshlib/resource/object_icons/X3/PlaneObject.png +0 -0
  57. meshlib/resource/object_icons/X3/PointObject.png +0 -0
  58. meshlib/resource/object_icons/X3/RadiusMeasurementObject.png +0 -0
  59. meshlib/resource/object_icons/X3/SphereObject.png +0 -0
  60. meshlib/resource/textures/controller_cube_default.png +0 -0
  61. meshlib/resource/textures/controller_cube_edges.png +0 -0
  62. meshlib/resource/textures/controller_cube_sides.png +0 -0
  63. {meshlib-3.0.3.233.dist-info → meshlib-3.0.5.213.dist-info}/METADATA +57 -32
  64. meshlib-3.0.5.213.dist-info/RECORD +149 -0
  65. {meshlib-3.0.3.233.dist-info → meshlib-3.0.5.213.dist-info}/WHEEL +1 -1
  66. meshlib.libs/libE57Format-e30071c4.so.3.2.0 +0 -0
  67. meshlib.libs/libMRCuda-44b34b57.so +0 -0
  68. meshlib.libs/libMRIOExtras-3e11901a.so +0 -0
  69. meshlib.libs/{libMRMesh-75459da2.so → libMRMesh-f90690a3.so} +0 -0
  70. meshlib.libs/libMRPython-9838106f.so +0 -0
  71. meshlib.libs/libMRSymbolMesh-28fa22da.so +0 -0
  72. meshlib.libs/{libMRViewer-eb7a81b4.so → libMRViewer-b9a1bd8e.so} +0 -0
  73. meshlib.libs/{libMRVoxels-4fcee271.so → libMRVoxels-df3018c8.so} +0 -0
  74. meshlib.libs/{libOpenCTM-cd530b23.so → libOpenCTM-3381561f.so} +0 -0
  75. meshlib.libs/{libclip-628a7c41.so → libclip-f7b2f663.so} +0 -0
  76. meshlib.libs/libcpr-c403304a.so.1.8.1 +0 -0
  77. meshlib.libs/{libcrypto-a9bc086e.so.1.1 → libcrypto-bf99926d.so.1.1} +0 -0
  78. meshlib.libs/libcurl-6089e0fb.so +0 -0
  79. meshlib.libs/{libfreetype-53ccf2d6.so.6.17.1 → libfreetype-b2547240.so.6.17.1} +0 -0
  80. meshlib.libs/libgdcmCommon-6a5411ce.so.3.0.5 +0 -0
  81. meshlib.libs/libimgui-8a87ad02.so +0 -0
  82. meshlib.libs/libssl-5ca16b9d.so.1.1 +0 -0
  83. meshlib.libs/libzip-9c23ab55.so.5.0 +0 -0
  84. meshlib-3.0.3.233.dist-info/RECORD +0 -100
  85. meshlib.libs/libE57Format-8807fd24.so.3.2.0 +0 -0
  86. meshlib.libs/libMRCuda-75a69067.so +0 -0
  87. meshlib.libs/libMRIOExtras-edaf8f24.so +0 -0
  88. meshlib.libs/libMRPython-ebcd3b9c.so +0 -0
  89. meshlib.libs/libMRSymbolMesh-30665c20.so +0 -0
  90. meshlib.libs/libimgui-3c72d9ad.so +0 -0
  91. {meshlib-3.0.3.233.dist-info → meshlib-3.0.5.213.dist-info/licenses}/LICENSE +0 -0
  92. {meshlib-3.0.3.233.dist-info → meshlib-3.0.5.213.dist-info}/top_level.txt +0 -0
meshlib/mrcudapy.pyi CHANGED
@@ -1,26 +1,25 @@
1
1
  from __future__ import annotations
2
2
  import meshlib.mrmeshpy
3
3
  from meshlib.mrmeshpy import func_bool_from_float
4
+ from meshlib.mrmeshpy import func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int
4
5
  from meshlib.mrmeshpy import int_output
5
6
  from meshlib.mrmeshpy import std_vector_MeshIntersectionResult
6
7
  from meshlib.mrmeshpy import std_vector_MeshProjectionResult
7
8
  from meshlib.mrmeshpy import std_vector_MeshTriPoint
9
+ from meshlib.mrmeshpy import std_vector_PointsProjectionResult
8
10
  from meshlib.mrmeshpy import std_vector_SkyPatch
9
11
  from meshlib.mrmeshpy import std_vector_Vector3_float
10
12
  from meshlib.mrmeshpy import std_vector_Vector3_float as std_vector_Vector3f
11
13
  from meshlib.mrmeshpy import std_vector_float
12
14
  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
+ __all__ = ['FastWindingNumber', 'PointsProjector', 'PointsToMeshProjector', 'computeDistanceMap', 'computeDistanceMapHeapBytes', 'computeSkyViewFactor', 'distanceMapFromContours', 'distanceMapFromContoursHeapBytes', 'findProjectionOnPoints', 'findProjectionOnPointsHeapBytes', 'findSkyRays', 'func_bool_from_float', 'func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int', 'func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int', 'getCudaAvailableMemory', 'getCudaSafeMemoryLimit', 'int_output', 'isCudaAvailable', 'loadMRCudaDll', 'maxBufferSize', 'maxBufferSizeAlignedByBlock', 'negatePicture', 'pointsToDistanceVolume', 'pointsToDistanceVolumeByParts', 'std_vector_MeshIntersectionResult', 'std_vector_MeshProjectionResult', 'std_vector_MeshTriPoint', 'std_vector_PointsProjectionResult', 'std_vector_SkyPatch', 'std_vector_Vector3_float', 'std_vector_Vector3f', 'std_vector_float']
16
+ class FastWindingNumber(meshlib.mrmeshpy.IFastWindingNumber, meshlib.mrmeshpy.IFastWindingNumberByParts):
15
17
  """
16
18
  Generated from: MR::Cuda::FastWindingNumber
17
19
 
18
20
  the class for fast approximate computation of winding number for a mesh (using its AABB tree)
19
21
  \\ingroup AABBTreeGroup
20
22
  """
21
- @staticmethod
22
- def _pybind11_conduit_v1_(*args, **kwargs):
23
- ...
24
23
  @typing.overload
25
24
  def __init__(self, mesh: meshlib.mrmeshpy.Mesh) -> None:
26
25
  """
@@ -33,23 +32,54 @@ class FastWindingNumber(meshlib.mrmeshpy.IFastWindingNumber):
33
32
  """
34
33
  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:
35
34
  ...
35
+ def calcFromGridByParts(self, resFunc: meshlib.mrmeshpy.func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int, dims: meshlib.mrmeshpy.Vector3i, gridToMeshXf: meshlib.mrmeshpy.AffineXf3f, beta: float, layerOverlap: int, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
36
+ """
37
+ see methods' descriptions in IFastWindingNumberByParts
38
+ """
36
39
  def calcFromGridWithDistances(self, res: meshlib.mrmeshpy.std_vector_float, dims: meshlib.mrmeshpy.Vector3i, gridToMeshXf: meshlib.mrmeshpy.AffineXf3f, options: meshlib.mrmeshpy.DistanceToMeshOptions, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
37
40
  ...
41
+ def calcFromGridWithDistancesByParts(self, resFunc: meshlib.mrmeshpy.func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int, dims: meshlib.mrmeshpy.Vector3i, gridToMeshXf: meshlib.mrmeshpy.AffineXf3f, options: meshlib.mrmeshpy.DistanceToMeshOptions, layerOverlap: int, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
42
+ ...
38
43
  def calcFromVector(self, res: meshlib.mrmeshpy.std_vector_float, points: meshlib.mrmeshpy.std_vector_Vector3_float, beta: float, skipFace: meshlib.mrmeshpy.FaceId, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
39
44
  """
40
45
  see methods' descriptions in IFastWindingNumber
41
46
  """
42
47
  def calcSelfIntersections(self, res: meshlib.mrmeshpy.FaceBitSet, beta: float, cb: meshlib.mrmeshpy.func_bool_from_float) -> None:
43
48
  ...
49
+ class PointsProjector(meshlib.mrmeshpy.IPointsProjector):
50
+ """
51
+ Generated from: MR::Cuda::PointsProjector
52
+
53
+ CUDA-backed implementation of IPointsProjector
54
+ """
55
+ @typing.overload
56
+ def __init__(self) -> None:
57
+ """
58
+ Implicit default constructor.
59
+ """
60
+ @typing.overload
61
+ def __init__(self, arg0: PointsProjector) -> None:
62
+ """
63
+ Implicit copy constructor.
64
+ """
65
+ def findProjections(self, results: meshlib.mrmeshpy.std_vector_PointsProjectionResult, points: meshlib.mrmeshpy.std_vector_Vector3_float, settings: meshlib.mrmeshpy.FindProjectionOnPointsSettings) -> None:
66
+ """
67
+ computes the closest points on point cloud to given points
68
+ """
69
+ def projectionsHeapBytes(self, numProjections: int) -> int:
70
+ """
71
+ Returns amount of additional memory needed to compute projections
72
+ """
73
+ def setPointCloud(self, pointCloud: meshlib.mrmeshpy.PointCloud) -> None:
74
+ """
75
+ sets the reference point cloud
76
+ """
44
77
  class PointsToMeshProjector(meshlib.mrmeshpy.IPointsToMeshProjector):
45
78
  """
46
79
  Generated from: MR::Cuda::PointsToMeshProjector
47
80
 
48
81
  Computes the closest point on mesh to each of given points on GPU. It caches data that necessary for computing
49
82
  """
50
- @staticmethod
51
- def _pybind11_conduit_v1_(*args, **kwargs):
52
- ...
53
83
  @typing.overload
54
84
  def __init__(self) -> None:
55
85
  ...
@@ -78,6 +108,28 @@ class PointsToMeshProjector(meshlib.mrmeshpy.IPointsToMeshProjector):
78
108
  """
79
109
  update all data related to the referencing mesh
80
110
  """
111
+ class func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int:
112
+ def __bool__(self) -> bool:
113
+ ...
114
+ def __call__(self, arg0: meshlib.mrmeshpy.SimpleVolumeMinMax, arg1: int) -> None:
115
+ ...
116
+ @typing.overload
117
+ def __init__(self) -> None:
118
+ ...
119
+ @typing.overload
120
+ def __init__(self, arg0: None) -> None:
121
+ ...
122
+ @typing.overload
123
+ def __init__(self, arg0: func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int) -> None:
124
+ ...
125
+ def can_be_created_from_python(self) -> bool:
126
+ """
127
+ If false, this function type can't hold a Python function, and can only be created from C++.
128
+ """
129
+ def holds_cpp_function(self) -> bool:
130
+ """
131
+ Does this object currentlyhold a C++ function? As opposed to a Python one.
132
+ """
81
133
  def computeDistanceMap(mesh: meshlib.mrmeshpy.Mesh, params: meshlib.mrmeshpy.MeshToDistanceMapParams, cb: meshlib.mrmeshpy.func_bool_from_float = '{}', outSamples: meshlib.mrmeshpy.std_vector_MeshTriPoint = None) -> meshlib.mrmeshpy.DistanceMap:
82
134
  """
83
135
  computes distance (height) map for given projection parameters
@@ -104,6 +156,14 @@ def distanceMapFromContoursHeapBytes(polyline: meshlib.mrmeshpy.Polyline2, param
104
156
  """
105
157
  Computes memory consumption of distanceMapFromContours function
106
158
  """
159
+ def findProjectionOnPoints(pointCloud: meshlib.mrmeshpy.PointCloud, points: meshlib.mrmeshpy.std_vector_Vector3_float, settings: meshlib.mrmeshpy.FindProjectionOnPointsSettings = '{}') -> meshlib.mrmeshpy.std_vector_PointsProjectionResult:
160
+ """
161
+ computes the closest points on point cloud to given points
162
+ """
163
+ def findProjectionOnPointsHeapBytes(pointCloud: meshlib.mrmeshpy.PointCloud, pointsCount: int) -> int:
164
+ """
165
+ returns the minimal amount of free GPU memory required for \\ref MR::Cuda::findProjectionOnPoints
166
+ """
107
167
  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:
108
168
  """
109
169
  In each valid sample point tests the rays from that point in the sky;
@@ -115,6 +175,10 @@ def getCudaAvailableMemory() -> int:
115
175
  """
116
176
  Returns available GPU memory in bytes
117
177
  """
178
+ def getCudaSafeMemoryLimit() -> int:
179
+ """
180
+ Returns maximum safe amount of free GPU memory that will be used for dynamic-sized buffers
181
+ """
118
182
  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:
119
183
  """
120
184
  Returns true if Cuda is present on this GPU
@@ -123,6 +187,23 @@ def isCudaAvailable(driverVersion: meshlib.mrmeshpy.int_output = None, runtimeVe
123
187
  optional out compute capability major version
124
188
  optional out compute capability minor version
125
189
  """
190
+ def loadMRCudaDll() -> None:
191
+ """
192
+ call this function to load MRCuda shared library
193
+ """
194
+ def maxBufferSize(availableBytes: int, elementCount: int, elementBytes: int) -> int:
195
+ """
196
+ Returns maximum buffer size in elements that can be allocated with given memory limit
197
+ """
198
+ @typing.overload
199
+ def maxBufferSizeAlignedByBlock(availableBytes: int, blockDims: meshlib.mrmeshpy.Vector2i, elementBytes: int) -> int:
200
+ """
201
+ Returns maximum buffer size in elements that can be allocated with given memory limit
202
+ The size is aligned to the block dimensions
203
+ """
204
+ @typing.overload
205
+ def maxBufferSizeAlignedByBlock(availableBytes: int, blockDims: meshlib.mrmeshpy.Vector3i, elementBytes: int) -> int:
206
+ ...
126
207
  def negatePicture(image: meshlib.mrmeshpy.Image) -> None:
127
208
  """
128
209
  This function inverts Color value (255 - value in each channel except alpha)
@@ -131,3 +212,8 @@ def pointsToDistanceVolume(cloud: meshlib.mrmeshpy.PointCloud, params: meshlib.m
131
212
  """
132
213
  makes SimpleVolume filled with signed distances to points with normals
133
214
  """
215
+ def pointsToDistanceVolumeByParts(cloud: meshlib.mrmeshpy.PointCloud, params: meshlib.mrmeshpy.PointsToDistanceVolumeParams, addPart: func_tl_expected_void_std_string_from_VoxelsVolumeMinMax_std_vector_float_int, layerOverlap: int) -> None:
216
+ """
217
+ makes SimpleVolume filled with signed distances to points with normals
218
+ populate the volume by parts to the given callback
219
+ """
meshlib/mrcudapy.so CHANGED
Binary file
meshlib/mrmeshnumpy.so CHANGED
Binary file