RhinoSurface.to_compas_quadmesh

RhinoSurface.to_compas_quadmesh(nu, nv=None, weld=False, facefilter=None, cls=None)[source]

Convert the surface to a COMPAS mesh.

Parameters
  • nu (int) – The number of faces in the u direction.

  • nv (int, optional) – The number of faces in the v direction. Default is the same as the u direction.

  • weld (bool, optional) – Weld the vertices of the mesh. Default is False.

  • facefilter (callable, optional) – A filter for selection which Brep faces to include. If provided, the filter should return True or False per face. A very simple filter that includes all faces is def facefilter(face): return True. Default parameter value is None in which case all faces are included.

  • cls (compas.geometry.Mesh, optional) – The type of COMPAS mesh.

Returns

compas.geometry.Mesh