@@ -118,8 +118,9 @@ def __init__(self,
118118
119119 def _bspline_surface_from_face (self , face ):
120120 """
121- :param TopoDS_Face face: the input snapshots.
122- :return: Takes a TopoDS_Face and transforms it into a Bspline_Surface.
121+ Takes a TopoDS_Face and transforms it into a Bspline_Surface.
122+ :param TopoDS_Face face: the face to be converted.
123+ :return: the output Bspline surface
123124 :rtype: Geom_BSplineSurface
124125 """
125126 if not isinstance (face , TopoDS_Face ):
@@ -135,8 +136,9 @@ def _bspline_surface_from_face(self, face):
135136
136137 def _bspline_curve_from_wire (self , wire ):
137138 """
139+ Takes a TopoDS_Wire and transforms it into a Bspline_Curve.
138140 :param TopoDS_Wire wire: the wire to be converted.
139- :return: Takes a TopoDS_Wire and transforms it into a Bspline_Curve.
141+ :return: The output Bspline curve
140142 :rtype: Geom_BSplineCurve
141143 """
142144 if not isinstance (wire , TopoDS_Wire ):
@@ -176,9 +178,9 @@ def _bspline_curve_from_wire(self, wire):
176178
177179 def _enrich_curve_knots (self , bsp_curve ):
178180 """
179- :param Geom_BSplineCurve bsp_curve: Bspline curve to be enriched.
180- :return: Takes a Geom_BSplineCurve and adds self.t_knots_to_add
181+ Takes a Geom_BSplineCurve and adds self.t_knots_to_add
181182 poles to it.
183+ :param Geom_BSplineCurve bsp_curve: Bspline curve to be enriched.
182184 """
183185 if not isinstance (bsp_curve , Geom_BSplineCurve ):
184186 raise TypeError ("bsp_curve must be a Geom_BSplineCurve" )
@@ -196,9 +198,9 @@ def _enrich_curve_knots(self, bsp_curve):
196198
197199 def _enrich_surface_knots (self , bsp_surface ):
198200 """
199- :param Geom_BSplineSurface bsp_surface: Bspline curve to be enriched.
200- :return: Takes a Geom_Bspline_Surface and adds self.u_knots_to_add
201+ Takes a Geom_Bspline_Surface and adds self.u_knots_to_add
201202 and self.v_knots_to_add knots to it in u and v direction respectively.
203+ :param Geom_BSplineSurface bsp_surface: Bspline curve to be enriched.
202204 """
203205 if not isinstance (bsp_surface , Geom_BSplineSurface ):
204206 raise TypeError ("bsp_surface must be a Geom_BSplineSurface" )
@@ -217,8 +219,8 @@ def _enrich_surface_knots(self, bsp_surface):
217219
218220 def _deform_bspline_curve (self , bsp_curve ):
219221 """
222+ Takes a Geom_BSplineCurve and deforms it through FFD.
220223 :param Geom_BSplineCurve bsp_curve: Bspline curve to be deformed.
221- :return: Takes a Geom_BSplineCurve and deforms it through FFD.
222224 """
223225 if not isinstance (bsp_curve , Geom_BSplineCurve ):
224226 raise TypeError ("bsp_curve must be a Geom_BSplineCurve" )
@@ -252,8 +254,8 @@ def _deform_bspline_curve(self, bsp_curve):
252254
253255 def _deform_bspline_surface (self , bsp_surface ):
254256 """
257+ Takes a Geom_BSplineSurface and deforms it through FFD.
255258 :param Geom_BSplineSurface bsp_surface: Bspline curve to be deformed.
256- :return: Takes a Geom_BSplineSurface and deforms it through FFD.
257259 """
258260 if not isinstance (bsp_surface , Geom_BSplineSurface ):
259261 raise TypeError ("bsp_surface must be a Geom_BSplineSurface" )
@@ -293,7 +295,7 @@ def _deform_bspline_surface(self, bsp_surface):
293295
294296 def __call__ (self , obj , dst = None ):
295297 """
296- :return: This method performs the deformation on the CAD file.
298+ This method performs the deformation on the CAD file.
297299 """
298300
299301 # Manage input
0 commit comments