Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -133,6 +133,8 @@ export interface MeasurePoint {
|
|||||||
x: number;
|
x: number;
|
||||||
y: number;
|
y: number;
|
||||||
z: number;
|
z: number;
|
||||||
|
/** Model hit by this point, used so saved dimensions attach to the right piece. */
|
||||||
|
modelId?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Measurement {
|
export interface Measurement {
|
||||||
@@ -153,6 +155,7 @@ export interface HoverInfo {
|
|||||||
type: 'hole' | 'edge';
|
type: 'hole' | 'edge';
|
||||||
position: [number, number, number];
|
position: [number, number, number];
|
||||||
value: number; // mm (diameter or length)
|
value: number; // mm (diameter or length)
|
||||||
|
modelId?: string;
|
||||||
/** For edges: the two endpoints in world coords. */
|
/** For edges: the two endpoints in world coords. */
|
||||||
endpoints?: { a: MeasurePoint; b: MeasurePoint };
|
endpoints?: { a: MeasurePoint; b: MeasurePoint };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user