diff --git a/LICENSE b/LICENSE
index f6a8274..a7b94b0 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,5 +1,5 @@
CadQuery
-Copyright (C) 2014 Parametric Products Intellectual Holdings, LLC
+Copyright (C) 2015 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
diff --git a/cadquery/CQ.py b/cadquery/CQ.py
index 0c1678d..dd09dd8 100644
--- a/cadquery/CQ.py
+++ b/cadquery/CQ.py
@@ -1,5 +1,5 @@
"""
- Copyright (C) 2011-2014 Parametric Products Intellectual Holdings, LLC
+ Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC
This file is part of CadQuery.
@@ -1160,7 +1160,7 @@ class Workplane(CQ):
return self.newObject([self.plane.toWorldCoords(newCenter)])
- def spline(self,listOfXYTuple,forConstruction=False):
+ def spline(self, listOfXYTuple, forConstruction=False):
"""
Create a spline interpolated through the provided points.
@@ -1196,7 +1196,7 @@ class Workplane(CQ):
gstartPoint = self._findFromPoint(False)
gEndPoint = self.plane.toWorldCoords(listOfXYTuple[-1])
- vecs = [self.plane.toWorldCoords(p) for p in listOfXYTuple ]
+ vecs = [self.plane.toWorldCoords(p) for p in listOfXYTuple]
allPoints = [gstartPoint] + vecs
e = Edge.makeSpline(allPoints)
diff --git a/cadquery/contrib/__init__.py b/cadquery/contrib/__init__.py
index 6140351..67c7b68 100644
--- a/cadquery/contrib/__init__.py
+++ b/cadquery/contrib/__init__.py
@@ -1,18 +1,18 @@
"""
- Copyright (C) 2011-2014 Parametric Products Intellectual Holdings, LLC
+ Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC
- This file is part of CadQuery.
+ 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 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.
+ 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
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; If not, see
"""
diff --git a/cadquery/freecad_impl/__init__.py b/cadquery/freecad_impl/__init__.py
index 66ed23d..ac73b1e 100644
--- a/cadquery/freecad_impl/__init__.py
+++ b/cadquery/freecad_impl/__init__.py
@@ -1,5 +1,5 @@
"""
- Copyright (C) 2011-2014 Parametric Products Intellectual Holdings, LLC
+ Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC
This file is part of CadQuery.
diff --git a/cadquery/freecad_impl/exporters.py b/cadquery/freecad_impl/exporters.py
index 0633b4d..d78fab1 100644
--- a/cadquery/freecad_impl/exporters.py
+++ b/cadquery/freecad_impl/exporters.py
@@ -1,5 +1,5 @@
"""
- Copyright (C) 2011-2014 Parametric Products Intellectual Holdings, LLC
+ Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC
This file is part of CadQuery.
diff --git a/cadquery/freecad_impl/geom.py b/cadquery/freecad_impl/geom.py
index 1b70434..9a111b2 100644
--- a/cadquery/freecad_impl/geom.py
+++ b/cadquery/freecad_impl/geom.py
@@ -1,5 +1,5 @@
"""
- Copyright (C) 2011-2014 Parametric Products Intellectual Holdings, LLC
+ Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC
This file is part of CadQuery.
diff --git a/cadquery/freecad_impl/importers.py b/cadquery/freecad_impl/importers.py
index c8786d3..80458be 100644
--- a/cadquery/freecad_impl/importers.py
+++ b/cadquery/freecad_impl/importers.py
@@ -1,5 +1,5 @@
"""
- Copyright (C) 2011-2014 Parametric Products Intellectual Holdings, LLC
+ Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC
This file is part of CadQuery.
diff --git a/cadquery/freecad_impl/shapes.py b/cadquery/freecad_impl/shapes.py
index b58a67b..01850ab 100644
--- a/cadquery/freecad_impl/shapes.py
+++ b/cadquery/freecad_impl/shapes.py
@@ -1,5 +1,5 @@
"""
- Copyright (C) 2011-2014 Parametric Products Intellectual Holdings, LLC
+ Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC
This file is part of CadQuery.
@@ -30,19 +30,19 @@
1. It allows us to avoid changing key api points if we change underlying implementations.
It would be a disaster if script and plugin authors had to change models because we
- changed implmentations
+ changed implementations
2. Allow better documentation. One of the reasons FreeCAD is no more popular is because
- its docs are terrible. This allows us to provie good documentation via docstrings
+ its docs are terrible. This allows us to provide good documentation via docstrings
for each wrapper
3. Work around bugs. there are a quite a feb bugs in free this layer allows fixing them
4. allows for enhanced functionality. Many objects are missing features we need. For example
- we need a 'forConstruciton' flag on the Wire object. this allows adding those kinds of things
+ we need a 'forConstruction' flag on the Wire object. this allows adding those kinds of things
- 5. allow changing interfaces when we'd like. there are few cases where the freecad api is not
- very userfriendly: we like to change those when necesary. As an example, in the freecad api,
+ 5. allow changing interfaces when we'd like. there are few cases where the FreeCAD api is not
+ very user friendly: we like to change those when necessary. As an example, in the FreeCAD api,
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 227406f..3697b9f 100644
--- a/cadquery/plugins/__init__.py
+++ b/cadquery/plugins/__init__.py
@@ -1,18 +1,18 @@
"""
- CadQuery
- Copyright (C) 2014 Parametric Products Intellectual Holdings, LLC
+ CadQuery
+ Copyright (C) 2015 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 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.
+ 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
+ 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
"""
diff --git a/cadquery/selectors.py b/cadquery/selectors.py
index 95bd196..42f0a24 100644
--- a/cadquery/selectors.py
+++ b/cadquery/selectors.py
@@ -1,26 +1,27 @@
"""
- Copyright (C) 2011-2014 Parametric Products Intellectual Holdings, LLC
+ Copyright (C) 2011-2015 Parametric Products Intellectual Holdings, LLC
- This file is part of CadQuery.
+ 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 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.
+ 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
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; If not, see
"""
import re
import math
from cadquery import Vector,Edge,Vertex,Face,Solid,Shell,Compound
+
class Selector(object):
"""
Filters a list of objects
diff --git a/changes.md b/changes.md
index 73d73e0..77456e4 100644
--- a/changes.md
+++ b/changes.md
@@ -36,3 +36,5 @@ v0.1.9 (Unreleased)
* Added license badge in changes.md
* Fixed Solid.makeSphere implementation
* Added CQ.sphere operation that mirrors CQ.box
+ * Updated copyright dates
+ * Cleaned up spelling and misc errors in docstrings