[OpenSCAD] General approach

Alan Cox alan at llwyncelyn.cymru
Mon Jul 8 16:15:34 EDT 2019


On Mon, 08 Jul 2019 17:49:46 +0200
arnholm at arnholm.org wrote:

> On 2019-07-08 15:47, Alan Cox wrote:
> >> using STL than the difference between double precision and 'rational
> >> numbers'. Single precision is equivalent to just 6-7 significant 
> >> digits.  
> > 
> > But if you are speed obsessed you can just fixed point, which is more
> > stable, means all your operations occur on fixed sized cubes that don't
> > change with position, and is somewhat easier to vectorise, especially 
> > on
> > low end processors.
> > 
> > Alternatively you use the GPU to do the work.
> > 
> > Alan  
> 
> STL format has nothing to do with speed. You can use whatever method you 
> think will work (whether it does or not), but if you export to STL you 
> must adhere to the definition of that file format. In binary form that 
> means single precision with just 6-7 significant digits. This is 
> unrelated to computations employed, with or without obsessions.

Sure but that is the easy bit. Good STL exporters use a point dictionary.
It's not rocket science. Binary STL is not a good system in the first
place as you say.

Alan



More information about the Discuss mailing list