개정판 e9edb5e8
remove test code
Change-Id: I22ab734f51a8cd2dc17ce0794d16d886a9f25a97
DTI_PID/DTI_PID/ImportTextFromCADDialog.py | ||
---|---|---|
1466 | 1466 |
loc = self.convert_to_image_coords([float(text_node.attrib['X']), float(text_node.attrib['Y'])]) |
1467 | 1467 |
|
1468 | 1468 |
text = text_node.text |
1469 |
if text == '323001B': |
|
1470 |
print('a') |
|
1469 |
#if text == '323001B':
|
|
1470 |
# print('a')
|
|
1471 | 1471 |
angle = round(float(text_node.attrib['Angle']), 2) |
1472 | 1472 |
if 'IsMirroredInX' in text_node.attrib and text_node.attrib['IsMirroredInX'] == 'True': |
1473 | 1473 |
if abs(math.pi * 0.5 - angle) < 0.01 or abs(math.pi * 1.5 - angle) < 0.01: |
내보내기 Unified diff