Skip to content

Commit

Permalink
fix export of circular edges
Browse files Browse the repository at this point in the history
  • Loading branch information
jreinhardt authored and yorikvanhavre committed Apr 29, 2014
1 parent 30ef377 commit 1479765
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Mod/Arch/importWebGL.py
Expand Up @@ -172,11 +172,7 @@ def getObjectData(obj,wireframeMode=wireframeStyle):
for f in obj.Shape.Faces:
for w in f.Wires:
wo = Part.Wire(DraftGeomUtils.sortEdges(w.Edges))
p = []
for v in wo.Vertexes:
p.append(v.Point)
p.append(wo.Vertexes[0].Point)
wires.append(p)
wires.append(wo.discretize(0.1))

elif obj.isDerivedFrom("Mesh::Feature"):
mesh = obj.Mesh
Expand Down

0 comments on commit 1479765

Please sign in to comment.