Exemplo n.º 1
0
 def __init__(self):
     self.current_profile_dxf = []
     
     Cad.__init__(self)
     
     try:
         opts, args = getopt.getopt(sys.argv[1:], "h", ["help"])
     except getopt.error, msg:
         print msg
         print "for help use --help"
         sys.exit(2)
Exemplo n.º 2
0
    def __init__(self):
        save_out = sys.stdout
        save_err = sys.stderr

        wx.App.__init__(self)

        sys.stdout = save_out
        sys.stderr = save_err

        Cad.__init__(self)

        heekscad.init()

        try:
            opts, args = getopt.getopt(sys.argv[1:], "h", ["help"])
        except getopt.error, msg:
            print msg
            print "for help use --help"
            sys.exit(2)
Exemplo n.º 3
0
    def __init__(self):
        save_out = sys.stdout
        save_err = sys.stderr

        wx.App.__init__(self)

        sys.stdout = save_out
        sys.stderr = save_err

        Cad.__init__(self)

        heekscad.init()

        try:
            opts, args = getopt.getopt(sys.argv[1:], "h", ["help"])
        except getopt.error, msg:
            print msg
            print "for help use --help"
            sys.exit(2)