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 / 6477
6476  |  6478
Subject: 
Re: Removing confusing metacommands (Was: NEW: MLCAD V2.10)
Newsgroups: 
lugnet.cad, lugnet.cad.mlcad
Date: 
Wed, 19 Sep 2001 20:38:49 GMT
Viewed: 
1968 times
  
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 has 3 Replies:
  Re: Removing confusing metacommands (Was: NEW: MLCAD V2.10)
 
Thanks, Paul, But where can I find LDLite 2.2? At (URL) ver 2.0B seems to be hosted. and at (URL) ver 1.6B. (I have LDAO installed in an old 486 with English Windows due to the Scnadinavian comma separator issue...) /Tore (...) (23 years ago, 20-Sep-01, to lugnet.cad, lugnet.cad.mlcad)
  Re: Removing confusing metacommands (Was: NEW: MLCAD V2.10)
 
(...) Apparently this also works in ldglite as long as you use the ldlite parser. I just tried it and mlcad seemed happy with the resulting file. So you can remove the metacommands on non-windows systems if you wish. Of course LDAO and mlcad only (...) (23 years ago, 20-Sep-01, to lugnet.cad, lugnet.cad.mlcad)
  Re: Removing confusing metacommands (Was: NEW: MLCAD V2.10)
 
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 (...) (23 years ago, 20-Sep-01, to lugnet.cad, lugnet.cad.mlcad)

Message is in Reply To:
  Removing confusing metacommands (Was: NEW: MLCAD V2.10)
 
Is there any tool to make the lines properly rotated and translated without the metacommands? /Tore (...) (23 years ago, 20-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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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