Skip to content

Commit 3b6fb83

Browse files
author
Onur Rauf Bingol
committed
Update imports
1 parent 5884dc7 commit 3b6fb83

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

geomdl/elements.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
import copy
1111
import abc
1212
from .exceptions import GeomdlException
13-
from ._utilities import add_metaclass, export
13+
from . import _utilities as utl
1414

1515

16-
@add_metaclass(abc.ABCMeta)
16+
@utl.add_metaclass(abc.ABCMeta)
1717
class AbstractEntity(object):
1818
""" Abstract base class for all geometric entities. """
1919
def __init__(self, *args, **kwargs):
@@ -173,7 +173,7 @@ def opt_get(self, value):
173173
return None
174174

175175

176-
@export
176+
@utl.export
177177
class Vertex(AbstractEntity):
178178
""" 3-dimensional Vertex entity with spatial and parametric position. """
179179
def __init__(self, *args, **kwargs):
@@ -378,7 +378,7 @@ def data(self, value):
378378
self._data = [float(val) for val in value]
379379

380380

381-
@export
381+
@utl.export
382382
class Triangle(AbstractEntity):
383383
""" Triangle entity which represents a triangle composed of vertices.
384384
@@ -489,7 +489,7 @@ def add_vertex(self, *args):
489489
self._data = res
490490

491491

492-
@export
492+
@utl.export
493493
class Quad(AbstractEntity):
494494
""" Quad entity which represents a quadrilateral structure composed of vertices.
495495
@@ -544,7 +544,7 @@ def add_vertex(self, *args):
544544
self._data = res
545545

546546

547-
@export
547+
@utl.export
548548
class Face(AbstractEntity):
549549
""" Representation of Face entity which is composed of triangles or quads. """
550550
def __init__(self, *args, **kwargs):
@@ -579,7 +579,7 @@ def add_triangle(self, *args):
579579
self._data = res
580580

581581

582-
@export
582+
@utl.export
583583
class Body(AbstractEntity):
584584
""" Representation of Body entity which is composed of faces. """
585585
def __init__(self, *args, **kwargs):

0 commit comments

Comments
 (0)