Skip to content

Commit

Permalink
Version 1.7.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
svenhb authored Feb 25, 2024
1 parent 5d0f4a0 commit e96cd51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GRBL-Plotter/GCodeCreation/GraphicGenerateHatchFill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ private static void ClipLineByPolygone(Point p1, Point p2, List<PathObject> path
f_length_to_be_removed_from_pt1 = d_and_a[j].s2;
f_length_to_be_removed_from_pt2 = d_and_a[j + 1].s1;
if ((f_initial_hatch_length - (f_length_to_be_removed_from_pt1 + f_length_to_be_removed_from_pt2)) <= f_min_allowed_hatch_length)
{ Logger.Trace("Just don't insert"); } // # Just don't insert it into the hatch list
{ }// Logger.Trace("Just don't insert"); } // # Just don't insert it into the hatch list
else
{
Point pt1 = RelativeControlPointPosition(f_length_to_be_removed_from_pt1, x2 - x1, y2 - y1, x1, y1);
Expand Down
7 changes: 7 additions & 0 deletions GRBL-Plotter/GCodeCreation/XmlMarker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,13 @@ internal static bool GetGroupLast(ref BlockData tmp)
public static bool GetGroup(int lineNR)
{ return GetGroup(lineNR, 0); }

public static int GetStartLineOfGroup(int index)
{
if ((index >=0) && (index < listGroups.Count))
return listGroups[index].LineStart;
return -1;
}

public static bool GetGroup(int lineNR, int search)
{
if (listGroups.Count > 0)
Expand Down

0 comments on commit e96cd51

Please sign in to comment.