How to programmatically bevel mesh edges #4671
-
Hi developers, I came across this issue: #1210 In our case, we need to use the edge bevel feature programmatically in our C++ code. Could you please provide any guidance or examples on how to access this feature through the MeshLib API? Thanks in advance — really appreciate the great work you’re doing on this project! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello! Unfortunately that feature was not finished, and also was deprioritized, so we have not complete function. But if you need smooth corners, you can try this function: MeshLib/source/MRVoxels/MRVDBConversions.h Lines 183 to 185 in 5fd52ea Positive + negative will smooth concave edges Negative + positive will smooth convex edges Also we will consider putting mesh-based function in our roadmap. |
Beta Was this translation helpful? Give feedback.
Hello!
This code seems to trim mesh with plane, and fill the cut. Looks like it should work for single edge, but more complex cases might not work. So short answer is it's OK while it works for your cases, but not in general.