Example #1
0
   def fetch(self):
      """Creates a ForceBeads object.

      Returns:
         A ForceBeads object with the correct socket parameters.
      """

      return ForceBeads(model=FFSocket( interface=InputInterfaceSocket.fetch(self) ),nbeads=self.nbeads.fetch(),weight=self.weight.fetch() )
    def fetch(self):
        """Creates a ForceBeads object.

      Returns:
         A ForceBeads object with the correct socket parameters.
      """

        return ForceBeads(
            model=FFSocket(interface=InputInterfaceSocket.fetch(self)),
            nbeads=self.nbeads.fetch(),
            weight=self.weight.fetch())