Commit Graph

99 Commits

Author SHA1 Message Date
0d96f63e94 Merge pull request #569 from RubenRubens/boolean
Boolean operation syntactic sugar
2021-02-12 12:04:57 -05:00
79f4bb84ce Document special members 2021-02-12 08:35:45 +01:00
b6beba7cb1 Centered option (#617)
* Added 2d centered option to rect

* Added single bool center option to box

* Add single bool center option to sphere

* Added single bool center option to wedge

* Added 2d centered option to rarray

* Black fix

* Centered docstrings

Change all docstrings for centered options to be consistent and more
clear

* Docstring fixes

* Fix type hint on wedge method
2021-02-10 18:02:43 +01:00
d0695ec594 Assy docs fix (#614) 2021-02-03 08:25:20 +01:00
94e0976119 Fix examples and start testing them (#609)
* Fix examples

* Added test for examples

* Fix example testing code

* Sweep example fix

* Reformat examples

* Test examples from the docs too

* Add docutils to the test requirements

* Example test fix on win+cleanup

* Use union
2021-01-31 19:00:21 +01:00
75a4ad3fa7 Change readthedocs logo (#581)
* change readthedocs logo

* remove old logo
2021-01-14 17:35:31 +01:00
f4b5e8210b Merge pull request #549 from marcus7070/NthSelector
Refactor selectors and add CenterNthSelector
2021-01-05 16:26:25 -05:00
2152068699 .workplane() docstring update (#563)
* .workplane docstring update

* Remove confusing line
2021-01-05 21:54:41 +01:00
1dc170ac00 doc corrections 2021-01-06 05:46:18 +10:30
bb3027742e Updated string selector docs
Warning changed to reflect the new >> string selector.

Changed note about some types of filters not applying to edges, since
now every selector works with edges.
2021-01-05 09:54:25 +10:30
7650436a48 Add omitted line functions to autosummary (#561) 2021-01-04 09:02:42 +01:00
bd5487353f Mention >> selector in the docs 2021-01-04 08:29:36 +01:00
440e84dcb1 Merge branch 'master' into NthSelector 2021-01-03 15:48:02 +01:00
337b6129c9 Assy tutorial centerOption fix (#556) 2020-12-28 20:45:28 +01:00
2d3fc607e6 Code formatting 2020-12-19 13:40:45 +10:30
14e5838b9f Added new selector classes to docs 2020-12-18 15:38:22 +10:30
4486381145 Added CSS for line wrapping in tables 2020-12-18 15:17:39 +10:30
a242473be9 Updated string selector doc page
Correct title underlining means the sidebar no longer shows "Combining
Selectors" as a top level item, instead it's a sub item under "String
Selectors Reference". Updated some other parts and expanded some
explanations. Resolves #531.
2020-12-18 15:14:20 +10:30
a03648c842 Change to ProjectedOrigin (#532)
* Change to ProjectedOrigin

* Fix most tests

* Fix remaining tests

* Fix example building

* Update selector docs

* Fix the bottle+formatting changes

* Renamed centered to xycentered

* Ignore utils for coverage calculation
2020-12-08 18:32:57 +01:00
c42fa77ac0 Add mirror from face features (with example now fixed) (#527)
* Add the ability to mirror from a selected face

* Fix errors in example.rst

* Add mirror from face features (with example now fixed)

* recommit merge conflicts in shape.py that were stopping CI merging into master

* use correct variable name when selecting face

* formatting with black v19 instead of black v21

* add missing string literal types and clean up docstring

* Add volume assertions to the test cases

* black formatting

* Mypy fix

* Restructured mirror

* update examples to use basePoint instead of basePointVector

* Add tests for other workplane strings and non union option to increate code coverage

* Add test to check that exception is thown for incorrect input

* Go back to basePointVector

* Update arg naming in examples

* Mirror all objects

* Typo fix

Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-12-08 08:26:53 +01:00
cf275b0ec0 Constraints docs [WIP] (#524)
* Initial version of the constraints docs

* Adding the assy section

* apireference cleanup

* Include cutouts

* Roadmap cleanup

* _query cleanup

* Black fix

* Add RadiusNthSelector again

* Typo fix

* Paste error fix

* Show detailed selector docs

* Another typo fix

* Mention other constrain overload

* Added test for end()
2020-11-30 13:41:34 +01:00
255b464509 Added RadiusNthSelector 2020-11-18 19:39:20 +10:30
65f9608f54 Implement locations() for Wires (#475)
* Implement locations() for Wires

* Fix errors

* Test for locations on a wire

* Refactored Mixin1D

* Mypy fixes and more refactoring

* black fix

* Moved _geomAdaptor to concrete classes

* Add positionAt

* Added positions()

* positions() and positionAt() test

* Better tests

* Extended tangentAt and added docstrings

* Test for tangentAt

* Fixed defects

* Doc fix attempt

* Use autoclass on Mixins

* specify full name in sphinx
2020-10-30 22:31:51 +01:00
292a0d8d0a Merge pull request #440 from CadQuery/assembly
Assembly support
2020-10-01 06:48:06 -04:00
43e8377eb3 Docs update 2020-09-30 18:18:40 +02:00
f341625e7a Documentation fixes for #450 #459 #457 and part of #456 2020-09-28 12:10:06 -04:00
da07216688 Fix a typo. (#452)
* Fix a typo.

* Pin black version in travis

Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-09-22 08:11:36 +02:00
ef9f5af164 Doc tweaks 2020-09-07 15:37:13 +02:00
7ab3d10d3e Merge branch 'master' into assembly 2020-09-07 12:27:50 +02:00
3dc54d69e2 Use sphinx_autodoc_typehints 2020-09-07 12:25:30 +02:00
726616b582 Added basic docs 2020-09-04 13:11:16 +02:00
c7b7e9592f Integrate sphinxcadquery to visualize 3D parts (#111)
* Integrate `sphinxcadquery` to visualize 3D parts

* Try different default export tolerance

* Change the tolerance for toString too

* Tighter angularTolerance for toString

Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
2020-08-18 17:27:51 +02:00
c6e922eb02 Updated the installation to reference OCP and pointed people to the master installation option. (#434) 2020-08-12 21:53:54 +02:00
af6ea1fe99 Update selectors.rst (#427)
Fix a couple of counterintuitive description of Faces selectors.
2020-08-10 20:34:12 +02:00
d3bf618547 Mention export in the tutorial 2020-08-02 17:03:23 +02:00
e5114e8a1e Update docstrings and docs 2020-07-29 08:52:04 +02:00
46fdaf6e31 Merge pull request #397 from CadQuery/offset2D
offset2D implementation
2020-07-12 16:49:14 -04:00
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
b9397c3132 Merge branch 'master' into adam-urbanczyk-location 2020-06-27 12:57:40 +02:00
02a8549f5c more introduction to Workplanes in the docs (#386) 2020-06-23 18:29:20 +02:00
c82e908e61 Documentation update 2020-06-22 08:42:16 +02:00
98a871c299 Fix just a few unimportant typos 2020-06-19 13:06:01 +02:00
01005f34a9 Adding logos 2020-05-24 19:52:14 +02:00
228ca55786 Renamed tangentArcEndpoint to tangentArc 2020-03-19 21:21:01 +10:30
d0f2576a60 doc/examples.rst: fix a typo 2020-03-14 19:44:18 +10:30
b89bc44f86 Added Workplane.tangentArcToPoint, occ_impl.shapes.Edge.makeTangentArc 2020-03-14 19:44:11 +10:30
04c8b80084 Added tags to primer/concepts docs 2020-01-23 21:06:17 +10:30
911c08f453 removed getTagged from docs 2020-01-23 21:06:17 +10:30
89e75470d0 Added examples to docs 2020-01-23 21:06:17 +10:30