POV-Ray : Newsgroups : povray.off-topic : STL binary floating data. : Re: STL binary floating data. Server Time
7 May 2024 22:24:25 EDT (-0400)
  Re: STL binary floating data.  
From: Bald Eagle
Date: 9 Mar 2020 13:30:01
Message: <web.5e667caf517dbb514eec112d0@news.povray.org>
"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.  :)


Post a reply to this message

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