Bläddra i källkod

- comment changes on the file licenses (added major contributor names)

Marius Stanciu 6 år sedan
förälder
incheckning
ffd707ccce

+ 5 - 0
FlatCAMEditor.py

@@ -6,6 +6,11 @@
 # MIT Licence                                              #
 ############################################################
 
+############################################################                                      #
+# File Modified: Marius Adrian Stanciu (c)                 #
+# Date: 3/10/2019                                          #
+############################################################
+
 from PyQt5 import QtGui, QtCore, QtWidgets
 from PyQt5.QtCore import Qt, QSettings
 import FlatCAMApp

+ 5 - 0
FlatCAMGUI.py

@@ -6,6 +6,11 @@
 # MIT Licence                                              #
 ############################################################
 
+############################################################
+# File Modified (major mod): Marius Adrian Stanciu         #
+# Date: 3/10/2019                                          #
+############################################################
+
 from PyQt5 import QtGui, QtCore, QtWidgets
 from PyQt5.QtCore import Qt, QSettings
 from GUIElements import *

+ 8 - 0
FlatCAMPostProc.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Matthieu Berthomé                           #
+# Date: 5/26/2017                                          #
+# MIT Licence                                              #
+############################################################
+
 from importlib.machinery import SourceFileLoader
 import os
 from abc import ABCMeta, abstractmethod

+ 8 - 0
FlatCAMTranslation.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 import os
 import sys
 

+ 13 - 0
GUIElements.py

@@ -1,3 +1,16 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# Author: Juan Pablo Caram (c)                             #
+# Date: 2/5/2014                                           #
+# MIT Licence                                              #
+############################################################
+
+############################################################
+# File Modified (major mod): Marius Adrian Stanciu         #
+# Date: 3/10/2019                                          #
+############################################################
+
 from PyQt5 import QtGui, QtCore, QtWidgets
 from PyQt5.QtCore import Qt, pyqtSignal, pyqtSlot
 from PyQt5.QtWidgets import QTextEdit, QCompleter, QAction

+ 4 - 0
ObjectCollection.py

@@ -6,6 +6,10 @@
 # MIT Licence                                              #
 ############################################################
 
+############################################################
+# File modified by: Dennis Hayrullin                       #
+############################################################
+
 # from PyQt5.QtCore import QModelIndex
 from FlatCAMObj import *
 import inspect  # TODO: Remove

+ 13 - 0
ObjectUI.py

@@ -1,3 +1,16 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# Author: Juan Pablo Caram (c)                             #
+# Date: 2/5/2014                                           #
+# MIT Licence                                              #
+############################################################
+
+############################################################
+# File Modified (major mod): Marius Adrian Stanciu         #
+# Date: 3/10/2019                                          #
+############################################################
+
 import sys
 from PyQt5 import QtGui, QtCore, QtWidgets
 from PyQt5.QtCore import Qt

+ 8 - 0
ParseDXF.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 import re
 import itertools
 import math

+ 7 - 0
ParseDXF_Spline.py

@@ -2,6 +2,13 @@
 # Vasilis Vlachoudis
 # Date: 20-Oct-2015
 
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File modified: Marius Adrian Stanciu                     #
+# Date: 3/10/2019                                          #
+############################################################
+
 import math
 import sys
 

+ 8 - 0
ParseFont.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 #########################################################################
 ### Borrowed code from 'https://github.com/gddc/ttfquery/blob/master/ ###
 ### and made it work with Python 3                          #############

+ 1 - 1
README.md

@@ -21,7 +21,7 @@ CAD program, and create G-Code for Isolation routing.
 - further work in internationalization, added a fallback to English language in case there is no translation for a string
 - fix for issue #262: when doing Edit-> Save & Close Editor on a Geometry that is not generated through first entering into an Editor, the geometry disappear
 - finished preparing for internationalization for the files: camlib and objectCollection
-- fixed tools shortcuts not working anymore due of the new toogle parameter for the .run().
+- fixed tools shortcuts not working anymore due of the new toggle parameter for the .run().
 - finished preparing for internationalization for the files: FlatCAMEditor, FlatCAMGUI
 - finished preparing for internationalization for the files: FlatCAMObj, ObjectUI
 - sorted the languages in the Preferences combobox

+ 8 - 0
VisPyCanvas.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Dennis Hayrullin                            #
+# Date: 2/5/2016                                           #
+# MIT Licence                                              #
+############################################################
+
 import numpy as np
 from PyQt5.QtGui import QPalette
 import vispy.scene as scene

+ 8 - 0
VisPyPatches.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Dennis Hayrullin                            #
+# Date: 2/5/2016                                           #
+# MIT Licence                                              #
+############################################################
+
 from vispy.visuals import markers, LineVisual, InfiniteLineVisual
 from vispy.visuals.axis import Ticker, _get_ticks_talbot
 from vispy.scene.widgets import Grid

+ 8 - 0
VisPyTesselators.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Dennis Hayrullin                            #
+# Date: 2/5/2016                                           #
+# MIT Licence                                              #
+############################################################
+
 from OpenGL import GLU
 
 

+ 8 - 0
VisPyVisuals.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Dennis Hayrullin                            #
+# Date: 2/5/2016                                           #
+# MIT Licence                                              #
+############################################################
+
 from vispy.visuals import CompoundVisual, LineVisual, MeshVisual, TextVisual, MarkersVisual
 from vispy.scene.visuals import VisualNode, generate_docstring, visuals
 from vispy.gloo import set_state

+ 8 - 0
flatcamTools/ToolCalculators.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from PyQt5 import QtGui
 from GUIElements import FCEntry
 from FlatCAMTool import FlatCAMTool

+ 8 - 0
flatcamTools/ToolFilm.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMTool import FlatCAMTool
 
 from GUIElements import RadioSet, FCEntry

+ 8 - 0
flatcamTools/ToolImage.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMTool import FlatCAMTool
 
 from GUIElements import RadioSet, FloatEntry, FCComboBox, IntEntry

+ 8 - 0
flatcamTools/ToolMeasurement.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMTool import FlatCAMTool
 from FlatCAMObj import *
 from VisPyVisuals import *

+ 8 - 0
flatcamTools/ToolMove.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMTool import FlatCAMTool
 from FlatCAMObj import *
 from VisPyVisuals import *

+ 8 - 0
flatcamTools/ToolNonCopperClear.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Modified by: Marius Adrian Stanciu (c)              #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMTool import FlatCAMTool
 from copy import copy,deepcopy
 from ObjectCollection import *

+ 8 - 0
flatcamTools/ToolPaint.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Modified: Marius Adrian Stanciu (c)                 #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMTool import FlatCAMTool
 from copy import copy,deepcopy
 from ObjectCollection import *

+ 8 - 79
flatcamTools/ToolPanelize.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMTool import FlatCAMTool
 from copy import copy, deepcopy
 from ObjectCollection import *
@@ -397,85 +405,6 @@ class Panelize(FlatCAMTool):
                     rows -= 1
                     panel_lengthy = ((ymax - ymin) * rows) + (spacing_rows * (rows - 1))
 
-        # def clean_temp():
-        #     # deselect all  to avoid  delete selected object when run  delete  from  shell
-        #     self.app.collection.set_all_inactive()
-        #
-        #     for del_obj in self.objs:
-        #         self.app.collection.set_active(del_obj.options['name'])
-        #         self.app.on_delete()
-        #
-        #     self.objs[:] = []
-
-        # def panelize():
-        #     if panel_obj is not None:
-        #         self.app.inform.emit("Generating panel ... Please wait.")
-        #
-        #         self.app.progress.emit(10)
-        #
-        #         if isinstance(panel_obj, FlatCAMExcellon):
-        #             currenty = 0.0
-        #             self.app.progress.emit(0)
-        #
-        #             def initialize_local_excellon(obj_init, app):
-        #                 obj_init.tools = panel_obj.tools
-        #                 # drills are offset, so they need to be deep copied
-        #                 obj_init.drills = deepcopy(panel_obj.drills)
-        #                 obj_init.offset([float(currentx), float(currenty)])
-        #                 obj_init.create_geometry()
-        #                 self.objs.append(obj_init)
-        #
-        #             self.app.progress.emit(0)
-        #             for row in range(rows):
-        #                 currentx = 0.0
-        #                 for col in range(columns):
-        #                     local_outname = self.outname + ".tmp." + str(col) + "." + str(row)
-        #                     self.app.new_object("excellon", local_outname, initialize_local_excellon, plot=False,
-        #                                         autoselected=False)
-        #                     currentx += lenghtx
-        #                 currenty += lenghty
-        #         else:
-        #             currenty = 0
-        #             self.app.progress.emit(0)
-        #
-        #             def initialize_local_geometry(obj_init, app):
-        #                 obj_init.solid_geometry = panel_obj.solid_geometry
-        #                 obj_init.offset([float(currentx), float(currenty)])
-        #                 self.objs.append(obj_init)
-        #
-        #             self.app.progress.emit(0)
-        #             for row in range(rows):
-        #                 currentx = 0
-        #
-        #                 for col in range(columns):
-        #                     local_outname = self.outname + ".tmp." + str(col) + "." + str(row)
-        #                     self.app.new_object("geometry", local_outname, initialize_local_geometry, plot=False,
-        #                                         autoselected=False)
-        #                     currentx += lenghtx
-        #                 currenty += lenghty
-        #
-        #         def job_init_geometry(obj_fin, app_obj):
-        #             FlatCAMGeometry.merge(self.objs, obj_fin)
-        #
-        #         def job_init_excellon(obj_fin, app_obj):
-        #             # merge expects tools to exist in the target object
-        #             obj_fin.tools = panel_obj.tools.copy()
-        #             FlatCAMExcellon.merge(self.objs, obj_fin)
-        #
-        #         if isinstance(panel_obj, FlatCAMExcellon):
-        #             self.app.progress.emit(50)
-        #             self.app.new_object("excellon", self.outname, job_init_excellon, plot=True, autoselected=True)
-        #         else:
-        #             self.app.progress.emit(50)
-        #             self.app.new_object("geometry", self.outname, job_init_geometry, plot=True, autoselected=True)
-        #
-        #     else:
-        #         self.app.inform.emit("[ERROR_NOTCL] Obj is None")
-        #         return "ERROR: Obj is None"
-
-        # panelize()
-        # clean_temp()
-
         def panelize_2():
             if panel_obj is not None:
                 self.app.inform.emit(_("Generating panel ... Please wait."))

+ 8 - 0
flatcamTools/ToolProperties.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from PyQt5 import QtGui, QtCore, QtWidgets
 from PyQt5.QtCore import Qt
 from FlatCAMTool import FlatCAMTool

+ 8 - 0
flatcamTools/ToolSolderPaste.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMTool import FlatCAMTool
 from FlatCAMCommon import LoudDict
 from GUIElements import FCComboBox, FCEntry, FCTable

+ 8 - 0
flatcamTools/ToolTransform.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from PyQt5 import QtGui, QtCore, QtWidgets
 from PyQt5.QtCore import Qt
 from GUIElements import FCEntry, FCButton, OptionalInputSection

+ 8 - 2
make_win.py

@@ -2,10 +2,10 @@
 # FlatCAM: 2D Post-processing for Manufacturing            #
 # http://flatcam.org                                       #
 # Author: Juan Pablo Caram (c)                             #
-# Date: 12/20/2018                                           #
+# Date: 12/20/2018                                         #
 # MIT Licence                                              #
 #                                                          #
-# Creates a portable copy of FlatCAM, including Python    #
+# Creates a portable copy of FlatCAM, including Python     #
 # itself and all dependencies.                             #
 #                                                          #
 # This is not an aid to install FlatCAM from source on     #
@@ -13,6 +13,12 @@
 # and running and ready to be packaged.                    #
 ############################################################
 
+############################################################
+# File Modified (major mod): Marius Adrian Stanciu         #
+# Date: 3/10/2019                                          #
+############################################################
+
+
 # Files not needed: Qt, tk.dll, tcl.dll, tk/, tcl/, vtk/,
 #   scipy.lib.lapack.flapack.pyd, scipy.lib.blas.fblas.pyd,
 #   numpy.core._dotblas.pyd, scipy.sparse.sparsetools._bsr.pyd,

+ 8 - 0
postprocessors/Paste_1.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/Repetier.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/Roland_MDX_20.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/Toolchange_Custom.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/Toolchange_Probe_MACH3.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/Toolchange_manual.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/default.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Matthieu Berthomé                           #
+# Date: 5/26/2017                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/grbl_11.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Matthieu Berthomé                           #
+# Date: 5/26/2017                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/grbl_laser.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Matthieu Berthomé                           #
+# Date: 5/26/2017                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 # This post processor is configured to output code that

+ 8 - 0
postprocessors/hpgl.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/line_xyz.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *
 
 

+ 8 - 0
postprocessors/marlin.py

@@ -1,3 +1,11 @@
+############################################################
+# FlatCAM: 2D Post-processing for Manufacturing            #
+# http://flatcam.org                                       #
+# File Author: Marius Adrian Stanciu (c)                   #
+# Date: 3/10/2019                                          #
+# MIT Licence                                              #
+############################################################
+
 from FlatCAMPostProc import *