Boxshot comes with three types of plastic buckets, all are more or less of the same properties. Each bucket has a lid and handle that can be hidden. Each bucket also has two labels: one on the side and another on the lid. That’s what you can configure for the bucket shape:
Next comes the Label section that controls the side label:
Then goes the Lid section that lets you change the parameters of bucket’s lid:
Finally there is a Handle section that controls the bucket’s handle:
Boxshot has some limitations for the bucket shape, like bottom diameter needs to be between 75% and 100% of the top one. If some parameters don’t satisfy Boxshot needs, it ignores them and use the closest one that are not wrong. So if you change the label size or bucket height, but the bucket stays the same, it probably means that the parameter is out of the acceptable range.
Here’s how to create a plastic bucket using Boxshot scripting:
var m = scene.root.addMesh("bucket", "generator.pos.Bucket"); var g = m.generator; g.bucketType = "bucket-1"; // use bucket-1, bucket-2 or bucket-3 g.height = 25; g.topSize = 20; g.bottomSize = 17; g.showLabel = true; g.labelHeight = 10; g.showLid = true; g.showLidLabel = true; g.lidLabelSize = 5; g.lidLabelAngle = 30; g.showHandle = true; g.handleAngle = 90; g.fitToImages();