feat: add knowledge-driven joint design studio

This commit is contained in:
Jerry
2026-08-14 13:53:51 +08:00
parent 7d12459a32
commit 281afdfd9e
57 changed files with 269659 additions and 1152 deletions
+10
View File
@@ -103,6 +103,16 @@ def load_platform_assets(platform_profile: Path) -> tuple[JointPlatformProfile,
"motor_step": _resolve_path(profile.motor_step, requirement_path=platform_profile),
"housing_step": _resolve_path(profile.housing_step, requirement_path=platform_profile),
}
for field in (
"motor_reference_assembly_step",
"motor_stator_housing_step",
"motor_rotor_housing_step",
"motor_output_shaft_step",
"motor_windings_step",
):
value = getattr(profile, field)
if value is not None:
paths[field] = _resolve_path(value, requirement_path=platform_profile)
if profile.chip_step is not None:
paths["chip_step"] = _resolve_path(profile.chip_step, requirement_path=platform_profile)
if profile.reference_assembly_step is not None: