File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -530,7 +530,7 @@ def loft(*args):
530
530
lines = list (args )
531
531
line1 = lines .pop (0 )
532
532
assert line1 .length > 0
533
- poly_set = set ()
533
+ polys = []
534
534
while len (lines ) > 0 :
535
535
line2 = lines .pop (0 )
536
536
assert line2 .length > 0
@@ -583,10 +583,10 @@ def loft(*args):
583
583
584
584
log .debug ("Constructed {0}" .format (to_string (poly )))
585
585
if poly is not None :
586
- poly_set . add (poly )
586
+ polys . append (poly )
587
587
line1 = line2
588
588
589
- return shapely .ops .cascaded_union (poly_set )
589
+ return shapely .ops .cascaded_union (polys )
590
590
591
591
592
592
def loft_to_grid (base_line , dir , width ):
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def add_region(self, region):
171
171
def refresh_conglomerate (self ):
172
172
"""Regenerate the conglomerate polygon.
173
173
"""
174
- polygons = set ( [r .polygon for r in self .regions ])
174
+ polygons = [r .polygon for r in self .regions ]
175
175
self .conglomerate_polygon = aagen .geometry .union (polygons )
176
176
177
177
You can’t perform that action at this time.
0 commit comments