a4ba70640b
The make_box_rsolid docstring was a single sentence with no Args section, so the generated page had no Parameters section and the bottom_face_center semantics (geometric center of the bottom face: centered along x/y, full depth upward along z from the point's height, not a corner) were undocumented — exactly the gap behind the four-bar web misplacement. Add Args sections to make_box_rsolid, make_cylinder_rsolid, and make_cone_rsolid in both the public facade and the kernel implementation file (both define the functions), phrased without colons inside descriptions so the docstring parser does not split them into new parameter entries. Regenerate docs/api/, which also picks up pages stale from earlier PR changes (capture include_scene, MJCF closure_count, ring-gear sweep docstrings).
522 B
522 B
capture
API Definition
def capture(result: Any, path: str | Path, /, *, include_scene: bool = True) -> CaptureResult
Source: capture.py
Import Surface
- top-level:
from simplecadapi import capture
Description
Capture a durable product and write its canonical .scadpkg.
include_scene=False skips the optional Scene projection (tessellated
geometry/entity assets). STEP, MJCF, and FreeCAD exports read meshes and
feature graphs from the definition closure, so they do not need it.