프로젝트

일반

사용자정보

개정판 06023b5a

ID06023b5ae5ae07c596dad5135f36e77315b6192e
상위 b00e81bf
하위 1a9c928a

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

issue #000: apply line offset

Change-Id: I9b1f576bb2d5df8db2c3196764b5e5ce6afc96ca

차이점 보기:

DTI_PID/DTI_PID/ImportTextFromCADDialog.py
1072 1072
        try:
1073 1073
            scale_x = max([id2_bbox[2] / autocad_bbox[2], id2_bbox[3] / autocad_bbox[3]]) if self.ui.doubleSpinBox.value() < 1 else self.ui.doubleSpinBox.value()
1074 1074
            scale_y = max([id2_bbox[2] / autocad_bbox[2], id2_bbox[3] / autocad_bbox[3]]) if self.ui.doubleSpinBox_2.value() < 1 else self.ui.doubleSpinBox_2.value()
1075
            offsets = [id2_bbox[0] - autocad_bbox[0] * scale_x, (id2_bbox[1] + id2_bbox[3]) - autocad_bbox[1] * scale_y]
1075
            offsets = [id2_bbox[0] + self.ui.spinBoxX.value() - autocad_bbox[0] * scale_x, (id2_bbox[1] + id2_bbox[3]) + self.ui.spinBoxY.value() - autocad_bbox[1] * scale_y]
1076 1076
            #offsets = [self.ui.spinBoxX.value(), self.drawing_height + self.ui.spinBoxX.value()]
1077 1077

  
1078 1078
            pts = []

내보내기 Unified diff

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