Alpha 6 release files

This commit is contained in:
Juan Pablo Caram
2014-09-06 20:45:44 -04:00
parent 0974e54d98
commit 32076d4020
4 changed files with 23 additions and 18 deletions

View File

@@ -251,7 +251,7 @@ class App(QtCore.QObject):
#### Check for updates #### #### Check for updates ####
# Separate thread (Not worker) # Separate thread (Not worker)
self.version = 5 self.version = 6
App.log.info("Checking for updates in backgroud (this is version %s)." % str(self.version)) App.log.info("Checking for updates in backgroud (this is version %s)." % str(self.version))
self.worker2 = Worker(self, name="worker2") self.worker2 = Worker(self, name="worker2")
@@ -540,7 +540,7 @@ class App(QtCore.QObject):
title = QtGui.QLabel( title = QtGui.QLabel(
"<font size=8><B>FlatCAM</B></font><BR>" "<font size=8><B>FlatCAM</B></font><BR>"
"Version Alpha 5 (2015/06)<BR>" "Version Alpha 6 (2014/09)<BR>"
"<BR>" "<BR>"
"2D Post-processing for Manufacturing specialized in<BR>" "2D Post-processing for Manufacturing specialized in<BR>"
"Printed Circuit Boards<BR>" "Printed Circuit Boards<BR>"
@@ -1211,19 +1211,20 @@ class App(QtCore.QObject):
# Object name # Object name
name = filename.split('/')[-1].split('\\')[-1] name = filename.split('/')[-1].split('\\')[-1]
self.new_object("excellon", name, obj_init)
# New object creation and file processing # New object creation and file processing
try: # try:
self.new_object("excellon", name, obj_init) # self.new_object("excellon", name, obj_init)
except: # except:
e = sys.exc_info() # e = sys.exc_info()
App.log.error(str(e)) # App.log.error(str(e))
self.message_dialog("Failed to create Excellon Object", # self.message_dialog("Failed to create Excellon Object",
"Attempting to create a FlatCAM Excellon Object from " + # "Attempting to create a FlatCAM Excellon Object from " +
"Excellon file failed during processing:\n" + # "Excellon file failed during processing:\n" +
str(e[0]) + " " + str(e[1]), kind="error") # str(e[0]) + " " + str(e[1]), kind="error")
self.progress.emit(0) # self.progress.emit(0)
self.collection.delete_active() # self.collection.delete_active()
return # return
# Register recent file # Register recent file
self.file_opened.emit("excellon", filename) self.file_opened.emit("excellon", filename)

View File

@@ -217,7 +217,7 @@ class FlatCAMGUI(QtGui.QMainWindow):
self.setWindowIcon(self.app_icon) self.setWindowIcon(self.app_icon)
self.setGeometry(100, 100, 1024, 650) self.setGeometry(100, 100, 1024, 650)
self.setWindowTitle('FlatCAM - Alpha 5') self.setWindowTitle('FlatCAM - Alpha 6')
self.show() self.show()
@@ -635,6 +635,9 @@ class CNCJobOptionsGroupUI(OptionsGroupUI):
class GlobalOptionsUI(QtGui.QWidget): class GlobalOptionsUI(QtGui.QWidget):
"""
This is the app and project options editor.
"""
def __init__(self, parent=None): def __init__(self, parent=None):
QtGui.QWidget.__init__(self, parent=parent) QtGui.QWidget.__init__(self, parent=parent)

View File

@@ -2,8 +2,7 @@ The MIT License (MIT)
Copyright (c) 2014 Juan Pablo Caram Copyright (c) 2014 Juan Pablo Caram
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

View File

@@ -1424,7 +1424,7 @@ class Excellon(Geometry):
self.drills = [] self.drills = []
# Trailing "T" or leading "L" (default) # Trailing "T" or leading "L" (default)
self.zeros = "L" self.zeros = "T"
# Attributes to be included in serialization # Attributes to be included in serialization
# Always append to it because it carries contents # Always append to it because it carries contents
@@ -1625,6 +1625,8 @@ class Excellon(Geometry):
continue continue
log.warning("Line ignored: %s" % eline) log.warning("Line ignored: %s" % eline)
log.info("Zeros: %s, Units %s." % (self.zeros, self.units))
def parse_number(self, number_str): def parse_number(self, number_str):
""" """