Skip to content

Commit

Permalink
🥅 arc edge normal
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco-Pellegrino committed Jul 19, 2022
1 parent 3ccbe9d commit e38421c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion FemDesign.Core/Supports/LineSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,14 @@ private void Initialize(Edge edge, Group group, bool movingLocal, string identif
// set edge specific properties
this.Group = group;
this.Edge = edge;
this.EdgeNormal = group.LocalX;
if(this.Edge.Type == "line")
{
this.EdgeNormal = group.LocalX;
}
else
{
this.EdgeNormal = edge.Normal;
}
}

/// <summary>
Expand Down

0 comments on commit e38421c

Please sign in to comment.