Update dxf__omar3_2.py
Browse files- dxf__omar3_2.py +1 -1
dxf__omar3_2.py
CHANGED
|
@@ -1300,7 +1300,7 @@ def get_hatched_areas(datadoc,filename,FinalRatio,rotationangle,SearchArray):
|
|
| 1300 |
width = maxx - minx
|
| 1301 |
height = maxy - miny
|
| 1302 |
|
| 1303 |
-
if (poly.area > 0.
|
| 1304 |
area1 = round(poly.area, 3)
|
| 1305 |
perimeter = round(poly.length, 3)
|
| 1306 |
normalized_vertices = normalize_vertices(vert)
|
|
|
|
| 1300 |
width = maxx - minx
|
| 1301 |
height = maxy - miny
|
| 1302 |
|
| 1303 |
+
if (poly.area > 0.9 and (height > 0.7 and width > 0.7)):
|
| 1304 |
area1 = round(poly.area, 3)
|
| 1305 |
perimeter = round(poly.length, 3)
|
| 1306 |
normalized_vertices = normalize_vertices(vert)
|