Paper Bag Shape

This is a simple paper bag shape with optional handles. You can adjust dimensions manually, or click the “Fit to images” button to make Boxshot do this for you. The settings are:

  • Bag Type - lets you choose between different type of bags (paper handles, rope handles, cut handles, no handles, etc)
  • Width - defines the width of the bag
  • Height - defines the height of the bag
  • Thickness - defines the thickness.
  • Spread - controls how much opened is the bag

Scripting

Here is a sample script that creates a paper bag object:

var m = scene.root.addMesh("paper bag", "generator.Bags.Paper");
var g = m.generator;
g.width = 10;
g.height = 20;
g.thickness = 5;
g.spread = 0.3;
g.bagType = "handles-up"; // use paper-handles, handles-up, handles-down, square-holes, round-holes, no-holes
g.fitToImages();