5c39e82ae8
Regenerate docs/api and the skill pack mirror after the dataclass-field extraction enhancement and the new connector/constraint docstrings. New pages: GeometryRef, Connector, ConnectorRef, Constraint, ConstraintReport, ConstraintResidual, ScalarLimit, make_face/edge/vertex_connector, add_fixed/revolute/prismatic_constraint, solve/measure/inspect, ground/ unground, make_connector_ref, make_scalar_limit. All dataclass docs now show full constructor signatures; solve_assembly_constraints documents the limit-aware solving behavior.
627 B
627 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: operations.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(...).