From 70bc8d88894a31a46140c4dd8cf964480925a3ad Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Mon, 28 Nov 2016 22:15:47 +0100 Subject: [PATCH] Fix z-fighting --- cura/BuildVolume.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 8ff241e5ff..3c40fbe1ef 100644 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -219,14 +219,14 @@ class BuildVolume(SceneNode): # Bottom and top 'ellipse' of the build volume mb = MeshBuilder() mb.addArc(max_w, Vector.Unit_Y, center = (0, min_h - 0.2, 0), color = self.VolumeOutlineColor) - mb.addArc(max_w, Vector.Unit_Y, center = (0, max_h, 0), color = self.VolumeOutlineColor) + mb.addArc(max_w, Vector.Unit_Y, center = (0, max_h, 0), color = self.VolumeOutlineColor) self.setMeshData(mb.build()) # Build plate grid mesh mb = MeshBuilder() - mb.addArc(max_w, Vector.Unit_Y) + mb.addArc(max_w, Vector.Unit_Y, center = Vector(0, min_h - 0.2, 0)) sections = mb.getVertexCount() - mb.addVertex(0, 0, 0) + mb.addVertex(0, min_h - 0.2, 0) for n in range(0, sections-1): mb.addIndices([sections, n + 1, n])