How do i create a die line of a box for packaging? The measurements are 14 inches in length, 4 inches width and 8 inches height. The box needs to have a window for the product to be seen.
You draw it up in a vector-editing or CAD program, matching up where the steel die rules will appear w/ a custom colour (typically named “Die”).
As noted in the comments, you need to know the rules for placing these to match the equipment which will be used to cut out the die. If you work with a box manufacturer and have a die made, they'll work with you to get the design to meet your needs, then provide you with the die file, along with the die.
Then you can go to a flexography shop to have printing plates made, then you'll need to find a box manufacturer to print and cut out and fold and glue up the box.
Creating die lines in what ever software first requires that you know the type of the box you want because we have various types of boxes with different locking styles and forms depending on the product you want to package.
From my own point of view you have to take all this stages into consideration even before bringing out the die lines to suit your packaging.
Alternatively, you could use one of the commercial products for this as well. I'd recommend checking the following service that I helped built.