snnib.blender.operators.SNNIB_OT_build_snn

class snnib.blender.operators.SNNIB_OT_build_snn(*args: Any, **kwargs: Any)[source]

operator to build a SNN with the current user settings

  • see self.execute()

Attributes

Inferred Attributes

Methods
  • execute()

Dependencies
  • bpy

  • logging

__init__(*args: Any, **kwargs: Any) None

Methods

__init__(*args, **kwargs)

execute(context)

builds the SNNIB network

Attributes

bl_idname

bl_label

execute(context)[source]

builds the SNNIB network

  • called whenever the respective button is clicked

  • will
    • read the input specified in the UI panel
      • network_container

      • template_neuron

      • network_file

    • initialize a network.Network

    • setup the container

    • draw the neurons

    • draw the synapses

Parameters
  • context
    • the current context

    • not used

Raises

Returns
  • {‘FINISHED’}