Skip to main content

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:

  1. Create a copy of the secrets.default.json file in the config directory.
  2. Change the values of the entries in the secrets.json file.
  3. Run main.py
  4. Add a message to a queue called: stock_length_request_queue
  5. Get the response from the queue: stock_length_response_queue
  6. 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)

Uploaded Source

Built Distribution

length_nest_pro_MQ-0.0.1-py3-none-any.whl (32.6 kB view hashes)

Uploaded Python 3

Supported by

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