Skip to content

Conversation

@carlos-adir
Copy link
Contributor

@carlos-adir carlos-adir commented Aug 11, 2025

The file shapepy/bool2d/shape.py contains 1188 lines.

This PR only moves code to divide shape.py into two more files:

  • base.py: contains the classes SubSetR2, EmptyShape and WholeShape
  • boolean.py: contains the functions unite and intersect along with FollowPath

@carlos-adir carlos-adir self-assigned this Aug 11, 2025
@carlos-adir carlos-adir added enhancement New feature or request refactor Tasks to improve readability / performance labels Aug 11, 2025
@carlos-adir carlos-adir marked this pull request as ready for review August 11, 2025 19:00
@carlos-adir carlos-adir changed the title Divide submodule bool2d into more parts to easier maintainability Divide submodule bool2d/shape into more parts to easier maintainability Aug 11, 2025
@carlos-adir carlos-adir merged commit 7cb4303 into main Aug 11, 2025
8 checks passed
@carlos-adir carlos-adir deleted the dev/divide_bool2d branch August 15, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor Tasks to improve readability / performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants