Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 3d mesh outwards offsetting

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 3d mesh outwards offsetting


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] 3d mesh outwards offsetting
  • Date: Wed, 25 Sep 2019 06:42:21 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:zY2gGByU8XD4dSjXCy+O+j09IxM/srCxBDY+r6Qd2uMRIJqq85mqBkHD//Il1AaPAdyArakdwLqJ+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxhGiTanb75+MRq6oAbTu8ILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8qFmQwLqhigaLT406HzZhNJ+jKxboxyvqRJwzIHWb46JO/RzZb/dcNAASGZdQspcWS5MD4WhZIUPFeoBOuNYopHzq1UTsxSxHhOjBPjzyj9JmHD227Ax3eImEQHc3QwgGM4Ou2nQoNv0KqgSVuW1w7fUzTXZb/JY2S3y55TUchAmu/GNXbd8fcTMwkQoDAPFilKQqZbkPzOSyuQBqW2b7+57WOKgjm4osQBxojy1ysgwjYnJg5sYx1bZ/it3x4Y1IMe3SE99YdO8FptfrTqVOJByQsw8WW1npCE6yrgetZ66eigK0pUnyATFZ/yJaYiE+h3jVOeNITd4mXJqY6iziAq18UilzOD3S8q60E5SoyZbjtXBsmoB2h/T58SdVPdx4Fqt1SyA2gzO8u1IP1o7mbbGJ5Mk3LE9mJUevEHdES/4mUj5kKqbelgr9+ez9+jqZ7rrq5CBOIBojwzzPaUjl866DOsjLAQCQ3WX9OG92bDj50L2W7NHheAsnKbDqpDVP8Ebq7a5AwBL1oYj7A6yDzK839QZmXkLNVxEeAiag4TwNVHDL+30Ae2wg1SrlzdryPTGMaP7DprRKXjDla/tfbd760FC1Ao+1c5T645QB70bI//+WlX9uMLGAhMkKQC5zPvrBM141owEWGKPBqGZMLnVsV+N/u8vOO2MZIgPuDb8LPgl++TijXo9mVIGcqmp2IEYaHG8Hvh8P0qZZn/sjs8bEWgWpgo+UPDqiFqaXDFPaHa9RaY86igmB4KnFofMWp2tgKea3CqgBZ1XZmVGCkiWHnvydoWEXe0MaCOILcN7nDwET+vpdok6yBv7tBPm06E1aa3P6ygAvNTi0sJ07qvdj1Yp5DlsBoOc1W+KCGp7l2dNSz4t171kuh9BzQKI3qF8xvBZDtdO/OhhUwEgNJeawfYpJcr1X1eLRdqDQU26Q9igSRU2VNM235dOTEt6Hti+lAHt1iG2BKUE1vbDUIcw9bjd2GS3IsJVxHPP1a1nhF4jFJgcfVa6j7JyolCAT7XClF+Uwv7zKfYsmRXV/WLG9lKg+VlCWVcpA6rAVHEbIEDRqIahvx6Qf/qVEb0idzB554uCJ69NMIC7iFxHQLL8Io2bbT7o3Wi3AhmMy/WHa4+4IzxMjhWYM1ANlkUoxVjDMAE/Aim7pGeHVW5hEFvuZwXn9uws8X4=

That's also the order of magnitude I have if I try with elephant.off
and 0.001
angle=25
sizing=0.068599999999999994
approx=0.0001
tag=0

There might be ways to speed things up but beside the runtime,
an important point is whether the output you have is what you need.
Of course it also depend on the expected runtime, meshing a distance
field is costly and might not be the right tool for your application.

Out of curiosity, could you share a typical input you have?

Sebastien.

On 9/24/19 7:41 PM, Alexandre Severino wrote:
I have tried that plugin.

Problem is it takes over 2 minutes in Release in order to at least maintain the vertices resolution (I don't care about feature loss).

What am I missing?

On Fri, Sep 20, 2019 at 5:24 AM Sebastien Loriot (GeometryFactory) < <mailto:>> wrote:

There is a plugin in the Polyhedron demo that allows you to mesh the
offset surface of a given input mesh. The quality of the result depends
on the input criteria. It will generate a non-self-intersecting surface
but sharp feature that should be in the output mesh will not be present.

It handle positive and negative offsets.

The code of the plugin is here:

https://github.com/CGAL/cgal/blob/master/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh/Offset_meshing_plugin.cpp

Sebastien.

On 9/12/19 2:20 PM, aseverino wrote:
> Hello. I've been playing around with CGAL for just over a year
now and
> recently I came across the need of creating an offset of a
Surface_mesh.
> Couldn't find anything conclusive in the CGAL documentation.
>
> My problem is simple. My only concern is the concave vertices
that shall not
> self-intersect. Sharp features being rounded or even entirely lost is
> actually a desired result, but not required.
>
> Any thoughts?
>
>
>
> --
> Sent from: http://cgal-discuss.949826.n4.nabble.com/
>

-- You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss




--
*Alexandre A. Severino*
*Systems Developer and Analyst*
*+55 11 99994-9148*

Si quieres cambio verdadero, pues camina distinto!



Archive powered by MHonArc 2.6.18.

Top of Page