feat: add knowledge-driven joint design studio
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user