refactor: rename Size.Height to Size.Length across codebase
"Length" is more natural than "height" for flat plate materials. Renames the field on OpenNest.Geometry.Size, Box.Height property, and all references across 38 files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -145,29 +145,29 @@ namespace OpenNest.IO
|
||||
{
|
||||
case 1:
|
||||
pt1 = new XYZ(0, 0, 0);
|
||||
pt2 = new XYZ(0, plate.Size.Height, 0);
|
||||
pt3 = new XYZ(plate.Size.Width, plate.Size.Height, 0);
|
||||
pt2 = new XYZ(0, plate.Size.Length, 0);
|
||||
pt3 = new XYZ(plate.Size.Width, plate.Size.Length, 0);
|
||||
pt4 = new XYZ(plate.Size.Width, 0, 0);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
pt1 = new XYZ(0, 0, 0);
|
||||
pt2 = new XYZ(0, plate.Size.Height, 0);
|
||||
pt3 = new XYZ(-plate.Size.Width, plate.Size.Height, 0);
|
||||
pt2 = new XYZ(0, plate.Size.Length, 0);
|
||||
pt3 = new XYZ(-plate.Size.Width, plate.Size.Length, 0);
|
||||
pt4 = new XYZ(-plate.Size.Width, 0, 0);
|
||||
break;
|
||||
|
||||
case 3:
|
||||
pt1 = new XYZ(0, 0, 0);
|
||||
pt2 = new XYZ(0, -plate.Size.Height, 0);
|
||||
pt3 = new XYZ(-plate.Size.Width, -plate.Size.Height, 0);
|
||||
pt2 = new XYZ(0, -plate.Size.Length, 0);
|
||||
pt3 = new XYZ(-plate.Size.Width, -plate.Size.Length, 0);
|
||||
pt4 = new XYZ(-plate.Size.Width, 0, 0);
|
||||
break;
|
||||
|
||||
case 4:
|
||||
pt1 = new XYZ(0, 0, 0);
|
||||
pt2 = new XYZ(0, -plate.Size.Height, 0);
|
||||
pt3 = new XYZ(plate.Size.Width, -plate.Size.Height, 0);
|
||||
pt2 = new XYZ(0, -plate.Size.Length, 0);
|
||||
pt3 = new XYZ(plate.Size.Width, -plate.Size.Length, 0);
|
||||
pt4 = new XYZ(plate.Size.Width, 0, 0);
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user