Move slightly inside
This commit is contained in:
parent
94ebac6638
commit
6892492756
2 changed files with 3 additions and 3 deletions
|
|
@ -159,11 +159,11 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
this.Children.Add(textObject);
|
||||
// add a plate under the dots
|
||||
IObject3D basePlate = new CubeObject3D(textObject.XSize() + pointSize * pointsToMm / 2, textObject.YSize() + pointSize * pointsToMm / 2, BaseHeight);
|
||||
basePlate = new SetCenter(basePlate, textObject.GetCenter() - new Vector3(0, 0, textObject.ZSize() / 2 + basePlate.ZSize() / 2));
|
||||
basePlate = new SetCenter(basePlate, textObject.GetCenter() - new Vector3(0, 0, textObject.ZSize() / 2 + basePlate.ZSize() / 2 - .01));
|
||||
this.Children.Add(basePlate);
|
||||
}
|
||||
|
||||
this.Matrix *= Matrix4X4.CreateRotationX(MathHelper.Tau / 4);
|
||||
//this.Matrix *= Matrix4X4.CreateRotationX(-MathHelper.Tau / 4);
|
||||
|
||||
if (aabb.ZSize > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue