diff --git a/SourceCode/Code2026/cad_mcp_aec/aec_mcp_entity_tools.cpp b/SourceCode/Code2026/cad_mcp_aec/aec_mcp_entity_tools.cpp index b1778eb..36997cb 100644 --- a/SourceCode/Code2026/cad_mcp_aec/aec_mcp_entity_tools.cpp +++ b/SourceCode/Code2026/cad_mcp_aec/aec_mcp_entity_tools.cpp @@ -2409,9 +2409,11 @@ public: std::string private_description() const override { - return "在池底板上加井(对应菜单命令 方井 PL_JFZJ / 圆井 PL_JYZJ / 方圆井 PL_JFYJ / 异形井 PL_JYXJ):" - "给母体板 handle、井位与尺寸,内部先开洞再叠井体(AecDbX3dPartEntity),自动挂到板下(LAY_HOLE)。" - "shape=rect 方井 / circle 圆井 / rect_circle 方圆井 / polygon 异形井。尺寸用图纸单位。"; + return "在池底板上加井(对应菜单命令 方井 PL_JFZJ / 圆井 PL_JYZJ / 方圆井 PL_JFYJ / " + "异形井 PL_JYXJ / 集水坑 PL_JJSK):给母体板 handle、井位与尺寸,内部先开洞再叠井体" + "(AecDbX3dPartEntity),自动挂到板下(LAY_HOLE)。" + "shape=rect 方井 / circle 圆井 / rect_circle 方圆井 / polygon 异形井 / sump 集水坑。" + "集水坑在方井基础上多一个放坡角 angle_deg(缺省 22.5°,0~75)与板厚 slab_thickness。尺寸用图纸单位。"; } nlohmann::json private_input_schema() const override @@ -2420,8 +2422,8 @@ public: "type": "object", "properties": { "host": { "type": "string", "description": "母体板(池底板)的 handle" }, - "shape": { "type": "string", "enum": [ "rect", "circle", "rect_circle", "polygon" ], - "description": "rect=方井(缺省,上口矩形/下口矩形)/ circle=圆井 / rect_circle=方圆井(上口矩形、下口圆)/ polygon=异形井(上下口点串)" }, + "shape": { "type": "string", "enum": [ "rect", "circle", "rect_circle", "polygon", "sump" ], + "description": "rect=方井(缺省,上口矩形/下口矩形)/ circle=圆井 / rect_circle=方圆井(上口矩形、下口圆)/ polygon=异形井(上下口点串)/ sump=集水坑(矩形井 + 放坡角)" }, "position": { "type": "array", "items": { "type": "number" }, "description": "井位 [x,y]" }, "length": { "type": "number", "description": "上口长(X 向,rect / rect_circle)" }, "width": { "type": "number", "description": "上口宽(Y 向,rect / rect_circle)" }, @@ -2573,6 +2575,7 @@ public: "bulges": { "type": "array", "items": { "type": "number" } }, "height": { "type": "number" }, "wall_thickness": { "type": "number" }, "slab_thickness": { "type": "number" }, + "angle_deg": { "type": "number", "description": "集水坑放坡角(度,0~75)" }, "offset_x": { "type": "number" }, "offset_y": { "type": "number" }, "no": { "type": "string" }, "remark": { "type": "string" }, "purpose": { "type": "string" } },