Task for developing a program for material cutting optimization in Python
Goal
To develop a program for optimizing material cutting, similar in functionality to CutOptimizer Pro, but without a graphical interface. The program should accept input data from another program, perform calculations, and return:
1. The optimal layout of elements on the field.
2. Information about the field's occupancy.
Functional requirements
1. Input data:
- Material dimensions (width, length).
- List of parts for cutting (width, length of each part, quantity).
- Minimum gap between parts and consideration of cut thickness.
- Type of cut: straight or indirect (must be taken into account in calculations).
2. Output data:
- Layout scheme of parts in text or another convenient format (for example, JSON).
- Percentage of material usage.
3. Algorithm:
- Use an efficient cutting algorithm (for example, "First Fit" or "Best Fit" for one-dimensional cutting, or nesting algorithms for two-dimensional).
- Ensure minimization of material leftovers.
- Consider the type of cut (straight or indirect) when constructing the cutting scheme.
4. Integration:
- The program should run as a function or module that accepts input data in JSON format.
- The result should be returned in JSON format.
Example of program operation
1. Input data:
```json
{
"material": {
"width": 2000,
"height": 1000
},
"details": [
{"width": 400, "height": 200, "quantity": 10},
{"width": 600, "height": 400, "quantity": 5}
],
"kerf": 5,
"cut_type": "straight"
}
```
2. Expected result:
```json
{
"layout": [
{"x": 0, "y": 0, "width": 400, "height": 200},
{"x": 400, "y": 0, "width": 400, "height": 200},
...
],
"material_usage": 85.5
}
```
Additional requirements
- The code must be well-structured and commented.
- The algorithm must be optimized for fast operation on large datasets.
- Use standard Python libraries or popular third-party ones (for example, numpy, scipy).
Acceptance criteria
1. The code meets all functional requirements.
2. Correctly handles various input data options.
3. The calculation results meet expectations.
Deadline
10 days.
Price is negotiable
The Python file is an example of the program's operation, but it only accepts 1 size instead of multiple sizes of products.
Applications 1
-
1094 10 0 Good day!
I am ready to implement it in Python.
Write to me, we will discuss the details and get started!
Sincerely, Andrey!
-
1970 45 3 1 Good day!
I am ready to create a cutting optimization script, two methods. The code will be well optimized. I have excellent knowledge of Python and an understanding of the task.
-
5883 345 0 I will consider the details of the task (are the details always rectangular or not; what is "direct" and "indirect" cut; where can one read about the desired nesting algorithms; how much is a "large dataset" and what is the time constraint for processing...) and, possibly, I will suggest an implementation option.
-
449 3 1 1 I propose to develop a program for optimizing material cutting on Python, taking into account all requirements. The program will accept input data in JSON format, perform calculations for the optimal layout of parts, considering gaps, cut type, and thickness, and return results in the form of a diagram and material usage percentage. I will ensure algorithm optimization, testing on various datasets, and detailed documentation. The deadline is 10 days. The price is negotiable.
-
457 3 0 Hello!
I will gladly fulfill your order. I will do it quickly and with high quality, taking into account all your wishes.
I can start working immediately after the discussion.
I have free time, so I will take it on right away.
I promise style, quality, and good emotions from our collaboration. Thank you!
I am ready to work within your budget.
Current freelance projects in the category C & C++
Reverse engineering of console utilities for querying SSD controllers (Flash ID)1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++… C & C++, Desktop Apps ∙ 5 days 18 hours back ∙ 6 proposals |
Development of a Minecraft Java Seed Map / Seed Viewer for the websiteDevelopment of Minecraft Java Seed Map / Seed Viewer for the websiteProject Description A browser-based tool Minecraft Java Seed Map / Seed Viewer needs to be developed, which will work on our website and allow the user to enter a seed from Minecraft Java Edition and view an… C & C++, HTML & CSS ∙ 6 days 1 hour back ∙ 14 proposals |
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 10 days 8 hours back ∙ 2 proposals |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 13 days 9 hours back ∙ 8 proposals |