OpenSCAD: import surfaces

This commit is contained in:
Sebastian Hoogen
2014-02-18 10:53:12 +01:00
committed by Yorik van Havre
parent c5f73a2bba
commit e63a40c170
2 changed files with 12 additions and 1 deletions

View File

@@ -502,4 +502,4 @@ def makeSurfaceVolume(filename):
f4=Part.Face(Part.Wire([plane.Edges[3],l2.Edges[0],s.uIso(1).toShape(),l4.Edges[0]]))
f5=s.toShape().Faces[0]
solid=Part.Solid(Part.Shell([f0,f1,f2,f3,f4,f5]))
return solid,(len(coords[0])-1)/2.0,(len(choords)-1)/2.0
return solid,(len(coords[0])-1)/2.0,(len(coords)-1)/2.0