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