NetworkObject

class compas_blender.scene.NetworkObject[source]

Bases: BlenderSceneObject, NetworkObject

Scene object for drawing network data structures in Blender.

Parameters:
networkcompas.datastructures.Network

A COMPAS network.

Methods

clear_edges

Clear all objects contained in the edge collection.

clear_nodes

Clear all objects contained in the node collection.

draw

Draw the network.

draw_edges

Draw a selection of edges.

draw_nodes

Draw a selection of nodes.

Inherited Methods

add

Add a child item to the scene object.

add_object_to_collection

Add an object to a collection.

clear

Clear the nodes and the edges of the network.

clear_collection

Clear the objects in a collection.

create_collection

Create a collection with the given name.

create_object

Add an object to the Blender scene.

delete_collection

Delete a collection.

set_object_color

Set the color of a Blender object.

set_object_tranformation

Set the transformation of a Blender object.

update_object

Update an object in the Blender scene.