2.0 KiB
Declarative Constraint Status
Sketch constraints are supported through the isomorphic sketch API surface:
make_sketch_rsketch(...)make_sketch_point_rsketchref(...)add_line_rsketch(...)add_circle_rsketch(...)constrain_*_rsketch(...)solve_sketch_rsketchresult(...)make_wire_from_sketch_rwire(...)make_face_from_sketch_rface(...)
When the modeling intent is a sketch/profile, use these sketch APIs as the only recommended construction path. Concrete geometry APIs such as make_line_redge(...) and make_wire_from_edges_rwire(...) remain for paths, pure geometry, and internal lowering targets.
Assembly Constraint Status
Assembly containers, explicit part transforms, and declarative assembly constraints are temporarily removed from the public/support surface while the assembly system is redesigned.
Removed public APIs include:
AssemblyPartHandlePointAnchorAxisAnchorAssemblyResultSolveReportmake_assembly_rassemblyclone_assembly_rassemblyadd_part_rassemblytranslate_part_rassemblyrotate_part_rassemblysolve_assembly_rresultconstrain_coincident_rassemblyconstrain_concentric_rassemblyconstrain_offset_rassemblyconstrain_distance_rassemblyclear_constraints_rassemblystack_rassemblystack
Current supported workflows should model final parts as ordinary geometry:
- Use
translate_shape(...),rotate_shape(...), andmirror_shape(...)for explicit placement. - Use Python sequences of
Solidobjects plusexport_step([...], path)/export_stl(...)for multi-body exports. - Use
union_rsolid(...),cut_rsolid(...), andintersect_rsolid(...)when a single merged solid is required.
export_model_json(...) no longer accepts assembly=..., and newly exported model JSON does not include assembly, assembly_registry, or constraint_registry fields.
The next assembly implementation should define a new assembly graph / constraint graph contract before reintroducing public APIs.