Viewer
Preparing search index...
validateDrawingParameterSettings
Variable validateDrawingParameterSettings
Const
validateDrawingParameterSettings
:
(
param
:
unknown
,
)
=>
z.ZodSafeParseResult
<
{
behavior
?:
|
{
autoStart
?:
boolean
;
autoUpdate
?:
boolean
;
closeOnUpdate
?:
boolean
;
displayUnit
?:
string
|
null
;
enableDeletion
?:
boolean
;
enableInsertion
?:
boolean
;
enableSelection
?:
boolean
;
enableTranslation
?:
boolean
;
}
|
null
;
controls
?:
any
[]
|
null
;
general
?:
|
{
activeMode
?:
"default"
|
"activeOnStart"
|
"alwaysActive"
;
autoClear
?:
boolean
;
buttons
?:
{
clear
?:
boolean
}
|
null
;
options
?:
|
{
showDistanceLabels
?:
boolean
;
showPointerPosition
?:
boolean
;
showPointLabels
?:
boolean
;
snapToEdges
?:
boolean
;
snapToFaces
?:
boolean
;
snapToVertices
?:
boolean
;
}
|
null
;
presentation
?:
"widget"
|
"toolbar"
;
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
;
points
?:
[
number
,
number
,
number
]
[]
|
null
;
strictMinMaxPoints
?:
boolean
;
weightedAdjacency
?:
|
{
to
:
number
;
weights
:
[
number
,
number
,
number
]
;
space
?:
"local"
|
"world"
|
null
;
}
[]
[]
|
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
?:
|
{
autoStart
?:
boolean
;
autoUpdate
?:
boolean
;
closeOnUpdate
?:
boolean
;
displayUnit
?:
string
|
null
;
enableDeletion
?:
boolean
;
enableInsertion
?:
boolean
;
enableSelection
?:
boolean
;
enableTranslation
?:
boolean
;
}
|
null
;
controls
?:
any
[]
|
null
;
general
?:
|
{
activeMode
?:
"default"
|
"activeOnStart"
|
"alwaysActive"
;
autoClear
?:
boolean
;
buttons
?:
{
clear
?:
boolean
}
|
null
;
options
?:
|
{
showDistanceLabels
?:
boolean
;
showPointerPosition
?:
boolean
;
showPointLabels
?:
boolean
;
snapToEdges
?:
boolean
;
snapToFaces
?:
boolean
;
snapToVertices
?:
boolean
;
}
|
null
;
presentation
?:
"widget"
|
"toolbar"
;
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
;
points
?:
[
number
,
number
,
number
]
[]
|
null
;
strictMinMaxPoints
?:
boolean
;
weightedAdjacency
?:
|
{
to
:
number
;
weights
:
[
number
,
number
,
number
]
;
space
?:
"local"
|
"world"
|
null
;
}
[]
[]
|
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
;
}
,
>
Parameters
param
:
unknown
Returns
z.ZodSafeParseResult
<
{
behavior
?:
|
{
autoStart
?:
boolean
;
autoUpdate
?:
boolean
;
closeOnUpdate
?:
boolean
;
displayUnit
?:
string
|
null
;
enableDeletion
?:
boolean
;
enableInsertion
?:
boolean
;
enableSelection
?:
boolean
;
enableTranslation
?:
boolean
;
}
|
null
;
controls
?:
any
[]
|
null
;
general
?:
|
{
activeMode
?:
"default"
|
"activeOnStart"
|
"alwaysActive"
;
autoClear
?:
boolean
;
buttons
?:
{
clear
?:
boolean
}
|
null
;
options
?:
|
{
showDistanceLabels
?:
boolean
;
showPointerPosition
?:
boolean
;
showPointLabels
?:
boolean
;
snapToEdges
?:
boolean
;
snapToFaces
?:
boolean
;
snapToVertices
?:
boolean
;
}
|
null
;
presentation
?:
"widget"
|
"toolbar"
;
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
;
points
?:
[
number
,
number
,
number
]
[]
|
null
;
strictMinMaxPoints
?:
boolean
;
weightedAdjacency
?:
|
{
to
:
number
;
weights
:
[
number
,
number
,
number
]
;
space
?:
"local"
|
"world"
|
null
;
}
[]
[]
|
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
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Viewer
Loading...