use draw_point() for zero-length lines
@@ -430,6 +430,9 @@ class Frontend:
s, e = ocs.to_wcs((s.x, s.y, elevation)), ocs.to_wcs(
(e.x, e.y, elevation)
)
+ if e.isclose(s):
+ self.out.draw_point(s, properties)
+ else:
self.out.draw_line(s, e, properties)
def draw_hatch_entity(
