Marthee commited on
Commit
ff136a5
·
verified ·
1 Parent(s): 2e2005b

Update Code_2_7.py

Browse files
Files changed (1) hide show
  1. Code_2_7.py +2 -2
Code_2_7.py CHANGED
@@ -847,7 +847,7 @@ def get_hatched_areas(datadoc,filename,FinalRatio,rotationangle,SearchArray):
847
  # rgb_color = get_hatch_color(entity) # Assuming this function exists
848
  unique_shapes.append((normalized_vertices, area1))
849
 
850
- if length > 1:
851
  hatched_areas.append([vertices, area1, length, rgb_color])
852
 
853
  elif str(path.type) == 'BoundaryPathType.EDGE' or path.type == 2:
@@ -897,7 +897,7 @@ def get_hatched_areas(datadoc,filename,FinalRatio,rotationangle,SearchArray):
897
  # rgb_color = get_hatch_color(entity) # Assuming this function exists
898
  unique_shapes.append((normalized_vertices, area1))
899
 
900
- if length > 1:
901
  hatched_areas.append([vert, area1, length, rgb_color])
902
 
903
  else:
 
847
  # rgb_color = get_hatch_color(entity) # Assuming this function exists
848
  unique_shapes.append((normalized_vertices, area1))
849
 
850
+ if length > 0.6:
851
  hatched_areas.append([vertices, area1, length, rgb_color])
852
 
853
  elif str(path.type) == 'BoundaryPathType.EDGE' or path.type == 2:
 
897
  # rgb_color = get_hatch_color(entity) # Assuming this function exists
898
  unique_shapes.append((normalized_vertices, area1))
899
 
900
+ if length > 0.6:
901
  hatched_areas.append([vert, area1, length, rgb_color])
902
 
903
  else: