1,0

BRD1,{{ProjectName}}
{%-for board in Boards-%}
BRD2,{{board.BoardID}},{{board.Length}},{{board.Width}},{{board.BoardNumber}},0,{{board.Thick}},{{board.MatBoardName}},,{{board.Describe}},{{board.Grain}},,0,,
{%- endfor-%}

XBRD1,{{ProjectName}}
{%-for solution in SolutionCuttings-%}
{%-for board in solution.Offcuts-%}
XBRD2,{{board.BoardID}},{{board.Length}},{{board.Width}},{{board.BoardNumber}},0,{{board.Thick}},{{board.MatBoardName}},,,{{board.Grain}},,1,,
{%- endfor-%}
{%- endfor-%}

PNL1,{{ProjectName}}
{%-for part in Parts-%}
PNL2,{{part.ImportFileDetailDto.PartFamily}},{{part.MatBoardName}},{{part.PartWidth}},{{part.PartHeight}},{{part.RequireQty}},{{part.Grain}},0,0,0,0,1,0,0,{{part.ImportFileDetailDto.ADDINFO1}},{{part.ImportFileDetailDto.ADDINFO2}},{{part.ImportFileDetailDto.ADDINFO3}},{{part.ImportFileDetailDto.ADDINFO4}},{{part.ImportFileDetailDto.ADDINFO5}},{{part.ImportFileDetailDto.ADDINFO6}},{{part.ImportFileDetailDto.ADDINFO7}},{{part.ImportFileDetailDto.ADDINFO8}},{{part.ImportFileDetailDto.ADDINFO9}},{{part.ImportFileDetailDto.ADDINFO10}},{{part.ImportFileDetailDto.ADDINFO11}},{{part.ImportFileDetailDto.ADDINFO12}},{{part.ImportFileDetailDto.ADDINFO13}},{{part.ImportFileDetailDto.ADDINFO14}},{{part.ImportFileDetailDto.ADDINFO15}},{{part.ImportFileDetailDto.ADDINFO16}},{{part.ImportFileDetailDto.ADDINFO17}},{{part.ImportFileDetailDto.ADDINFO18}},{{part.ImportFileDetailDto.ADDINFO19}},{{part.ImportFileDetailDto.ADDINFO20}},{{part.ImportFileDetailDto.ADDINFO21}},{{part.ImportFileDetailDto.ADDINFO22}},{{part.ImportFileDetailDto.ADDINFO23}},{{part.ImportFileDetailDto.ADDINFO24}},{{part.ImportFileDetailDto.ADDINFO25}},{{part.ImportFileDetailDto.ADDINFO26}},{{part.ImportFileDetailDto.ADDINFO27}},{{part.ImportFileDetailDto.ADDINFO28}},{{part.ImportFileDetailDto.ADDINFO29}},{{part.ImportFileDetailDto.ADDINFO30}},{{part.ImportFileDetailDto.BarCode}}
{%- endfor-%}

{%-for mat in Materials-%}
MAT2,{{mat.MaterialsCode}},{{mat.MaterialsDescription}},{{mat.MaterialsThickness}},1,0,{{machineParameterSettingDto.RipCut}},{{machineParameterSettingDto.RipCut}},{{machineParameterSettingDto.RipCut}},0,0,0,{{machineParameterSettingDto.Trim}},{{machineParameterSettingDto.Trim}},{{machineParameterSettingDto.Trim}},{{machineParameterSettingDto.Trim}},{{machineParameterSettingDto.TrimRecutsFront}},{{machineParameterSettingDto.TrimRecutsFront}},{{machineParameterSettingDto.TrimRecutsBack}},0,{{machineParameterSettingDto.MinLengthUsableOffcuts}},{{machineParameterSettingDto.MinWidthUsableOffcuts}},{{machineParameterSettingDto.MinAreaUsableOffcuts}},0,110,2200,0,0,0,0,0,1,1,0,0,0,2,0,0,0,1,30,30,30,5,HOMAG,104.3922,33,9.12,0.15,4,11.91,0.19,4,4,952.576,0:16,,,,,,,,,,.bmp,
{%- endfor-%}

{%-for solution in SolutionCuttings-%}
{%-for layout in solution.Layouts-%}
PTN2,{{layout.SheetIndex}},,{{layout.Count}},1,1:29,0:01,4,{{layout.PartCount}},0,0
PTNR,{{layout.SawCommandStr}}
{%- endfor-%}
{%- endfor-%}