Closed sbaer closed 13 years ago
Section 8.4 line 6 of the projectpolyline function can be removed. The 'if' test is also performed on line 7
Could be rewritten as
def projectpolyline(vertices, surface_id): polyline = [] for vertex in vertices: pt = rs.BrepClosestPoint(surface_id, vertex) if pt: polyline.append(pt[0]) return polyline
Fixed
Section 8.4 line 6 of the projectpolyline function can be removed. The 'if' test is also performed on line 7
Could be rewritten as