-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
enhancementNew feature or requestNew feature or request
Description
π Problem Summary
When placing 36 half-circle pieces (radius = 400 mm) on a 6500 Γ 2410 mm sheet, the optimizer generates a non-optimal and inconsistent layout.
Instead of cleanly arranging pieces, the output includes:
- Staggered / uneven rows
- Irregular spacing
- Rotated pieces where rotation is not required
- A large unused region on the right side
- A layout far from mathematically optimal packing
π Geometry Details
Each half-circle (radius 400 mm):
- Width = 800 mm
- Height = 400 mm
Since the sheet size is 6500 Γ 2410 mm, an ideal deterministic packing is possible:
- 6 pieces per row (6 Γ 700 = 4200 < 6500)
- 6 rows (6 Γ 400 = 2400 < 2410)
- Total = 36 pieces
Expected layout β a clean 6 Γ 6 grid with minimal waste.
β Actual Output
The generated solution (solution_5.json) shows:
- Misaligned placement
- Unnecessary staggering
- Large unused space on right
- Non-deterministic layout even though an optimal structured pattern exists
β Expected Behavior
The optimizer should return a layout similar to:
- 6 rows Γ 6 columns
- All pieces aligned
- No rotation needed
- Minimal unused space
π Attached Files
βΆ Input
βΆ Output
π Steps to Reproduce
- Load
input_5.json - Run the optimizer with default settings
- Inspect resulting layout
- Compare to deterministic optimal grid
π Additional Notes
- The optimal layout is deterministic and straightforward.
- The optimizer should at least match this baseline.
- Potential causes: incorrect bounding box handling, rotation logic, or polygon resolution.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
