From 6413fbc0ed87a1a9f66ea7928ed27c138647d4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E4=B8=89?= <940119273@qq.com> Date: Fri, 6 Aug 2021 07:31:24 +0000 Subject: [PATCH] =?UTF-8?q?!1588=20=E5=8A=9F=E8=83=BD:<=E6=A0=BC=E5=AD=90?= =?UTF-8?q?=E6=8A=BD>=E7=94=9F=E6=88=90=E7=9A=84=E6=9D=BF=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA=E5=8F=8D=E7=BA=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Add-on/LatticeDrawer/LatticeDrawerTool.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Add-on/LatticeDrawer/LatticeDrawerTool.ts b/src/Add-on/LatticeDrawer/LatticeDrawerTool.ts index 8ab66a6d7..cf83dacbf 100644 --- a/src/Add-on/LatticeDrawer/LatticeDrawerTool.ts +++ b/src/Add-on/LatticeDrawer/LatticeDrawerTool.ts @@ -1,5 +1,6 @@ import { Vector2, Vector3 } from "three"; import { arrayLast } from "../../Common/ArrayExt"; +import { EBoardKeyList } from "../../Common/BoardKeyList"; import { Log } from "../../Common/Log"; import { Singleton } from "../../Common/Singleton"; import { Arc } from "../../DatabaseServices/Entity/Arc"; @@ -7,7 +8,7 @@ import { Board } from "../../DatabaseServices/Entity/Board"; import { Polyline } from "../../DatabaseServices/Entity/Polyline"; import { AsVector2, equalv3, isParallelTo, XAxis, YAxis } from "../../Geometry/GeUtils"; import { ISpaceParse } from "../../Geometry/SpaceParse/ISpaceParse"; -import { DrillType, IHighSealedItem, BoardType } from "../../UI/Store/BoardInterface"; +import { BoardType, DrillType, IHighSealedItem, LinesType } from "../../UI/Store/BoardInterface"; import { ELatticeArrayType, ILatticeOption } from "../../UI/Store/LatticeInterface"; export class DrawLatticeDrawerTool extends Singleton @@ -281,6 +282,7 @@ export class DrawLatticeDrawerTool extends Singleton br.BoardProcessOption.sealedRight = config.rightSealed.toString(); br.BoardProcessOption.drillType = DrillType.None; br.BoardProcessOption.highDrill.fill(DrillType.None); + br.BoardProcessOption[EBoardKeyList.Lines] = LinesType.Reverse; //生成的板设置为反纹 } protected ParseHighSealing(br: Board, leftSealed: number, rightSealed: number, topSealed: number, downSealed: number, isHor: boolean) {