Making subtract select logical names from children rather than visible meshes

This commit is contained in:
Lars Brubaker 2019-03-22 10:29:05 -07:00
parent 4c9b5b39d0
commit 3f19e8d11c
4 changed files with 70 additions and 48 deletions

View file

@ -155,7 +155,8 @@ namespace MatterHackers.MatterControl.DesignTools
list.Add(new Object3D()
{
Mesh = VertexSourceToMesh.Extrude(scaledLetterPrinter, this.Height),
Matrix = Matrix4X4.CreateTranslation(offest, 0, 0)
Matrix = Matrix4X4.CreateTranslation(offest, 0, 0),
Name = letter.ToString()
});
offest += letterPrinter.GetSize(letter.ToString()).X * pointsToMm;