POV-Ray : Newsgroups : povray.binaries.images : 3-D printing any type of POV-ray object : Re: 3-D printing any type of POV-ray object Server Time
8 May 2024 20:44:00 EDT (-0400)
  Re: 3-D printing any type of POV-ray object  
From: Bald Eagle
Date: 15 Nov 2023 23:30:00
Message: <web.65559a1331a5d0e01f9dae3025979125@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

> A great idea! (Although, I don't know the intricacies or re-coding strategy for
> the .stl --> mesh conversion; I think you mentioned elsewhere that you came up
> with such a process in the past?)

https://paulbourke.net/dataformats/stl/

solid
   :
   :
   facet normal 0.0 0.0 1.0
   outer loop
      vertex  1.0  1.0  0.0
      vertex -1.0  1.0  0.0
      vertex  0.0 -1.0  0.0
   endloop
   endfacet
   :
   :
endsolid


https://wiki.povray.org/content/Reference:Mesh

MESH:
  mesh {
  triangle {
    <Corner_1>,
<Corner_2>,
<Corner_3>
    }

So it's just a matter of read, discard, find/replace/rename.


Post a reply to this message

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