@@ -1155,7 +1155,7 @@ def save_ctrlpts_to_csv(self, filename="", scalar=0, mode='linear'):
11551155 :rtype: bool
11561156 """
11571157 # Check possible modes
1158- mode_list = ['linear' , 'zigzag' , 'mesh ' ]
1158+ mode_list = ['linear' , 'zigzag' , 'quad ' ]
11591159 if mode not in mode_list :
11601160 warnings .warn ("Input mode is not valid, defaulting to linear." )
11611161
@@ -1179,7 +1179,7 @@ def save_ctrlpts_to_csv(self, filename="", scalar=0, mode='linear'):
11791179 if mode == 'zigzag' :
11801180 ctrlpts = utils .make_zigzag (ctrlpts , self ._control_points_size_v )
11811181 if mode == 'mesh' :
1182- ctrlpts = utils .make_mesh (ctrlpts , self ._control_points_size_v , self ._control_points_size_u )
1182+ ctrlpts = utils .make_quad (ctrlpts , self ._control_points_size_v , self ._control_points_size_u )
11831183
11841184 # Loop through control points
11851185 for pt in ctrlpts :
@@ -1211,7 +1211,7 @@ def save_surfpts_to_csv(self, filename="", scalar=0, mode='linear'):
12111211 :rtype: bool
12121212 """
12131213 # Check possible modes
1214- mode_list = ['linear' , 'zigzag' , 'triangle' ]
1214+ mode_list = ['linear' , 'zigzag' , 'quad' , ' triangle' ]
12151215 if mode not in mode_list :
12161216 warnings .warn ("Input mode is not valid, defaulting to linear." )
12171217
0 commit comments