density_setup

compas_cra.equilibrium.density_setup(assembly, density)[source]

Set up material density.

Parameters
  • assembly (Assembly) – The rigid block assembly.

  • density (dict of float) – density values, the dict key should match with assembly.graph.nodes()

Returns

None