POV-Ray : Newsgroups : povray.general : Impossible stl file conversion! : Re: Impossible stl file conversion! Server Time
15 Sep 2025 15:02:09 EDT (-0400)
  Re: Impossible stl file conversion!  
From: jr
Date: 15 Sep 2025 10:35:00
Message: <web.68c82368a068c28c6ddd22546cde94f1@news.povray.org>
hi,

kurtz le pirate <kur### [at] freefr> wrote:
> On 10/09/2025 17:11, kurtz le pirate wrote:
> > The wiki page shows that the structure is very simple, and I think Perl*
> > is a very good candidate for this.
>
> Finally, I spent an hour and here is my first result ;)
> ...

thanks, it helped me to find a bug; two, if I count your code </grin>.

according to the Wikipedia page, "An ASCII STL file begins with the line:
solid name
where name is an optional string (though if name is omitted there must still be
a space after solid, for compatibility with some software).

<en.wikipedia.org/wiki/STL_(file_format)>

my code got tripped up by the missing space in the data.


regards, jr.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.