Function to define a Line from a polyline (list of 2 points)
(self, pl)
| 57 | return self.geompy.MakeVertex(x, y, z) |
| 58 | |
| 59 | def makeLine(self, pl): |
| 60 | """Function to define a Line from |
| 61 | a polyline (list of 2 points)""" |
| 62 | |
| 63 | x, y, z = pl[0] |
| 64 | P1 = self.geompy.MakeVertex(x, y, z) |
| 65 | x, y, z = pl[1] |
| 66 | P2 = self.geompy.MakeVertex(x, y, z) |
| 67 | |
| 68 | return self.geompy.MakeLineTwoPnt(P1, P2) |
| 69 | |
| 70 | def makeFace(self, pl): |
| 71 | """Function to define a Face from |