Skip to content

Commit b81319a

Browse files
authored
Merge pull request #325 from CadQuery/v2.0-update
Prepare for the 2.0 release
2 parents 19b4dd3 + 6a5dd93 commit b81319a

File tree

3 files changed

+51
-91
lines changed

3 files changed

+51
-91
lines changed

cadquery/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@
6262
"plugins",
6363
]
6464

65-
__version__ = "2.0RC2"
65+
__version__ = "2.0"

changes.md

+49-89
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,60 @@
11
Changes
22
=======
33

4-
5-
v0.1
6-
-----
7-
* Initial Version
8-
9-
v0.1.6
10-
-----
11-
* Added STEP import and supporting tests
12-
13-
v0.1.7
14-
-----
15-
* Added revolve operation and supporting tests
16-
* Fixed minor documentation errors
17-
18-
v0.1.8
19-
-----
20-
* Added toFreecad() function as a convenience for val().wrapped
21-
* Converted all examples to use toFreecad()
22-
* Updated all version numbers that were missed before
23-
* Fixed import issues in Windows caused by fc_import
24-
* Added/fixed Mac OS support
25-
* Improved STEP import
26-
* Fixed bug in rotateAboutCenter that negated its effect on solids
27-
* Added Travis config (thanks @krasin)
28-
* Removed redundant workplane.py file left over from the PParts.com migration
29-
* Fixed toWorldCoordinates bug in moveTo (thanks @xix-xeaon)
30-
* Added new tests for 2D drawing functions
31-
* Integrated Coveralls.io, with a badge in README.md
32-
* Integrated version badge in README.md
33-
34-
v0.2.0
35-
-----
36-
* Fixed versioning to match the semantic versioning scheme
37-
* Added license badge in changes.md
38-
* Fixed Solid.makeSphere implementation
39-
* Added CQ.sphere operation that mirrors CQ.box
40-
* Updated copyright dates
41-
* Cleaned up spelling and misc errors in docstrings
42-
* Fixed FreeCAD import error on Arch Linux (thanks @moeb)
43-
* Made FreeCAD import report import error instead of silently failing (thanks @moeb)
44-
* Added ruled option for the loft operation (thanks @hyOzd)
45-
* Fixed close() not working in planes other than XY (thanks @hyOzd)
46-
* Added box selector with bounding box option (thanks @hyOzd)
47-
* CQ.translate and CQ.rotate documentation fixes (thanks @hyOzd)
48-
* Fixed centering of a sphere
49-
* Increased test coverage
50-
* Added a clean function to keep some operations from failing on solids that need simplified (thanks @hyOzd)
51-
* Added a mention of the new Google Group to the readme
52-
53-
v0.3.0
54-
-----
55-
* Fixed a bug where clean() could not be called on appropriate objects other than solids (thanks @hyOzd) #108
56-
* Implemented new selectors that allow existing selectors to be combined with arithmetic/boolean operations (thanks @hyOzd) #110
57-
* Fixed a bug where only 1 random edge was returned with multiple min/max selector matches (thanks @hyOzd) #111
58-
* Implemented the creation of a workplane from multiple co-planar faces (thanks @hyOzd) #113
59-
* Fixed the operation of Center() when called on a compound with multiple solids
60-
* Add the named planes ZX YX ZY to define different normals (thanks @galou) #115
61-
* Code cleanup in accordance with PEP 8 (thanks @galou)
62-
* Fixed a bug with the close function not resetting the first point of the context correctly (thanks @huskier)
63-
* Fixed the findSolid function so that it handles compounds #107
64-
* Changed the polyline function so that it adds edges to the stack instead of a wire #102
65-
* Add the ability to find the center of the bounding box, rather than the center of mass (thanks @huskier) #122
66-
* Changed normalize function to normalized to match OCC/PythonOCC nomenclature #124
67-
* Added a label attribute to all freecad_impl.shapes so that they can have IDs attached to them #124
68-
69-
v0.4.0
70-
------
71-
* Added Documentation, which is available on dcowden.github.io/cadquery
72-
* Added CQGI, an adapter API that standardizes use of cadquery from within structured execution environments
73-
* Added ability to import STEP files from a web URL (thanks @huskier ) #128
74-
75-
v0.4.1
4+
2.0 (stable release)
765
------
77-
* Minor CQGI updates
786

79-
v0.5.0-stable
7+
### Deprecations and breaking changes
8+
* `centerOption` default value will change from `CenterOfMass` to `ProjectedOrigin` in the 2.1 release #313
9+
10+
### Non-breaking changes
11+
12+
* Numerous commits to move from FreeCAD as the underlying API to PythonOCC - thanks @adam-urbanczyk for all the effort that required
13+
* Updated for Python 3.6 and 3.7
14+
* Made sure solids were fused when extrude both=True #321 - thanks @adam-urbanczyk
15+
* Improved boolean operations #312 - thanks @adam-urbanczyk
16+
* Fixed a bug in helix creation #311 - thanks @adam-urbanczyk
17+
* Improved MacOS support
18+
* Updated CQGI counters for Python 3.8 compatibility #305 - thanks @jwhevans
19+
* Added tangent arc operation #284 - thanks @marcus7070
20+
* Added ellipse creation #265 - thanks @bernhard-42
21+
* Added ability to produce a plate surface with a thickness (optional), enclosed by edge points, polylines or splines, and going through interpolation points (optional) #253 - thanks @bragostin
22+
* Fix plane rotation method #243 - thanks @Peque
23+
* Added ability to tag a particular object in the chain to be referred to later #252 - thanks @marcus7070
24+
* Added Black formatting check to CI #255 - thanks @Peque
25+
* Added ability to accept unordered edges when constructing a wire #237 - thanks @bragostin
26+
* Updated to using pytest #236 - thanks @Peque
27+
* Fixed wedge primitive and made wedge act consistent with other primitives #228
28+
* Fix to correctly support anisotropic scaling #225 - thanks @adam-urbanczyk
29+
* Documentation fixes #215 - thanks @Renha
30+
* Fixed a spline example in the docs #200 - thanks @adam-urbanczyk
31+
* Added 2D slot feature #186 - thanks @bweissinger
32+
* Fixed a segmentation fault when trying to loft with one wire #161 - thanks @HLevering
33+
* Fixed a bug where the tolerance parameter of BoundingBox had no effect #167 - thanks @mgreminger
34+
* Fixed a bug when calling findSolid with multiple solids on stack #163 - thanks @adam-urbanczyk
35+
* Documentation fixes #144 and #162 - thanks @westurner
36+
* Fixed a feature/bug that prevented a polyline or spline from closing properly in some instances #156 - thanks @adam-urbanczyk
37+
* Added ability to determine if an arbitrary point is inside a solid #138 - thanks @mgreminger
38+
* Fixed bug where combine=True kept union from working properly #143 - thanks @adam-urbanczyk
39+
* Fixed bug where string selectors "-X" and "+X" returned the same thing #141 - thanks @gebner
40+
* Removed unused 'positive' argument from 'cutThruAll' #135 - thanks @mgreminger
41+
* Increased the HASH_CODE_MAX to prevent hash collisions during face selection #140 - thanks @mgreminger
42+
* Added option to center workplane on projected origin #132 - thanks @mgreminger
43+
* Improved sweep along multisection wires #128 - thanks @adam-urbanczyk
44+
* Fixed version number that was missed during update to 2.x #129 - thanks @asukiaaa
45+
* Numerous CI and documentation improvements
46+
* Support for text rendering #106
47+
48+
2.0RC2 (release candidate)
8049
------
81-
* Configuring Travis to push to PyPI on version releases.
50+
* Changes included in v2.0 release
8251

83-
v0.5.1
52+
2.0RC1 (release candidate)
8453
------
85-
* Mirroring fixes (thanks @huskier)
86-
* Added a mirroring example (thanks @huskier)
54+
* Changes included in v2.0 release
8755

88-
v0.5.2
56+
2.0RC0 (release candidate)
8957
------
90-
* Added the sweep operation #33
58+
* Changes included in v2.0 release
9159

92-
v1.0.0
93-
------
94-
* Added an option to do symmetric extrusion about the workplane (thanks @adam-urbanczyk)
95-
* Extended selector syntax to include Nth selector and re-implemented selectors using pyparsing (thanks @adam-urbanczyk)
96-
* Added logical operations to string selectors (thanks @adam-urbanczyk)
97-
* Cleanup of README.md and changes.md (thanks @baoboa)
98-
* Fixed bugs with toVector and Face 'Not Defined' errors (thanks @huskier)
99-
* Refactor of the initialization code for PEP8 compliance and Python 3 compatibility (thanks @Peque)
100-
* Making sure that the new pyparsing library dependency is handled properly (thanks @Peque)
60+
The changelog for older CadQuery 1.x releases can be found [here](https://github.com/dcowden/cadquery/blob/master/changes.md).

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
# if we are building in travis, use the build number as the sub-minor version
19-
version = "0.5-SNAPSHOT"
19+
version = "2.0"
2020
if "TRAVIS_TAG" in os.environ.keys():
2121
version = os.environ["TRAVIS_TAG"]
2222

0 commit comments

Comments
 (0)