compas_cra.datastructures
¤
Classes¤
CRA_Assembly
¤
Extended data structure for concave assemblies.
Referenced by:
Methods:¤
add_blocks_from_rhinomeshes
¤
Add multiple blocks from their representation as as Rhino meshes.
Parameters:
-
guids(list of str) –A list of GUIDs identifying the meshes representing the blocks of the assembly.
Returns:
-
list–The keys of the added blocks.
add_interface_to_interfaces
¤
add_interfaces_from_meshes
¤
add_to_interfaces
¤
delete_block
¤
delete_blocks
¤
Delete blocks.
Parameters:
-
keys(list of int) –Assembly node keys.
Returns:
-
None–
get_weight_mean
¤
Get assembly mean weight.
Parameters:
-
density(float, default:1) –Material density.
Returns:
-
None–
get_weight_total
¤
Get total assembly weight.
Parameters:
-
density(float, default:1) –Material density.
Returns:
-
None–
is_block_support
¤
move_block
¤
rotate_assembly
¤
set_boundary_condition
¤
set_boundary_conditions
¤
Set blocks as boundary conditions.
Parameters:
-
keys(list of int) –Assembly node keys.
Returns:
-
None–