FormDiagram.from_rhinolines
- classmethod FormDiagram.from_rhinolines(guids, delete_boundary_face=True, precision=None, **kwargs)
Construct a FormDiagram from a set of Rhino lines represented by their GUIDs.
- Parameters
guids (list) – A list of GUIDs.
delete_boundary_face (bool, optional) – Set
True
to delete the face on the outside of the boundary,False
to keep it. Default isTrue
.precision (str, optional) – The precision of the geometric map that is used to connect the lines. If not specified, the global precision stored in
compas.PRECISION
will be used.
- Returns
FormDiagram – A FormDiagram object.
Examples
import compas_rhino from compas_tna.diagrams import FormDiagram guids = compas_rhino.select_lines() form = FormDiagram.from_rhinolines(guids)