-
Notifications
You must be signed in to change notification settings - Fork 1
File Formats
This file specifies the inventory timbers, and the demand timbers to be cut from the inventory.
The file is a space delimited text file with 6 columns. The lines can be in any order.
Column | Description |
---|---|
1 | i for inventory d for order demand |
2 | Length of timber |
3 | Width of timber |
4 | Height of timber |
5 | Count of timbers with this dimension |
6 | ID of timber string with no spaces |
The dimensions can be at any scale and in any units, so long as every line uses the same scale and units.
Although columns 2,3,4 are labelled L,W,H the dimensions may be entered in any order.
It is OK to have several lines with the same contents.
Example:
i 6000 1250 5500 1 4614
i 6000 1250 5500 1 4615
d 12000 1500 7500 3 299493
i 10000 1500 9500 1 7352
i 10000 1500 9500 1 7353
d 12000 1500 9500 2 337737
This file specifies how the order timbers are to be cut from the inventory timbers.
The file is a space delimited text file. There are three line formats
column | description |
---|---|
1 | a for allocation |
2 | inventory id |
3 | order id |
column | description |
---|---|
1 | c for cut |
2 | inventory id |
3 | L,W or H dimension orthogonal to cut L is greatest dimension, H is least dimension |
4 | location along orthogonal dimension |
5 | location along H dimension |
There was no suitable stock available for these orders
column | description |
---|---|
1 | u for unpacked |
2 | order id |
Column | Description |
---|---|
1 | i for inventory |
2 | Length of timber |
3 | Width of timber |
4 | Height of timber |
5 | Count is always 1 |
6 | ID of timber string with no spaces |
Currently the depleted inventory contains unused stock and the remaining part of used stock i.e levels that have not been cut
Column | Description |
---|---|
1 | w for wastage |
2 | volume of stock timber wasted |
Currently, levels are cut from stock and the remaining stock height is adjusted then returned to the inventory. The remainder of cut levels are discarded and added to the wasted volume.
a i1 o1
a i1 o1:2
a i1 o1:3
a i1 o1:4
c i1 H 200 200
c i1 W 300 0
c i1 L 500 0
c i1 L 1000 0
i 1050 600 20 1 i1
w 6000000
Note o1:2 means the second copy of the timber specified with ID of o1 and a demand count of 2 or more.