From 911d00bfd7f04a39fdcd0998b100f2967cc34d23 Mon Sep 17 00:00:00 2001 From: Dave Cowden Date: Sun, 14 Apr 2013 19:29:35 -0400 Subject: [PATCH] updated licenses --- LICENSE | 18 ++++++++++++++++++ cadquery/CQ.py | 18 +++++++++++++++--- cadquery/__init__.py | 18 ++++++++++++++++++ cadquery/contrib/__init__.py | 18 ++++++++++++++++++ cadquery/freecad_impl/__init__.py | 19 +++++++++++++++++++ cadquery/freecad_impl/exporters.py | 19 +++++++++++++++++++ cadquery/freecad_impl/geom.py | 19 ++++++++++++++++--- cadquery/freecad_impl/shapes.py | 18 +++++++++++++++++- cadquery/plugins/__init__.py | 19 +++++++++++++++++++ cadquery/selectors.py | 18 +++++++++++++++--- cadquery/workplane.py | 18 +++++++++++++++--- sphinxdoc/conf.py | 6 +----- 12 files changed, 190 insertions(+), 18 deletions(-) diff --git a/LICENSE b/LICENSE index 02bbb60..1416a50 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,21 @@ +CadQuery +Copyright (C) 2013 Parametric Products Intellectual Holdings, LLC + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/cadquery/CQ.py b/cadquery/CQ.py index 1c5f423..5edfe08 100644 --- a/cadquery/CQ.py +++ b/cadquery/CQ.py @@ -1,8 +1,20 @@ """ -A Parametric CAD System for the Web -Copyright (c) 2010-2022 Parametric Products Intellectual Holdings LLC, All Rights Reserved. + Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC -The Core CadQuery object + This file is part of CadQuery. + + CadQuery is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CadQuery is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; If not, see """ class CQContext(object): diff --git a/cadquery/__init__.py b/cadquery/__init__.py index 3c9e29d..61280a0 100644 --- a/cadquery/__init__.py +++ b/cadquery/__init__.py @@ -1,3 +1,21 @@ +""" + Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC + + This file is part of CadQuery. + + CadQuery is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CadQuery is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; If not, see +""" #these items are the common implementation from .CQ import CQ from .workplane import Workplane diff --git a/cadquery/contrib/__init__.py b/cadquery/contrib/__init__.py index e69de29..26b29f8 100644 --- a/cadquery/contrib/__init__.py +++ b/cadquery/contrib/__init__.py @@ -0,0 +1,18 @@ +""" + Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC + + This file is part of CadQuery. + + CadQuery is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CadQuery is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; If not, see +""" \ No newline at end of file diff --git a/cadquery/freecad_impl/__init__.py b/cadquery/freecad_impl/__init__.py index 91f5ec6..99d8ddb 100644 --- a/cadquery/freecad_impl/__init__.py +++ b/cadquery/freecad_impl/__init__.py @@ -1,3 +1,22 @@ +""" + Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC + + This file is part of CadQuery. + + CadQuery is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CadQuery is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; If not, see +""" + import FreeCAD from FreeCAD import Part from FreeCAD import Base diff --git a/cadquery/freecad_impl/exporters.py b/cadquery/freecad_impl/exporters.py index a6b5302..5d8d321 100644 --- a/cadquery/freecad_impl/exporters.py +++ b/cadquery/freecad_impl/exporters.py @@ -1,3 +1,22 @@ +""" + Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC + + This file is part of CadQuery. + + CadQuery is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CadQuery is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; If not, see +""" + try: import xml.etree.cElementTree as ET except ImportError: diff --git a/cadquery/freecad_impl/geom.py b/cadquery/freecad_impl/geom.py index 69e5f84..3eef580 100644 --- a/cadquery/freecad_impl/geom.py +++ b/cadquery/freecad_impl/geom.py @@ -1,9 +1,22 @@ """ -A Parametric CAD System for the Web -Copyright (c) 2010-2022 Parametric Products Intellectual Holdings LLC, All Rights Reserved. + Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC -Basic Geometry Constructs + This file is part of CadQuery. + + CadQuery is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CadQuery is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; If not, see """ + import math,sys def sortWiresByBuildOrder(wireList,plane,result=[]): diff --git a/cadquery/freecad_impl/shapes.py b/cadquery/freecad_impl/shapes.py index 25f5b24..887a625 100644 --- a/cadquery/freecad_impl/shapes.py +++ b/cadquery/freecad_impl/shapes.py @@ -1,4 +1,21 @@ """ + Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC + + This file is part of CadQuery. + + CadQuery is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CadQuery is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; If not, see + Wrapper Classes for FreeCAD These classes provide a stable interface for 3d objects, independent of the FreeCAD interface. @@ -29,7 +46,6 @@ all factory methods are on the 'Part' object, but it is very useful to know what kind of object each one returns, so these are better grouped by the type of object they return. (who would know that Part.makeCircle() returns an Edge, but Part.makePolygon() returns a Wire ? - """ diff --git a/cadquery/plugins/__init__.py b/cadquery/plugins/__init__.py index 2a20dc9..49f9a9d 100644 --- a/cadquery/plugins/__init__.py +++ b/cadquery/plugins/__init__.py @@ -1,3 +1,22 @@ +""" + CadQuery + Copyright (C) 2013 Parametric Products Intellectual Holdings, LLC + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +""" + from .CQ import CQ from .workplane import Workplane diff --git a/cadquery/selectors.py b/cadquery/selectors.py index 65b52e7..7e85fde 100644 --- a/cadquery/selectors.py +++ b/cadquery/selectors.py @@ -1,8 +1,20 @@ """ -A Parametric CAD System for the Web -Copyright (c) 2010-2022 Parametric Products Intellectual Holdings LLC, All Rights Reserved. + Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC -Objects that select geometry + This file is part of CadQuery. + + CadQuery is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CadQuery is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; If not, see """ import re diff --git a/cadquery/workplane.py b/cadquery/workplane.py index e4d35b0..3932918 100644 --- a/cadquery/workplane.py +++ b/cadquery/workplane.py @@ -1,8 +1,20 @@ """ -A Parametric CAD System for the Web -Copyright (c) 2010-2022 Parametric Products Intellectual Holdings LLC, All Rights Reserved. + Copyright (C) 2011-2013 Parametric Products Intellectual Holdings, LLC -A workplane object-- an extension of the core CQ object when a workplane is active + This file is part of CadQuery. + + CadQuery is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + CadQuery is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; If not, see """ import math diff --git a/sphinxdoc/conf.py b/sphinxdoc/conf.py index 7bbe0fc..0912e6b 100644 --- a/sphinxdoc/conf.py +++ b/sphinxdoc/conf.py @@ -12,12 +12,8 @@ # serve to show the default. import sys, os +import cadquery -sys.path.append('../apps') -sys.path.append('..') -os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' - -from django.conf import settings settings._target = None