feat: Add new drawers for ring raw free forge parts with and without center punch.
This commit is contained in:
parent
e759b0d267
commit
004a6a6e28
@ -228,9 +228,16 @@ namespace CadParamPluging.Cad.Drawers
|
||||
|
||||
// 7. Min Wall Thickness
|
||||
var minWallThickness = bag.GetDoubleOrNull(FeatureDrivenDrawer.KeyMinWallThickness);
|
||||
if (minWallThickness.HasValue && minWallThickness.Value > 0 && xInnerRight.HasValue)
|
||||
if (minWallThickness.HasValue && minWallThickness.Value > 0)
|
||||
{
|
||||
FeatureDrivenDrawer.DrawMinWallThicknessNote(ctx, xInnerRight.Value, ox + W, oy, minWallThickness.Value);
|
||||
if (xInnerRight.HasValue)
|
||||
{
|
||||
FeatureDrivenDrawer.DrawMinWallThicknessNote(ctx, xInnerRight.Value, ox + W, oy, minWallThickness.Value);
|
||||
}
|
||||
if (xInnerLeft.HasValue)
|
||||
{
|
||||
FeatureDrivenDrawer.DrawMinWallThicknessNote(ctx, ox, xInnerLeft.Value, oy, minWallThickness.Value);
|
||||
}
|
||||
}
|
||||
|
||||
// 8. Part Contour (Machined Parameters present)
|
||||
|
||||
@ -261,9 +261,16 @@ namespace CadParamPluging.Cad.Drawers
|
||||
|
||||
// 7. Min Wall Thickness
|
||||
var minWallThickness = bag.GetDoubleOrNull(FeatureDrivenDrawer.KeyMinWallThickness);
|
||||
if (minWallThickness.HasValue && minWallThickness.Value > 0 && xInnerRight.HasValue)
|
||||
if (minWallThickness.HasValue && minWallThickness.Value > 0)
|
||||
{
|
||||
FeatureDrivenDrawer.DrawMinWallThicknessNote(ctx, xInnerRight.Value, ox + W, oy, minWallThickness.Value);
|
||||
if (xInnerRight.HasValue)
|
||||
{
|
||||
FeatureDrivenDrawer.DrawMinWallThicknessNote(ctx, xInnerRight.Value, ox + W, oy, minWallThickness.Value);
|
||||
}
|
||||
if (xInnerLeft.HasValue)
|
||||
{
|
||||
FeatureDrivenDrawer.DrawMinWallThicknessNote(ctx, ox, xInnerLeft.Value, oy, minWallThickness.Value);
|
||||
}
|
||||
}
|
||||
|
||||
// 8. Part Contour (Machined Parameters present)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user