Added split in to cell
This commit is contained in:
10
src/types.ts
10
src/types.ts
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user