Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Eroormessage of CSG cut

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Eroormessage of CSG cut


Chronological Thread 
  • From: Maxime Gimeno <>
  • To:
  • Subject: Re: [cgal-discuss] Eroormessage of CSG cut
  • Date: Thu, 12 Mar 2020 16:33:39 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:tkpogxJys7ZPsYAIZNmcpTZWNBhigK39O0sv0rFitYgUK/vxwZ3uMQTl6Ol3ixeRBMOAtKIC1rKempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBWB6kC09iMYTxXjKRJudKOyAZ/Xl83x1uao+pSVbR8Pnyu4ebo1LRO4qkLaucASxIdjMa0s0QCannwdcOtfwSZkJEmYgg3nzsa25p9qtSpK6Nw78MsVdKzqfqE1BZNZCTkgNChh4cT7tBzOCwSO43YaVU0ZlxNJB07O6xSsDcS5iTfzqucogHrSBsbxV71hAW3/vZcucwfhjWI8DxB88GzTjZYu3qdSoRbkoB0mhoCNP9/TO/15cafQO9gdQDgZB5oDZ2l6Goq5KrA3Ia8ZJ+8B9tvyolIPqV21Agz+XLq+mA8NvWf/2OgB68pkFAjH2AI6GNdX6Sbbqdz0MOEZVuXnlaQ=

Actually reduced1.off is not a valid OFF, it represents a mesh that is not manifold and not trianglated. Refinement functions require all those things.

Le jeu. 12 mars 2020 à 16:27, Maxime Gimeno <> a écrit :
Also, this input is not a valid surface mesh, as it dreams to have orientation problems. This is probably the origin of the exception.

Le jeu. 12 mars 2020 à 16:06, Maxime Gimeno <> a écrit :
Meshlab is able to read the off because it ignores  the N blahblah lines, which your CGAL version does not. Where did you find that off ? 

Le jeu. 12 mars 2020 à 16:01, J. Scheurich <> a écrit :


On 12.03.20 10:03, Andreas Fabri wrote:
>
> Honestly, how do you expect to get a helpful reply to this kind of
> message.
>
> Please provide a self contained example on gist.git.com together with
> a small data set where you get the exception, so that we can try to
> reproduce/analyze/fix
>

The test program is at

http://wdune.ourproject.org/examples/reduced.cpp

but the mesh .off data of

http://wdune.ourproject.org/examples/reduced1.off

can not be read by cgal (another bug ?), while meshlab can read it.

To view the execption, you can use white_dune (open source, but needs a lot
of libraries), there is a binary for MSWindows 10, MacOSX, Ubuntu LINUX,
Arch Linux,
OpenSuse Linux  and Debian Linux. It is also part of fedora 33.

Run

$ dune http://wdune.ourproject.org/examples/cgal_test.x3dv

and click to Group and then use Indexed(Face)Set -> boolean operations
-> cut

so long
MUFTI
 

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





Archive powered by MHonArc 2.6.18.

Top of Page