@@ -22,13 +22,13 @@ def transform(self, geometry, transformation):
2222 Parameters
2323 ----------
2424 geometry : object
25- A CAD-specific (i.e. native) geometry object as returned by :meth:`draw_geometry `.
25+ A CAD-specific (i.e. native) geometry object as returned by :meth:`create_geometry `.
2626 transformation : `Transformation`
2727 **COMPAS** transformation to update the geometry object.
2828 """
2929 raise NotImplementedError
3030
31- def draw_geometry (self , geometry , name = None , color = None ):
31+ def create_geoemetry (self , geometry , name = None , color = None ):
3232 """Draw a **COMPAS** geometry in the respective CAD environment.
3333
3434 Note
@@ -60,7 +60,7 @@ class BaseRobotModelArtist(AbstractRobotModelArtist):
6060
6161 There are two methods that implementers of this base class should provide, one
6262 is concerned with the actual creation of geometry in the native format of the
63- CAD environment (:meth:`draw_geometry `) and the other is one to apply a transformation
63+ CAD environment (:meth:`create_geometry `) and the other is one to apply a transformation
6464 to geometry (:meth:`transform`).
6565
6666 Attributes
@@ -117,7 +117,7 @@ def detach_tool_model(self):
117117 def create (self , link = None , context = None ):
118118 """Recursive function that triggers the drawing of the robot model's geometry.
119119
120- This method delegates the geometry drawing to the :meth:`draw_geometry `
120+ This method delegates the geometry drawing to the :meth:`create_geometry `
121121 method. It transforms the geometry based on the saved initial
122122 transformation from the robot model.
123123
@@ -150,7 +150,7 @@ def create(self, link=None, context=None):
150150 else :
151151 mesh_name_components = [self .model .name , mesh_type , context , link .name , str (i )]
152152 mesh_name = '.' .join (mesh_name_components )
153- native_mesh = self .draw_geometry (mesh , name = mesh_name , color = color )
153+ native_mesh = self .create_geoemetry (mesh , name = mesh_name , color = color )
154154
155155 self .transform (native_mesh , item .init_transformation )
156156
0 commit comments