LDInstruction howto
2021-12-18, 8:09 (This post was last modified: 2021-12-18, 11:16 by Stefan Frenz. Edit Reason: clarified step )
2021-12-18, 8:09 (This post was last modified: 2021-12-18, 11:16 by Stefan Frenz. Edit Reason: clarified step )
here is a small how to get from a small model like 40190 to a single sided instruction like this:
Way 1: use the GUI.
1. Load the file and check/adjust global settings like dpi and page size according to your needs (default is DIN A4 landscape / 150 dpi).
2. In the main model step 1 enable "noResult" overwrite and set "noResult" value to "on".
3. In the car sub-model step 1 enable "step/modelX" overwrite and set its value to "-2" (right align). Also enable "step/maxCols." and "step/maxRows" and set their values to "0" (automatic column and row layout).
4+5. In the wheel sub-model and 93589p01 sub-part root (above step 1) activate overwrite "aspart" and set value to "on".
Way 2: insert meta lines in mpd.
1+2. In the first step of the main file, set dpi, page size and switch result to off by adding
3. In the first step of the car sub-model set zoom, right align and layout by adding
4+5. In the wheel sub-model and 93589p01 part sub-model set aspart option by adding
That's it, have fun.
Way 1: use the GUI.
1. Load the file and check/adjust global settings like dpi and page size according to your needs (default is DIN A4 landscape / 150 dpi).
2. In the main model step 1 enable "noResult" overwrite and set "noResult" value to "on".
3. In the car sub-model step 1 enable "step/modelX" overwrite and set its value to "-2" (right align). Also enable "step/maxCols." and "step/maxRows" and set their values to "0" (automatic column and row layout).
4+5. In the wheel sub-model and 93589p01 sub-part root (above step 1) activate overwrite "aspart" and set value to "on".
Way 2: insert meta lines in mpd.
1+2. In the first step of the main file, set dpi, page size and switch result to off by adding
Code:
0 !LDINSP INSTR [doc/dpi=300] [doc/width=29700] [doc/height=21000] [doc/margin=1000]
0 !LDINSP INSTR [doc/bgModel=CFEFFF] [doc/bgPli=BFDFFF] [doc/bgSub=FFF0CF]
0 !LDINSP INSTR [step/noResult=1]
3. In the first step of the car sub-model set zoom, right align and layout by adding
Code:
0 !LDINSP INSTR [zoom=1.3]
0 !LDINSP INSTR [step/modelX=-2] [step/modelY=-1]
0 !LDINSP INSTR [step/maxColumns=0] [step/maxRows=0]
4+5. In the wheel sub-model and 93589p01 part sub-model set aspart option by adding
Code:
0 !LDINSP INSTR [aspart]
That's it, have fun.
![Smile Smile](https://forums.ldraw.org/images/smilies/smile.png)