How to represent the 3-D geometry of an object by faces and vertices for Hexahedral Mesh
Show older comments
Hello,
Is there a function like extendedObjectMesh but for Hexahedral Mesh? My face matrix is Nx4 matrix and not Nx3, is there a way to export this as an OBJ. file, so it can be imported later in EM Simulation Software like HFSS or CST?
Thank you in advance.
Answers (1)
Kartik Saxena
on 22 Mar 2024
0 votes
Hi,
MATLAB provides functions for working with meshes, such as 'stlwrite' for exporting STL files. You can convert your hexahedral mesh to a format like STL and then use it in EM simulation software like HFSS or CST.
Refer to the following File Exchange links to know about functions you can use to export a mesh defined by vertices and faces to an OBJ file:
- https://www.mathworks.com/matlabcentral/fileexchange/49692-gptoolbox?s_tid=srchtitle
- https://www.mathworks.com/matlabcentral/fileexchange/27982-wavefront-obj-toolbox
I hope it helps!
Categories
Find more on Electromagnetics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!