Subject:
|
Re: LGEO Problem in POV-Ray
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Thu, 8 Jan 2004 01:11:55 GMT
|
Viewed:
|
2054 times
|
| |
| |
In lugnet.cad.ray, Tim Anderson wrote:
> Hi, I've just been getting familiar will LCad & POV-Ray the past few days and
> things have been moving along fine but recently I've run into a problem with a
> certain model/piece. In using the LGEO library's I get a lot of undeclared
> identifier's when working with piece "lg_4319" which I believe is supposed to be
> the "Hinge Bar 8 with Split Rod Holder" by LEGO naming standards. Is this a
> known problem with this piece? As this is the only piece I've used so far that
> gives me problems in POV-Ray when including LGEO files. Everything works fine if
> I don't include LGEO so I'd assume it's got to be something specifically related
> to that file. I've even tried a simple experiment, starting a new model project
> and just adding that piece, converting it with l3pao into POV-Ray and rendering
> but the same thing happens. Could anyone possibly shed some light on this for
> me?
The error occurs with this code from the your file:
#if (QUAL > 0)
#declare _4319_dot_dat_slope = object {
// Hinge Bar 8 with Split Rod Holder
lg_4319_slope
matrix <0,0,-20/LG_BRICK_WIDTH, -20/LG_BRICK_WIDTH,0,0,
0,-24/LG_BRICK_HEIGHT,0, 0,0,0>
}
#end
You can find that code beginning on line 11486 of the POV file. If you look in
the LGEO library and open file lg_4319.inc (open in WordPad) you will notice
that there is NO definition of [lg_4319_slope] ONLY [lg_4319] and
[lg_4319_clear]. So when you attempt to run the file POV CAN NOT find the
definition of [lg_4319_slope]. If you just rename [lg_4319_slope] to [lg_4319]
your file will be okay.
I am not too familiar with ALL the code in LGEO or how it works. The original
author has not updated his code in a long long time (2 years) and I don't know
all of his logic but this happens every now and then when you use the LGEO
library.
Hope this helped,
[-AHui]
[LDraw Help Desk]
<http://www.ldraw.org
<http://www.ozbricks.com/jediagh/images/masters/g_helpdesk.gif>>
|
|
Message is in Reply To:
| | LGEO Problem in POV-Ray
|
| Hi, I've just been getting familiar will LCad & POV-Ray the past few days and things have been moving along fine but recently I've run into a problem with a certain model/piece. In using the LGEO library's I get a lot of undeclared identifier's when (...) (21 years ago, 7-Jan-04, to lugnet.cad.ray)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|