feat: add drawing logic for a free forge round head drawer CAD block with parametric fillets and sections.

This commit is contained in:
sladro 2026-02-27 14:45:20 +08:00
parent 2230e554f9
commit fe695947ca

View File

@ -166,9 +166,10 @@ namespace CadParamPluging.Cad
double cyLeft = yTop - effectiveHeadR;
DrawHeadFilletRadiusLeader(ctx, cxLeft, cyLeft, effectiveHeadR, true);
// 根据需求,左右都标注了的话,只保留一个(左上角),去除右上角标注
// 右上角
double cxRight = xInnerRight - effectiveHeadR;
DrawHeadFilletRadiusLeader(ctx, cxRight, cyLeft, effectiveHeadR, false);
// double cxRight = xInnerRight - effectiveHeadR;
// DrawHeadFilletRadiusLeader(ctx, cxRight, cyLeft, effectiveHeadR, false);
}
// 3. 剖面填充 - 只在中间区域