Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -261,6 +261,21 @@ interface ModelStore {
|
|||||||
gridCalibMode: boolean;
|
gridCalibMode: boolean;
|
||||||
setGridCalibMode: (b: boolean) => void;
|
setGridCalibMode: (b: boolean) => void;
|
||||||
|
|
||||||
|
/** Section/clipping cut tool (X/Y/Z axis-aligned planes in world space). */
|
||||||
|
sectionEnabled: { x: boolean; y: boolean; z: boolean };
|
||||||
|
sectionInvert: { x: boolean; y: boolean; z: boolean };
|
||||||
|
/** Cut level in meters (world coordinates) per axis. */
|
||||||
|
sectionLevel: { x: number; y: number; z: number };
|
||||||
|
sectionPanelOpen: boolean;
|
||||||
|
/** Opacity of the floating section panel (0.2 – 1). */
|
||||||
|
sectionPanelOpacity: number;
|
||||||
|
setSectionEnabled: (axis: 'x' | 'y' | 'z', on: boolean) => void;
|
||||||
|
setSectionInvert: (axis: 'x' | 'y' | 'z', on: boolean) => void;
|
||||||
|
setSectionLevel: (axis: 'x' | 'y' | 'z', v: number) => void;
|
||||||
|
setSectionPanelOpen: (open: boolean) => void;
|
||||||
|
setSectionPanelOpacity: (o: number) => void;
|
||||||
|
resetSection: () => void;
|
||||||
|
|
||||||
wireframeColor: string;
|
wireframeColor: string;
|
||||||
setWireframeColor: (color: string) => void;
|
setWireframeColor: (color: string) => void;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user