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).
635 B
635 B
make_material_rmaterial
API Definition
def make_material_rmaterial(material_id: str, name: Optional[str] = None, density: Optional[float] = None, density_unit: Optional[str] = None, color: Optional[Tuple[float, float, float]] = None) -> Material
Source: _operators_product.py
Import Surface
- top-level:
from simplecadapi import make_material_rmaterial
Description
Create a material definition for later Part assignment.
Material is deliberately separate from make_part_rpart(...); the only
correct workflow is to create a material and then assign it to a Part with
assign_material_rpart(...).