Skip to content

Commit c951bce

Browse files
adamLangetpaviot
authored andcommitted
Fixed gp_pnt_print
1 parent 122701f commit c951bce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

OCCUtils/Construct.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ def gp_Pnt_equal(self, other):
9090

9191

9292
def gp_pnt_print(self):
93-
return '< gp_Pnt: {0}, {1}, {2} >'.format(*self.Coord())
93+
x = self.X()
94+
y = self.Y()
95+
z = self.Z()
96+
return '< gp_Pnt: {0}, {1}, {2} >'.format(x, y, z)
9497

9598

9699
def gp_vec_print(self):

0 commit comments

Comments
 (0)