Author: Nathalie Gore
"""
-from qtsalome import QMessageBox
from salome.shaper import model
from salome.shaper import geom
import ModelAPI
for line in file:
coord = line.split(self.separator)
if len(coord) != 3:
- #QMessageBox.warning( self, 'Error!', '3D coords waited!' )
return
x = float(coord[0]); y = float(coord[1]); z = float(coord[2]);
point = model.addPoint(part, x,y,z); point.execute(True); self.lfeatures.append(point)