file format questions

45 views
Skip to first unread message

Hathaway K

unread,
Mar 16, 2023, 11:36:26 PM3/16/23
to iso2mesh-users
Dear Dr Fang:
Sorry to bother again, I drew a 3D model in SolidWorks, and I want to turn it into mesh file using ios2mesh, what format do I need to convert my model into? 

Best Wishes,
Hathaway

Qianqian Fang

unread,
Mar 16, 2023, 11:57:15 PM3/16/23
to iso2mes...@googlegroups.com, Hathaway K

please check out the bottom section of the iso2mesh workflow diagram

https://iso2mesh.sourceforge.net/cgi-bin/index.cgi?Doc/Workflow

it can only read a limited set of mesh formats. Solidwork files are not supported.


you will have to check if any of the formats is listed under the Export feature of solidworks, or use other converters such as MeshLab (https://www.meshlab.net/) to convert it to a format that iso2mesh can read.

--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iso2mesh-users/401cb0bb-463e-4ea0-99b3-e8b30abb2547n%40googlegroups.com.

Hathaway K

unread,
Mar 18, 2023, 5:37:16 AM3/18/23
to iso2mesh-users
Thank you very mush, Professor Fang, I'v met a new problem, I turned my model into .STL and imported it to MATLAB, then I used surf2mesh and an erro accurred. 
I put my code and the error in the fic below, Could you please help me to see what's wrong?
554e67d623e4ebc0f2ab639a7d42e3b.png
Thank you for your time,best wishes,
Hathaway

Hathaway K

unread,
Mar 18, 2023, 5:47:38 AM3/18/23
to iso2mesh-users
by the way, this is my model:
c9ceb66263e5fd5ff4aec7d1f69b9b2.png

Qianqian Fang

unread,
Mar 18, 2023, 9:19:22 AM3/18/23
to iso2mes...@googlegroups.com, Hathaway K

this is a common error, in most cases caused by self-intersecting triangles present in your model.

if your model is a single closed surface, you can call

[no, fc]=meshcheckrepair(v, f, 'meshfix');

to detect and repair these triangles. you can then pass the surface to s2m.


Qianqian


On 3/18/23 05:37, Hathaway K wrote:
Thank you very mush, Professor Fang, I'v met a new problem, I turned my model into .STL and imported it to MATLAB, then I used surf2mesh and an erro accurred. 
I put my code and the error in the fic below, Could you please help me to see what's wrong?

Thank you for your time,best wishes,
Hathaway

在2023年3月17日星期五 UTC+8 11:57:15<Qianqian Fang> 写道:

please check out the bottom section of the iso2mesh workflow diagram

https://iso2mesh.sourceforge.net/cgi-bin/index.cgi?Doc/Workflow

it can only read a limited set of mesh formats. Solidwork files are not supported.


you will have to check if any of the formats is listed under the Export feature of solidworks, or use other converters such as MeshLab (https://www.meshlab.net/) to convert it to a format that iso2mesh can read.

On 3/16/23 23:35, Hathaway K wrote:
Dear Dr Fang:
Sorry to bother again, I drew a 3D model in SolidWorks, and I want to turn it into mesh file using ios2mesh, what format do I need to convert my model into? 

Best Wishes,
Hathaway
--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iso2mesh-users/401cb0bb-463e-4ea0-99b3-e8b30abb2547n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.

Hathaway K

unread,
Mar 18, 2023, 10:09:59 AM3/18/23
to iso2mesh-users
Thank you for your time, I used "meshcheckrepair" but the output is empty, does that mean there is nothing to repair? And I still got the "Tetgen command failed" erro, is there something else I can do?
7b8b808f686afc282c0ba2725f682db.png

Qianqian Fang

unread,
Mar 18, 2023, 10:14:17 AM3/18/23
to iso2mes...@googlegroups.com, Hathaway K

no, that means meshcheckrepair/meshfix finds almost everything in the input is incorrect and decided to delete all.

please at least plot your imported mesh and examine it visually. also, please read the documentation from our wiki, and you should be able to use iso2mesh efficiently on your own. while I am happy to help, I can't do every step for you.

Hathaway K

unread,
Mar 18, 2023, 11:09:54 AM3/18/23
to iso2mesh-users
thank you for all the answers, professor, and sorry to bother.
Reply all
Reply to author
Forward
0 new messages