refactoring

This commit is contained in:
LarsBrubaker 2020-10-13 22:24:30 -07:00
parent 694d991909
commit 7164f52a9d
5 changed files with 42 additions and 12 deletions

View file

@ -360,7 +360,7 @@ namespace MatterHackers.MatterControl.DesignTools
VertexStorage rawVectorShape = basePolygons.PolygonToPathStorage();
var vectorShape = new VertexSourceApplyTransform(rawVectorShape, Affine.NewScaling(1.0 / scalingForClipper));
var mesh = VertexSourceToMesh.Extrude(vectorShape, zHeight: ExtrusionHeight);
var mesh = VertexSourceToMesh.Extrude(vectorShape, zHeightTop: ExtrusionHeight);
mesh.Translate(new Vector3(0, 0, -ExtrusionHeight + bottomWithoutBase));
var baseObject = new Object3D()