Update Code_2_7.py
Browse files- Code_2_7.py +2 -2
Code_2_7.py
CHANGED
|
@@ -854,7 +854,7 @@ def get_hatched_areas(datadoc,filename,FinalRatio,rotationangle,SearchArray):
|
|
| 854 |
# rgb_color = get_hatch_color(entity) # Assuming this function exists
|
| 855 |
unique_shapes.append((normalized_vertices, area1))
|
| 856 |
|
| 857 |
-
if length >
|
| 858 |
hatched_areas.append([vertices, area1, length, rgb_color])
|
| 859 |
|
| 860 |
elif str(path.type) == 'BoundaryPathType.EDGE' or path.type == 2:
|
|
@@ -904,7 +904,7 @@ def get_hatched_areas(datadoc,filename,FinalRatio,rotationangle,SearchArray):
|
|
| 904 |
# rgb_color = get_hatch_color(entity) # Assuming this function exists
|
| 905 |
unique_shapes.append((normalized_vertices, area1))
|
| 906 |
|
| 907 |
-
if length >
|
| 908 |
hatched_areas.append([vert, area1, length, rgb_color])
|
| 909 |
|
| 910 |
else:
|
|
|
|
| 854 |
# rgb_color = get_hatch_color(entity) # Assuming this function exists
|
| 855 |
unique_shapes.append((normalized_vertices, area1))
|
| 856 |
|
| 857 |
+
if length > 0.6:
|
| 858 |
hatched_areas.append([vertices, area1, length, rgb_color])
|
| 859 |
|
| 860 |
elif str(path.type) == 'BoundaryPathType.EDGE' or path.type == 2:
|
|
|
|
| 904 |
# rgb_color = get_hatch_color(entity) # Assuming this function exists
|
| 905 |
unique_shapes.append((normalized_vertices, area1))
|
| 906 |
|
| 907 |
+
if length > 0.6:
|
| 908 |
hatched_areas.append([vert, area1, length, rgb_color])
|
| 909 |
|
| 910 |
else:
|