LDInstruction


LDInstruction examples
#43
Examples for "color sorting" and "explicit pli".

default color order is ascending color id:

   

same sort rank for black and rubber black via "0+256,..." (rubber black and black are treated to be equal for sorting)
Code:
0 !LDINSP INSTR [doc/colorOrder=0+256,1,4,7,14]
   

different sort rank for all colors via "0,256,..." (only tire position differs: now rubber black is after black)
Code:
0 !LDINSP INSTR [doc/colorOrder=0,256,1,4,7,14]
   

default pli for minifig in step 6:

.png   Screenshot_4_defaultPLI.png (Size: 6.47 KB / Downloads: 98)

explicit pli (as all parts in step 6 are in different colors, this re-sorting could be done also by changing the color order, but color order is global; additionally with INSTRDIR "pli" the complete appearance of the pli can be changed including part name, zoom, rotation or part count, skipping parts or adding different ones)

Code:
0 !LDINSP INSTRDIR [type=pli] [part=3815c01.dat] [color=0] [count=1]
0 !LDINSP INSTRDIR [type=pli] [part=603-1 - body.ldr] [color=4] [count=1]
0 !LDINSP INSTRDIR [type=pli] [part=3626ap01.dat] [color=14] [count=1] [rotX=15.0] [rotY=0.0]
0 !LDINSP INSTRDIR [type=pli] [part=3842a.dat] [color=1] [count=1]

.png   Screenshot_5_explicitPLI.png (Size: 6.44 KB / Downloads: 101)

explicit pli with [newLine] option
Code:
0 !LDINSP INSTRDIR [type=pli] [part=3815c01.dat] [color=0] [count=1]
0 !LDINSP INSTRDIR [type=pli] [part=603-1 - body.ldr] [color=4] [count=1]
0 !LDINSP INSTRDIR [type=pli] [part=3626ap01.dat] [color=14] [count=1] [newLine] [rotX=15.0] [rotY=0.0]
0 !LDINSP INSTRDIR [type=pli] [part=3842a.dat] [color=1] [count=1]

.png   Screenshot_6_explicitPLInewLine.png (Size: 6.53 KB / Downloads: 99)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
LDInstruction - by Stefan Frenz - 2021-12-12, 13:09
RE: LDInstruction - by Philippe Hurbain - 2021-12-12, 20:05
RE: LDInstruction - by Stefan Frenz - 2021-12-13, 3:03
RE: LDInstruction - by Stefan Frenz - 2021-12-13, 7:06
RE: LDInstruction - by Philippe Hurbain - 2021-12-13, 10:02
RE: LDInstruction - by Stefan Frenz - 2021-12-13, 11:54
RE: LDInstruction - by Philippe Hurbain - 2021-12-13, 12:56
RE: LDInstruction - by Stefan Frenz - 2021-12-13, 13:27
update: LDInstruction - by Stefan Frenz - 2021-12-13, 15:47
RE: update: LDInstruction - by Stefan Frenz - 2021-12-14, 13:59
RE: LDInstruction - by Stefan Frenz - 2021-12-14, 15:00
RE: LDInstruction - by Stefan Frenz - 2021-12-14, 16:43
RE: LDInstruction - by Stefan Frenz - 2021-12-15, 22:01
RE: LDInstruction - by Stefan Frenz - 2021-12-15, 22:07
RE: LDInstruction - by Roland Melkert - 2021-12-15, 23:18
RE: LDInstruction - by Stefan Frenz - 2021-12-16, 8:21
LDInstruction version 0.1 - by Stefan Frenz - 2021-12-16, 13:00
LDInstruction example - by Stefan Frenz - 2021-12-16, 16:10
LDInstruction howto - by Stefan Frenz - 2021-12-18, 8:09
LDInstruction version 0.2 - by Stefan Frenz - 2021-12-19, 18:37
RE: LDInstruction - by Philippe Hurbain - 2021-12-27, 17:10
RE: LDInstruction - by Stefan Frenz - 2021-12-27, 21:15
LDInstruction version 0.3 - by Stefan Frenz - 2021-12-30, 10:05
LDInstruction examples - by Stefan Frenz - 2022-01-07, 23:25
RE: LDInstruction - by Jaco van der Molen - 2022-01-15, 15:18
RE: LDInstruction - by Stefan Frenz - 2022-01-15, 15:46
update: LDInstruction - by Stefan Frenz - 2022-01-25, 14:23
update: LDInstruction - by Stefan Frenz - 2022-02-02, 16:46
RE: LDInstruction - by Stefan Frenz - 2022-02-02, 17:32
update: LDInstruction - by Stefan Frenz - 2022-03-05, 11:09
RE: LDInstruction - by Cam's Bricks - 2022-03-14, 18:18
RE: LDInstruction - by Stefan Frenz - 2022-03-14, 18:33
RE: LDInstruction - by Cam's Bricks - 2022-03-14, 18:52
RE: LDInstruction - by Stefan Frenz - 2022-03-14, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)