intersect and delete 3D Mesh
17 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm trying to optimize a plotted 3D geometry by 'cutting' it with a differnt geometry. The Idea is to identify the intersecting parts of it and delete these. Does anyone know if this is possible? And if so how? The first geometry is a pyramid frustum and the second, which is going to be the cutting one, is a cylinder.
Let me know if theres a need of code, more infos or sth, im kinda new here :)
Cheers
1 个评论
Dyuman Joshi
2024-1-15
What is the form of the 3D geometry?
Is it an external file like .stl? or do you simply have the data points for the geometry? or something else?
回答(1 个)
George Abrahams
2024-1-15
Hi @Alexander. This is known as constructive solid geometry (CSG). Here are a few MATLAB resources for you.
- gptoolbox on File Exchange contains two functions, mesh_boolean and mesh_boolean_winding_number.
- Iso2Mesh on File Exchange contains the surfboolean function.
- GEOMLib on File Exchange is a library for 3D CSG.
- Surface Booleans on File Exchange gives a demonstration of CSG, but actively recommends Iso2Mesh over their code.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!