Is there any way to get the width of Dense bounding box of any mesh #3232
Answered
by
Grantim
dhanraj-khatal
asked this question in
Q&A
-
I want to calculate the max thickness of this mesh through the Python code using mrmeshlib is there any way to do this |
Beta Was this translation helpful? Give feedback.
Answered by
Grantim
Aug 26, 2024
Replies: 1 comment 5 replies
-
Hello! thicknessPerVertex = meshlib.mrmeshpy.computeRayThicknessAtVertices( mesh )
# or
settings = meshlib.mrmeshpy.InSphereSearchSettings()
settings.maxRadius = mesh.computeBoundingBox().diagonal()
thicknessPerVertex = meshlib.mrmeshpy.computeInSphereThicknessAtVertices( mesh, settings ) |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
dhanraj-khatal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
Looks like DenseBox functionality is not exposed to python yet. We will expose it and return back here. For now you can use one of these functions: