1. Masahiro Hasegawa
  2. NCEdit

Commits

Masahiro Hasegawa  committed bb30e21

エンバグしていたのでロールバック

  • Participants
  • Parent commits 16dfe91
  • Branches default

Comments (0)

Files changed (1)

File nc2sxf.py

View file
 マイナー  大きな変更
 外観および機能変更
 バグフィックス"""
-__version__ = "1.3.2.5 $Date$"
+__version__ = "1.3.2.6 $Date$"
 
 
 import codecs
         else:
             if self.__coord == 2:
                 if self.__angle < 0:
-                    angle = 0 - self.__angle
+                    angle = 360 + self.__angle
                 else:
-                    angle = 360 - self.__angle
+                    angle = self.__angle
             else:
                 if self.__turn:
                     angle = 180
                             y = self.__pos[1]
                         elif self.__coord == 2:
                             z = -self.__pos[0]
-                            x = -self.__pos[1]
+                            x = self.__pos[1]
                         if mo.group("x"):
                             tmp = float(mo.group("x")[1:]) + self.__offset[0]
                             length = abs(x - tmp)
                         if self.__coord == 1:
                             self.__move(outfile, x, y)
                         elif self.__coord == 2:
-                            self.__move(outfile, -z, -x)
+                            self.__move(outfile, -z, x)
                     else:
                         if mo.group("x"):
                             x = float(mo.group("x")[1:])