POV-Ray : Newsgroups : povray.binaries.images : Le Forgeron: experiments : Re: Le Forgeron: experiments Server Time
6 Oct 2024 07:16:27 EDT (-0400)
  Re: Le Forgeron: experiments  
From: Le Forgeron
Date: 8 Mar 2017 17:25:20
Message: <58c084d0$1@news.povray.org>
Le 08/03/2017 à 21:26, LanuHum a écrit :
> No,no,no. Only idea. STL as base.
> We can write an string array at the end of the file:

IMHO, no.
STL is not extensible.
It was designed in the 80's, without provision (at least in binary) for
extensions.
The added trailer is probably going to be lost when edited by any
program supporting STL... if it can load it at all.

If you want to design a new file format, go for it, but you cannot call
it STL.

If only povray can read your file, what about using the normal scene
language of mesh or mesh2 ?

The loaded STL can be exported with some macro to explore the relevant
mesh, see "Access to data of mesh", top of the page :

https://bitbucket.org/LeForgeron/povray/wiki/Object

(the export is left as an exercise for the reader)


Post a reply to this message

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