@@ -24,23 +24,15 @@ class Block(Element):
2424
2525 Parameters
2626 ----------
27- shape : :class:`compas.datastructures.Mesh`
28- The base shape of the block.
29- features : list[ :class:`BlockFeature`] , optional
30- Additional block features .
27+ geometry : :class:`compas.datastructures.Mesh`
28+ The base geometry of the block.
29+ transformation : :class:`compas.geometry.Transformation` , optional
30+ The transformation of the block to model coordinates .
3131 is_support : bool, optional
3232 Flag indicating that the block is a support.
33- frame : :class:`compas.geometry.Frame`, optional
34- The coordinate frame of the block.
35- name : str, optional
36- The name of the element.
3733
3834 Attributes
3935 ----------
40- shape : :class:`compas.datastructures.Mesh`
41- The base shape of the block.
42- features : list[:class:`BlockFeature`]
43- A list of additional block features.
4436 is_support : bool
4537 Flag indicating that the block is a support.
4638
@@ -61,12 +53,11 @@ def __data__(self) -> dict:
6153 def __init__ (
6254 self ,
6355 geometry : Mesh ,
64- features : Optional [list [BlockFeature ]] = None ,
6556 transformation : Optional [Transformation ] = None ,
66- name : Optional [str ] = None ,
6757 is_support : bool = False ,
58+ ** kwargs ,
6859 ) -> None :
69- super ().__init__ (geometry = geometry , transformation = transformation , features = features , name = name )
60+ super ().__init__ (geometry = geometry , transformation = transformation , ** kwargs )
7061
7162 self .is_support = is_support
7263
0 commit comments