Subject:
|
Re: DAT files: Do No Harm
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Thu, 22 Aug 2002 17:32:40 GMT
|
Viewed:
|
451 times
|
| |
| |
"Erik Olson" <erik@olson.pair.com> writes:
> 1. Do no harm: never change a line unless it really has been edited
I would go for this. If a line is indeed edited, then I would
preserve it's indentation, but remove trailing decimal zeros, and
possibly clean up other things, like changing "-0" to "0". If the
file has any exponential notation, e.g, "2e1", then I would change it
into decimal. I don't think I would change the case of the part name.
For example, I would preserve "SHIELD.dat", if that's what is
originally in the file.
Fredrik
|
|
Message is in Reply To:
| | DAT files: Do No Harm
|
| What consideration should an editor program make for unfamiliar content or eccentric style when it loads and saves an LDRAW file with changes? I am implementing the following general ideas in BrickDraw3D, based on various situations in test files. (...) (22 years ago, 21-Aug-02, to lugnet.cad.dev)
|
14 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|