Hi NG
I have a ugly problem with "String to long"
I cant see ho to makes any long strings...
I have EAGLE 3D to display designed prints. I have the standard installation
windows.
the pov file look like this:
#local lgt1_pos_x = 0;
#local lgt1_pos_y = 0;
#local lgt1_pos_z = 0;
#local lgt1_intense =
179769000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000;
#local lgt2_pos_x = 0;
#local lgt2_pos_y = 0;
#local lgt2_pos_z = 0;
#local lgt2_intense =
179769000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000;
#local lgt3_pos_x = 0;
#local lgt3_pos_y = 0;
#local lgt3_pos_z = 0;
#local lgt3_intense =
179769000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000;
#local lgt4_pos_x = 0;
#local lgt4_pos_y = 0;
#local lgt4_pos_z = 0;
#local lgt4_intense =
179769000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000;
how to come from this long string?
any ideeas ?
thank's for help
Andrew Despont
>Hi NG>I have a ugly problem with "String to long">I cant see ho to makes any long strings...
If you need those really huge numbers you can use scientific notation
#local lgt1_intense = 17976900000000001e293;
(I think it's e293. I might have lost count)
--
Mike Williams
Gentleman of Leisure
Hi all
I have found the error
When i use a EAGLE PCB tu make a prov, the dimension of the board was not
set.
any more errors into the pov file.
I think it is an error from eagle 3D to pov converter!
I will publish this on to the Eagle newsgroup.
Thankyou all for help.
"Mike Williams" <nos### [at] econymdemoncouk> schrieb im Newsbeitrag
news:p5p### [at] econymdemoncouk...
>>Hi NG>>I have a ugly problem with "String to long">>I cant see ho to makes any long strings...>> If you need those really huge numbers you can use scientific notation>> #local lgt1_intense = 17976900000000001e293;>> (I think it's e293. I might have lost count)>> -- > Mike Williams> Gentleman of Leisure
From: Alain
Subject: Re: String to long message
Date: 15 Mar 2006 20:08:52
Message: <4418baa4@news.povray.org>
Mike Williams nous apporta ses lumieres en ce 14/03/2006 11:07:
> >>Hi NG>>I have a ugly problem with "String to long">>I cant see ho to makes any long strings...> > > If you need those really huge numbers you can use scientific notation> > #local lgt1_intense = 17976900000000001e293;> > (I think it's e293. I might have lost count)>
i don't think that any PC can deal with values THAT large! The FPU just can't deal
with that.
--
Alain
-------------------------------------------------
WARNING: the crumsumpten of alcohol may Mack you tink you kan tpye reel gode
Wasn't it Alain who wrote:
>Mike Williams nous apporta ses lumieres en ce 14/03/2006 11:07:>> >>>Hi NG>>>I have a ugly problem with "String to long">>>I cant see ho to makes any long strings...>> >> >> If you need those really huge numbers you can use scientific notation>> >> #local lgt1_intense = 17976900000000001e293;>> >> (I think it's e293. I might have lost count)>> >i don't think that any PC can deal with values THAT large! The FPU just can't >deal with that.
The FPU might not deal with that, but POV-Ray will quite happily parse
scene files that use such numbers. I did check that the POV parser
accepts the line
#local lgt1_intense = 17976900000000001e293;
before I posted and the scene runs normally. I didn't ask POV to
actually do any arithmetic with the value, that would probably fail
depending on the details of that arithmetic.
E.g. str(lgt1_intense,-1,-1) returns "1.#INF00"
--
Mike Williams
Gentleman of Leisure