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)
different sort rank for all colors via "0,256,..." (only tire position differs: now rubber black is after black)
default pli for minifig in step 6:
Screenshot_4_defaultPLI.png (Size: 6.47 KB / Downloads: 101)
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)
Screenshot_5_explicitPLI.png (Size: 6.44 KB / Downloads: 104)
explicit pli with [newLine] option
Screenshot_6_explicitPLInewLine.png (Size: 6.53 KB / Downloads: 102)
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:
Screenshot_4_defaultPLI.png (Size: 6.47 KB / Downloads: 101)
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]
Screenshot_5_explicitPLI.png (Size: 6.44 KB / Downloads: 104)
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]
Screenshot_6_explicitPLInewLine.png (Size: 6.53 KB / Downloads: 102)