Dessia-tech / volmdlr

A python VOLume MoDeLeR computations-oriented with STEP support for import/export
GNU Lesser General Public License v2.1
26 stars 8 forks source link

Reading stl print -> optional #1349

Closed MackJoly closed 3 months ago

MackJoly commented 3 months ago
pgibertini commented 3 months ago

Hello Mack

If you use the Mesh3D to read STL there is no print and it will be much faster

MackJoly commented 3 months ago

Hello Pierre, I am trying the Mesh3D method but I need to be sure that the behavior is similar in order to not break my algorithm

pgibertini commented 3 months ago

It should be.

Mesh3D should has method to convert to OpenTriangleShell3D / ClosedTriangleShell3D and so you can compare the result.

MackJoly commented 3 months ago

The behavior is the same. Do you know if it is possible to have a function to clean flat triangles (triangles that are read but in fact they have 2 points in common or points are very close, cf Stl.clean_flat_triangles() ) in Mesh3D ?

MackJoly commented 3 months ago

I see that there is the method Mesh3D.remove_degenerate_triangles, thank for the support !