How to represent the 3-D geometry of an object by faces and vertices for Hexahedral Mesh

2 views (last 30 days)
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
Kartik Saxena on 22 Mar 2024
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:
I hope it helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!