Skip to content

docs: document Fixed sketch constraint - #2086

Open
pranjalbhatia710 wants to merge 1 commit into
CadQuery:masterfrom
pranjalbhatia710:docs/fixed-sketch-constraint-table
Open

docs: document Fixed sketch constraint#2086
pranjalbhatia710 wants to merge 1 commit into
CadQuery:masterfrom
pranjalbhatia710:docs/fixed-sketch-constraint-table

Conversation

@pranjalbhatia710

Copy link
Copy Markdown

Summary

  • add the documented Fixed sketch constraint to the sketch constraints table
  • align the table with the example just above it and the implemented sketch solver constraint kinds

Closes #2077.

Validation

git diff --check
python3 - <<'PY'
from pathlib import Path
text = Path('cadquery/occ_impl/sketch_solver.py').read_text()
doc = Path('doc/sketch.rst').read_text()
assert '"Fixed": (1, ("CIRCLE", "LINE"), NoneType, None)' in text
assert '* - Fixed\n      - 1\n      - All\n      - None\n      - Entire entity is fixed in place' in doc
print('validated Fixed sketch constraint source entry and docs table row')
PY
# validated Fixed sketch constraint source entry and docs table row

@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.72%. Comparing base (95a4744) to head (18c2339).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2086   +/-   ##
=======================================
  Coverage   95.72%   95.72%           
=======================================
  Files          30       30           
  Lines        9533     9533           
  Branches     1421     1421           
=======================================
  Hits         9125     9125           
  Misses        253      253           
  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.

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.

doc: sketch constraint example uses "Fixed", which the constraint table below it does not list

1 participant