density_setup

compas_cra.equilibrium.density_setup(assembly, density)

Set up material density.

Parameters:
assemblyAssembly

The rigid block assembly.

densitydict of float

density values, the dict key should match with assembly.graph.nodes()

Returns:
None