Clipper 2 multiline Infill #1555

Closed
opened 2026-04-05 18:23:07 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @RF47 on 11/21/2025

Description

Working together with @ianalexis
to implement multiline infill using clipper2, we have put together several improvements for this feature, and the results are promising.

  • Huge quality improvement - All mulltiline logic is clipper2 based now.
  • Smooth continuous extrusion paths - Implemented Clipper2Lib::JoinType::Round for smooth corner transitions.
  • No overlap issues - This implementation prevents line overlapping at any density.
  • Clean intersection handling - No more crossings.
  • Max multiline count increased to 10 - Support for high-density infill patterns without compromises.
  • Non-cross grid and triangular infills

prerequisites:
#11415
this PR is also based on:
#11053 (obsolete)
#11017

TODO

  • All clipper base multiline
  • Fix infill anchor with perimeters
  • + Multiline Infills
    • Triangles
    • Cubic
    • AdaptativeCubic
    • QuarterCubic
    • ArchimedeanChords
    • Concentrical
    • HilberCurve
    • OctagramSpiral
    • SupportCubic
    • TriHexagon
  • Tests
    • TPMS
    • Lateral latices
    • Print Tests
    • Modifiers
    • Connection with perimeters
    • 90%+ density

close #3731

Results

image image image image image image
*Originally created by @RF47 on 11/21/2025* # Description Working together with @ianalexis to implement multiline infill using clipper2, we have put together several improvements for this feature, and the results are promising. - **Huge quality improvement** - All mulltiline logic is clipper2 based now. - **Smooth continuous extrusion paths** - Implemented `Clipper2Lib::JoinType::Round` for smooth corner transitions. - **No overlap issues** - This implementation prevents line overlapping at any density. - **Clean intersection handling** - No more crossings. - **Max multiline count increased to 10** - Support for high-density infill patterns without compromises. - **Non-cross grid and triangular infills** prerequisites: #11415 this PR is also based on: #11053 (obsolete) #11017 ## TODO - [x] All clipper base multiline - [x] Fix infill anchor with perimeters - [x] + Multiline Infills - [x] Triangles - [x] Cubic - [x] AdaptativeCubic - [x] QuarterCubic - [x] ArchimedeanChords - [x] Concentrical - [x] HilberCurve - [x] OctagramSpiral - [x] SupportCubic - [x] TriHexagon - [x] Tests - [x] TPMS - [x] Lateral latices - [x] Print Tests - [x] Modifiers - [x] Connection with perimeters - [x] 90%+ density close #3731 # Results <img width="1663" height="1242" alt="image" src="https://github.com/user-attachments/assets/9b8e970b-4c58-46e3-87a6-0cac6d836f66" /> <img width="888" height="685" alt="image" src="https://github.com/user-attachments/assets/06bcaefd-067e-4120-b7cf-3ff7b693e075" /> <img width="1719" height="769" alt="image" src="https://github.com/user-attachments/assets/0ef37da8-f9ae-4fa7-9ed6-7a07e803921b" /> <img width="1826" height="845" alt="image" src="https://github.com/user-attachments/assets/515c2d47-8fc8-44ac-928e-fdc3d6555495" /> <img width="748" height="760" alt="image" src="https://github.com/user-attachments/assets/f85236fd-4595-4bfa-9a49-5676c3e0c76a" /> <img width="748" height="760" alt="image" src="https://github.com/user-attachments/assets/92ec865c-2e58-4b74-9bf7-7adc99a07c59" />
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#1555