cleaned up some pep8/pyflakes violations
This commit is contained in:
+4
-4
@@ -1,4 +1,4 @@
|
||||
from surf.util import cube
|
||||
from surf.util import cube
|
||||
from surf.subd import cc
|
||||
polygon = cube()
|
||||
refined_poly = cc.refine(polygon)
|
||||
@@ -6,11 +6,11 @@ refined_poly = cc.refine(polygon)
|
||||
print polygon
|
||||
print refined_poly
|
||||
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
# import pylab
|
||||
# import mpl_toolkits.mplot3d.axes3d as p3
|
||||
#
|
||||
#
|
||||
# fig = pylab.figure()
|
||||
# ax = p3.Axes3D(fig)
|
||||
# for edge in newPolygon.edges:
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
from __future__ import division
|
||||
from surf.geometry import Vertex
|
||||
|
||||
v1 = Vertex(0.5, 0.25, 1/3.0)
|
||||
v1 = Vertex(0.5, 0.25, 1 / 3.0)
|
||||
v2 = Vertex(1, 1, 1)
|
||||
|
||||
print v1, v2, (v1 + v2) / 2
|
||||
|
||||
Reference in New Issue
Block a user