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