To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.mlcadOpen lugnet.cad.mlcad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / MLCad / 147
146  |  148
Subject: 
Re: Line of error
Newsgroups: 
lugnet.cad.mlcad
Date: 
Fri, 11 Feb 2000 17:28:01 GMT
Viewed: 
1993 times
  
In lugnet.cad.mlcad, Bram Lambrecht wrote:

"Mike Poindexter" <lego@poindexter.cc> writes:
Is there any way to program it to attempt to fix line wrapping errors?

IIRC, LDraw treats carriage returns just like any other whitespace, so
line wrapping in LDraw has no effect.  However, this would probably lead
to problems with lines which truly contain errors (eg, not enough
orientation numbers)...

If a line doesn't have enough orientation numbers, LDraw will usually choke when
it tries to treat the filename as a number.

One important thing about LDraw and linebreaks: once it's read enough data to
complete a command, LDraw ignores everything else up to the end of the line.  So
LDraw doesn't notice when there are too many parameters on a command.  And, if
LDraw does try to combine two separate commands as one (because the first
command is missing one or more numbers), things will only be whacked up for the
two commands, not the rest of the file.

Steve



Message is in Reply To:
  Re: Line of error
 
(...) IIRC, LDraw treats carriage returns just like any other whitespace, so line wrapping in LDraw has no effect. However, this would probably lead to problems with lines which truly contain errors (eg, not enough orientation numbers)... --Bram (...) (25 years ago, 11-Feb-00, to lugnet.cad.mlcad)

8 Messages in This Thread:




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

Custom Search

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