An adapted version of the length nest pro, enriched with a message queue connection
Project description
LengthNestProMQ
LengthNestProMQ is a free software application for one-dimensional nest optimization. It minimizes scrap when cutting raw material lengths into shorter pieces or parts.
It is an adaption of LengthNestPro from which the GUI is removed and RabbitMQ is integrated.
To use the software:
- Create a copy of the
secrets.default.json
file in the config directory. - Change the values of the entries in the
secrets.json file
. - Run main.py
- Add a message to a queue called:
stock_length_request_queue
- Get the response from the queue:
stock_length_response_queue
- Optionally view logs in logs directory
The input should have the following format:
{
"request_id": number,
"required_parts": [
{
"name": string,
"length": number,
"quantity": number
},
...
],
"stock": {
"length": number,
"waste_left": number,
"waste_right": number,
"spacing": number,
"max_parts_per_nest": number,
"max_containers": number
}
}
The output will have the following format:
{
"request_id": number,
"parts_distribution": [
{
"parts": [
{
"name": string,
"length": number,
"quantity": number
},
...
],
"quantity": number,
"spacing": number,
"stock_length": number
},
...
]
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
length_nest_pro_MQ-0.0.1.tar.gz
(31.5 kB
view hashes)
Built Distribution
Close
Hashes for length_nest_pro_MQ-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a81306c501d0ecbad021aeb30f059785382c14888a3b2aea36e3c024d9df5fad |
|
MD5 | f04b01c99a0b7f243458afef6b1da8ea |
|
BLAKE2b-256 | 1f30d9630b54f193cec77b7f8c1a1397d9cafbc7120418cd4b7b21e3914d8e3f |