Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centered option #617

Merged
merged 9 commits into from
Feb 10, 2021
Merged

Centered option #617

merged 9 commits into from
Feb 10, 2021

Conversation

marcus7070
Copy link
Member

Will resolve #567.

Also fixes some errors in the HTML docs for box and wedge.

@codecov
Copy link

codecov bot commented Feb 3, 2021

Codecov Report

Merging #617 (1af8bb9) into master (184a985) will increase coverage by 0.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #617      +/-   ##
==========================================
+ Coverage   93.85%   93.93%   +0.08%     
==========================================
  Files          31       31              
  Lines        6457     6526      +69     
  Branches      692      712      +20     
==========================================
+ Hits         6060     6130      +70     
  Misses        258      258              
+ Partials      139      138       -1     
Impacted Files Coverage Δ
cadquery/cq.py 89.57% <100.00%> (+0.19%) ⬆️
tests/test_cadquery.py 99.09% <100.00%> (+0.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 184a985...1af8bb9. Read the comment docs.

cadquery/cq.py Outdated Show resolved Hide resolved
@RubenRubens
Copy link
Contributor

RubenRubens commented Feb 3, 2021

Fantastic work!

cadquery/cq.py Outdated Show resolved Hide resolved
cadquery/cq.py Outdated Show resolved Hide resolved
cadquery/cq.py Outdated Show resolved Hide resolved
@jmwright
Copy link
Member

jmwright commented Feb 4, 2021

@marcus7070 I re-ran one of the Azure CI checks. It had failed because it said it couldn't reach github.com. All the checks pass now. Let us know when it's ready for review. Thanks!

Change all docstrings for centered options to be consistent and more
clear
@marcus7070
Copy link
Member Author

Ready for review now @jmwright.

Copy link
Member

@jmwright jmwright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks @marcus7070

I've requested a review from @adam-urbanczyk as well.

@adam-urbanczyk
Copy link
Member

Thanks, looks good @marcus7070 !

@adam-urbanczyk adam-urbanczyk merged commit b6beba7 into CadQuery:master Feb 10, 2021
@marcus7070 marcus7070 deleted the centered branch February 10, 2021 20:02
just-georgeb pushed a commit to just-georgeb/cadquery that referenced this pull request Feb 13, 2021
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Same options for centered in methods .rect and .box
4 participants