From 833b941b1c91df4f9e54dc4d15d92b045973518f Mon Sep 17 00:00:00 2001 From: sladro Date: Thu, 18 Dec 2025 12:02:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=BB=E5=9B=BE=E5=90=8E?= =?UTF-8?q?=E6=95=88=E6=9E=9C=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cad/HalfSectionDrawer.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Cad/HalfSectionDrawer.cs b/Cad/HalfSectionDrawer.cs index 87fe815..23abc82 100644 --- a/Cad/HalfSectionDrawer.cs +++ b/Cad/HalfSectionDrawer.cs @@ -177,9 +177,11 @@ namespace CadParamPluging.Cad tr.AddNewlyCreatedDBObject(hatch, true); hatch.SetHatchPattern(HatchPatternType.PreDefined, "ANSI31"); - hatch.PatternScale = 5.0; - hatch.Associative = true; - hatch.ColorIndex = 4; + hatch.PatternScale = 0.8; + hatch.PatternAngle = 0; + hatch.Associative = false; + hatch.ColorIndex = 7; // 白色 + hatch.LineWeight = LineWeight.LineWeight025; // 0.25mm线宽 var ids = new ObjectIdCollection(); ids.Add(polyPart.ObjectId);