Changelog for v.0.12.x¶
v.0.12.1¶
Modeling¶
Modeling.VisualModel¶
Exposed a new type of a node: samson.Modeling.VisualModel.Mesh
.
DataModel¶
DataModel.DataGraph¶
A new node type in enumerator: samson.DataModel.DataGraph.Node.NodeType.Mesh (samson.DataModel.DataGraph.Node.NodeType.VisualModelMesh).
New functions:
v.0.12.0¶
Facade¶
Facade.SAMSON¶
New functions:
DataModel¶
DataModel.DataGraph¶
A major change: for generalization, the node’s name attribute has been moved to samson.DataModel.DataGraph.Node
from its child classes that had this attribute. This change affects many child classes across the SDK, e.g.: samson.DataModel.DataGraph.NodeGroup
, samson.DataModel.Document.Camera
, samson.DataModel.Document.Folder
, samson.Modeling.StructuralModel.StructuralGroup
, samson.Modeling.StructuralModel.Path
, etc.
New functions:
samson.DataModel.DataGraph.Node.getName()
,samson.DataModel.DataGraph.Node.setName()
DataModel.Quantity¶
New functionality: samson.DataModel.Quantity.fromLinearInterpolation()
.
DataModel.Type¶
ColorConversion
New functionality:
samson.DataModel.Type.ColorConversion.toHSV()
(samson.DataModel.Type.ColorConversion.HSVfromSRGB()
).samson.DataModel.Type.ColorConversion.fromHSV()
(samson.DataModel.Type.ColorConversion.SRGBfromHSV()
).
Constant
New functionality:
samson.DataModel.Type.Constant.getDegreesFromRadians()
.
DataModel.Color¶
New default color palettes.
A new function in per attribute color scheme classes: getDefaultColorPalette
.
Modeling¶
Modeling.StructuralModel¶
Atom
New functionality:
Particle
New functionality:
Residue
New functions:
samson.Modeling.StructuralModel.Residue.addHydrogensByResidueType()
samson.Modeling.StructuralModel.Residue.getAminoAcidOneLetterCode()
samson.Modeling.StructuralModel.Residue.getResidueTypeFromString()
samson.Modeling.StructuralModel.Residue.computePhiAngle()
,samson.Modeling.StructuralModel.Residue.computePsiAngle()
samson.Modeling.StructuralModel.Residue.orientAminoAcidSideChain()
samson.Modeling.StructuralModel.Residue.hasAminoAcidChi1Angle()
,samson.Modeling.StructuralModel.Residue.hasAminoAcidChi2Angle()
,samson.Modeling.StructuralModel.Residue.hasAminoAcidChi3Angle()
,samson.Modeling.StructuralModel.Residue.hasAminoAcidChi4Angle()
,samson.Modeling.StructuralModel.Residue.hasAminoAcidChi5Angle()
,samson.Modeling.StructuralModel.Residue.computeAminoAcidChi1Angle()
,samson.Modeling.StructuralModel.Residue.computeAminoAcidChi2Angle()
,samson.Modeling.StructuralModel.Residue.computeAminoAcidChi3Angle()
,samson.Modeling.StructuralModel.Residue.computeAminoAcidChi4Angle()
,samson.Modeling.StructuralModel.Residue.computeAminoAcidChi5Angle()
SideChain
New functionality:
samson.Modeling.StructuralModel.SideChain.getBetaCarbon()
,samson.Modeling.StructuralModel.SideChain.getGammaAtom()
,samson.Modeling.StructuralModel.SideChain.getDeltaAtom()
,samson.Modeling.StructuralModel.SideChain.getEpsilonAtom()
,samson.Modeling.StructuralModel.SideChain.getZetaAtom()
,samson.Modeling.StructuralModel.SideChain.getEtaAtom()