POV-Ray : Newsgroups : povray.off-topic : STL binary floating data. : Re: STL binary floating data. Server Time
26 Apr 2024 08:27:44 EDT (-0400)
  Re: STL binary floating data.  
From: GioSeregni
Date: 9 Mar 2020 14:50:01
Message: <web.5e668f9f517dbb512c923fbd0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "GioSeregni" <gms### [at] hotmailcom> wrote:
> > HI all.
> > One of my interests is export shapes during my work with IntelliCAD (but Autocad
> > is the same), using the lisp language at runtime.
> > I write *.pov, *.inc and *.stl also.
> > Unfortunately from cad i can only write STL with the heavy ASCII format, because
> > I have a problem with the lisp.
> > Autocad uses double precision float numbers. STL binary want single precision
> > floats. But the AutoLISP (seems that) does not allow me this conversion.
> > Allow me to ask here, maybe some experienced 3D programmer knows a solution?
> > Thanks in advanced!
> > G.
>
> Maybe you can post a question to another forum to get an answer that will let
> you do exactly what you want?
> https://stackoverflow.com/questions/21353376/how-to-use-double-float
>
> If all else fails, in the meantime maybe try https://www.cadmesh.com/   ?
>
> It would be nice if POV-Ray gets a READ binary command in the future.  :)

Thanks!
Interesting discussion, but unfortunately AutoLISP is a reduced version of the
LISP language, and does not have all the commands covered.
Unfortunately, I haven't been able to find them.
Regards! :)
G.


Post a reply to this message

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