CRA_Assembly.add_block_from_mesh
- CRA_Assembly.add_block_from_mesh(mesh, node=None, attr_dict=None, **kwattr)
Add a block to the assembly from a normal mesh.
- Parameters:
- mesh
compas.datastructures.Mesh
The mesh to add.
- nodehashable, optional
The identifier of the corresponding node in the connectivity graph. If no value is provided, the identifier will be generated automatically by the graph.
- attr_dictdict, optional
A dictionary of block attributes.
- **kwatrdict, optional
Additional attributes in the form of named function parameters.
- mesh
- Returns:
- hashable
The identifier of the node in the graph corresponding to the block.