개정판 38320b62
fix line connection
Change-Id: I4bc112669e1b44404a894cb881230bbc52fb168d
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
788 | 788 |
toler = int(configs[0].value) if configs else 20 |
789 | 789 |
detector = LineDetector(app_doc_data.imgSrc) |
790 | 790 |
|
791 |
lines = [item for item in self.graphicsView.scene().items() if type(item) is QEngineeringLineItem]# if item.length() > 50]
|
|
791 |
lines = sorted([item for item in self.graphicsView.scene().items() if type(item) is QEngineeringLineItem], key=lambda param: param.length(), reverse=True)# if item.length() > 50]
|
|
792 | 792 |
lines_short = []#[item for item in self.graphicsView.scene().items() if type(item) is QEngineeringLineItem if item.length() <= 50] |
793 | 793 |
unknowns = [item for item in self.graphicsView.scene().items() if type(item) is QEngineeringUnknownItem] |
794 | 794 |
end_breaks = [item for item in self.graphicsView.scene().items() if type(item) is QEngineeringEndBreakItem] |
내보내기 Unified diff