I'm trying to get the points of a simple mesh. I expect that the resolution is 0.5, but I don't get it in the X-axis.
My code is:
iges = pyiges.read("plate_default.iges")
mesh = iges.to_vtk(lines=True, bsplines=False, surfaces=True, merge=True, delta=0.5)
print(mesh.points)
OUTPUT:
([[0. , 0. , 0. ],
[1. , 0. , 0. ],
[0. , 0.5, 0. ],
[1. , 0.5, 0. ]])
EXPECTED OUTPUT:
([[0. , 0. , 0. ],
[0.5, 0. , 0. ],
[1. , 0. , 0. ],
[0. , 0.5, 0. ],
[0.5, 0.5, 0. ],
[1. , 0.5, 0. ]])
The file plate_default.iges is inside the zip: plate_default.zip
I'm trying to get the points of a simple mesh. I expect that the resolution is 0.5, but I don't get it in the X-axis.
My code is:
OUTPUT:
EXPECTED OUTPUT:
The file plate_default.iges is inside the zip: plate_default.zip