POV-Ray : Newsgroups : povray.beta-test : #persistent : Re: #persistent Server Time
15 Jun 2021 08:35:49 EDT (-0400)
  Re: #persistent  
From: ingo
Date: 29 Dec 2018 11:37:49
Message: <XnsA9C7B3599C83seed7@news.povray.org>
in news:web.5c27863e874d1a8e765e06870@news.povray.org Bald Eagle wrote:

> For short-term

Meh. With #write a lot can be done already, below's the resulting file 
of ~170 lines of macro. I'd opt for doing #persistent right. That doesnt 
take a way that it is an important feature that I've missed often and 
for me would be high on the list.

#declare Self=dictionary{
  ["LogLevel"]:0,
  ["Default"]:dictionary{
    ["Tolerance"]:0.010,
    ["MaxIter"]:100
  },
  ["ProcessType"]:dictionary{
    ["BaseEnd"]:0,
    ["BaseSubbase"]:1,
    ["SubbaseSubbase"]:2,
    ["SubbaseEnd"]:3,
    ["ClosedLoop"]:4
  },
  ["Index"]:array{"Base1"},
  ["Proc"]:array[1]{"Base1"},
  ["Base1"]:dictionary{
    ["Type"]:"BaseEnd",
    ["Joint"]:array[7]{<0,0,0> ,<0,0.25,0> ,<0,0.5,0> ,<0,0.75,0> ,
<0.111803,0.973607,0> ,<-0.277081,1.28788,0> ,<-0.0783398,1.74669,0> },
    ["_Lengths"]:array[6]{0.25,0.25,0.25,0.25,0.5,0.5},
    ["_Length"]:2.000000,
    ["_O"]:<0,0,0> ,
    ["_N"]:7,
    ["_M"]:6,
    ["Effector"]:6,
    ["Target"]:<-0.0786086,1.74607,0> ,
    ["Constraints"]:dictionary{
      ["3"]:dictionary{
        ["Objn"]:"C",
        ["Objs"]:C,
        ["Axis"]:<0,1,0> ,
        ["TTs"]:<0,1,0> ,
      },
    },
  },
}


Post a reply to this message

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