Round plate points before discretisation

这个提交包含在:
jasminium
2021-01-05 11:53:11 +01:00
父节点 2f911d2d11
当前提交 ce0a3cfa79

查看文件

@@ -80,11 +80,12 @@ class Plate(UserObjectGeometry):
if self.dorotate:
self.__dorotate()
p3 = uip.round_to_grid_static_point(p1)
p4 = uip.round_to_grid_static_point(p2)
p1, p2 = uip.check_box_points(p1, p2, self.__str__())
xs, ys, zs = p1
xf, yf, zf = p2
p3 = uip.round_to_grid_static_point(p1)
p4 = uip.round_to_grid_static_point(p2)
# Check for valid orientations
if xs == xf: