To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 6486
6485  |  6487
Subject: 
Re: Removing confusing metacommands (Was: NEW: MLCAD V2.10)
Newsgroups: 
lugnet.cad, lugnet.cad.mlcad
Date: 
Thu, 20 Sep 2001 20:12:23 GMT
Viewed: 
2311 times
  
LDAO's editor has a LDL2DAT function (on the tools menu).

To translate, edit your dat file, highlight the lines you want to
translate (in this case, the entire file), and pick LDL2DAT from the
menu.

Steve

In lugnet.cad, Paul Gyugyi wrote:

LDLite ver 2.2 and above has a working -R option to regenerate the
file in standard LDRAW syntax.  "ldlite -Rfoo.dat m_faust.dat"
would do the conversion.  There are other programs. I think LDAO
has an inliner option to do this maybe?
-gyug

In lugnet.cad, Tore Eriksson writes:
Is there any tool to make the lines properly rotated and translated without the
metacommands?


/Tore


Tore Eriksson wrote:

I haven't used MLCad for a while, but since I downloaded it and it took over
the Open action  for .DAT extension files, so when I doubleclicked on my file
m__faust.dat (below), it was opened in MLCad.
I noticed that the hands were not correctly oriented. In L3Lab, they come
correctly, so there shouldn't be anything wrong with the file. (Except I don't
like all these confusing rotate, transform, and translate metacommands).

0 Minifig Faust
0 Author: Generated by LDAO Minifig Editor
0 Name: m__faust.dat
0 Was: Faust.dat
0 Unofficial Datsville Minifig Model
0 Parent: bbsbait.dat

0 - The MINIFIG meta-commands are used to reload settings into LDAO's
0 Minifig
0 - Modeler. Please do not modify.
0 MINIFIG HEAD 14 0.0 3626bp03.dat
0 MINIFIG TORSO 1 0.0 9326p11.dat
0 MINIFIG HIPS 1 0.0 970.dat
0 MINIFIG LEFTARM 14 0.0 976.dat
0 MINIFIG LEFTHAND 14 0.0 977.dat
0 MINIFIG LEFTLEG 1 0.0 972.dat
0 MINIFIG RIGHTARM 14 0.0 975.dat
0 MINIFIG RIGHTHAND 14 0.0 977.dat
0 MINIFIG RIGHTLEG 1 0.0 971.dat

0 Hips
0 ROTATE 0.0 -1 0 0
0 TRANSLATE 0 -12 0
1 1 0 0 0 1 0 0 0 1 0 0 0 1 970.dat

0 Torso
0 TRANSLATE 0 -32 0
1 1 0 0 0 1 0 0 0 1 0 0 0 1 9326p11.dat
0 TRANSLATE END

0 Head
0 TRANSLATE 0 -56 0
0 ROTATE 0.0 0 -1 0
1 14 0 0 0 1 0 0 0 1 0 0 0 1 3626bp03.dat
0 ROTATE END
0 TRANSLATE END

0 Left Arm
0 TRANSFORM 15.5 -24 0 0.988 0.156 0 -0.156 0.988 0 0 0 1
0 ROTATE 0.0 -1 0 0
0 TRANSFORM -15.309 -2.425 0 0.988 -0.156 0 0.156 0.988 0 0 0 1
1 14 0 0 0 1 0 0 0 1 0 0 0 1 976.dat

0 Left Hand
0 TRANSFORM 23 22.828 -12.672 0 0 1 -0.707 0.707 0 0.707 0.707 0
0 ROTATE 0.0 -1 0 0
0 TRANSLATE 0 -4 0
1 14 0 0 0 1 0 0 0 1 0 0 0 1 977.dat
0 TRANSLATE END
0 ROTATE END
0 TRANSFORM END
0 TRANSFORM END
0 ROTATE END
0 TRANSFORM END

0 Right Arm
0 TRANSFORM -15.5 -24 0 0.988 -0.156 0 0.156 0.988 0 0 0 1
0 ROTATE 0.0 -1 0 0
0 TRANSFORM 15.309 -2.425 0 0.988 0.156 0 -0.156 0.988 0 0 0 1
1 14 0 0 0 1 0 0 0 1 0 0 0 1 975.dat

0 Right Hand
0 TRANSFORM -23 22.828 -12.672 0 0 1 -0.707 0.707 0 0.707 0.707 0
0 ROTATE 0.0 -1 0 0
0 TRANSLATE 0 -4 0
1 14 0 0 0 1 0 0 0 1 0 0 0 1 977.dat
0 TRANSLATE END
0 ROTATE END
0 TRANSFORM END
0 TRANSFORM END
0 ROTATE END
0 TRANSFORM END
0 TRANSLATE END
0 ROTATE END

0 Left Leg
0 ROTATE 0.0 -1 0 0
1 1 0 0 0 1 0 0 0 1 0 0 0 1 972.dat
0 ROTATE END

0 Right Leg
0 ROTATE 0.0 -1 0 0
1 1 0 0 0 1 0 0 0 1 0 0 0 1 971.dat
0 ROTATE END

0



Message is in Reply To:
  Re: Removing confusing metacommands (Was: NEW: MLCAD V2.10)
 
LDLite ver 2.2 and above has a working -R option to regenerate the file in standard LDRAW syntax. "ldlite -Rfoo.dat m_faust.dat" would do the conversion. There are other programs. I think LDAO has an inliner option to do this maybe? -gyug (...) (23 years ago, 19-Sep-01, to lugnet.cad, lugnet.cad.mlcad)

13 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