FormDiagram.create_circular_radial
- classmethod FormDiagram.create_circular_radial(center=(5.0, 5.0), radius=5.0, n_hoops=8, n_parallels=20, r_oculus=0.0, diagonal=False, diagonal_type='split')
Construct a circular radial FormDiagram with hoops not equally spaced in plan.
- Parameters:
- centertuple, optional
Planar coordinates of the form-diagram (xc, yc), by default (5.0, 5.0)
- radiusfloat, optional
Radius of the form diagram, by default 5.0
- n_hoopsint, optional
Number of hoops of the dome form diagram, by default 8
- n_parallelsint, optional
Number of parallels of the dome form diagram, by default 20
- r_oculusfloat, optional
Value of the radius of the oculus, if no oculus is present should be set to zero, by default 0.0
- diagonalbool, optional
Activate diagonal in the quads, by default False
- diagonal_typestr, optional
Control how diagonals are placed in the quads Options are [“split”, “straight”, “right”, “left”] Default is “split”, when the X diagonals will be split at their intersection. If “straight”, both quad diagonals are added as straight lines. If “right”, the diagonals will point to the right (x positive) of the diagram. If “left”, the diagonals will point to the left (x negative) of the diagram.
- Returns
- ——-
- :class:`~compas_tna.diagrams.FormDiagram`
The FormDiagram created.
Notes
All boundary vertices are considered as supported.