프로젝트

일반

사용자정보

개정판 85c4aeca

ID85c4aecad1990eaf57bb55ff3c08856620aea2ef
상위 01cdb12e
하위 33ed83c7

함의성이(가) 약 6년 전에 추가함

issue #000: revive trimline

Change-Id: Ifa18757e2f6e06132db34fa73f7f800349de4be0

차이점 보기:

DTI_PID/DTI_PID/LineNoTracer.py
294 294
                if updateProgress: updateProgress.emit(maxValue)
295 295

  
296 296
            ### make trim lines
297
            """
298 297
            updateProgress.emit(-1) # reset progressbar
299 298
            displayMessage.emit('Unknown line Topology Construction')
300 299
            orphanLines = [line for line in self._lines if line.owner is None] 
......
307 306
                    orphanLines[0].owner = trimLineNo
308 307
                    orphanLines[0].linkedItem = trimLineNo
309 308

  
310
                    connectedItems = self.findPrimaryLines(trimLineNo)
309
                    connectedItems = self.find_primary_lines(trimLineNo)
311 310
                    for item in connectedItems:
312 311
                        if item in orphanLines:
313 312
                            orphanLines.remove(item)
314 313
                            updateProgress.emit(maxValue)
315 314

  
316
                    self.findSecondaryLines(orphanLines)
315
                    self.find_secondary_lines(orphanLines)
317 316
                    for item in orphanLines[:]:
318 317
                        if item.owner is not None:
319 318
                            orphanLines.remove(item)
320 319
                            updateProgress.emit(maxValue)
321 320

  
322 321
                    docData.tracerLineNos.append(trimLineNo)
323
            """
322

  
324 323
            if updateProgress: updateProgress.emit(maxValue)
325 324
        except Exception as ex:
326 325
            from App import App 

내보내기 Unified diff

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