Skip to content

Added partition_path(). Added cut_path= to *_half()#1899

Open
revarbat wants to merge 12 commits intomasterfrom
revarbat_dev
Open

Added partition_path(). Added cut_path= to *_half()#1899
revarbat wants to merge 12 commits intomasterfrom
revarbat_dev

Conversation

@revarbat
Copy link
Collaborator

@revarbat revarbat commented Feb 6, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds advanced partitioning capabilities to the BOSL2 library by introducing customizable cut paths for partition operations. The PR introduces two major new functions (partition_path() and ptn_sect()) and extends all existing *_half() functions to support custom partition cut paths instead of just flat plane cuts.

Changes:

  • Added cut_path=, cut_angle=, offset=, show_frameref=, and convexity= parameters to all *_half() module and function variants
  • Introduced partition_path() function to create complex partition paths from descriptive patterns
  • Introduced ptn_sect() function to create individual partition section shapes with support for pattern transformations
  • Refactored all left_half(), right_half(), front_half(), back_half(), top_half(), and bottom_half() modules to delegate to the enhanced half_of() function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

revarbat and others added 9 commits February 5, 2026 21:22
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant