* added docs on the CQ different APIs
As invoked with https://github.com/CadQuery/cadquery/issues/909
This PR aims to bring more documentation about the different CadQuery APIs and how one can take advantage of them.
This has been written with my own understanding prism so it is rather subjective. I'm not sure these concepts have been properly named before so this is an attempt to clarify things for eveybody
* grammer correction
* Update doc/primer.rst
Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
* Update doc/primer.rst
Co-authored-by: Marcus Boyd <mwb@geosol.com.au>
Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
Co-authored-by: Marcus Boyd <mwb@geosol.com.au>
* Added docs for new extrude capabilities
Added examples for extrude and cutblind until extrusion parameter
Updated weird leftover text in Example page
* added note on relative axis coords for Workplane.revolve
* added mixed extrude cutblind example
This part of the doc was referring to the centerOption being the centerOfMass of a face by default. I changed it to refer to the new behaviour
Co-authored-by: Marcus Boyd <mwb@geosol.com.au>
* Update some examples for workplane centerOption default ProjectedOrigin
* Typo in doc/examples.rst
Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
* Added forConstruction option to Workplane.offset2D
* Added Workplane.offset2D example
Co-authored-by: Adam Urbańczyk <adam-urbanczyk@users.noreply.github.com>
* 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
* 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
* 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>
* 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>
* 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>