Skip to content

Commit

Permalink
Update for the 2.4.0 release (#1490)
Browse files Browse the repository at this point in the history
* Updated for the 2.4.0 release

* Fix misspelling in changes.md

Co-authored-by: nobkd <[email protected]>
  • Loading branch information
jmwright and nobkd authored Jan 15, 2024
1 parent 20432b8 commit c44978d
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cadquery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
__version__ = version("cadquery")
except PackageNotFoundError:
# package is not installed
__version__ = "2.4-dev"
__version__ = "2.4.0"

# these items point to the OCC implementation
from .occ_impl.geom import Plane, BoundBox, Vector, Matrix, Location
Expand Down
30 changes: 29 additions & 1 deletion changes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,35 @@
Changes
=======

2.3.1 (latest release)
2.4.0 (latest release)
------

### Highlights
* Updated to OCP and OpenCASCADE 7.7.2 [#1440](https:/CadQuery/cadquery/pull/1440)
* Python 3.12 support [#1468](https:/CadQuery/cadquery/pull/1468)
* VTK-based `show` function for showing models from the command line [#1366](https:/CadQuery/cadquery/pull/1366) [#1394](https:/CadQuery/cadquery/pull/1394)

### Other changes
* Documentation fixes and improvements [#1360](https:/CadQuery/cadquery/pull/1360) [#1362](https:/CadQuery/cadquery/pull/1362) [#1367](https:/CadQuery/cadquery/pull/1367) [#1368](https:/CadQuery/cadquery/pull/1368) [#1380](https:/CadQuery/cadquery/pull/1380) [#1400](https:/CadQuery/cadquery/pull/1400) [#1423](https:/CadQuery/cadquery/pull/1423) [#1424](https:/CadQuery/cadquery/pull/1424) [#1458](https:/CadQuery/cadquery/pull/1458) [#1474](https:/CadQuery/cadquery/pull/1474)
* Added an `enlarge` method to BoundBox object [#1356](https:/CadQuery/cadquery/pull/1356)
* Added parallel operation support to `_bool_op()` [#1357](https:/CadQuery/cadquery/pull/1357)
* Added typing for `importStep()` and `importShape()` [#1372](https:/CadQuery/cadquery/pull/1372)
* Added tuple parameter support to CQGI [#1373](https:/CadQuery/cadquery/pull/1373)
* Improved the shape iterator [#1376](https:/CadQuery/cadquery/pull/1376)
* Added all other formats to ReadTheDocs downloads [#1377](https:/CadQuery/cadquery/pull/1377)
* Improved segment naming in constraint solver test [#1379](https:/CadQuery/cadquery/pull/1379)
* Fixed ellipse arc normal with DXF import and export [#1384](https:/CadQuery/cadquery/pull/1384)
* Fixed bug in tapered extrude height [#1388](https:/CadQuery/cadquery/pull/1388)
* Implementation of cq.Shape selectors [#1406](https:/CadQuery/cadquery/pull/1406)
* Fix bug in multisection sweep for sketches [#1408](https:/CadQuery/cadquery/pull/1408)
* Added ASCII option for GLTF and STL exports of assemblies [#1418](https:/CadQuery/cadquery/pull/1418)
* Added non-relative tolerancing to STL export [#1432](https:/CadQuery/cadquery/pull/1432)
* Fixed redundant call to `TopTools_IndexedDataMapOfShapeListOfShape()` [#1439](https:/CadQuery/cadquery/pull/1439)
* Fixed parenthesis bug in `_isCoPlanar()` [#1451](https:/CadQuery/cadquery/pull/1451)
* Improved 3D text alignment [#1455](https:/CadQuery/cadquery/pull/1455)
* Added matrix of intertia functionality [#1460](https:/CadQuery/cadquery/pull/1460)

2.3.1
------

This was an incremental release to fix a broken PyPI package.
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
# built documents.
#
# The short X.Y version.
version = "2.3"
version = "2.4"
# The full version, including alpha/beta/rc tags.
release = "2.3.1"
release = "2.4.0"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

setup(
name="cadquery",
version="2.4.0dev", # Update this for the next release
version="2.4.0", # Update this for the next release
url="https:/CadQuery/cadquery",
license="Apache Public License 2.0",
author="David Cowden",
Expand Down

0 comments on commit c44978d

Please sign in to comment.