!1588 功能:<格子抽>生成的板设置为反纹

pull/1591/MERGE
林三 3 years ago committed by ChenX
parent 2af981a109
commit 6413fbc0ed

@ -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)
{

Loading…
Cancel
Save