

This is a live connection to our Packem API. You can modify Request Input to test different configurations.
The Raw Request Output shows the structured JSON solution, while the Visual Request Output renders the packing layout.
id, length, width, and height (double).id, length, width, and height (double).The objective (string) field controls what the packing algorithm tries to optimize. Support options:
The constraints (object) field defines the rules and restrictions the packing algorithm must follow.
Field: rotation (boolean) determines if items are allowed to rotate. Enabling rotation allows the algorithm to turn items to better fit available space, often improving packing efficiency.
Field: fragility (array of item IDs) specifies which items are fragile. These items should not have items stacked on top of them, ensuring that delicate items are handled safely during packing.
Field: weight_distribution (object) controls how item weight is distributed within bins. It helps prevent overloading layers or creating unstable stacks that could affect bin stability. The subfields include: max_per_layer (double) which limits the total weight allowed per horizontal layer, footprint (double) which restricts the vertical load each cell or footprint can support, and center_of_gravity (boolean) which ensures that each item’s center of gravity is properly supported by the structure beneath it.
Field: forbidden_adjacency (array of item label pairs) defines which groups or categories of items cannot be placed together within the same bin. This is useful for separating incompatible or hazardous items, such as flammable materials from explosives.
Field: max_bin_limit (integer) sets an upper bound on the number of bins the algorithm is allowed to use.
Field: priority (array of item IDs) indicates items that should be packed first or given higher priority. This ensures that critical or high-value items are included in the final packing solution before others.
Additional parameters:
weight_distribution).minimise_bin_costs).forbidden_adjacency).path, scale, dpi).// Raw output will appear here.
We use cookies to improve analytics, personalize content, and support ads. Choose your preferences below.