프로젝트

일반

사용자정보

개정판 5eed47ec

ID5eed47ec4b122ce89cf93be6e566b2b746c3ea14
상위 e383c2fe
하위 570cf873

gaqhf 이(가) 4년 이상 전에 추가함

dev issue #000 : fix

Change-Id: I28aa63f9ea9711e0f9e15bb411c9dd653fc25b53

차이점 보기:

DTI_PID/DTI_PID/RecognitionDialog.py
1248 1248
                    # TODO: detect flange
1249 1249
                    # detect flange
1250 1250
                    for sym in searchedSymbolList:
1251
                        Worker.detectFlangeOnPid(sym, app_doc_data.activeDrawing.image_origin)
1251
                        worker.detectFlangeOnPid(sym, app_doc_data.activeDrawing.image_origin)
1252 1252

  
1253 1253
                    # remove line has not connected item
1254 1254
                    try:
......
1833 1833

  
1834 1834
    @staticmethod
1835 1835
    def detectFlangeOnPid(symbol, img):
1836

  
1837
        pt = [float(x) for x in symbol.getSp()]
1836 1838
        connPts = []
1837 1839
        if symbol.getConnectionPoint() is not None and symbol.getConnectionPoint() != '':
1838 1840
            for param in symbol.getConnectionPoint().split('/'):
......
1845 1847
                                tokens) == 4 else None)
1846 1848

  
1847 1849
        for point in connPts:
1848
            a = point
1850
            worker.displayLog.emit(MessageType.Error, "gi")
1849 1851
            continue
1850 1852

  
1851 1853
        return None

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)