nanome.api.structure.workspace module

class Workspace[source]

Bases: nanome._internal.structure.models._Workspace, nanome.api.structure._deprecated.WorkspaceDeprecated

Workspace that contains all the complexes shown in Nanome.
add_complex(complex)[source]
Add complex to the workspace
Parameters:complex (Complex) – Complex to add to the workspace
client = <nanome.api.structure.client.workspace_client.WorkspaceClient object>
complexes
The list of complexes within the workspace
Type:list of Complex
get_workspace_to_world_matrix()[source]
get_world_to_workspace_matrix()[source]
position
Position of the workspace
Type:Vector3
remove_complex(complex)[source]
Remove complex from the workspace
Parameters:complex (Complex) – Complex to remove from the workspace
rotation
Rotation of the workspace
Type:Quaternion
scale
Scale of the workspace
Type:Vector3