New node: Pack Strips (#3246)

* Added basic pack by bounds node

Apply suggestion from @Keavon

Co-authored-by: Keavon Chambers <keavon@keavon.com>

* Add support for choosing rows/columns strip direction

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Oliver Davies
2026-02-16 01:07:03 -08:00
committed by GitHub
parent 5b92901715
commit 20e12edd45
5 changed files with 134 additions and 2 deletions

View File

@@ -18,6 +18,15 @@ pub enum CentroidType {
Length,
}
#[repr(C)]
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, serde::Serialize, serde::Deserialize, Hash, DynAny, specta::Type, node_macro::ChoiceType)]
#[widget(Radio)]
pub enum RowsOrColumns {
#[default]
Rows = 0,
Columns,
}
pub trait AsU64 {
fn as_u64(&self) -> u64;
}