extract informations about corners
This commit is contained in:
@@ -290,6 +290,7 @@ def array_summary():
|
||||
calculator.subarrays,
|
||||
max_y)
|
||||
context['buildings'] = project_presenter.get_buildings(calculator.buildings_for_drawing, max_y)
|
||||
context['corners'] = project_presenter.get_corners(calculator.buildings)
|
||||
context['override_form'] = True
|
||||
context['cad_file_name'] = session_manager.site.cad_file_name or 'Upload System Text Data'
|
||||
context['dxf_file_name'] = session_manager.site.dxf_file_name or 'Upload System DXF'
|
||||
@@ -297,6 +298,11 @@ def array_summary():
|
||||
context['inaccurate_drawing_warning'] = 'The subarrays in this design are not parallel to each other, \
|
||||
and the graphical representation on this page may not be accurate.'
|
||||
|
||||
print("=================")
|
||||
print("CORNERS : ")
|
||||
print(context['corners'])
|
||||
print("=================")
|
||||
|
||||
except FileValidationException as error:
|
||||
# when calculator is about to enter infinte loop
|
||||
# it throws an exception - it is supplied wrong data
|
||||
|
||||
Reference in New Issue
Block a user