Commit 85b703fc authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[Tools] surface from path: correctly use the argument max_surface_area

parent 24fcf3b9
......@@ -163,7 +163,7 @@ def getSurfacesFromGuideContinuous(rbprmBuilder,
phase_surfaces = []
for name in phase_contacts_names:
surface = surfaces_dict[name][0]
if useIntersection and area(surface) > MAX_SURFACE:
if useIntersection and area(surface) > max_surface_area:
if name in step_contacts:
intersection = intersections[step_contacts.index(name)]
if len(intersection) > 3:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment