Update OCP with latest master (#332)

* Extrude with both=True fix (#321)

Extrude with both=True will result in a single solid.

* combineWithBase fix
* Allow to self-fuse a compound
* Formatting fix
* Test if extrude with both=True fuses the solids

* Fixed version number that was missed during RC2 release.

* Prepare for the 2.0 release

* Add reference to #106

* Typo fix

* Added info about breaking changes

* Fixed a typo

Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
This commit is contained in:
Adam Urbańczyk
2020-04-24 18:31:37 +02:00
committed by GitHub
parent de484b1036
commit 17e12ce93a
6 changed files with 61 additions and 92 deletions

View File

@ -2548,6 +2548,8 @@ class TestCadQuery(BaseTest):
# extrude symmetrically
s = Workplane("XY").circle(r).extrude(h, both=True)
self.assertTrue(len(s.val().Solids()) == 1)
top_face = s.faces(">Z")
bottom_face = s.faces("<Z")