$+
html.Snippet(GetVar(default_link),
"value=Fit",
"hint=Mode Fit. Select atom(s) and then rotate/move to fit.",
"onclick=if strcmp(sel(),'') then 'mode split -s' else 'mode fit -s=false'",
"td1=
"
)
$-
| | |
$+
html.Snippet(GetVar(default_link),
"value=Split",
"hint=Restrained Split. The selected group will be split and but restraints will be applied to the resulting PARTs",
"onclick=if spy.check_for_selection() then 'spy.gui.restraints.set_mode_fit()'",
"td1="
)
$-
|
with
|
|
$+
html.Snippet("gui/snippets/input-combo",
"name=SPLIT_RESTRAINTS",
"items=SAME;RIGU;SAME RIGU;--;",
"value=SAME",
"readonly=false",
"onchange=",
"onchangealways=true",
)
$-
|
PART
|
$+
html.Snippet("gui/snippets/input-combo",
"name=SPLIT_PARTS",
"items=auto;1/2;3/4;5/6",
"value=auto",
"readonly=false",
"onchange=",
"onchangealways=true",
)
$-
|
FVAR
|
$+
html.Snippet("gui/snippets/input-combo",
"name=SPLIT_FVARS",
"items=auto;spy.gui.restraints.get_existing_fvar_dropdown_items()",
"value=auto",
"readonly=false",
"onchange=",
"onchangealways=true",
)
$-
|