Skip to content

Commit 184a985

Browse files
authored
Merge pull request #615 from CadQuery/v2.1-update
Updates to prepare for the release of 2.1
2 parents d0695ec + 7c0394c commit 184a985

File tree

3 files changed

+80
-59
lines changed

3 files changed

+80
-59
lines changed

cadquery/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@
6868
"plugins",
6969
]
7070

71-
__version__ = "2.1RC1"
71+
__version__ = "2.1"

changes.md

Lines changed: 78 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,93 @@
11
Changes
22
=======
33

4-
Master
4+
2.1 (stable release)
55
------
66
### Breaking changes
77
* Fixed bug in ParallelDirSelector where non-planar faces could be selected. Note this will be breaking if you've used DirectionNthSelector and a non-planar face made it into your object list. In that case eg. ">X[2]" will have to become ">X[1]".
88

9+
### Other changes
10+
* Refactored selectors and added CenterNthSelector [#549](https://github.com/CadQuery/cadquery/pull/549)
11+
* Added new installation video links to the readme [#550](https://github.com/CadQuery/cadquery/pull/550)
12+
* Exposed `makeWire` in `parametricCurve()` [#555](https://github.com/CadQuery/cadquery/pull/555)
13+
* Fixed a `centerOption` bug in the assembly tutorial [#556](https://github.com/CadQuery/cadquery/pull/556)
14+
* Added `hLineTo`, `polarLine` and `polarLineTo` to autosummary [#561](https://github.com/CadQuery/cadquery/pull/561)
15+
* Updated workplane docstring for recent center option changes [#563](https://github.com/CadQuery/cadquery/pull/563)
16+
* Fixed indentation in CQContext docs [#571](https://github.com/CadQuery/cadquery/pull/571)
17+
* Indicated breaking changes and made docstring fixes [#573](https://github.com/CadQuery/cadquery/pull/573)
18+
* Fixed `split()` docstring [#574](https://github.com/CadQuery/cadquery/pull/574)
19+
* Updated the readthedocs CQ logo [#581](https://github.com/CadQuery/cadquery/pull/581)
20+
* Removed unused variable from counter-bore example [#584](https://github.com/CadQuery/cadquery/pull/584)
21+
* Fixed unconstrained `assembly.solve()` [#592](https://github.com/CadQuery/cadquery/pull/592)
22+
* Added an example for `cq.Wire.makeHelix()` [#594](https://github.com/CadQuery/cadquery/pull/594)
23+
* Exposed additional SVG options to exporters interface [#596](https://github.com/CadQuery/cadquery/pull/596)
24+
* Fixed `ellipse()` documentation formatting [#597](https://github.com/CadQuery/cadquery/pull/597)
25+
* Fixed `cutThruAll()` when working with non-planar faces [#604](https://github.com/CadQuery/cadquery/pull/604)
26+
* Fixed `center` option in `rect()` call in tests [#607](https://github.com/CadQuery/cadquery/pull/607)
27+
* Fixed examples and enabled them in the test suite [#609](https://github.com/CadQuery/cadquery/pull/609)
28+
* Fixed wedge centering [#611](https://github.com/CadQuery/cadquery/pull/611) and [#613](https://github.com/CadQuery/cadquery/pull/613)
29+
* Updated assembly documentation [#614](https://github.com/CadQuery/cadquery/pull/614)
30+
931
2.1RC1 (release candidate)
1032
------
1133
### Breaking changes
12-
* `centerOption` default value changed from `CenterOfMass` to `ProjectedOrigin` #532
13-
* `Wire.combine` interface changed - now it returns `List[Wire]` #397
14-
* `Workplane.each` interface changed - callable of the `Callable[[Union[cadquery.occ_impl.geom.Vector, cadquery.occ_impl.geom.Location, cadquery.occ_impl.shapes.Shape]], cadquery.occ_impl.shapes.Shape]` type is required #391
15-
* `Workplane.eachpoint` interface changed - callable of the `Callable[[Union[cadquery.occ_impl.geom.Vector, cadquery.occ_impl.geom.Location, cadquery.occ_impl.shapes.Shape]], cadquery.occ_impl.shapes.Shape]` type is required #391
34+
* `centerOption` default value changed from `CenterOfMass` to `ProjectedOrigin` [#532](https://github.com/CadQuery/cadquery/pull/532)
35+
* `Wire.combine` interface changed - now it returns `List[Wire]` [#397](https://github.com/CadQuery/cadquery/pull/397)
36+
* `Workplane.each` interface changed - callable of the `Callable[[Union[cadquery.occ_impl.geom.Vector, cadquery.occ_impl.geom.Location, cadquery.occ_impl.shapes.Shape]], cadquery.occ_impl.shapes.Shape]` type is required [#391](https://github.com/CadQuery/cadquery/pull/391)
1637

17-
## Other changes
38+
### Other changes
1839

19-
* Simplified `largestDimension()` bounding box check #317
20-
* Added `FontPath` to `makeText()` #337
21-
* Support for slicing (`section()`) of models #339 #349
22-
* Added DXF import (relies on ezdxf) #351 #372 #406 #442
23-
* Added DXF export #415 #419 #455
24-
* Exposed `angularPrecision` parameter in `exportStl()` #329
25-
* Fixed bug in `makeRuled()` #329
26-
* Made solid construction from `shell()` more robust #329
27-
* Added CadQuery logos to docs #329
28-
* Added `toPending()` to allow adding wires/edges to `pendingWires`/`pendingEdges` #351
29-
* Implemented `glue` parameter for `fuse()` #375
30-
* Exposed parameters for fuzzy bool operations #375
31-
* Started using MyPy in CI and type annotations #378 #380 #391
32-
* Implemented a `Location` class #380
33-
* Merged `CQ` class into `Workplane` to eliminate duplicated code #380
34-
* Added additional parameters for `BuildCurves3d_s` method #387
35-
* Implemented fully closed shelling #394
36-
* Refactored `polarArray()` #395
37-
* Improved local rotation handling #395
38-
* Implemented 2D offset in `offset2D` #397
39-
* Added `locationAt()` to generate locations along a curve #404
40-
* Added DOI to README for references in research papers #412
41-
* Changed `shell()` to set `Intersection` parameter to `True` #411
42-
* Exposed joint type (`kind`) for `shell()` #413
43-
* Refactored exporters #415
44-
* Started using `find_packages()` in setup.py #418
45-
* Tessellation winding fix #420
46-
* Added `angularPrecision` to `export`, `exportShape` and `toString` #424
47-
* Added py.typed file for PEP-561 compatibility #435
48-
* Added assembly API with constraint solver #440 #482 #545 #556
49-
* Integrated sphinxcadquery to add 3D visualization of parts to docs #111
50-
* Allow spaces in Vector literal #445
51-
* Added export to OCCT native CAF format #440
52-
* Implemented color export in STEP generated from assemblies #440
53-
* Added ability to set `fontPath` parameter for `text()` #453
54-
* Now protect against `rarray()` spacings of 0 #454
55-
* Changed Nth selector rounding `self.TOLERANCE` calculation to produce 4 decimal places #461
56-
* Fixed `parametricCurve()` to use correct stop point #477
57-
* Excluded tests from installation in setup.py #478
58-
* Added `mesh()` method to shapes.py #482
59-
* Added VRML export #482
60-
* Implemented ability to create a child workplane on the vertex #480
61-
* Improved consistency in handling of BoundaryBox tolerance #490
62-
* Implemented `locations()` for Wires #475
63-
* Exposed mode for sweep operations #496
64-
* Added 'RadiusNthSelector()` #504
65-
* Added tag-based constraint definition for assemblies #514
66-
* Implemented ability to mirror from a selected face #527
67-
* Improved edge selector tests #541
68-
* Added `glue` parameter to `combine()` #535
69-
* Finally fixed github-linguist statistics #547
40+
* Simplified `largestDimension()` bounding box check [#317](https://github.com/CadQuery/cadquery/pull/317)
41+
* Added `FontPath` to `makeText()` [#337](https://github.com/CadQuery/cadquery/issues/337)
42+
* Support for slicing (`section()`) of models [#339](https://github.com/CadQuery/cadquery/pull/339) [#349](https://github.com/CadQuery/cadquery/pull/349)
43+
* Added DXF import (relies on ezdxf) [#351](https://github.com/CadQuery/cadquery/pull/351) [#372](https://github.com/CadQuery/cadquery/pull/372) [#406](https://github.com/CadQuery/cadquery/pull/406) [#442](https://github.com/CadQuery/cadquery/pull/442)
44+
* Added DXF export [#415](https://github.com/CadQuery/cadquery/pull/415) [#419](https://github.com/CadQuery/cadquery/pull/419) [#455](https://github.com/CadQuery/cadquery/pull/455)
45+
* Exposed `angularPrecision` parameter in `exportStl()` [#329](https://github.com/CadQuery/cadquery/pull/329)
46+
* Fixed bug in `makeRuled()` [#329](https://github.com/CadQuery/cadquery/pull/329)
47+
* Made solid construction from `shell()` more robust [#329](https://github.com/CadQuery/cadquery/pull/329)
48+
* Added CadQuery logos to docs [#329](https://github.com/CadQuery/cadquery/pull/329)
49+
* Added `toPending()` to allow adding wires/edges to `pendingWires`/`pendingEdges` [#351](https://github.com/CadQuery/cadquery/pull/351)
50+
* Implemented `glue` parameter for `fuse()` [#375](https://github.com/CadQuery/cadquery/pull/375)
51+
* Exposed parameters for fuzzy bool operations [#375](https://github.com/CadQuery/cadquery/pull/375)
52+
* Started using MyPy in CI and type annotations [#378](https://github.com/CadQuery/cadquery/pull/378) [#380](https://github.com/CadQuery/cadquery/pull/380) [#391](https://github.com/CadQuery/cadquery/pull/391)
53+
* Implemented a `Location` class [#380](https://github.com/CadQuery/cadquery/pull/380)
54+
* Merged `CQ` class into `Workplane` to eliminate duplicated code [#380](https://github.com/CadQuery/cadquery/pull/380)
55+
* Added additional parameters for `BuildCurves3d_s` method [#387](https://github.com/CadQuery/cadquery/pull/387)
56+
* Implemented fully closed shelling [#394](https://github.com/CadQuery/cadquery/pull/394)
57+
* Refactored `polarArray()` [#395](https://github.com/CadQuery/cadquery/pull/395)
58+
* Improved local rotation handling [#395](https://github.com/CadQuery/cadquery/pull/395)
59+
* Implemented 2D offset in `offset2D` [#397](https://github.com/CadQuery/cadquery/pull/397)
60+
* Added `locationAt()` to generate locations along a curve [#404](https://github.com/CadQuery/cadquery/pull/404)
61+
* Added DOI to README for references in research papers [#410](https://github.com/CadQuery/cadquery/pull/410)
62+
* Changed `shell()` to set `Intersection` parameter to `True` [#411](https://github.com/CadQuery/cadquery/pull/411)
63+
* Exposed joint type (`kind`) for `shell()` [#413](https://github.com/CadQuery/cadquery/pull/413)
64+
* Refactored exporters [#415](https://github.com/CadQuery/cadquery/pull/415)
65+
* Started using `find_packages()` in setup.py [#418](https://github.com/CadQuery/cadquery/pull/418)
66+
* Tessellation winding fix [#420](https://github.com/CadQuery/cadquery/pull/420)
67+
* Added `angularPrecision` to `export`, `exportShape` and `toString` [#424](https://github.com/CadQuery/cadquery/pull/424)
68+
* Added py.typed file for PEP-561 compatibility [#435](https://github.com/CadQuery/cadquery/pull/435)
69+
* Added assembly API with constraint solver [#440](https://github.com/CadQuery/cadquery/pull/440) [#482](https://github.com/CadQuery/cadquery/pull/482) [#545](https://github.com/CadQuery/cadquery/pull/545) [#556](https://github.com/CadQuery/cadquery/pull/556)
70+
* Integrated sphinxcadquery to add 3D visualization of parts to docs [#111](https://github.com/CadQuery/cadquery/pull/111)
71+
* Allow spaces in Vector literal [#445](https://github.com/CadQuery/cadquery/pull/445)
72+
* Added export to OCCT native CAF format [#440](https://github.com/CadQuery/cadquery/pull/440)
73+
* Implemented color export in STEP generated from assemblies [#440](https://github.com/CadQuery/cadquery/pull/440)
74+
* Added ability to set `fontPath` parameter for `text()` [#453](https://github.com/CadQuery/cadquery/pull/453)
75+
* Now protect against `rarray()` spacings of 0 [#454](https://github.com/CadQuery/cadquery/pull/454)
76+
* Changed Nth selector rounding `self.TOLERANCE` calculation to produce 4 decimal places [#461](https://github.com/CadQuery/cadquery/pull/461)
77+
* Fixed `parametricCurve()` to use correct stop point [#477](https://github.com/CadQuery/cadquery/pull/477)
78+
* Excluded tests from installation in setup.py [#478](https://github.com/CadQuery/cadquery/pull/478)
79+
* Added `mesh()` method to shapes.py [#482](https://github.com/CadQuery/cadquery/pull/482)
80+
* Added VRML export [#482](https://github.com/CadQuery/cadquery/pull/482)
81+
* Implemented ability to create a child workplane on the vertex [#480](https://github.com/CadQuery/cadquery/pull/480)
82+
* Improved consistency in handling of BoundaryBox tolerance [#490](https://github.com/CadQuery/cadquery/pull/490)
83+
* Implemented `locations()` for Wires [#475](https://github.com/CadQuery/cadquery/pull/475)
84+
* Exposed mode for sweep operations [#496](https://github.com/CadQuery/cadquery/pull/496)
85+
* Added 'RadiusNthSelector()` [#504](https://github.com/CadQuery/cadquery/pull/504)
86+
* Added tag-based constraint definition for assemblies [#514](https://github.com/CadQuery/cadquery/pull/514)
87+
* Implemented ability to mirror from a selected face [#527](https://github.com/CadQuery/cadquery/pull/527)
88+
* Improved edge selector tests [#541](https://github.com/CadQuery/cadquery/pull/541)
89+
* Added `glue` parameter to `combine()` [#535](https://github.com/CadQuery/cadquery/pull/535)
90+
* Finally fixed github-linguist statistics [#547](https://github.com/CadQuery/cadquery/pull/547)
7091
* Updated for Python 3.8
7192
* Numerous documentation updates and example additions
7293

setup.py

Lines changed: 1 addition & 1 deletion
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 = "2.1RC1"
19+
version = "2.1"
2020
if "TRAVIS_TAG" in os.environ.keys():
2121
version = os.environ["TRAVIS_TAG"]
2222

0 commit comments

Comments
 (0)