POV-Ray : Newsgroups : povray.windows : rendering problems eagle 3d and pov ray : Re: rendering problems eagle 3d and pov ray Server Time
13 May 2024 19:10:31 EDT (-0400)
  Re: rendering problems eagle 3d and pov ray  
From: SIRS Tech
Date: 2 Jul 2009 21:00:01
Message: <web.4a4d57304868867f614c3f500@news.povray.org>
"StephenS" <nomail@nomail> wrote:
> "SIRS Tech" <Gre### [at] yahoocom> wrote:
> ....
> > line 30   #local Txt = text{ttf "handelgo.ttf",value,40,0
> > scale<diam/3,diam/3,diam/3> translate<-diam/1.5,diam,-20>}
> >
> > line 34 object{ intersection{ object{txt} object{cap} } translate <0,0,-0.05>
> > pigment{tcolour} }
> >
> > so basically I need to copy the handlego.ttf and place it in the txt location?
>
> No, you need to change "object{txt}" in line 34 to "object{Txt}" to match up
> with the name you used in line 30.
>
> Stephen S

ok you stephen have completely lost me...

line 30 doesn't mention an object...this is the entire snipet of code.

#macro CAP_DIS_CERAMIC_DISK_GRND(diam1,value,leadspc,bcolour,tcolour)
#local diam = diam1/2;
 #local cap = object {superellipsoid{<1, 1>scale<diam,diam*0.25,diam>rotate
<-90,-7.5,0>translate<0,diam*1.1,0>} }
 (this is line 30) #local Txt = text{ttf "handelgo.ttf",value,40,0
scale<diam/3,diam/3,diam/3> translate<-diam/1.5,diam,-20>}
 #local leg = object{ cylinder {  <0,diam*0.2,0>,<0,-10.0>,0.25
texture{col_silver}}}
 #local ls2 = leadspc/2 ;
 union{
  (this is line 34) object{ intersection{ object{txt} object{cap} } translate
<0,0,-0.05> pigment{tcolour} }
  object {cap pigment{bcolour}}
  difference{
   torus { leadspc/2, 0.25 rotate -90*x  pigment{bcolour} }
   box { <-leadspc,0,0.5>, <leadspc,-leadspc,-0.5> }
   translate <0,diam*0.2,0>
  }
  object{ leg translate<-ls2,0,0> }
  object{ leg translate< ls2,0,0> }
  translate <0,0,0>
  pigment{bcolour}
 }
#end

could it be something in one of these other lines?


Post a reply to this message

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