MeshDataForm

class compas_ui.rhino.forms.MeshDataForm(*args, **kwargs)[source]

Bases: ~Eto.Forms.Dialog.

Form for working with mesh data.

Parameters:
  • mesh (compas.datastructures.Mesh) – A COMPAS mesh.

  • title (str, optional) – Title of the dialog.

  • width (int, optional) – Window width.

  • height (int, optional) – Window height.

  • exclude_vertex_attr (list[str], optional) – The names of vertex attributes to exclude.

  • exclude_edge_attr (list[str], optional) – The names of edge attributes to exclude.

  • exclude_face_attr (list[str], optional) – The names of face attributes to exclude.

Methods

on_cancel

Callback for the CANCEL event.

on_ok

Callback for the OK event.

show

Show the form dialog.