Skip to content

Complete doc strings in free function module - #2116

Merged
adam-urbanczyk merged 2 commits into
CadQuery:masterfrom
DavidMStraub:docs/free-function-docstrings
Oct 23, 2026
Merged

adam-urbanczyk merged 2 commits into
CadQuery:masterfrom
DavidMStraub:docs/free-function-docstrings

Conversation

@DavidMStraub

Copy link
Copy Markdown
Contributor

Hi,

I love the free function API, but the two species I work with – students and agents – often struggle with the functions in cq.func because the doc strings are so spartanic that it can be unclear what the function parameters mean, or how the operations work.

This PR should complete the parameter documentation for all of them and also contains some helpful explanations about underlying behaviour, where appropriate.

@codecov

codecov Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.81%. Comparing base (33361dc) to head (02d74b6).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2116   +/-   ##
=======================================
  Coverage   95.81%   95.81%           
=======================================
  Files          30       30           
  Lines        9603     9603           
  Branches     1442     1442           
=======================================
  Hits         9201     9201           
  Misses        247      247           
  Partials      155      155           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@adam-urbanczyk adam-urbanczyk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @DavidMStraub !

Comment thread cadquery/occ_impl/shapes.py Outdated
Comment thread cadquery/occ_impl/shapes.py Outdated
Co-authored-by: AU <adam-urbanczyk@users.noreply.github.com>
@adam-urbanczyk

Copy link
Copy Markdown
Member

Docstring update, so I'm going to merge without additional reviews.

@adam-urbanczyk
adam-urbanczyk merged commit 59c9e6f into CadQuery:master Oct 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants