refactoring
This commit is contained in:
parent
694d991909
commit
7164f52a9d
5 changed files with 42 additions and 12 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue