Skip to content

Half-circle pieces (R=400) not optimally placed on 6500Γ—2410 sheetΒ #279

@ParthavK

Description

@ParthavK

πŸ” 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.

Expected Layout


❌ 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

input_5.json

β–Ά Output

solution_5.json


πŸ”„ Steps to Reproduce

  1. Load input_5.json
  2. Run the optimizer with default settings
  3. Inspect resulting layout
  4. 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

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions