Marthee commited on
Commit
c6fea03
·
verified ·
1 Parent(s): bac81a6

Update Code_2_7.py

Browse files
Files changed (1) hide show
  1. 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 > 1:
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 > 1:
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: