Assembly

class compas.datastructures.Assembly[source]

Bases: Datastructure

A data structure for managing the connections between different parts of an assembly.

Parameters:
namestr, optional

The name of the assembly.

**kwargsdict, optional

Additional keyword arguments, which are stored in the attributes dict.

Attributes:
graphcompas.datastructures.Graph

The graph that is used under the hood to store the parts and their connections.

Methods

Constructors

from_json

Construct an object of this type from a JSON file.

Conversions

to_json

Convert an object to its native data representation and save it to a JSON file.

Builders and Modifiers

Accessors

Attributes

Topology

Geometry

Paths

Matrices

Mappings

Utilities

Other