public void material() { _SETUP init = new _SETUP(ref _c); init.initBlocks(tableMaterialRow); //List<string> layerNames = new List<string>() { materialLayer }; //init.layers(layerNames); List <G.Area> areas = getAllAreas(boxName); List <T.TableHead> heads = getAllTableHeads(tableHead); List <T.TableBendingRow> rows = getAllTableRows(tableBendingRow); List <T.TableMaterialRow> summarys = getAllTableSummarys(tableMaterialRow); T.HandlerMaterial logic = new T.HandlerMaterial(); List <T.DrawingArea> data = logic.main(areas, heads, rows, summarys); material_output(data, tableMaterialRow[0]); }
public void bending() { _SETUP init = new _SETUP(ref _c); init.initBlocks(tableBendingRow); //List<string> layerNames = new List<string>() { bendingLayer }; //init.layers(layerNames); List <G.Area> areas = getAllAreas(boxName); List <T.TableHead> heads = getAllTableHeads(tableHead); List <T.ReinforcementMark> marks = getAllMarks(); List <T.BendingShape> bendings = getAllBendings(bendingShapes); List <T.TableBendingRow> rows = getAllTableRows(tableBendingRow); T.HandlerBending logic = new T.HandlerBending(); List <T.DrawingArea> data = logic.main(areas, heads, marks, bendings, rows); bending_output(data, tableBendingRow[0]); }
public void run() { //List<string> layerNames = new List<string>() { "K023TL", "Armatuur" }; //init.start(blockNames, layerNames); _SETUP init = new _SETUP(ref _c); init.initBlocks(blockNames); getSettings(); List <G.Line> polys = getGeometry(); G.Point insertPoint = getBendingInsertionPoint(); List <R.Raud> reinf = new List <R.Raud>(); List <R.Raud_Array> reinf_array = new List <R.Raud_Array>(); List <R.Raud> unique_reinf = new List <R.Raud>(); L.ReinforcmentHandler logic = new L.ReinforcmentHandler(polys); logic.main(ref reinf, ref reinf_array, ref unique_reinf); output(reinf, reinf_array, unique_reinf, insertPoint); }