Abstract Classes

class blenderneuron.commnode.CommNode(server_end, on_client_connected=None, on_server_setup=None, coverage=False)[source]
compress(obj)[source]
configure_connection(mode='local', peer_address=None, listen_host=None, listen_port=None, pairing=None)[source]

Persist settings; changing listening settings requires restarting the node.

decompress(compressed)[source]
find_free_port()[source]
Returns:

A random available port

forget_connection()[source]

Revoke credentials without changing simulation or scene data.

get_end_address_file(end)[source]
init_task_queue()[source]
load_config()[source]
pairing_information()[source]

Return a credential-bearing string. Share only with a trusted peer.

print_safe(value)[source]
read_client_address_file()[source]

Read from a file in tmp folder that contains the address of the other node’s XML-RCP server :return: The address of the other end’s XML-RCP server

retry_setup_client()[source]
save_server_address_file()[source]

Create a file in tmp folder that contains the address of this node’s XML-RCP server :return: Nothing

server_types = {'Blender': 'NEURON', 'Control-Blender': 'Blender', 'Control-NEURON': 'NEURON', 'NEURON': 'Blender', 'Package': 'Blender'}
service_queue_loop()[source]
setup_server(service_queue=True)[source]
sm_end_code_coverage()[source]
sm_enqueue_command(command_string)[source]
sm_get_task_error(task_id)[source]
sm_get_task_result(task_id)[source]
sm_get_task_status(task_id)[source]
sm_ping()[source]
sm_run_command(command_string)[source]
sm_stop()[source]

A method that, when called by a client of the node server, will stop the server :return:

stop_server()[source]
test_connection()[source]
try_setup_client(warn=True)[source]
work_on_queue_tasks()[source]
class blenderneuron.rootgroup.RootGroup[source]
clear_activity()[source]
static from_file(file_name)[source]

Read a saved group and return its reconstructed group dictionary.

Available in both Blender and NEURON without starting a connection. The result can be inspected or passed to node.update_groups([group]).

to_dict(include_activity=False, include_root_children=False, include_coords_and_radii=False)[source]
Parameters:
  • include_activity –

  • include_root_children –

  • include_coords_and_radii –

Returns:

class blenderneuron.section.Section[source]
clear_activity(recursive)[source]
clear_segment_activity()[source]
to_dict(include_activity=True, include_children=True, include_coords_and_radii=True)[source]
class blenderneuron.activity.Activity[source]
clear()[source]
from_dict(source)[source]
simplify(epsilon=0.0)[source]
to_dict()[source]