Commit Graph

1385 Commits

Author SHA1 Message Date
07f69ebfd4 Updated the docs 2020-07-12 11:50:37 +02:00
96cea210b5 Add more examples for the shell method (#396)
* Add more examples for the shell method

* Mention selectors instead of add

* Remove Workplane.add and add ref to selector_reference

* Change coding style for selecting multiple faces

Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-07-11 22:58:22 +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
bacd45933c Merge pull request #395 from CadQuery/polar
polarArray with object rotation
2020-07-09 16:28:58 -04:00
cf791f5fe6 Extended tests for polarArray 2020-07-09 18:26:09 +02:00
bbafdb35fe Added type annotation 2020-07-09 18:25:41 +02:00
48c75cff3c Local rotation + test fixes 2020-07-09 18:16:17 +02:00
0a3b4c1621 Started refactoring polarArray 2020-07-09 09:00:09 +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
dd75dcba96 Added typing_extensions to the conda package reqs 2020-06-28 18:59:13 +02:00
bede1852a4 Merge pull request #380 from CadQuery/adam-urbanczyk-location
Location implementation and CQ typing
2020-06-28 11:13:35 -04:00
69a3936268 Docstring fixes 2020-06-28 15:07:49 +02:00
b9397c3132 Merge branch 'master' into adam-urbanczyk-location 2020-06-27 12:57:40 +02:00
56046ef9dc Merge pull request #387 from CadQuery/BuildCurves3d-fix
Better BuildCurves3d_s parameters in makeHelix
2020-06-24 16:41:03 -04:00
4a264d2de0 Relax the buildCurves parameters further 2020-06-24 18:06:13 +02:00
e51b58ef31 Merge pull request #388 from nopria/patch-1
Fix docstring of method `radiusArc`
2020-06-24 09:15:10 -04:00
bc86bfc5b5 Fix docstring of method radiusArc 2020-06-24 11:54:27 +02:00
a49d0f3724 Formatting fix 2020-06-23 22:14:10 +02:00
259c88d8f2 Formatting fix 2020-06-23 19:17:09 +02:00
e9346b489f Better BuildCurves3d_s parameters 2020-06-23 18:53:47 +02:00
02a8549f5c more introduction to Workplanes in the docs (#386) 2020-06-23 18:29:20 +02:00
cf860a961c Do not add plane center to objects 2020-06-23 18:18:33 +02:00
fe4f15c5e9 Added docstrings for move(d), locate(d) 2020-06-22 22:39:29 +02:00
9dc94d35f2 Added tests for move(d) and locate(d) 2020-06-22 22:36:43 +02:00
ca0c01d02e Simplified location handling 2020-06-22 17:37:19 +02:00
86810448e1 More tests for the Location class 2020-06-22 17:35:58 +02:00
9d1133fb44 Merge pull request #384 from nopria/patch-2
Fix docstring example of 'slot2D'
2020-06-22 09:21:58 -04:00
973d952f44 Fix docstring example of 'slot2D' 2020-06-22 10:52:00 +02:00
c82e908e61 Documentation update 2020-06-22 08:42:16 +02:00
6543ab98c9 Mypy fixes including merge of CQ and Workplane class 2020-06-19 16:58:58 +02:00
f522899ae9 Merge pull request #381 from nopria/patch-1
Fix just a few unimportant typos
2020-06-19 08:00:53 -04:00
98a871c299 Fix just a few unimportant typos 2020-06-19 13:06:01 +02:00
7bcd67f589 Additional mypy and efficiency fixes 2020-06-18 17:52:01 +02:00
0da3bda780 Formatting fix 2020-06-17 21:05:05 +02:00
191d78d558 Test fixes 2020-06-17 21:04:54 +02:00
d14c09b96d typing and location refactoring 2020-06-17 21:04:41 +02:00
08f39967ef Location support 2020-06-17 21:03:59 +02:00
4ec767ecae Extended the location class 2020-06-17 20:59:30 +02:00
8affc900f7 Clean-up and first pass on typing 2020-06-16 19:18:20 +02:00
827c962658 Initial implementation of the Location class
wraps TopLoc_Location
2020-06-16 19:16:57 +02:00
f38f9cb252 Start using MyPy in CI
* MyPy related cleanup

* Simple mypy conf

* Run mypy on travis

* Install mypy before using it

* Remove unused functions

* Added some type annotations to geom

* Started adding annotations + minor cleanups

* Apply black

* find/replace typo fix

* mypy.ini cleanup

* Install OCP-stubs before running mypy in travis

* Try without ignoring missing imports

* Install ocp before running mypy

* More explicit ignoring import policy

* install mypy via conda

* Mypy debugging

* Cleanup of travis.yml

* Added annotations to BoundBox

* Added coveragerc

* Add member types in Plane

* Correct .coveragerc

* Blackify geom
2020-06-13 22:01:54 +02:00
f9fe7b1b84 Merge pull request #375 from CadQuery/adam-urbanczyk-glue
Implement glue option and fuzzy tolerance in union
2020-06-05 22:55:04 -04:00
e55b7ed339 Fixed docstring for union 2020-06-05 23:00:47 +02:00
7f333cd81a Added test for fuzzy bool op 2020-06-05 17:26:37 +02:00
9d04436474 Exposed fuzzy bool ops 2020-06-05 17:13:48 +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
6c98a0066f Implemented glue option for fuse 2020-06-04 19:57:02 +02:00