EGI.from_shape
- classmethod EGI.from_shape(shape, **kwargs)
Construct a mesh from a primitive shape.
- Parameters
shape (:class: compas.geometry.shape) – The input shape to generate a mesh from.
kwargs – Optional keyword arguments
u
andv
for the resolution in u (Torus, Sphere, Cylinder, Cone) and v direction (Torus and Sphere).
- Returns
Mesh – A mesh object.
Examples
>>>