LDInstruction current version with BOM
2021-12-28, 12:37 (This post was last modified: 2021-12-28, 14:14 by Stefan Frenz. Edit Reason: fixed cmd, fixed attached mpd )
2021-12-28, 12:37 (This post was last modified: 2021-12-28, 14:14 by Stefan Frenz. Edit Reason: fixed cmd, fixed attached mpd )
the BOM, text and break commands are now available in the current version, the attached 603 example generates these two pages:
There is a new LDINSP-meta: INSTRCMD. This takes exactly one cmd option (at the moment: break, text or bom) and options dependent on the command. Examples:
At the moment, the INSTRCMD is handled well by the GUI, but there is no GUI to insert/edit/remove INSTRCMD metas (on the ToDo list).
There is a new LDINSP-meta: INSTRCMD. This takes exactly one cmd option (at the moment: break, text or bom) and options dependent on the command. Examples:
Code:
...
0 !LDINSP INSTRCMD [cmd=break] [column]
0 !LDINSP INSTRCMD [cmd=bom]
0 !LDINSP INSTRCMD [cmd=break] [page]
0 !LDINSP INSTRCMD [cmd=text] [text=SideCar]
0 !LDINSP INSTRCMD [cmd=bom] [part=603-1 - sidecar.ldr] [zoom=1.3] [description] [textwidth=10500] [sort=color,description,width,height,name]
0 !LDINSP INSTRCMD [cmd=break] [column]
0 !LDINSP INSTRCMD [cmd=text] [text=MiniFig]
0 !LDINSP INSTRCMD [cmd=bom] [part=603-1 - minifig.ldr] [zoom=1.3] [description] [textwidth=10500] [sort=color,description,width,height,name]
...
- cmd=break: insert a break, possible flags are: [column], [row], [page] (default).
- cmd=text: insert a text heading (do not use brackets [] in the text parameter, this would break the meta parameter syntax).
- cmd=bom: insert a bom. Default is small list style with image above amount (right side of first example page). You may specify sort order, used is only first character of each word, so "color" is the same as "colour" is the same as "c" is the same as "clown". You may limit the BOM to a submodel with option part. You may specify flag [description] to change style to have a description right of the image (second example page). In this style you may specify the textwidth, otherwise this will default to 9000.
At the moment, the INSTRCMD is handled well by the GUI, but there is no GUI to insert/edit/remove INSTRCMD metas (on the ToDo list).