Index: DamTools/GeometryVisualizer/GeometryPlot.py =================================================================== diff -u -r4996 -r5103 --- DamTools/GeometryVisualizer/GeometryPlot.py (.../GeometryPlot.py) (revision 4996) +++ DamTools/GeometryVisualizer/GeometryPlot.py (.../GeometryPlot.py) (revision 5103) @@ -6,13 +6,14 @@ data = json.load(file) # Extract points +DEFAULT_VALUE = 91919191919.987654321 surfaces = data.get('Surfaces', []) for surface in surfaces: curves = surface.get('OuterLoop', {}).get('Curves', []) points = [] - previous_head_point = (999.9, 999.9) - previous_end_point = (999.9, 999.9) + previous_head_point = (DEFAULT_VALUE, DEFAULT_VALUE) + previous_end_point = (DEFAULT_VALUE, DEFAULT_VALUE) for curve in curves: head_point_element = curve.get('HeadPoint', {}) end_point_element = curve.get('EndPoint', {})