Commit Graph

42 Commits

Author SHA1 Message Date
5342220402 Merge pull request #349 from CadQuery/master
Pull latest changes
2020-05-08 19:48:04 +02:00
a140d1035c Add support for slicing (#339)
* Allow constructing infinite planes

* Preliminary section implementation

* Better error message

* Section related tests
2020-05-06 08:58:35 +02:00
38bb4af3b7 Merge pull request #335 from CadQuery/master
Merge latest master
2020-05-01 08:46:29 +02:00
1491e0ccf4 Merge pull request #317 from jmwright/master
Making largestDimension work as expected
2020-04-29 12:45:26 -04:00
17e12ce93a 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>
2020-04-24 18:31:37 +02:00
7876fd0cc7 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
2020-04-16 18:14:57 +02:00
ccf4ee20c6 Reworked the largestDimension logic based on bounding box extents.
The value returned now errs on the side of being very slightly larger, which is probably good considering this method's main use it to find the distance for thru cuts.
2020-04-14 21:01:13 -04:00
5609e4c460 Rough cut of making largestDimension work as expected 2020-04-10 23:32:52 -04:00
f9a3138149 Merge branch 'master' into OCP 2020-04-08 19:03:33 +02:00
0276a8f894 Formatting fixes 2020-04-06 21:26:00 +02:00
3eb345bf02 Added tests 2020-04-06 21:20:24 +02:00
a1e0184fdc Formatting fix 2020-04-04 15:42:34 +02:00
764a934942 Added test for makeHelix 2020-04-04 15:20:04 +02:00
eda79b40e9 Merge branch 'master' into OCP 2020-03-22 17:53:01 +01:00
e655098834 Improve formatting 2020-03-19 18:51:15 +01:00
71080aff59 test tangentArcPoint with 3-tuple argument 2020-03-19 18:36:44 +01:00
228ca55786 Renamed tangentArcEndpoint to tangentArc 2020-03-19 21:21:01 +10:30
ae305501e1 Merge branch 'master' into marcus7070/tangentArc 2020-03-19 08:46:22 +01:00
a499a4b5d3 Ellipse (#265)
* added ellipse

* removed unused math imports

* added method ellipseArc and adapted method ellipse to circle

* introduced sense for ellipse building

* adapted ellipse test cases

* exclude vscode config folder

* use gp_Ax2(p, zdir, xdir) for ellipse building

* ran black against the changes

* Fix docstring of makeEllipse

Co-Authored-By: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>

* Fix return value in docstring of makeEllips

Co-Authored-By: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>

* Formatting fix

* Increase test coverage

* Formatting fixes

* Add test for makeEllipse

* Test fix

* Formatting + typo fix

Co-authored-by: Bernhard <bwalter42@gmail.com>
Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-03-15 14:04:48 +01:00
b89bc44f86 Added Workplane.tangentArcToPoint, occ_impl.shapes.Edge.makeTangentArc 2020-03-14 19:44:11 +10:30
b9d3a1c187 Spline tangnet fix for offset workplane (#293)
Fixes #292
2020-03-06 22:18:31 +01:00
cd66589e4e Implementation of BRepOffsetAPI_MakeFilling (#253) 2020-03-05 21:43:16 +01:00
3d9041e98b Fix plane rotation method (again...) (#243) 2020-02-24 20:45:36 +01:00
09da93a014 formatting 2020-01-23 22:22:53 +10:30
95fb436081 test_cadquery formatting 2020-01-23 21:25:32 +10:30
fa3277e6a0 Renamed getTagged to _getTagged 2020-01-23 21:06:17 +10:30
b54f03abf5 Renamed copyWorkplaneFromTagged to workplaneFromTagged 2020-01-23 21:06:17 +10:30
488a6144a5 Added tests for tags in selectors 2020-01-23 21:06:17 +10:30
d1ced40c4e Added tags 2020-01-23 21:02:35 +10:30
102c16c14e Add Black formatting check to CI (#255)
* Add Black formatting check to CI
* Add some documentation for code contributors
* Use uncompromised code formatting
2020-01-20 20:52:12 +01:00
42c35b7089 Update test_cadquery.py 2019-12-25 09:21:15 +01:00
1d7b11baf9 Add files via upload 2019-12-24 16:32:38 +01:00
d2c029cbeb Update test_cadquery.py 2019-12-24 12:49:37 +01:00
428a8d58a1 Update test_cadquery.py 2019-12-24 12:32:39 +01:00
a26766af50 Update test_cadquery.py 2019-12-24 12:00:09 +01:00
3ab5b51291 Update test_cadquery.py 2019-12-24 11:52:00 +01:00
707dac5bc4 Update test_cadquery.py 2019-12-24 11:39:58 +01:00
81b3f57f8d Update test_cadquery.py 2019-12-24 11:16:02 +01:00
38c3d27bb4 Update test_cadquery.py 2019-12-24 11:14:05 +01:00
10a7299350 Update test_cadquery.py 2019-12-24 10:50:03 +01:00
e9924ba6e4 Fix plane rotation method
The vector defining the rotation is expected to be in local coordinates
and therefore needs to be converted to world coordinates before applying
the rotation.
2019-12-15 17:26:40 +01:00
5069483aef Use pytest to run the test suite 2019-12-12 20:58:47 +01:00