Compare commits
3 Commits
bf36a56387
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| da4d3228b0 | |||
| 3c1700c480 | |||
| f2f50f9914 |
@@ -100,10 +100,11 @@ namespace EtchBendLines
|
|||||||
var doc = LoadDocument(filePath);
|
var doc = LoadDocument(filePath);
|
||||||
var bends = ExtractBends(doc);
|
var bends = ExtractBends(doc);
|
||||||
|
|
||||||
// Ensure all bend lines are on the BEND layer
|
// Ensure all bend lines are on the BEND layer with ByLayer color
|
||||||
foreach (var bend in bends)
|
foreach (var bend in bends)
|
||||||
{
|
{
|
||||||
bend.Line.Layer = BendLayer;
|
bend.Line.Layer = BendLayer;
|
||||||
|
bend.Line.Color = Color.ByLayer;
|
||||||
}
|
}
|
||||||
|
|
||||||
var upBends = bends.Where(b => b.Direction == BendDirection.Up);
|
var upBends = bends.Where(b => b.Direction == BendDirection.Up);
|
||||||
|
|||||||
Reference in New Issue
Block a user