Added split in to cell

This commit is contained in:
Халимов Рустам
2025-12-27 22:59:31 +03:00
parent b8e5c822e2
commit 8999d1f06a
3 changed files with 296 additions and 226 deletions

View File

@@ -8,12 +8,20 @@ export interface AppConfig {
drawer: DrawerDimensions;
wallThickness: number;
printerTolerance: number;
cornerRadius: number; // <--- Новое свойство
cornerRadius: number;
}
// Конфигурация разделения одной ячейки
export interface CellSubdivision {
rows: number; // По умолчанию 1
cols: number; // По умолчанию 1
}
export interface LayoutSplits {
x: number[];
y: number[];
// Ключ: "xIndex-yIndex" (например "0-0" для первой ячейки)
subdivisions: Record<string, CellSubdivision>;
}
export interface GeneratedPart {