Subject:
|
Re: How to add own parts to LGEO?
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Sun, 3 Feb 2002 16:25:00 GMT
|
Viewed:
|
1039 times
|
| |
| |
In lugnet.cad.ray, Steve Bliss writes:
> In lugnet.cad.ray, Vincent van der Tuin writes:
> > Hi people,
>
> Hi, Vincent!
>
> > can anyone tell me how to add my own POV-Ray brick files to LGEO, so my .dat
> > files will be automatically converted to my .inc files when using L3P? I was
> > unable to work out the file format of L2P_ELMT.TAB. (I read a suggestion
> > earlier that it should be changed to a textual format. I think that's a good
> > idea.)
>
> Sorry, I can't help you there. I'm not very knowledgeable on the workings
> of LGEO...
>
> BUT, you don't need to hack into LGEO to get the effect you want.
>
> If you've create your parts as both LDraw .dat files and POV-Ray files, L3P
> can handle it. Use the 0 L3P IFPOV metastatement to embed your POV-Ray code
> in your DAT file, something like this:
>
> 0 L3P IFNOTPOV
> (regular ldraw code goes here)
> 0 L3P ELSEPOV
> 0 (POV-Ray code goes here, commented-out)
> 0 L3P ENDPOV
>
> This way, both LDraw programs and L3P can use your part file.
>
> Steve
Thanks, Steve! I'll try that; the POV-Ray code had been finished by now
(pictures are on our site for anyone interested). The bytes of L2P_ELMT were
driving me mad...
Regards & thanks a lot,
Vincent
Project group site:
http://bastards.student.utwente.nl/~ontpro7/
|
|
Message is in Reply To:
| | Re: How to add own parts to LGEO?
|
| (...) Hi, Vincent! (...) Sorry, I can't help you there. I'm not very knowledgeable on the workings of LGEO... BUT, you don't need to hack into LGEO to get the effect you want. If you've create your parts as both LDraw .dat files and POV-Ray files, (...) (23 years ago, 1-Feb-02, to lugnet.cad.ray)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|