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.
Types of packaging
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
If a pallet is fully filled with the same product, such a pallet is called a mono-pallet, and the following loading rules apply:
- The maximum allowed pallet height including the loaded goods is taken into account.
- The maximum allowed weight of the loaded pallet is taken into account.
- Product packagings can be placed only parallel to the pallet walls.
- Packagings can be rotated around the vertical Z axis only and only at right angles.
- 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:
- The zones are rectangular.
- The aspect ratio of a zone's sides can be any.
- One side of any zone always touches the edge of the pallet.
- The allowed number of zones on a pallet: from 2 to 6.
- Each zone is filled according to the mono-pallet filling rules.
- The placement height of all goods does not exceed 50 mm so that another pallet can be placed on top.
- 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
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:
- A mixbox can only be placed in a single layer.
- 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).
- Mixboxes can be mixed with item positions on the same pallet.
- The same product can be packed in different mixboxes.
Coordinate system
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
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
- Attribute
- CalculationAsyncResult
- CalculationInfo
- CalculationSettings
- CalculationState
- CalculationStatus
- CheckResult
- Coordinates
- Dimensions
- General402
- General404
- General404Detail
- General429
- General500
- PackResult
- PackSettings
- PackStatistics
- PackTask
- Package
- PackageLayout
- PackageStatistics
- PackageType
- Packer400WithErrorsAndWarnings
- PackerEntityError
- PackerEntityErrorType
- PackerEntityPath
- PackerEntityType
- PackerEntityWarning
- PackerEntityWarningType
- PackerValidateResult
- Product
- ProductGroupLayout
- ProductLayout
- SchemaError
- Service
- Tracedata
- UnpackedItems
- VersionResult
Documentation For Authorization
Authentication schemes defined for the API:
ApiKeyAuth
- Type: Bearer authentication (JWT)
Author
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vrt_lss_packer-7.38.3336-py3-none-any.whl.
File metadata
- Download URL: vrt_lss_packer-7.38.3336-py3-none-any.whl
- Upload date:
- Size: 146.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfb30e340a326d7fa7ae5e12c56933575bb56ef55ff4d2d0470b1f88c4c9630c
|
|
| MD5 |
813f90fb2b45e2fc8db12113b995c53e
|
|
| BLAKE2b-256 |
10a0201c7aa2ffa32e4bee77d9761ef6fc48a67a76316e7f166a31f1098a67e9
|