Loading files
366e28f22This file is pinned to the selected release. Download the original to open it in your design tool.
using IDE.Core.Build;
using IDE.Core.Interfaces;
namespace IDE.Core.Gerber
{
public class PickAndPlaceGerberLayerBuilder:GerberLayerBuilder
{
public override Task<BuildResult> Build(IBoardDesigner board, BoardGlobalLayerOutput layer, string gerberFilePath)
{
BuildFileAttributes(board, layer.Layer);
PrepareBoardOutline(board);
var result = new BuildResult { Success = true };
result.OutputFiles.Add(gerberFilePath);
return Task.FromResult(result);
}
}
}