Bruno Kestemont Lv 1
Getting the basic information of a band (from segment, to segment) would open a new family of recipes.
My main problem is not being able to "save" existing bands before deleting them (many recipes delete the bands), neither being able to copy and paste them to other clients (this would be great for quest to the native and electron density puzzles).
Are the following Lua commands (at least the first one) feasible?
band.GetBetweenSegments([Index Type])
where [Index Type]=
s1=segmentIndex1
s2=segmentIndex2
a1=atomIndex1
a2=atomIndex2
this would return an integer
and/or:
band.Get([Index Type])
where
s1=integer segmentOrigin
[s2=segmentIndex2]
sx=segmentXAxis
sy=segmentYAxis
rh=number rho
th=number theta
ph=number phi
a1=atomIndexOrigin
[a2=atomIndex2]
ax=atomIndexXAxis
ay=atomIndexYAxis
this would return a number or nil
Afterward, we could use the following commands to "paste" the bands:
band.AddBetweenSegments(integer segmentIndex1, integer segmentIndex2, [integer atomIndex1], [integer atomIndex2])
band.Add(integer segmentOrigin, integer segmentXAxis, integer segmentYAxis, number rho, number theta, number phi, [integer atomIndexOrigin], [integer atomIndexXAxis], [integer atomIndexYAxis])