Grant Karapetyan

Results 46 comments of Grant Karapetyan

Hello! I think function `makeMovementBuildBody` can be helpful to you (if `tool mesh` has axial symmetry) we will expose it to python: ```py from meshlib import mrmeshpy as mm inputMesh...

Hello! Unfortunately right now we don't have such functionality, We will try to work on it later. Thanks for suggestion.

We have ```c++ /// Offsets polyline by converting it to voxels and building iso-surface /// do offset in all directions /// so result mesh is always closed [[nodiscard]] MRMESH_API Expected...

Hello! We have just added https://github.com/MeshInspector/MeshLib/blob/7e840dfddf5a41db19cf5932c800a77f1ec7341d/source/MRMesh/MRMovementBuildBody.h#L25-L28 ![image](https://github.com/MeshInspector/MeshLib/assets/10034350/cdd7335c-dc71-4431-9c80-26752f6a6dc3) ![image](https://github.com/MeshInspector/MeshLib/assets/10034350/d3c7a955-6511-40fc-8978-12dc9c5bc06b) ![image](https://github.com/MeshInspector/MeshLib/assets/10034350/e1c30452-f203-4249-bc97-9f30afe7f596) ![image](https://github.com/MeshInspector/MeshLib/assets/10034350/19045a45-53c0-4c3d-8a2f-a4dbee9415da)

You can use Offset tool to fix it (by casting to voxels and back) https://github.com/MeshInspector/MeshLib/blob/5bb227da3716ddffbc948428538a21061fcd3cb3/source/MRMesh/MROffset.h#L59-L61 ![image](https://github.com/MeshInspector/MeshLib/assets/10034350/e94e2612-82e6-4126-92ff-cf0f1399d05a) ![image](https://github.com/MeshInspector/MeshLib/assets/10034350/b1c64dc2-ddf2-458c-b694-c3c2445de327) ![image](https://github.com/MeshInspector/MeshLib/assets/10034350/cd9c398e-7c2c-4ccc-ae20-f62ad7ebcd93) ![image](https://github.com/MeshInspector/MeshLib/assets/10034350/72baf44b-2616-48a2-a316-4a3b22593347) ![image](https://github.com/MeshInspector/MeshLib/assets/10034350/366e0e9a-e35d-4376-88cf-16065622fce9)

Thanks for pointing on it, we will try to improve our algorithm later!

Hello! Can you please show what is desired input and output?

This task can be solved this way: 1) Calculate surface distances for vertices near the path: https://github.com/MeshInspector/MeshLib/blob/master/source/MRMesh/MRSurfaceDistance.h 2) Extract iso-lines of found distance field: https://github.com/MeshInspector/MeshLib/blob/7f950aebf4cf5e0bff7e1cf189b01b26bfc35d7d/source/MRMesh/MRExtractIsolines.h#L15-L17 You can find example code...

https://github.com/MeshInspector/MeshLib/blob/7f950aebf4cf5e0bff7e1cf189b01b26bfc35d7d/source/MRMesh/MRToolPath.cpp#L1588-L1595 `startVerticesWithDists` here is vertices that are neighbors with original curve with values equal to distance to the curve. So: 1. You find all neighbor vertices to original curve 2....

>Do I just need to find the vertices adjacent to Polyline3 through a topological relationship, construct startVerticesWithDists by calculating the distance from the vertices to Polyline3, and then call the...