Subject:
|
Re: DAT file cleanup tools? or: Zero by any other name
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Tue, 14 Sep 1999 19:23:58 GMT
|
Viewed:
|
445 times
|
| |
| |
In lugnet.cad.dev, Kevin Loch writes:
> They do hurt things. When viewing dat's in ldlite via the web interface
> parts with exponents do not render. They do render when you load them
> from a local file however. I think MLcad is generating them.
>
> KL
I haven't had any problem with MLcad in this respect. Possibly LeoCAD?
Duane
>
> In lugnet.cad.dev, Todd Lehman writes:
> >
> > Do any of the command-line DAT tools do cleanups on floating-point numbers?
> > I've noticed lot of lines lately with very-near-zero floating-point numbers,
> > like these lines, for example...
> >
> > > 1 15 40 8 -20 -3.33067e-015 1 -3.33067e-015 0 -3.33067e-015 -1 -1 -3.33067e-015 1.10441e-029 32014.DAT
> > > 1 15 -40 8 -20 -3.33067e-015 6.66134e-015 -1 0 -1 -6.66134e-015 -1 -2.22853e-029 3.33067e-015 32014.DAT
> > > 1 15 -40 8 -100 -3.33067e-015 -1 0 -3.33067e-015 1.10441e-029 -1 1 -3.33067e-015 -3.33067e-015 32014.DAT
> > > 1 15 40 8 -100 -3.33067e-015 1 -3.33067e-015 0 -3.33067e-015 -1 -1 -3.33067e-015 1.10441e-029 32014.DAT
> >
> > ...which certainly don't hurt anything, but they could just as well (and
> > more cleanly perhaps) be written like this...
> >
> > > 1 15 40 8 -20 0 1 0 0 0 -1 -1 0 0 32014.DAT
> > > 1 15 -40 8 -20 0 0 -1 0 -1 0 -1 0 0 32014.DAT
> > > 1 15 -40 8 -100 0 -1 0 0 0 -1 1 0 0 32014.DAT
> > > 1 15 40 8 -100 0 1 0 0 0 -1 -1 0 0 32014.DAT
> >
> > Alternatively, a beautifier could also line up columns:
> >
> > > 1 15 40 8 -20 0 1 0 0 0 -1 -1 0 0 32014.DAT
> > > 1 15 -40 8 -20 0 0 -1 0 -1 0 -1 0 0 32014.DAT
> > > 1 15 -40 8 -100 0 -1 0 0 0 -1 1 0 0 32014.DAT
> > > 1 15 40 8 -100 0 1 0 0 0 -1 -1 0 0 32014.DAT
> >
> > I seem to remember a beautifier being talked about once upon a time...
> >
> > Curious,
> > --Todd
> >
> > p.s. http://www.lugnet.com/cad/dev/?n=2819
|
|
Message has 1 Reply: | | Re: DAT file cleanup tools? or: Zero by any other name
|
| It is the previous version of ML-Cad that has this presentation of zero when a part has been rotated. In version 1.4, the problem has been fixed. I did point out the problem from version 1.3 in the message: (URL) suggest all upgrade to version 1.4, (...) (25 years ago, 14-Sep-99, to lugnet.cad.dev)
|
Message is in Reply To:
| | Re: DAT file cleanup tools? or: Zero by any other name
|
| They do hurt things. When viewing dat's in ldlite via the web interface parts with exponents do not render. They do render when you load them from a local file however. I think MLcad is generating them. KL (...) -3.33067e-015 1.10441e-029 32014.DAT (...) (25 years ago, 14-Sep-99, to lugnet.cad.dev)
|
5 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
|
|
|
|