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!