Need help with mesh boolean in Matlab.
이전 댓글 표시

Hi I need help with implementing mesh boolean as shown in the attached figure. The mesh is in FV form.
댓글 수: 2
KSSV
2017년 7월 24일
You have coordinates for cube and sphere, and you need the figure you shown? Or, you need to create both the meshes?
Darpan Shidid
2017년 7월 26일
채택된 답변
추가 답변 (1개)
See also:
While my own examples rely on external tools to do the CSG, I think most of the third-party CSG tools (like those in GPToolbox) rely on external libraries to do the work.
That said, I did recently run across this FEX submission which appears to do everything in m-code.
This is the final figure of its included demo:

That said, it's not really as straightforward to use as something like GPT's mesh_boolean() or my ridiculous scad_op() from #561428. Doesn't appear to be as simple as just throwing two sets of FV data into a single function call and getting FV data out. It's more of a demonstration of a whole process. Then again, if you can't compile MEX or install external software, it might be a viable option, and it can probably be wrapped up into a more comfortable form with a little further study.
카테고리
도움말 센터 및 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!