To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 6636
6635  |  6637
Subject: 
Re: L3P user primitive substitution
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 18 Dec 2001 14:01:55 GMT
Viewed: 
523 times
  
In lugnet.cad.dev, Steve Bliss writes:
In lugnet.cad.dev, Don Heyse writes:

Just a thought.  If the POVRAY (or whatever) sections get too big,
would it make sense to add 0 INCLUDE meta-command so the LDRAW only
programs don't waste time parsing?  Then the POV specific versions
could be distributed separately from the main parts.  For example:

0 IFDEF POVRAY
0 INCLUDE pov/coolpart.pov
0 ELSE
0 boring LDRAW version of part
...
0 ENDIF

In general, that's an interesting thought.

But in this case, I don't think it's necessary - POV already has an include
statement (IIRC).

Well yes, but I wasn't just thinking about POV.  I thought that was
your point in changing the syntax.  The 0 INCLUDE meta-command could
be used to install custom colors much like the ldliterc.dat file.
I'm sure there are plenty of other non-POV uses, like say postscript?

Of course, allowing the use of such a statement raises another issue:
is it alright to distribute non-LDraw files with the LDraw parts library?

I don't see why not, but the point is that you wouldn't have to.
by pulling the non-LDRAW content out into separate files you can
do minimal, typical, and complete versions of the parts library
installation.

Don



Message has 1 Reply:
  Re: L3P user primitive substitution
 
(...) [snip] (...) [snap] (...) Nod, right. INCLUDE has been mentioned before, in other contexts, and I'm generally in favor of it. But I'd rather discuss that in a separate thread - IF[N]DEF/ELSE/ENDIF wouldn't depend on INCLUDE. (although, for (...) (23 years ago, 19-Dec-01, to lugnet.cad.dev)

Message is in Reply To:
  Re: L3P user primitive substitution
 
(...) In general, that's an interesting thought. But in this case, I don't think it's necessary - POV already has an include statement (IIRC). Of course, allowing the use of such a statement raises another issue: is it alright to distribute (...) (23 years ago, 18-Dec-01, to lugnet.cad.dev)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR