Variable validateDrawingParameterSettingsConst
validateDrawingParameterSettings: (
param: unknown,
) => z.ZodSafeParseResult<
{
behavior?: | {
displayUnit?: string
| null;
enableDeletion?: boolean;
enableInsertion?: boolean;
enableSelection?: boolean;
enableTranslation?: boolean;
}
| null;
controls?: any[]
| null;
general?:
| {
activeMode?: "default"
| "activeOnStart";
options?:
| {
showDistanceLabels?: boolean;
showPointerPosition?: boolean;
showPointLabels?: boolean;
snapToEdges?: boolean;
snapToFaces?: boolean;
snapToVertices?: boolean;
}
| null;
prompt?: | {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
}
| null;
geometry?: | {
mode: "points"
| "lines";
autoClose?: boolean;
close?: boolean;
constraints?:
| {
position?: | {
x?: [(...), (...)]
| null;
y?: [(...), (...)] | null;
z?: [(...), (...)] | null;
}
| null;
size?: | {
x?: [(...), (...)]
| null;
y?: [(...), (...)] | null;
z?: [(...), (...)] | null;
}
| null;
}
| null;
disabledPoints?: number[]
| null;
maxPoints?: number | null;
minPoints?: number | null;
strictMinMaxPoints?: boolean;
weightedAdjacency?:
| { to: number; weights: [number, number, number] }[][]
| null;
}
| null;
keyBindings?: | {
cancel?: string
| string[];
confirm?: string | string[];
delete?: string | string[];
insert?: string | string[];
redo?: string | string[];
undo?: string | string[];
}
| null;
restrictions?: any[]
| null;
visualization?:
| {
distanceLabels?: boolean;
distanceMultiplicationFactor?: number
| null;
edgeControlVisualization?: { lines?: any; points?: any } | null;
lines?: any;
pointerPosition?: boolean;
pointLabels?: boolean;
points?: any;
wireframe?: boolean;
wireframeColor?: string | null;
}
| null;
},
>
Type Declaration
- (
param: unknown,
): z.ZodSafeParseResult<
{
behavior?: | {
displayUnit?: string
| null;
enableDeletion?: boolean;
enableInsertion?: boolean;
enableSelection?: boolean;
enableTranslation?: boolean;
}
| null;
controls?: any[]
| null;
general?:
| {
activeMode?: "default"
| "activeOnStart";
options?:
| {
showDistanceLabels?: boolean;
showPointerPosition?: boolean;
showPointLabels?: boolean;
snapToEdges?: boolean;
snapToFaces?: boolean;
snapToVertices?: boolean;
}
| null;
prompt?: | {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
}
| null;
geometry?: | {
mode: "points"
| "lines";
autoClose?: boolean;
close?: boolean;
constraints?:
| {
position?: | {
x?: [(...), (...)]
| null;
y?: [(...), (...)] | null;
z?: [(...), (...)] | null;
}
| null;
size?: | {
x?: [(...), (...)]
| null;
y?: [(...), (...)] | null;
z?: [(...), (...)] | null;
}
| null;
}
| null;
disabledPoints?: number[]
| null;
maxPoints?: number | null;
minPoints?: number | null;
strictMinMaxPoints?: boolean;
weightedAdjacency?:
| { to: number; weights: [number, number, number] }[][]
| null;
}
| null;
keyBindings?: | {
cancel?: string
| string[];
confirm?: string | string[];
delete?: string | string[];
insert?: string | string[];
redo?: string | string[];
undo?: string | string[];
}
| null;
restrictions?: any[]
| null;
visualization?:
| {
distanceLabels?: boolean;
distanceMultiplicationFactor?: number
| null;
edgeControlVisualization?: { lines?: any; points?: any } | null;
lines?: any;
pointerPosition?: boolean;
pointLabels?: boolean;
points?: any;
wireframe?: boolean;
wireframeColor?: string | null;
}
| null;
},
> Returns z.ZodSafeParseResult<
{
behavior?: | {
displayUnit?: string
| null;
enableDeletion?: boolean;
enableInsertion?: boolean;
enableSelection?: boolean;
enableTranslation?: boolean;
}
| null;
controls?: any[]
| null;
general?:
| {
activeMode?: "default"
| "activeOnStart";
options?:
| {
showDistanceLabels?: boolean;
showPointerPosition?: boolean;
showPointLabels?: boolean;
snapToEdges?: boolean;
snapToFaces?: boolean;
snapToVertices?: boolean;
}
| null;
prompt?: | {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
}
| null;
geometry?: | {
mode: "points"
| "lines";
autoClose?: boolean;
close?: boolean;
constraints?:
| {
position?: | {
x?: [(...), (...)]
| null;
y?: [(...), (...)] | null;
z?: [(...), (...)] | null;
}
| null;
size?: | {
x?: [(...), (...)]
| null;
y?: [(...), (...)] | null;
z?: [(...), (...)] | null;
}
| null;
}
| null;
disabledPoints?: number[]
| null;
maxPoints?: number | null;
minPoints?: number | null;
strictMinMaxPoints?: boolean;
weightedAdjacency?:
| { to: number; weights: [number, number, number] }[][]
| null;
}
| null;
keyBindings?: | {
cancel?: string
| string[];
confirm?: string | string[];
delete?: string | string[];
insert?: string | string[];
redo?: string | string[];
undo?: string | string[];
}
| null;
restrictions?: any[]
| null;
visualization?:
| {
distanceLabels?: boolean;
distanceMultiplicationFactor?: number
| null;
edgeControlVisualization?: { lines?: any; points?: any } | null;
lines?: any;
pointerPosition?: boolean;
pointLabels?: boolean;
points?: any;
wireframe?: boolean;
wireframeColor?: string | null;
}
| null;
},
>