Changelog for v.0.7.x#

v.0.7.5#

Internal changes, no API changes. More checks added in the initialization of Python Scripting.

v.0.7.4#

Bugfix: fixed bindings for constructors for specific types of Type.intervalVector3 (bindings for SBDTypePhysicalIAVector3 from SAMSON API).

v.0.7.3#

New Python bindings for SAMSON API:

  • Added samson.Facade.SAMSON.getProxy() function;

  • samson.Core.Class.ClassProxy (reduced functionality version);

  • samson.Core.Class.ClassInterface (reduced functionality version);

  • samson.Core.Class.ClassAttribute (reduced functionality version).

Some issue fixes.

v.0.7.2#

Some issue fixes.

DataModel#

DataModel.Type#

Changes in samson.DataModel.Type:

  • Python bindings for new Types: samson.DataModel.Type.constant, samson.DataModel.Type.spatialTransform. Some new convenience constructors.

DataModel.DataGraph#

Node

Added samson.DataModel.DataGraph.Node.castToLabel() function.

v.0.7.1#

New Python bindings for SAMSON API:

  • samson.GUI.Action

  • samson.Simulation.NeighborSearch

DataModel#

DataModel.Type#

Changes in samson.DataModel.Type:

  • Python bindings for new Types: samson.DataModel.Type.vector6, samson.DataModel.Type.interval, samson.DataModel.Type.intervalVector3, samson.DataModel.Type.matrix33, samson.DataModel.Type.matrix66.

Due to change in Types (samson.DataModel.Type) there were a few changes in samson.Modeling.StructuralModel.NodeParticle, which concerns samson.Modeling.StructuralModel.Atom. The following attributes position, x, y, z were changed to getter and setter functions: getPosition, setPosition, getX, setX, etc. The same changes with removing exposition of getter and setter functions as attributes for Types (samson.DataModel.Type) were done for the following classes: samson.DataModel.Document.Label, samson.DataModel.Document.Camera.

DataModel.DataGraph#

Node

  • Function getInteractionModelParticleSystem was renamed to samson.DataModel.DataGraph.Node.castToInteractionModelParticleSystem();

  • Added samson.DataModel.DataGraph.Node.castToVisualModel() function.

Facade#

Facade.SAMSON#

Added new python bindings in samson.Facade.SAMSON:

  • Python bindings for GUI functions to interact with a user: samson.Facade.SAMSON.askUser(), samson.Facade.SAMSON.getColorFromUser(), samson.Facade.SAMSON.getDoubleFromUser(), samson.Facade.SAMSON.getIntegerFromUser(), samson.Facade.SAMSON.getPathFromUser(), samson.Facade.SAMSON.getFileNameFromUser(), samson.Facade.SAMSON.getStringFromUser().

  • Function samson.Facade.SAMSON.getAction()

  • Time: samson.Facade.SAMSON.getTime(), samson.Facade.SAMSON.startTimer(), samson.Facade.SAMSON.stopTimer().