Share

Bounding box

[Desktop Automation]

An instance of this object is returned by the function of the LUATray:

object packer = tray:createpacker(tray.packingid_outbox)

Back to top

Properties

This section describes packer-specific properties of the bounding box packer.

Property Read/write Type Description
pack2D read/write Boolean If true, only planar packing is used, i.e. the parts are not packed in z. The default value is false.
rastersize read/write Number Float number, ranges between 0.1 and 10 mm. Gives the voxelsize used internally for the algorithm. Equivalent to the Voxel size parameter in the Desktop GUI for the 2D packer. The default value is 1 mm.

Back to top

Methods

Name Syntax Description
pack Result = packer:pack() Pack the tray with the desired algorithm

Back to top

Note

For legacy reasons, the bounding box packer continues to be referred to with "outbox" as far as keywords are concerned.

Back to top

Was this information helpful?