Files
make-cad/docs
Ni Jingzhe a0923a65f4 docstrings: the source of the API pages say a Part holds one solid (and the pages are regenerated from them)
DECISION: update the docstrings that are the source of the generated API reference (and of help() in a
notebook), then regenerate the pages with tools/auto_docs_gen.py, instead of leaving hand-edited pages that the
next regeneration would overwrite with the old multi-body text.

WHY: the docs commits of this series (cherry-picked from a parallel docs pass) were edited by hand because the
generator reads src/. They were right, but the sources they derive from still said "several named bodies",
`bodies={...}`, "connectors are not supported on multi-body parts yet" and "paints the lid body of a multi-body
part". The owner's decision (design-docs/part-holds-one-solid.md: the editor's several solids are notebook
values, a Part is one solid, several solids are an Assembly of Parts) has to hold in the text a user reads at
help(scad.make_part_rpart) too, and the generated pages must equal their sources or the next doc run undoes the
change.

- _glue/docstrings.json (read back over the Python / binding docstrings at import): make_part_rpart, Part, Body,
  set_body_appearance_rpart, cut_rsolid (pieces are notebook values; one Part per piece) and apply_tag_rselection
  (the body of a Part). measure_part_mass_rmassreport's source was already updated by "api: remove the helpers
  that only existed for a Part of several bodies"; its page is regenerated here.
- ref.py: ref.face's `slot` text said "a multi-body result has one per body"; it is "an operation that makes
  several solids has one per solid" (what the docs pass wrote by hand), so the source and the page agree.
- docs/skill/references/docs/api: Body, set_body_appearance_rpart, cut_rsolid, apply_tag_rselection and
  measure_part_mass_rmassreport regenerated (LF endings; the generator writes CRLF on Windows and the committed
  pages are LF). Checked: tools/auto_docs_gen.py's whole output (415 pages) equals the committed directory.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 04:11:24 +08:00
..
2026-11-09 14:02:31 +08:00