Commit Graph

57 Commits

Author SHA1 Message Date
8efb8ac338 Expose intersection joint type for shell 2020-07-24 08:41:13 +02:00
66ea7b859f Formatting and test 2020-07-23 19:55:14 +02:00
a8707cecc0 Implement locationAt (#404)
* Initial implementation of locationAt

* Added tests
2020-07-15 08:57:50 +02:00
8fc0e2173e Added test for consolidateWires 2020-07-10 18:49:13 +02:00
6990e9523a Initial offset2D implementation. 2020-07-10 17:54:56 +02:00
cf791f5fe6 Extended tests for polarArray 2020-07-09 18:26:09 +02:00
48c75cff3c Local rotation + test fixes 2020-07-09 18:16:17 +02:00
2b653887fe Implemented fully closed shelling (#394) 2020-07-08 22:11:24 +02:00
9808ccea9b Type annotations for shapes (#391)
* Started annotating shapes

* shapes pass mypy check

* Mypy completely green on CQ

* Safer downcast

* Added additonal test
2020-07-06 22:35:47 +02:00
cf860a961c Do not add plane center to objects 2020-06-23 18:18:33 +02:00
9dc94d35f2 Added tests for move(d) and locate(d) 2020-06-22 22:36:43 +02:00
191d78d558 Test fixes 2020-06-17 21:04:54 +02:00
7f333cd81a Added test for fuzzy bool op 2020-06-05 17:26:37 +02:00
db4dba44ee Test the compound fuse path 2020-06-05 17:13:13 +02:00
216332e5dd Added test for glue=True 2020-06-04 20:55:12 +02:00
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