Subject:
|
Re: Problems exporting from LeoCAD to LDraw .dat format
|
Newsgroups:
|
lugnet.cad.leocad
|
Date:
|
Fri, 6 Jun 2003 08:35:06 GMT
|
Viewed:
|
4708 times
|
| |
| |
In lugnet.cad, Allan Bedford wrote:
> I'm hoping someone can help.
>
> I've recently started working in LeoCAD. After trying MLCAD, I just find I like
> LeoCAD better. Just my preference, nothing wrong with MLCAD. :)
You are not alone, I prefer LeoCad too...
>
> However, in trying to export models/instructions to the LDraw .dat format (which
> LeoCAD appears to support) something odd seems to be happening. It's been
> brought to my attention that the .dat files that LeoCAD is producing have
> extraneous numbers within them.
>
> For example... LeoCAD is exporting lines like this:
>
> 1 7 20.00 0.00 270.00 1.00 0.00 0.00 0.00 1.00 0.00 0.00 0.00 1.00 3031.DAT
>
> But I'm told that the line should really look more like this:
>
> 1 7 20 0 270 1 0 0 0 1 0 0 0 1 3031.DAT
>
> In other words, without all the .00 values after the numbers. This seems to
> sometimes cause problems when trying to run the LeoCAD version of the file
> through LPub.
They should not cause problems. These numbers are indeed floating point values
(space coordinates and transformation matrix) and while the .00 is not useful in
your case it shouldn't be harmful either... (I use LeoCad for Technic modelling
where various part orientation implies non-integer values - see for example
http://philohome.com/steercar/instructions/steering.htm, generated from a mix of
LeoCAD images and Lpub ones).
Actually the only problem with LeoCad Ldraw export is that it is limited to 2
decimal digits. I had some precision problems (slightly moved parts) because of
that.
Maybe your problem can be caused by decimal separator problem. If it is
different from the "." used by LeoCad, then Lpub might not understand floating
point values.
Philo
www.philohome.com
|
|
Message has 1 Reply:
Message is in Reply To:
6 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
|
|
|
|