You are reading the documentation for v2.1.1, which is not the current version. It describes that release and is kept for reference. It is not updated.Go to v3.1.0 β
ViPaq Protocol
ViPaq packs one bin and its items into a single copy-pastable string. Binacle.Netβs packing responses get large with many items; ViPaq condenses one result - a single bin plus the items packed into it - into a string that is small to store, cheap to send and easy to share. It carries the binβs dimensions and each itemβs dimensions and position, which is everything needed to redraw the packing. This page is the wire format as Binacle.Net v2.1.1 writes and reads it.
β οΈ ViPaq is experimental and may change between versions.
Strings produced by this version are not readable by Binacle.Net v3.0.0 or later, which uses a different format.
βοΈ How It Works
ViPaq serializes the binβs dimensions along with each itemβs size and coordinates into a single encoded string, preserving all necessary data for visualization and decoding.
π Data Structure
[Header]
[Number of Items]
[Bin: Length, Width, Height]
[Item 1: Length, Width, Height, X, Y, Z]
[Item 2: Length, Width, Height, X, Y, Z]
...
[Item N: Length, Width, Height, X, Y, Z]
π οΈ Components
- Header: Decoding metadata
- Number of Items: Total encoded items
- Bin: Dimensions (Length, Width, Height)
- Items: Each with dimensions (L, W, H) and position coordinates (X, Y, Z)
π Encoding & Compression Techniques
- Base64 Encoding: Converts binary data into a transfer-friendly string
- Variable Length Encoding (VLE): Reduces storage by minimizing redundant data
- Gzip Compression: Automatically applied for larger data, enhancing compactness