|
|
Am 28.01.2014 15:45, schrieb gregjohn:
>
> I was reading a CSV file successfully until povray ran into the next to last
> line below. (There were dozens of lines before it which were read successfully
> as well, dozens after of similar format to the last line. )
>
>
>
>
> -0.126,-2.53681E-06,49668.6783795397
> -0.108,-2.14271E-06,50403.4610376579
> -0.09,-1.77115E-06,50814.442593795
> -0.072,-1.42709E-06,50452.3190548599
> -0.054,-1.05761E-06,51058.5187356398
> -0.036,-6.98572E-07,51533.7001769324
> -0.018,-3.47316E-07,51826.0028331548
> 0,-1.8643E-09,0
> 0.018,3.49041E-07,51569.8728802634
Using #read, POV-Ray interprets this as:
...
-1.42709E-06, 50452.3190548599 - 0.054,
-1.05761E-06, 51058.5187356398 - 0.036,
-6.98572E-07, 51533.7001769324 - 0.018,
-3.47316E-07, 51826.0028331548 0,
-1.8643E-09, 0 0.018,
3.49041E-07, 51569.8728802634
And yes, it /does/ compute the differences.
To my knowledge you could even use variable names in there, or functions.
Post a reply to this message
|
|