22from __future__ import absolute_import
33from __future__ import division
44
5- from abc import abstractmethod
6-
75from compas .geometry import transform_points
86from .sceneobject import SceneObject
97from .descriptors .colordict import ColorDictAttribute
@@ -108,7 +106,6 @@ def vertex_xyz(self):
108106 def vertex_xyz (self , vertex_xyz ):
109107 self ._vertex_xyz = vertex_xyz
110108
111- @abstractmethod
112109 def draw_vertices (self , vertices = None , color = None , text = None ):
113110 """Draw the vertices of the mesh.
114111
@@ -133,7 +130,6 @@ def draw_vertices(self, vertices=None, color=None, text=None):
133130 """
134131 raise NotImplementedError
135132
136- @abstractmethod
137133 def draw_edges (self , edges = None , color = None , text = None ):
138134 """Draw the edges of the mesh.
139135
@@ -158,7 +154,6 @@ def draw_edges(self, edges=None, color=None, text=None):
158154 """
159155 raise NotImplementedError
160156
161- @abstractmethod
162157 def draw_faces (self , faces = None , color = None , text = None ):
163158 """Draw the faces of the mesh.
164159
@@ -183,7 +178,6 @@ def draw_faces(self, faces=None, color=None, text=None):
183178 """
184179 raise NotImplementedError
185180
186- @abstractmethod
187181 def draw_cells (self , cells = None , color = None , text = None ):
188182 """Draw the cells of the mesh.
189183
@@ -208,6 +202,10 @@ def draw_cells(self, cells=None, color=None, text=None):
208202 """
209203 raise NotImplementedError
210204
205+ def draw (self ):
206+ """Draw the volmesh."""
207+ raise NotImplementedError
208+
211209 def clear_vertices (self ):
212210 """Clear the vertices of the mesh.
213211
0 commit comments