Share

True Shape

[Desktop automation]

An object of this class is returned by calling this method on the LUATray:

packer = tray:createpacker(tray.packingid_trueshape) --literal value 6

Properties

See Packing parameters reference > 2D, 3D True shape for more information.

Property Access Type Default Range Description
packing_2d read/write Boolean false false, true
distance_ceiling read/write Number 0 (mm) 0-MaxSingle
voxel_size read/write Number 2.0 (mm) 0.5-MaxSingle
platform_is_cube read/write Boolean true false, true
packing_use_shadow_2d read/write Boolean false false, true
rotation_use_list read/write Boolean false false, true
rotation_list read/write String (empty) (available memory)
rotation_x read/write Number 0 (degrees) 0-360
rotation_y read/write Number 0 (degrees) 0-360
rotation_z read/write Number 0 (degrees) 0-360
rotation_use_compound read/write Boolean false
avoid_interlocking read/write Boolean false
part_placement read/write Integer 0 0-1
sweetspot_x read/write Number 0 (mm) 0-MaxSingle
sweetspot_y read/write Number 0 (mm) 0-MaxSingle
Note: True Shape packing has no equivalent for Selected parts only. Use the traymesh property lockedposition for that instead.

Back to top

Methods

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

Back to top

Was this information helpful?