RE: LDInstruction
2021-12-14, 15:00 (This post was last modified: 2021-12-14, 15:00 by Stefan Frenz. Edit Reason: typo )
2021-12-14, 15:00 (This post was last modified: 2021-12-14, 15:00 by Stefan Frenz. Edit Reason: typo )
After some more tests, I took a chance to check for a technic model with integrated parts. Thank you Philippe for your Sorter MOC which I was allowed to use therefore. Now there are at least three bugs less.
Attached is the changed mpd, only empty steps are removed and only basic LDINSTR meta commands are added:
Most commands are described above except for
Unfortunately I was not able to attach the generated odg file to this post, so the generated pdf is added for convenience. If you like to generate the odg, please just call the current unstable version with
Attached is the changed mpd, only empty steps are removed and only basic LDINSTR meta commands are added:
Code:
0 !LDINSP INSTR [doc/dpi=150] [doc/width=29700] [doc/height=21000] [doc/margin=1000]
0 !LDINSP INSTR [doc/bgModel=CFEFFF] [doc/bgPli=BFDFFF] [doc/bgSub=FFF0CF]
0 !LDINSP INSTR [zoom=1]
0 !LDINSP INSTR [shiftX=2042] [shiftY=2767]
0 !LDINSP INSTR [step/maxColumns=0] [step/maxRows=0]
0 !LDINSP INSTR [pli/maxWidth=7000] [pli/maxHeight=7000]
...
0 !LDINSP INSTR [step/noPli=1]
...
0 !LDINSP INSTR [step/noPli=0]
...
0 !LDINSP INSTR [aspart]
- shiftX and shiftY: move the object after rendering before cropping
- pli/maxWidth and pli/maxHeight: set maximum size per part in part list inventory (there is one really big part)
Unfortunately I was not able to attach the generated odg file to this post, so the generated pdf is added for convenience. If you like to generate the odg, please just call the current unstable version with
Code:
java -cp ldinstr.jar ldinsp.instr.BuildInstructions Sorter.mpd SorterInstructions.odg