From: Ian Jackson Date: Tue, 7 Nov 2017 16:07:53 +0000 (+0000) Subject: mesh: fix polygon rotation offset for wire X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=a1ce49d77f0df348bd62a7937c2af0ebf3590b20;p=moebius3.git mesh: fix polygon rotation offset for wire Signed-off-by: Ian Jackson --- diff --git a/meshscad b/meshscad index 85b03a1..c043e68 100755 --- a/meshscad +++ b/meshscad @@ -63,7 +63,7 @@ def make_moebius(objname): for v in range(0, nv): for w in range(0, nw+1): for s in range(0, ns): - sigmas = [ (s + sx + 0.)/ns * tau for sx in 0,1 ] + sigmas = [ (s + sx + 0.5)/ns * tau for sx in 0,1 ] #print('VWS',v,w,s, sigmas, file=sys.stderr) if not w % each_w: extents[w % nw].quad([ cnr for cnr in qc(v,w,sigmas,False) ])