Skip to main content

VRt.Packer [PC]

Project description

vrt_lss_packer

Programming interface for Veeroute Packer.

Description

The service is designed to compute the placement of goods inside the given packagings.

overview

Types of packaging

Slot

slot

Loaded pallets are stacked on top of each other; a slot is the place where a stack of pallets is set.

A slot has no physical body — therefore the slot's body dimensions are zero.

Pallet

pallet

If a pallet is fully filled with the same product, such a pallet is called a mono-pallet, and the following loading rules apply:

  1. The maximum allowed pallet height including the loaded goods is taken into account.
  2. The maximum allowed weight of the loaded pallet is taken into account.
  3. Product packagings can be placed only parallel to the pallet walls.
  4. Packagings can be rotated around the vertical Z axis only and only at right angles.
  5. To equalize the height between positions (in order to place another pallet on top), empty spaces can be added to the layered placement.

After mono-pallets have been formed, the remaining items of the same SKU are placed on the next pallet. Such a pallet is divided by a cardboard partition into zones so that each zone contains products of only one SKU, and the zones have the following constraints:

  1. The zones are rectangular.
  2. The aspect ratio of a zone's sides can be any.
  3. One side of any zone always touches the edge of the pallet.
  4. The allowed number of zones on a pallet: from 2 to 6.
  5. Each zone is filled according to the mono-pallet filling rules.
  6. The placement height of all goods does not exceed 50 mm so that another pallet can be placed on top.
  7. It is allowed to form pallets with different placement heights for different positions (height difference greater than 50 mm) if these are the topmost pallets in the stack.

Mixbox

mixbox

If at the steps described above it is not possible to place the items so that a pallet has the required height or weight, mixboxes are used:

  1. A mixbox can only be placed in a single layer.
  2. A single mixbox can contain different products; in this case it is divided by partitions similarly to a pallet (the only difference is that the height of the packed goods is not equalized).
  3. Mixboxes can be mixed with item positions on the same pallet.
  4. The same product can be packed in different mixboxes.

Coordinate system

coordinates

To indicate the location of packagings and goods, a local coordinate system is used, in which the coordinates of a specific object are given relative to the near lower-left corner of the parent object, where:

  • Horizontal plane — axes X, Y
  • Vertical — axis Z

Axis-to-dimension mapping for goods and packagings:

  • Width — along axis X
  • Length — along axis Y
  • Height — along axis Z

Entity diagram

erd

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 7.38.3336
  • Package version: 7.38.3336
  • Generator version: 7.17.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import vrt_lss_packer

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import vrt_lss_packer

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import vrt_lss_packer
from vrt_lss_packer.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.edge7.veeroute.cloud
# See configuration.py for a list of all supported configuration parameters.
configuration = vrt_lss_packer.Configuration(
    host = "https://api.edge7.veeroute.cloud"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization (JWT): ApiKeyAuth
configuration = vrt_lss_packer.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
with vrt_lss_packer.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = vrt_lss_packer.PackApi(api_client)
    process_code = 'process_code_example' # str | Unique process identifier.

    try:
        # Cancel calculation
        api_instance.cancel_pack_calculation(process_code)
    except ApiException as e:
        print("Exception when calling PackApi->cancel_pack_calculation: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.edge7.veeroute.cloud

Class Method HTTP request Description
PackApi cancel_pack_calculation DELETE /packer/pack/calculation-async/{process_code} Cancel calculation
PackApi delete_pack_result DELETE /packer/pack/result/{process_code} Result removal
PackApi read_pack_result GET /packer/pack/result/{process_code} Getting the result
PackApi read_pack_state GET /packer/pack/state/{process_code} Calculation state
PackApi run_pack_calculation POST /packer/pack/calculation Packing (SYNC)
PackApi run_pack_calculation_async POST /packer/pack/calculation-async Packing (ASYNC)
PackApi run_pack_validation POST /packer/pack/validation Data validation
SystemApi check GET /packer/system/check Checking the availability
SystemApi file GET /packer/file/{filename} Getting the documentation
SystemApi version GET /packer/system/version Getting the service version

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

ApiKeyAuth

  • Type: Bearer authentication (JWT)

Author

support@veeroute.com

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vrt_lss_packer-7.38.3336-py3-none-any.whl (146.4 kB view details)

Uploaded Python 3

File details

Details for the file vrt_lss_packer-7.38.3336-py3-none-any.whl.

File metadata

File hashes

Hashes for vrt_lss_packer-7.38.3336-py3-none-any.whl
Algorithm Hash digest
SHA256 dfb30e340a326d7fa7ae5e12c56933575bb56ef55ff4d2d0470b1f88c4c9630c
MD5 813f90fb2b45e2fc8db12113b995c53e
BLAKE2b-256 10a0201c7aa2ffa32e4bee77d9761ef6fc48a67a76316e7f166a31f1098a67e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page