Linear Offsets on my Dolphin model

32 views
Skip to first unread message

Loïc Fejoz

unread,
Jul 16, 2015, 11:51:25 AM7/16/15
to ic...@googlegroups.com
Hi,

I have properly printed a 3D model sliced by IceSL.
The model was made by my tool FabInPocket and turn into STL binary by meshlab.
Indeed it seems IceSL cannot load the generated Ascii STL.
As usual, all models are there:
https://github.com/loic-fejoz/loic-fejoz-fabmoments/tree/master/dolphin

But printing is not enough, I want to CNC it! I will talk about that in the  other thread.

Presently, what worry me is that I cannot linear_offset this STL... I am trying this code:

merged_shape = merge_vertices(load('dauphin-binary.stl'))
eroded_shape = linear_offsets(merged_shape, {v(1,0,0), v(0,1,0), v(0,0,1)}, {-0.4, -0.4, -0.4})


And got this message:
**ASSERT FAILED** edge_to_triangle.find(edge) == edge_to_triangle.end(), file .../libicesl/libcsgtree/src/engine.cpp, line 110

BTW, the brackets are missing in the documentation (pdf and wiki).

Thanks,
Loïc

Frédéric Claux

unread,
Jul 16, 2015, 11:58:16 AM7/16/15
to ic...@googlegroups.com
Hi Loïc,
It looks like your mesh contains non-manifold edges. We don't support that. You need to repair the mesh with a mesh tool like MeshLab first.
Fred

Loïc Fejoz

unread,
Jul 16, 2015, 12:56:33 PM7/16/15
to ic...@googlegroups.com
ok thanks.

Indeed I had 3 non manifold edges and 12 faces over non manifold edges...

I still have the assert error on the repaired stl.
My github has been updated if you have another guess.

Loïc Fejoz

unread,
Jul 16, 2015, 3:14:14 PM7/16/15
to ic...@googlegroups.com
Found: I have a hole at the junction of the fin.

I saw that with geogram as it draw back of the triangle in red. :-D
Repaired with meshlab again...

So I will start again my experiment.

NB: there are segfault when you apply a difference with a nil value (eg inexistant variable).
Reply all
Reply to author
Forward
0 new messages