For Developers

For Developers

Headless Mode

Packer-IO can be run without its graphical user interface. In this mode it receives all data it needs to perform its pack operations and returns the results through the standard stdin and stdout streams. This can be used to interact with Packer-IO from other programs directly without having to export 3d scenes first.

The headless mode in Packer-IO works in the same way and uses the same interface as Unwrella-IO. Check here for details about how to use it.

Differences from Unwrella-IO

Most object specific options regarding the unwrap process are ignored by Packer-IO. They still need to be provided when sending data to Packer-IO to keep the interface consistent and allow users to seamlessly switch between calling Unwrella-IO and Packer-IO with the same request.

The unwrapMode option only supports the modes ‘pack’ and ‘keep existing’. They can be provided with the id numbers 0 and 1 or alternatively use the same numbers as Unwrella-IO (3 and 4).

uint32 unwrapMode # 0: pack, 1: keep existing, (also accepts 3: pack, 4: keep existing)
double stretch # ignored by Packer-IO
double hardAngle # ignored by Packer-IO
bool keepSeams # ignored by Packer-IO
bool cutConcave # ignored by Packer-IO
double angleConcave # ignored by Packer-IO
bool cutConvex # ignored by Packer-IO
double angleConvex # ignored by Packer-IO
bool cutHoles # ignored by Packer-IO