Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Polyhedron demo crashes loading polylines

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Polyhedron demo crashes loading polylines


Chronological Thread 
  • From: David Rochera <>
  • To:
  • Subject: Re: [cgal-discuss] Polyhedron demo crashes loading polylines
  • Date: Wed, 3 Feb 2021 18:11:13 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:c0vZTRIY/ASO77zYgNmcpTZWNBhigK39O0sv0rFitYgXKv7zrarrMEGX3/hxlliBBdydt6sVzbaM+PuwEUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCe5bL9oIxi6swrdu8cVjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVRnlgzoFOTEk6mHaksN/jKxZrxyhqRJxwJPabp+JO/dlZKzRYckXSHBdUspNVSFMBJ63YYsVD+oGOOZVt4fzqEEQrRu/GAanGf/hyjhUiX/2w6I6yf4uGhzB0QM9BdIOt2jbrNXrO6cIS++417LHwinZYPNTwzj99IjIfgomofGWUrJ9aMzcwlQgGA3ZlFufs5DlPy+L2eQXtWiW9/ZtWOashmMotwx8oySjy8cihIfGho8byk7J+CF7zYsxJ9C1SFN3b9C6HZdOsyyXOIt7TM0/Tm9ntig3yKALtJ69cSMXxponwBvfZOaGc4iO+h/jW+eRISt4hHJ4Y72znQq98U+lyuHkV8m01kxKritfndXWuHANzRre4dWERPtl5kqtxyqD2gTJ5uxHIU04j7fXJp8jz7IqmZcevkLOFTLslkrslq+ZbEAk9/Co6+v5ZrXmoYeRN4puhQH/NqQig8i/AeolPgQXUWiW9uux2Kfs/U3+R7VKgfk2nbfDvJ/GIsQbo7a1Aw5T0ok99xayFymq3MgckHUdL19IeAiLg5XoNlzMOvz1Aviyj0ypkDhxxvDGOrPhAo/KLnjGiLruYKx960lAxwoz099f/YhbB6oaL/3vQEDxscbXDgM5MwCuxObnEtp92psEWW2TGq+ZLL/SsViQ6+0zLOmDfosVtC/gJPgk/P7hkWI5mUQGfaSyxpsWaHW4Hux8LEmDYHrshM0BEWYQsQYkQuzqkg7KbDhIenznX74g/ippT8W9HILbT8ashqaA1WG1BNpNd2VeAxeNF3nvMI6LUvNJZCOJKdJ6iW85U6O8Qa890BX7tBPm06E1aa3P6ygAvNTi0sJ07qvdj1Yp5DlsBoOc1W+KCGp7l2dNSz4t171kuh9AzEye25R1k+ANFcBP/+gbFUAhJJvExqp7DcrzU0TPZJCSWVO+S5KnBz82Cdk+yttLb0dmEMi5lUP/2H+hDLYR0rCKH5cp6bn03n7rJs87xWyV+rMmigwKS9VOOSWcgaV/+hLaT9rFiUKSl6uwfIwW1yfI/XuDi22UsxcLA0ZLTazZUCVHNQPtptPj6xaaFu78OfEcKgJEjPW6BO5PY9ztg09BQa64at7Vame4h2f2AgyHlOrVMNjaPl4F1SCYM3Aq1hgJ9C/dZwI1DyKov2KYCyZhRwq2PhHctNJmoXb+dXcaigGHa0o7iuiw8x8RwPiSErYdgu5CtyAmpDF5Wl262oCOBg==

Right! I was missing the number of points. Thank you very much! :)

Best,

David

On Wed, 3 Feb 2021 at 18:08, Sebastien Loriot <> wrote:
The format is invalid.
You should have

n0 p1x p2x p3x .... pn0x pn0y pn0z
n1 p1x p2x p3x .... pn1x pn1y pn1z

i.e. nb pts of the polyline followed by the points. If the polyline is
closed the first and last point must be identical. You can have as many
polylines you want per file.

Best,

Sebastien.



On 2/3/21 6:03 PM, David Rochera wrote:
> Hello, Sebastien,
>
> I added such an empty line at the end but it still does not work. Find
> attached an example of a polyline which does not work (in general I
> could not import any polyline at all since using the demo, only if they
> are generated by hand with "Generate object" menu).
>
> Thanks,
>
> David
>
> On Wed, 3 Feb 2021 at 17:54, Sebastien Loriot <
> <mailto:>> wrote:
>
>     Try adding an empty line at the end of the file.
>     If it does not work, could you share the input file?
>
>     Thanks,
>
>     Sebastien.
>
>     On 2/3/21 5:52 PM, David Rochera wrote:
>      > Hello everybody,
>      >
>      > I noticed that the Polyhedron demo crashes when using the
>     polyline io
>      > plugin to import a polyline from a .txt file. The problem I'm
>      > experiencing is similar to the one detailed here:
>      >
>      > https://github.com/CGAL/cgal/issues/1084
>     <https://github.com/CGAL/cgal/issues/1084>
>      > <https://github.com/CGAL/cgal/issues/1084
>     <https://github.com/CGAL/cgal/issues/1084>>
>      >
>      > That thread is from some time ago (2016) so I suppose it should have
>      > been solved in the recent versions of CGAL (I'm using CGAL
>     5.1.1), but
>      > it still does not work for me (I'm a Mac OS user). If anyone
>     knows how
>      > to solve the problem I would be very grateful. Thank you!
>      >
>      > Best regards,
>      >
>      > David
>      >
>      >
>      > --
>      > You are currently subscribed to cgal-discuss.
>      > To unsubscribe or access the archives, go to
>      > https://sympa.inria.fr/sympa/info/cgal-discuss
>     <https://sympa.inria.fr/sympa/info/cgal-discuss>
>      >
>
>     --
>     You are currently subscribed to cgal-discuss.
>     To unsubscribe or access the archives, go to
>     https://sympa.inria.fr/sympa/info/cgal-discuss
>     <https://sympa.inria.fr/sympa/info/cgal-discuss>
>
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>

--
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.19+.

Top of Page